[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Workaround for ant error when building cws_src680_ooo20040329 on unstable



In case anyone is trying to build from a recent 680-based workspace such
as cws_src680_ooo20040329 and is seeing this error in Rhino:

Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/tools/ant/launch/AntMain

You should change the ANT= line in solenv/inc/ant.mk:

-ANT=$(WRAPCMD) java -classpath $(CLASSPATH) -Xmx128m org.apache.tools.ant.Main -Djava.home=$(JAVA_HOME) -Dant.home=$(ANT_HOME)
+ANT=$(ANT_HOME)/bin/ant

(Taken from ant01 branch.)

Chris



Reply to: