I solved my problem by changing the <ant> tag ito an <exec> command and now call the build.bat
the only thing i had to find out was that i had to set this strange vm-prarmeter which causes ant to start an extra process for executing the batch-file.
Regards,
Chris


[EMAIL PROTECTED] wrote:

I had the same problem, so I changed the ANT_HOME variable in Eclipse to
point to an ant-1.6.1 directory. Since then, Eclipse builds my scripts
again.

Bye, Helma



-----Original Message-----
From: Christofer Dutz [mailto:[EMAIL PROTECTED] Sent: Sunday, 17 October 2004 16:16
To: [EMAIL PROTECTED]
Subject: Problems building cocoon with Ant 1.6.2



Hi,

I have some problems building cocoon. (Cocoon-2.1.5.1)
Cocoon is part of an application I am working on and the build.xml is called from the Applications global build-script.
Everytime I try to build I get an error:


<-- SNIP -->

[mkdir] Created dir: C:\Entwicklung\3rd-party\cocoon-2.1.5.1\build\cocoon-2.1.5.1\mocks
[javac] Compiling 1 source file to C:\Entwicklung\3rd-party\cocoon-2.1.5.1\build\cocoon-2.1.5.1\mocks
[javac] Compiling 515 source files to C:\Entwicklung\3rd-party\cocoon-2.1.5.1\build\cocoon-2.1.5.1\classes
compile-deprecated:
[mkdir] Created dir: C:\Entwicklung\3rd-party\cocoon-2.1.5.1\build\cocoon-2.1.5.1\d
eprecated
BUILD FAILED: C:\Entwicklung\build.xml:26: The following error occurred while executing this line:
java.lang.ExceptionInInitializerError
Total time: 47 seconds


I found out that Cocoon seems to compile well with Ant 1.6.1 but the Eclipse I am using is shipped with Ant 1.6.2.
Could this be the thing that is causing the problems?


Chris


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]






--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to