ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Toni Penttinen" <toni.pentti...@tassen.fi>
Subject RE: Weird problem when running ant on windows 2000
Date Fri, 01 Feb 2002 12:29:55 GMT
Nope no parallel task involved here.
This is simplified compile target which produces the earlier mentioned error only on windows
environment.

<target name="xxx" depends="xx,xxxx" description="xxxx">
		<echo message="xxx xxxx"/>
		<javac srcdir="${src.dir}" destdir="${build.classes}" debug="${debug}" optimize="${optimize}"
deprecation="${deprecation}" includes="${xxx.reldir}/*.java,${xxxxx.reldir}/*.java,${xxxxx.reldir}/*.java">
			<classpath refid="compile_class.path"/>
		</javac>
		<copy todir="${build.classes}">
			<fileset dir="${src.dir}" includes="${xxxx.reldir}/*.xml"/>
		</copy>
	</target>

-----Original Message-----
From: John Volkar [mailto:jvolkar@etransport.com]
Sent: 1. helmikuuta 2002 14:07
To: Ant Users List
Subject: RE: Weird problem when running ant on windows 2000


Are you using the <parallel> task?  When I used to use the <parallel> task
to "gang-compile" several independant modules at once, I got internal
compilre errors all the time.

Now I do not use <parallel> in conjunction with <javac> and life is good.

John Volkar


-----Original Message-----
From: Toni Penttinen [mailto:toni.penttinen@tassen.fi]
Sent: Friday, February 01, 2002 7:10 AM
To: ant-user@jakarta.apache.org
Subject: Weird problem when running ant on windows 2000


Hi,

Anyone knows how to get rid of this bug. Currently using ant cvs version of
01.02.2002.

This error occurs only with one of my targets others are fine .. If i run
same build on Linux or Solaris no problem occurs so bug is only specific for
windows environment.

 [javac] Compiling 223 source files to D:\sources\xxxx\build\classes
  [javac] An exception has occurred in the compiler (1.3.1_02). Please file
a bug at the Java Developer Connection
(http://java.sun.com/cgi-bin/bugreport.cgi)
 Include your program and the following diagnostic in your report.  Thank
you.
  [javac] java.lang.InternalError: jzentry == 0
  [javac]     at java.util.zip.ZipFile$2.nextElement(ZipFile.java:297)
  [javac]     at
com.sun.tools.javac.v8.code.ClassReader.openArchive(ClassReader.java:893)
  [javac]     at
com.sun.tools.javac.v8.code.ClassReader.list(ClassReader.java:1095)
  [javac]     at
com.sun.tools.javac.v8.code.ClassReader.listAll(ClassReader.java:1191)
  [javac]     at
com.sun.tools.javac.v8.code.ClassReader.fillIn(ClassReader.java:1213)
  [javac]     at
com.sun.tools.javac.v8.code.ClassReader.complete(ClassReader.java:955)
  [javac]     at
com.sun.tools.javac.v8.code.Symbol.complete(Symbol.java:366)
  [javac]     at com.sun.tools.javac.v8.comp.Enter._case(Enter.java:424)
  [javac]     at
com.sun.tools.javac.v8.tree.Tree$TopLevel.visit(Tree.java:349)
  [javac]     at
com.sun.tools.javac.v8.comp.Enter.classEnter(Enter.java:392)
  [javac]     at
com.sun.tools.javac.v8.comp.Enter.classEnter(Enter.java:410)
  [javac]     at com.sun.tools.javac.v8.comp.Enter.main(Enter.java:540)
  [javac]     at
com.sun.tools.javac.v8.JavaCompiler.compile(JavaCompiler.java:357)
  [javac]     at com.sun.tools.javac.v8.Main.compile(Main.java:247)
  [javac]     at com.sun.tools.javac.Main.compile(Main.java:26)
  [javac]     at java.lang.reflect.Method.invoke(Native Method)
  [javac]     at
org.apache.tools.ant.taskdefs.compilers.Javac13.execute(Javac13.java:92)
  [javac]     at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:624)
  [javac]     at org.apache.tools.ant.Task.perform(Task.java:223)
  [javac]     at org.apache.tools.ant.Target.execute(Target.java:186)
  [javac]     at org.apache.tools.ant.Target.performTasks(Target.java:204)
  [javac]     at
org.apache.tools.ant.Project.executeTarget(Project.java:921)
  [javac]     at
org.apache.tools.ant.Project.executeTargets(Project.java:875)
  [javac]     at org.apache.tools.ant.Main.runBuild(Main.java:481)
  [javac]     at org.apache.tools.ant.Main.start(Main.java:159)
  [javac]     at org.apache.tools.ant.Main.main(Main.java:183)

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>
Mime
View raw message