Package: free-java-sdk
Version: 1.0-1
Severity: important

Hi,

as already discussed on the debian-java list, ant does not work properly
when used with free-java-sdk. I used the attached build.xml, and get the
following result:

$ PATH=/usr/lib/fjsdk/bin:$PATH JAVA_HOME=/usr/lib/fjsdk ant
The -lib argument must be followed by a library location

$ PATH=/usr/lib/fjsdk/bin:$PATH JAVA_HOME=/usr/lib/fjsdk ant main
Unable to locate tools.jar. Expected to find it in ?/lib/tools.jar
Buildfile: build.xml

main:
     [echo] this is the MAIN target

BUILD SUCCESSFUL
Total time: 2 seconds

$ PATH=/usr/lib/fjsdk/bin:$PATH JAVA_HOME=/usr/lib/fjsdk ant clean
Unable to locate tools.jar. Expected to find it in ?/lib/tools.jar
Buildfile: build.xml

main:
     [echo] this is the MAIN target

BUILD SUCCESSFUL
Total time: 2 seconds

$ PATH=/usr/lib/fjsdk/bin:$PATH JAVA_HOME=/usr/lib/fjsdk ant -debug clean
Unable to locate tools.jar. Expected to find it in ?/lib/tools.jar
Buildfile: build.xml

clean:
     [echo] this is the CLEAN target

BUILD SUCCESSFUL
Total time: 2 seconds

(and the -debug option doesn't seem to work).

I suspect some mixing around of options, but I'm not sure.

Thanks, Eric

ii  libant1.6-java 1.6.2-2.1      Java based build tool like make -- library
ii  ant            1.6.2-2        Java based build tool like make

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.10-1-k7
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8)

Versions of packages free-java-sdk depends on:
ii  classpath-tools           0.0.20020812-1 Free 'javah', 'javap', 'serialver'
ii  fastjar                   1:3.4.3-12     Jar creation utility
ii  jikes-sablevm             1.11.3-1       Wrapper for jikes using classes fr
ii  sablevm                   1.11.3-1       Free implementation of Java Virtua

-- no debconf information

Attachment: build.xml
Description: application/xml

Reply via email to