Yesterday's built for me, but I had to modify the build-turbine.sh
file. Here's my build file.
#!/bin/sh
# -----------------------------------------------------------
# The targets are the different build scripts.
# The default "jar" is suggested
# and does not require any external packages
#
# "compile" target builds Turbine core classes
# "clean" target #oves bin directory
# "jar" target builds "core" + jar file
# "javadocs" target builds the javadocs
# -----------------------------------------------------------
TARGET=${1}
# TARGET=javadocs
# TARGET=compile
# TARGET=clean
# TARGET=jar
#-------------------------------------------------------------------
# Define the paths to each of the packages
#-------------------------------------------------------------------
JAVAMAIL=../lib/mail-1.1.3.jar
JAF=../lib/activation-1.0.1.jar
NAMING=../lib/jndi-1.2.1.jar
VILLAGE=../lib/village-1.3.jar
ECS=../lib/ecs-1.3.3.jar
XERCES=../lib/xerces-1.1.3.jar
CASTOR=../lib/castor-0.8.2.jar:../lib/jdbc-se2.0.jar:../lib/jta1.0.1.jar
XMLRPC=../lib/xmlrpc.jar
XALAN=../lib/xalan_1_1_D01.jar
STYLEBOOK=../lib/stylebook-1.0-b2.jar
#WEBMACRO=../lib/webmacro-jdk1.2-CVS.jar
WEBMACRO=../lib/webmacro-jdk1.1-CVS.jar
#FREEMARKER=../lib/freemarker-jdk1.2.jar
FREEMARKER=../lib/freemarker-jdk1.1.jar
JSDK=/usr/local/java/lib/jsdk.jar
#--------------------------------------------
# No need to edit anything past here
#--------------------------------------------
if test -z "${JAVA_HOME}" ; then
echo "ERROR: JAVA_HOME not found in your environment."
echo "Please, set the JAVA_HOME variable in your environment to match the"
echo "location of the Java Virtual Machine you want to use."
exit
fi
if test -z "${TARGET}" ; then
TARGET=jar
fi
if test -f ${JAVA_HOME}/lib/tools.jar ; then
CLASSPATH=${CLASSPATH}:${JAVA_HOME}/lib/tools.jar
else
CLASSPATH=${CLASSPATH}:${JAVA_HOME}/lib/classes.zip
fi
if test -z "${JIKES}" ; then
JAVAC=classic
else
JAVAC=jikes
fi
echo JAVAC = ${JAVAC}
echo "Now building ${TARGET}..."
CP=${CLASSPATH}:xml.jar:ant.jar:${XERCES}:${JSDK}:${JAVAMAIL}:${JAF}:${VILLAGE}:${ECS}:${WEBMACRO}:${FREEMARKER}:${NAMING}:${CASTOR}:${XMLRPC}:${XALAN}:${STYLEBOOK}
BUILDFILE=build-turbine.xml
${JAVA_HOME}/bin/java -classpath ${CP} -DJAVAC=${JAVAC}
org.apache.tools.ant.Main -buildfile ${BUILDFILE} ${TARGET}
I changed the classpath for java 1.1 and put the build jars (ie ant and
xml) at the beginning of the classpath. I believe this is necessary
because xerces conflicts with xml.jar.
>Is there a fairly recent daily snapshot that builds without problems?
>
>Or even a somewhat older one? I've tried a few now and none build at all
>out of the box. I'm not as interested in the latest changes in Turbine
>as I am in learning the overall framework and implementing a custom
>module for a client who has user and role information spread across
>several locations.
>
>Thanks.
>
>--
>==============================================================
> "Always listen to experts. They'll tell you what can't be
> done, and why. Then do it."
> -- Lazarus Long, in Robert Heinlein's Time Enough for Love
>==============================================================
>
>
>------------------------------------------------------------
>To subscribe: [EMAIL PROTECTED]
>To unsubscribe: [EMAIL PROTECTED]
>Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
>Problems?: [EMAIL PROTECTED]
==========================================================
christopher baus Come down off the cross,
waiting for snow we could use the wood.
in Tahoe, NV -- Tom Waits.
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]