Bug#508342: marked as done (ant: Ant dependency)
Your message dated Tue, 01 Sep 2009 20:32:36 +0100 with message-id 4a9d76d4.1040...@laposte.net and subject line Bug closed has caused the Debian Bug report #508342, regarding ant: Ant dependency to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact ow...@bugs.debian.org immediately.) -- 508342: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=508342 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems ---BeginMessage--- Package: ant Version: 1.7.0-6 Severity: normal I installed ant with openjdk-6-jre and gij. When i try to run ant it's saying: $ ant Unable to locate tools.jar. Expected to find it in /usr/lib/jvm/java-6-openjdk/lib/tools.jar After installed openjdk-6-jdk it's solved. I guess openjdk-6-jdk should be depend of ant. Best regards. -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages ant depends on: ii gij [java-virtual-machine]4:4.3.2-2 The GNU Java bytecode interpreter ii gij-4.3 [java-virtual-machine 4.3.2-2The GNU Java bytecode interpreter ii libxerces2-java 2.9.1-2Validating XML parser for Java wit ii openjdk-6-jre [java2-runtime] 6b11-9 OpenJDK Java runtime, using Hotspo ii openjdk-6-jre-headless [java- 6b11-9 OpenJDK Java runtime, using Hotspo Versions of packages ant recommends: ii ant-gcj 1.7.0-6Java based build tool like make ii ant-optional 1.7.0-6Java based build tool like make - Versions of packages ant suggests: pn ant-doc none (no description available) -- no debconf information ---End Message--- ---BeginMessage--- ---End Message--- ___ pkg-java-maintainers mailing list pkg-java-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers
Bug#508342: ant: Ant dependency
Package: ant Version: 1.7.0-6 Severity: normal I installed ant with openjdk-6-jre and gij. When i try to run ant it's saying: $ ant Unable to locate tools.jar. Expected to find it in /usr/lib/jvm/java-6-openjdk/lib/tools.jar After installed openjdk-6-jdk it's solved. I guess openjdk-6-jdk should be depend of ant. Best regards. -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages ant depends on: ii gij [java-virtual-machine]4:4.3.2-2 The GNU Java bytecode interpreter ii gij-4.3 [java-virtual-machine 4.3.2-2The GNU Java bytecode interpreter ii libxerces2-java 2.9.1-2Validating XML parser for Java wit ii openjdk-6-jre [java2-runtime] 6b11-9 OpenJDK Java runtime, using Hotspo ii openjdk-6-jre-headless [java- 6b11-9 OpenJDK Java runtime, using Hotspo Versions of packages ant recommends: ii ant-gcj 1.7.0-6Java based build tool like make ii ant-optional 1.7.0-6Java based build tool like make - Versions of packages ant suggests: pn ant-doc none (no description available) -- no debconf information ___ pkg-java-maintainers mailing list pkg-java-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers
Bug#508342: ant: Ant dependency
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
Bug#508342:
Yes Onkar. You are right. It's working fine without jdk, but it's only getting this warning. ___ pkg-java-maintainers mailing list pkg-java-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers