Re: [JBoss-dev] Build problem with CVS HEAD
For the record, I didn't literally checkout the HEAD branch - this was just a default checkout (no tag specified). The only difference I can think of between my system and those who report it working is that I'm running on a reiserfs filesystem - the jar files could get sent back to Ant in an unusual order? Just guessing. -danch Bordet, Simone wrote: > Yo, > > I'm back to real life ! > > I'd suggest not to use HEAD tag, it's used by CVS and does not reflect the > most recent code on the main trunk. If I remember well, just deleted files > have HEAD tag, so you will checkout them even if they're not part of the > most recent code. > > Simon ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
RE: [JBoss-dev] Build problem with CVS HEAD
Yo, I'm back to real life ! I'd suggest not to use HEAD tag, it's used by CVS and does not reflect the most recent code on the main trunk. If I remember well, just deleted files have HEAD tag, so you will checkout them even if they're not part of the most recent code. Simon > -Original Message- > From: marc fleury [mailto:[EMAIL PROTECTED]] > Sent: domenica 1 luglio 2001 5:48 > To: [EMAIL PROTECTED] > Subject: RE: [JBoss-dev] Build problem with CVS HEAD > > > compiling just fine on RH 7.1 > > marcf > > |-Original Message- > |From: [EMAIL PROTECTED] > |[mailto:[EMAIL PROTECTED]]On > Behalf Of Scott > |M Stark > |Sent: Saturday, June 30, 2001 11:08 PM > |To: [EMAIL PROTECTED] > |Subject: Re: [JBoss-dev] Build problem with CVS HEAD > | > | > |If it is its a particular version problem as I can compile on > |RedHat linux 7.0. > | > |- Original Message - > |From: "Andreas Schaefer" <[EMAIL PROTECTED]> > |To: <[EMAIL PROTECTED]> > |Sent: Saturday, June 30, 2001 6:42 PM > |Subject: Re: [JBoss-dev] Build problem with CVS HEAD > | > | > |> Hi Scott > |> > |> I used IBM JDK 1.3 as well as the Sun JDK 1.3.1. I think > this is maybe > |> a Linux problem ? > |> > |> Andy > |> > | > | > | > |___ > |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
RE: [JBoss-dev] Build problem with CVS HEAD
compiling just fine on RH 7.1 marcf |-Original Message- |From: [EMAIL PROTECTED] |[mailto:[EMAIL PROTECTED]]On Behalf Of Scott |M Stark |Sent: Saturday, June 30, 2001 11:08 PM |To: [EMAIL PROTECTED] |Subject: Re: [JBoss-dev] Build problem with CVS HEAD | | |If it is its a particular version problem as I can compile on |RedHat linux 7.0. | |- Original Message - |From: "Andreas Schaefer" <[EMAIL PROTECTED]> |To: <[EMAIL PROTECTED]> |Sent: Saturday, June 30, 2001 6:42 PM |Subject: Re: [JBoss-dev] Build problem with CVS HEAD | | |> Hi Scott |> |> I used IBM JDK 1.3 as well as the Sun JDK 1.3.1. I think this is maybe |> a Linux problem ? |> |> Andy |> | | | |___ |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
Re: [JBoss-dev] Build problem with CVS HEAD
If it is its a particular version problem as I can compile on RedHat linux 7.0. - Original Message - From: "Andreas Schaefer" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, June 30, 2001 6:42 PM Subject: Re: [JBoss-dev] Build problem with CVS HEAD > Hi Scott > > I used IBM JDK 1.3 as well as the Sun JDK 1.3.1. I think this is maybe > a Linux problem ? > > Andy > ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
Re: [JBoss-dev] Build problem with CVS HEAD
Hi Scott I used IBM JDK 1.3 as well as the Sun JDK 1.3.1. I think this is maybe a Linux problem ? Andy - Original Message - From: "Scott M Stark" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, June 30, 2001 4:49 PM Subject: Re: [JBoss-dev] Build problem with CVS HEAD > The ejx stuff is the only thing using the old xml.jar and it was going to be removed > anyway so you might as well check in the change. The question still remains as > to how your picking up the old xml.jar before the crimson.jar. I don't see this > as I don't have a problem building the current code. Andreas also saw this problem. > What compiler are you using? > > - Original Message - > From: "danch" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, June 29, 2001 6:36 PM > Subject: Re: [JBoss-dev] Build problem with CVS HEAD > > > > OK, I was able to get on with my lack of a life by making nothing > > important in the build file depend on either the ejx or the xmlbeans > > targets. This doesn't break my heart, since ejx is not being maintained > > (as far as I can tell) and is only serving to leave us dependent on > > predeluvian versions of the XML apis. Should I check it in? > > > > -danch > > > > 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.(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 > > > > > > > ___ > 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
Re: [JBoss-dev] Build problem with CVS HEAD
The ejx stuff is the only thing using the old xml.jar and it was going to be removed anyway so you might as well check in the change. The question still remains as to how your picking up the old xml.jar before the crimson.jar. I don't see this as I don't have a problem building the current code. Andreas also saw this problem. What compiler are you using? - Original Message - From: "danch" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, June 29, 2001 6:36 PM Subject: Re: [JBoss-dev] Build problem with CVS HEAD > OK, I was able to get on with my lack of a life by making nothing > important in the build file depend on either the ejx or the xmlbeans > targets. This doesn't break my heart, since ejx is not being maintained > (as far as I can tell) and is only serving to leave us dependent on > predeluvian versions of the XML apis. Should I check it in? > > -danch > > 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.(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 > > ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
Re: [JBoss-dev] Build problem with CVS HEAD
What did you have to change in build.xml? It also looks like xml.jar is referenced in conf/default/jboss.conf, but I am not sure that it is required or... but I can't really tell if any of those codebase attributes are even used really. If xml.jar is old and it is not being used by anything, lets nuke it. If it is being used (ie. if we remove it and stuff breaks), then lets fix those things that break. --jason On Fri, 29 Jun 2001, danch wrote: > OK, I was able to get on with my lack of a life by making nothing > important in the build file depend on either the ejx or the xmlbeans > targets. This doesn't break my heart, since ejx is not being maintained > (as far as I can tell) and is only serving to leave us dependent on > predeluvian versions of the XML apis. Should I check it in? > > -danch > > 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.(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 > > > > > ___ > 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
Re: [JBoss-dev] Build problem with CVS HEAD
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.(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
Re: [JBoss-dev] Build problem with CVS HEAD
I can build it just fine. Perhaps you have some extra fluff in your classpath? --jason On Fri, 29 Jun 2001, 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
Re: [JBoss-dev] Build problem with CVS HEAD
OK, I was able to get on with my lack of a life by making nothing important in the build file depend on either the ejx or the xmlbeans targets. This doesn't break my heart, since ejx is not being maintained (as far as I can tell) and is only serving to leave us dependent on predeluvian versions of the XML apis. Should I check it in? -danch 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.(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 > ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
Re: [JBoss-dev] Build problem with CVS HEAD
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.(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-dev] Build problem with CVS HEAD
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