The src/build/build.xml file says that xml.jar is only there to support ejx.
Is that true? Does anyone know if it is being used anywhere else? If not
lets get rid of it.
--jason
On Fri, 29 Jun 2001, danch wrote:
> More info:
> There's an old version of the xml APIs in the lib directory, in xml.jar.
> This was getting picked up first by javac and causing those problems.
> Removing that so that the classes out of crimson.jar get used causes
> this problem:
>
> java.lang.NoClassDefFoundError: com/sun/xml/tree/XmlDocument
> at com.dreambean.xmlbeans.BeanInfoCompiler.<init>(BeanInfoCompiler.java:109)
> at com.dreambean.xmlbeans.ant.XMLBeans.execute(XMLBeans.java:44)
> at org.apache.tools.ant.Target.execute(Target.java:153)
> at org.apache.tools.ant.Project.runTarget(Project.java:898)
> at org.apache.tools.ant.Project.executeTarget(Project.java:536)
> at org.apache.tools.ant.Project.executeTargets(Project.java:510)
> at org.apache.tools.ant.Main.runBuild(Main.java:421)
> at org.apache.tools.ant.Main.main(Main.java:149)
>
>
> Slay me with a rubber spoon! Anybody know where sources might be?
>
> thanks,
> danch
>
>
> danch wrote:
>
> > The last couple of days I've been unable to build the HEAD version from
> > CVS. It looks like yet another XML parser version mismatch (YAXPVM? OK,
> > that's we nobody has used that acronym before).
> >
> > I've blown out everything under the jboss directory and god fresh via
> > `cvs update -d` and that didn't help. I've also run the build script
> > with an empty CLASSPATH (which shouldn't be neccessary with ant) and had
> > no joy.
> >
> > Here are the errors:
> >
> > /work/danch/jboss/jboss/src/main/org/jboss/jmx/server/XMLAdaptorImpl.java:382:
> > Method hasAttribute(java.lang.String) not found in interface
> > org.w3c.dom.Element.
> > [javac] if( pObjectName.hasAttribute( "name" ) ) {
> > [javac] ^
> > [javac]
> > /work/danch/jboss/jboss/src/main/org/jboss/jmx/server/XMLAdaptorImpl.java:387:
> > Method hasAttribute(java.lang.String) not found in interface
> > org.w3c.dom.Element.
> > [javac] if( pObjectName.hasAttribute( "domain" ) ) {
> > [javac] ^
> > [javac]
> > /work/danch/jboss/jboss/src/main/org/jboss/jmx/server/XMLAdaptorImpl.java:394:
> > Method hasAttribute(java.lang.String) not found in interface
> > org.w3c.dom.Element.
> > [javac] if( lProperty.hasAttribute( "key" ) &&
> > lProperty.hasChildNodes() ) {
> > [javac] ^
> > [javac]
> > /work/danch/jboss/jboss/src/main/org/jboss/metadata/ApplicationMetaData.java:135:
> > Method getPublicId() not found in interface org.w3c.dom.DocumentType.
> > [javac] publicID = docType.getPublicId();
> > [javac] ^
> > [javac] Note: 5 files use or override a deprecated API. Recompile
> > with "-deprecation" for details.
> > [javac] 4 errors, 1 warning
> >
> >
> >
> >
> > P.S. Should we turn on deprecation in the build. Those make me feel like
> > C++ warnings used to in the old days.
> >
> >
> > thanks all,
> > danch
> >
> >
> > _______________________________________________
> > Jboss-development mailing list
> > [EMAIL PROTECTED]
> > http://lists.sourceforge.net/lists/listinfo/jboss-development
>
>
>
> _______________________________________________
> Jboss-development mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-development
>
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development