Your message dated Thu, 17 Apr 2008 23:08:44 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Re: Bug#239361: ant depends on java-gcj-compat-dev + gcj not 
gcj
has caused the Debian Bug report #239361,
regarding ant: unclear error messages
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 [EMAIL PROTECTED]
immediately.)


-- 
239361: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=239361
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: ant
Version: 1.6.1-1
Severity: normal

I have installed

sablevm 1.1.0-5
classpath 0.07-2
jikes 1.18-8

and no other Java VMs, libraries, or compilers.

Using the following build.xml:

  <project name="MyProject" default="dist" basedir=".">
  </project>

just running "ant" gives this message:

  The -lib argument must be followed by a library location

I don't know what this is trying to tell me.

Running "ant -Dbuild.compiler=jikes" gives:

  Unable to locate tools.jar. Expected to find it in ?/lib/tools.jar
  Buildfile: build.xml

  BUILD FAILED
  Target `dist' does not exist in this project.

  Total time: 0 seconds

I don't know what the first line is supposed to say, but there is no
tools.jar in any Debian package, AFAICT.


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.24-1-686
Locale: LANG=C, LC_CTYPE=C

Versions of packages ant depends on:
ii  gij-3.3 [java-virtual-machine 1:3.3.3-1  The GNU Java bytecode interpreter
ii  libant1.6-java                1.6.1-1    Java based build tool like make
ii  libxerces2-java               2.6.0-1    Validating XML parser for Java
ii  sablevm [java-virtual-machine 1.1.0-5    Free implementation of Java Virtua

-- no debconf information



--- End Message ---
--- Begin Message ---
On Thu, Apr 17, 2008 at 10:34:59PM +0200, Philippe Coval wrote:
> Package: ant
> Version: 1.7.0-4
> Followup-For: Bug #239361
> 
> 
> Hi,
> 
> While porting tuxguitar to gcj I got the same error message :
> 
> I workaound it by installing java-gcj-compat-dev
> (along gcj which was installed before)
> 
> If it's still unclear I can set my system to make the bug reproductible

ant needs a complete JRE replacement. A JDK replacement is even better
as this contains tools.jar which contains the Java compiler.

This bug occors when using an incomplete JRE/JDK replacement. gcj
itselft is just a Java compiler and misses some things ant expects from
a JRE/JDK installation. java-gcj-compat/-dev creates the complete
installation.

I close this bug as its clearly not a bug in ant and using pure gcj is
wrong because its no complete JRE/JDK replacement.


Cheers,
Michael


--- End Message ---
_______________________________________________
pkg-java-maintainers mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers

Reply via email to