Ant build failed. Urgent! [message #140031] |
Mon, 09 February 2004 01:13  |
Eclipse User |
|
|
|
Originally posted by: weijiahuang.tom.com
I try to run ant from Eclipse.I can run build.xml successfully from the Dos
commend line but encounter
below messages within Eclipse. May anyone give me a hint what's wrong with
the setting in the Eclipse?
I use eclipse2.12 and ant1.60. And I have already removed the Xerces JARs
from the Ant runtime classpath.
Thanks!
[Info]:
Buildfile: D:\eclipse2.12\workspace\TestAnt\build.xml
init:
[mkdir] Created dir: D:\eclipse2.12\workspace\TestAnt\build
compile:
[javac] Compiling 1 source file to
D:\eclipse2.12\workspace\TestAnt\build
dist:
[mkdir] Created dir: D:\eclipse2.12\workspace\TestAnt\dist\lib
[jar] Building jar:
D:\eclipse2.12\workspace\TestAnt\dist\lib\TestAnt-20040209.j ar
BUILD FAILED: java.lang.NoSuchMethodError:
org.apache.tools.zip.ZipOutputStream.<init>(Ljava/io/File;)V
Total time: 2 seconds
|
|
|
|
Powered by
FUDForum. Page generated in 0.08305 seconds