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

Reply via email to