Hi,
Since I upgraded to RC2, my WebObjects projects
won't compile any more. The ant script cannot execute.
I get "NoClassDefFound". (Below is more info).
I started from scratch, new RC2 install, updated cvs directory, built
the
wolips plugin from cvs and installed it. Just tried a "HelloWorld"
project. Ant is not run as an external tool (WOLips preferences, but
doesn't
matter for the error), the ANT_HOME is not set.
Funny thing is, when I set the ANT_HOME to my ant 1.5.2 installation
I get exceptions in the "Run Ant..." panel (context sensitive over the
build.xml).
(class org.apache.xerces.parsers.IntegratedParserConfiguration, method:
configurePipeline
signature()V) Incompatible for getting or setting field). Deleting the
xerces implementation
out of the ANT_HOME directory won't do the trick either
I can't get more details out of the runtime, thanks for any help
Christian
Here comes the detail
Running on RC2-motif on Linux
Apache Ant version 1.5.2 compiled on February 28 2003
Apache Ant version 1.5.2 compiled on February 28 2003
Buildfile:
/mnt/raid/Users/leeden/Applications/Linux/eclipse/workspace/BaseTest/
build.xml
+User task: pde.convertSchemaToHTML
org.eclipse.pde.ant.ConvertSchemaToHTML
+User task: eclipse.fetch
org.eclipse.pde.internal.build.tasks.FetchTask
+User task: eclipse.buildScript
org.eclipse.pde.internal.build.tasks.BuildScriptGeneratorTask
+User task: eclipse.buildManifest
org.eclipse.pde.internal.build.tasks.BuildManifestTask
+User task: eclipse.convertPath
org.eclipse.core.resources.ant.ConvertPath
+User task: eclipse.incrementalBuild
org.eclipse.core.resources.ant.IncrementalBuild
+User task: eclipse.refreshLocal
org.eclipse.core.resources.ant.RefreshLocalTask
+User task: woapplication
org.objectstyle.woproject.ant.WOApplication
+User task: woframework org.objectstyle.woproject.ant.WOFramework
BUILD FAILED: java.lang.NoClassDefFoundError
Total time: 126 milliseconds
Diagnostic messages from ANT:
------- Ant diagnostics report -------
Apache Ant version 1.5.2 compiled on February 28 2003
-------------------------------------------
Implementation Version (JDK1.2+ only)
-------------------------------------------
core tasks : 1.5.2
optional tasks : 1.5.2
-------------------------------------------
ANT_HOME/lib jar listing
-------------------------------------------
ant.home: /Network/Library/Java/Jakarta/ant
ant.jar (732490 bytes)
optional.jar (668804 bytes)
xercesImpl.jar (885250 bytes)
xml-apis.jar (108484 bytes)
-------------------------------------------
Tasks availability
-------------------------------------------
stlist : Missing dependency com.starbase.starteam.Item
telnet : Missing dependency com.oroinc.net.SocketClient
ftp : Missing dependency com.oroinc.net.ftp.FTP
jdepend : Missing dependency jdepend.xmlui.JDepend
script : Missing dependency com.ibm.bsf.BSFException
junit : Missing dependency junit.framework.TestListener
stcheckin : Missing dependency com.starbase.starteam.Item
stcheckout : Missing dependency com.starbase.starteam.Item
-------------------------------------------
org.apache.env.Which diagnostics
-------------------------------------------
Not available.
Download it at http://xml.apache.org/commons/
-------------------------------------------
System properties
-------------------------------------------
java.runtime.name : Java(TM) 2 Runtime Environment, Standard Edition
sun.boot.library.path : /opt/sun-jdk-1.4.1.01/jre/lib/i386
java.vm.version : 1.4.1_01-b01
java.vm.vendor : Sun Microsystems Inc.
java.vendor.url : http://java.sun.com/
path.separator : :
java.vm.name : Java HotSpot(TM) Client VM
file.encoding.pkg : sun.io
user.country : US
sun.os.patch.level : unknown
java.vm.specification.name : Java Virtual Machine Specification
user.dir : /mnt/raid/Users/leeden/Applications/Linux/eclipse
java.runtime.version : 1.4.1_01-b01
java.awt.graphicsenv : sun.awt.X11GraphicsEnvironment
java.endorsed.dirs : /opt/sun-jdk-1.4.1.01/jre/lib/endorsed
os.arch : i386
java.io.tmpdir : /tmp
line.separator :
java.vm.specification.vendor : Sun Microsystems Inc.
os.name : Linux
ant.home : /Network/Library/Java/Jakarta/ant
sun.java2d.fontpath :
org.apache.commons.logging.LogFactory :
org.objectstyle.wolips.core.plugin.logging.WOLipsLogFactory
java.library.path :
/opt/sun-jdk-1.4.1.01/jre/lib/i386/client:/opt/sun-jdk-1.4.1.01/jre/
lib/i386:/opt/sun-jdk-1.4.1.01/jre/../lib/i386:/home/subversion/lib
java.specification.name : Java Platform API Specification
java.class.version : 48.0
java.util.prefs.PreferencesFactory :
java.util.prefs.FileSystemPreferencesFactory
os.version : 2.4.19-dw
user.home : /Network/Users/leeden
user.timezone : Europe/Berlin
java.awt.printerjob : sun.print.PSPrinterJob
file.encoding : ANSI_X3.4-1968
java.specification.version : 1.4
java.class.path :
/mnt/raid/Users/leeden/Applications/Linux/eclipse/./startup.jar
user.name : leeden
java.vm.specification.version : 1.0
java.home : /opt/sun-jdk-1.4.1.01/jre
sun.arch.data.model : 32
user.language : en
java.specification.vendor : Sun Microsystems Inc.
java.vm.info : mixed mode
java.version : 1.4.1_01
java.ext.dirs : /opt/sun-jdk-1.4.1.01/jre/lib/ext
sun.boot.class.path :
/opt/sun-jdk-1.4.1.01/jre/lib/rt.jar:/opt/sun-jdk-1.4.1.01/jre/lib/
i18n.jar:/opt/sun-jdk-1.4.1.01/jre/lib/sunrsasign.jar:/opt/sun-jdk-
1.4.1.01/jre/lib/jsse.jar:/opt/sun-jdk-1.4.1.01/jre/lib/jce.jar:/opt/
sun-jdk-1.4.1.01/jre/lib/charsets.jar:/opt/sun-jdk-1.4.1.01/jre/classes
java.vendor : Sun Microsystems Inc.
file.separator : /
java.vendor.url.bug : http://java.sun.com/cgi-bin/bugreport.cgi
sun.io.unicode.encoding : UnicodeLittle
sun.cpu.endian : little
sun.cpu.isalist :
Total time: 78 milliseconds
This archive was generated by hypermail 2.0.0 : Tue Mar 11 2003 - 07:42:54 EST