cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Torsten Schlabach" <TSchlab...@gmx.net>
Subject Still challenged with building Cocoon in Eclipse
Date Wed, 15 Dec 2004 16:42:50 GMT
Hi all,

I still try to build Cocoon in Eclipse by following this howto:

http://wiki.apache.org/cocoon/Cocoon215TOC

and I still face this error:

Buildfile: C:\local\eclipse-scratchpad-workspace\cocoon-2.1.6\build.xml
init:
init-tasks:
    [mkdir] Created dir:
C:\local\eclipse-scratchpad-workspace\cocoon-2.1.6\build\cocoon-2.1.6\mocks
    [javac] Compiling 1 source file to
C:\local\eclipse-scratchpad-workspace\cocoon-2.1.6\build\cocoon-2.1.6\mocks
compile-deprecated:
BUILD FAILED: java.lang.ExceptionInInitializerError
Total time: 30 seconds

Someone pointed me at

http://wiki.apache.org/cocoon/YourCocoonBasedProjectAnt16

But having read this through I think it cannot be the answer as it is based
on heavily changing the build.xml and properties files and if I get it right
talks about building it through on the command line first and then just use
Eclipse as and editor / viewer.

So my question still is: Did anyone ever successfully:

- Download and extract the tar
- Run ant eclipse-project
- Imported and built the project in Eclipse

When I say "build in Eclipse" I am talking about locating the top build.xml
file in Eclipse, right-clicking on it and choosing "Run as ..." and "Ant
build".

Especially, what I don't understand in the "LoadInEclipse" Wiki page is this
section:

To run the Ant build from within Eclipse you have to add something like this
to the build.xml:

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

  <target name="properties" if="eclipse.running">
    <property name="build.compiler"
value="org.eclipse.jdt.core.JDTCompilerAdapter"/>
  </target>


Where should I put this?

Regards,
Torsten

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message