I'm searching a library, which provides same, or similar, functionality as make:

  • definition of rules:
    • input file(s) - names / wildcard / regex pattern,
    • output file(s) - names / wildcard / regex pattern,
    • command (instance implementing some Runnable-like interface),
  • determine outdated outputs based on (timestamp) changes to input files.


The library must be licensed under license, which is compatible with Apache 2.0.

  • 1
    You probaby know this: since the late 1990s, Apache Ant has been available. From the faq: "What is Apache Ant? A: Ant is a Java-based build tool. In theory, it is kind of like Make, without Make's wrinkles and with the full portability of pure Java code."
    – knb
    Jul 20 '21 at 9:53

I found Make in Java, which without taking too much time to look, seems like a Java make implementation (or something similar to make). It is LGPL licensed.

  • Sounds interesting,.. but, LGPL library can not be used in Apache 2.0 project,... And, I don't want my project to put restrictions on users / developers,..
    – user13297
    Mar 2 '19 at 11:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy