Ant itself does not need java compiler to run. Following is the message I get.

$ ant
Unable to locate tools.jar. Expected to find it in
/usr/lib/jvm/java-6-openjdk/lib/tools.jar
Buildfile: build.xml does not exist!
Build failed

You can see that while tools.jar is not present, ant tried to lookup
build.xml in current directory. Which means ant is running fine.
You will need tools.jar only when you decide to use tasks that are
accomplished with JDK ex. compilations, javadoc generation etc. For
the tasks which don't need JDK ant will work just fine without
tools.jar ex. creating directories, copying files, archiving
directories etc.

java2-compiler can be added as 'Recommends' to ant as javac is in my
opinion most frequently used task. But the decision needs to be taken
by package maintainers.


Onkar

Onkar



_______________________________________________
pkg-java-maintainers mailing list
pkg-java-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers

Reply via email to