Hi,
I've been away from the Turbine Mailing Lists for a while and I wanted
to try out the current state of Turbine 2 for syncing our projects
more closely to the "state of affairs".
So I discovered Maven, which does look promising. But I'm pretty
stumped trying to build the CVS version of maven (2002-06-03).
In reality, I want to build the current Turbine-2 Snapshot. But it
doesn't build with neither the b3 nor the b4 release. :-(
I fetched the CVS version. I set up ant and junit as described on the
Webpages. I'm doing this on RedHat Linux 7.3, running ant 1.4.1:
[henning@henning-pc henning]$ ant -version
Ant version 1.4.1 compiled on December 4 2001
[henning@henning-pc henning]$ java -version
java version "1.3.1_02"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_02-b02)
Java HotSpot(TM) Client VM (build 1.3.1_02-b02, mixed mode)
After running "ant -f build-bootstrap.xml", it runs for quite a
while. Near the end(?), it bails out:
--- cut ---
BUILD FAILED
/home/henning/maven/plugins/test/build.xml:562: Could not create task of type: junit.
Common solutions are to use taskdef to declare your task, or, if this is an optional
task, to put the optional.jar in the lib directory of your ant installation (ANT_HOME).
--- cut ---
I have $ANT_HOME set. I have ant.jar, optional.jar and junit.jar in $ANT_HOME/lib
My ant build script (from the RPM) runs ant like this:
/usr/jdk/bin/java -classpath
/usr/share/java/xerces.jar:/usr/share/java/xerces-1.4.4.jar:/usr/share/java/xalan.jar:/usr/share/java/jaxp.jar:/usr/share/java/crimson.jar:/usr/share/ant/lib/optional.jar:/usr/share/ant/lib/junit.jar:/usr/share/ant/lib/junit-3.7.jar:/usr/share/ant/lib/ant.jar:/usr/jdk/jre/lib/rt.jar:.:/usr/jdk/lib/tools.jar
-Dant.home=/usr/share/ant org.apache.tools.ant.Main -f build-bootstrap.xml
There is junit. There is optional. There is ant. And it still does not work.
What am I doing wrong? Without maven, there seems to be no way to
build the current Turbine "the proper way". But maven itself does seem
to have problems. :-(
Regards
Henning
--
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen -- Geschaeftsfuehrer
INTERMETA - Gesellschaft fuer Mehrwertdienste mbH [EMAIL PROTECTED]
Am Schwabachgrund 22 Fon.: 09131 / 50654-0 [EMAIL PROTECTED]
D-91054 Buckenhof Fax.: 09131 / 50654-20
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>