[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: java Makefile



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

>>>>> "MF" == Matt Fair <matt@netasol.com> writes:

    MF> Is there a good way to create a good Makefile for JAVA
    MF> projects?  Right now all I am doing is in my Makefile I have:
    MF> javac $(find . -name \*.java)

    MF> This does the trick, but all it does is when I call Makefile
    MF> is go through all my java files and compiles them.  Is there a
    MF> way to check dependencies and compile only the files that need
    MF> compiling?

I use ant:

        http://jakarta.apache.org/ant/index.html

It's not as general-purpose as make, but it takes care of a lot of the
hassles of dealing with Java, obscures the differences between JVMs,
compilers, and whatnot, and generally makes for a damn quick build.

ESP says: check it out.

~ESP

- -- 
Evan Prodromou
evan@debian.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)

iD8DBQE7LD+iozwefHAKBVERArLjAJ9AOLm/GEFM2FRp2MTrVfTNgdfJ3QCgmn8x
y15MJprWqnUZewWS60K+4UI=
=N+r/
-----END PGP SIGNATURE-----



Reply to: