Hi,

I have been using Turbine on

   Redhat 6.0 Linux (kernel 2.2.5-15)
   Blackdown Java 1.1.8 v1

I have built from daily snapshots before, but it has
been a while.
I rebuilt Turbine from sources today
(daily 2000/04/21 snapshot from working-dogs.com).
and got the following error.

/home/spadkins> cd $PREFIX/src/Apache-Turbine-20000421/build
/usr/ov/devel/src/Apache-Turbine-20000421/build> ./build-turbine.sh

Now building jar...
Buildfile: build-turbine.xml
java.lang.IncompatibleClassChangeError: Unimplemented interface method
        at org.apache.tools.ant.SunParser.parse(SunParser.java:76)
        at
org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:84)
        at org.apache.tools.ant.Main.runBuild(Main.java:223)
        at org.apache.tools.ant.Main.main(Main.java:191)

I know it is something stupid I am leaving out.
I will be happy to add this to the FAQ in the Troubleshooting area
if someone can help me out.

Stephen
_______________________

DETAILS:

/usr/ov/devel/src/Apache-Turbine-20000421/build> echo $JAVA_HOME

/usr/local/jdk118_v1

/usr/ov/devel/src/Apache-Turbine-20000421/build> echo $PATH

/usr/ov/devel/bin:/usr/local/jdk118_v1/bin:/usr/local/java/bin:/usr/local/bin:
/usr/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/spadkins/bin:/usr/local/ssl/bin:.

/usr/ov/devel/src/Apache-Turbine-20000421/build>  whence javac

/usr/local/jdk118_v1/bin/javac

/usr/ov/devel/src/Apache-Turbine-20000421/build> echo $CLASSPATH

.:/usr/local/java/lib/classes.zip

/usr/ov/devel/src/Apache-Turbine-20000421/build> ls

README  ant.jar  bin  build-turbine.bat  build-turbine.sh
build-turbine.xml  xml.jar

/usr/ov/devel/src/Apache-Turbine-20000421/build> uname -a

Linux raven.officevision.com 2.2.5-15 #2 Mon Jan 31 16:28:44 CST 2000 i586
unknown

/usr/ov/devel/src/Apache-Turbine-20000421/build> ls -l $JSDK_JAR

-r--r--r--   1 spadkins spadkins    76453 Apr 17 12:10
/usr/ov/devel/lib/classes/jsdk-2.0.jar

/usr/ov/devel/src/Apache-Turbine-20000421/build> cat build-turbine.sh

#!/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.1.jar
ECS=../lib/ecs-1.3.2.jar
XERCES=../lib/xerces-1.0.3.jar
CASTOR=../lib/castor-0.8.2.jar

#WEBMACRO=../lib/webmacro-jdk1.2.jar
WEBMACRO=../lib/webmacro-jdk1.1.jar
#FREEMARKER=../lib/freemarker-jdk1.2.jar
FREEMARKER=../lib/freemarker-jdk1.1.jar

JSDK=$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
fi

echo "Now building ${TARGET}..."

CP=${CLASSPATH}:${XERCES}:${JSDK}:${JAVAMAIL}:${JAF}:${VILLAGE}:${ECS}:${WEB
MACRO}:${FREEMARKER}:${NAMING}:${CASTOR}:xml.jar:ant.jar

BUILDFILE=build-turbine.xml

${JAVA_HOME}/bin/java -classpath ${CP} org.apache.tools.ant.Main -buildfile
${BUILDFILE} ${TARGET}



------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to