Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Ant build failed. Urgent!
Ant build failed. Urgent! [message #140031] Mon, 09 February 2004 06:13 Go to next message
Eclipse UserFriend
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
Re: Ant build failed. Urgent! [message #140175 is a reply to message #140031] Mon, 09 February 2004 13:41 Go to previous message
Eclipse UserFriend
Originally posted by: olivier_thomann.ca.ibm.comNOSPAM

Le Mon, 9 Feb 2004 14:13:05 +0800, "huangwj" <weijiahuang@tom.com> a
écrit :
> [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
Have a look at this bug
https://bugs.eclipse.org/bugs/show_bug.cgi?id=45985
--
Olivier
Previous Topic:Newbie question : is it possible to edit files out from project
Next Topic:How to uninstall a plugin?
Goto Forum:
  


Current Time: Wed Jul 03 10:29:05 GMT 2024

Powered by FUDForum. Page generated in 0.02852 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top