cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Torsten Schlabach" <>
Subject Build Cocoon in Eclipse
Date Thu, 09 Dec 2004 17:04:02 GMT
Dear all,

I am not sure if this is an old topic, but searching the archive did not
really bring any solution.

I would like to build Cocoon in Eclipse (3.1 M3 to be exact) and I have
followed instructions on this page:

What confuses me is this part:

<!-- =========================================================== -->
  <!-- Use the Eclipse compiler if we are running in eclipse       -->
  <!-- =========================================================== -->

  <target name="properties" if="eclipse.running">
    <property name="build.compiler"

I am not sure where in build.xml to put this, but it does not seem to make a
difference. Also the page does not say anything about what this might be
good for at all.

With or without that piece, when I try to run an Ant build for the webapp

Buildfile: C:\local\eclipse-scratchpad-workspace\cocoon-2.1.6\build.xml
     [copy] Copying 18 files to
     [copy] Copied 60 empty directories to 32 empty directories under
    [javac] Compiling 541 source files to
    [mkdir] Created dir:
BUILD FAILED: java.lang.ExceptionInInitializerError
Total time: 27 seconds

Is there anything obvious I am missing?

In fact, what I never understood about the Eclipse / Ant thing:

The philosophy of Eclipse is to compile a Java class as soon as it sees it.
And it decides itself where to but it. How is that compatible with the idea
of Ant where you specify on a very granular basis what to do when.

I know this is not an Eclipse support forum, but I think this is of
interested to a lot of other Cocoon users.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message