[JBoss-user] Problem with compiling CVS

2001-07-02 Thread VASQUEZ_JASON

I hadn't seen any discussion on this list, but I wondered if anybody had noticed that JBoss snapshots from CVS haven't been able to compile for the last week or so?  I've fixed the 2 offending classes up so that it will work, but I'm not confident that they are the real solution

Let me know if you'd like me to file a bug report

-Jason


Compile log:

compile:
    [mkdir] Created dir: /home/jboss/jboss/build/classes
    [javac] Compiling 556 source files to /home/jboss/jboss/build/classes
    [javac] /home/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] /home/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] /home/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] /home/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

BUILD FAILED


RE: [JBoss-user] Problem with compiling CVS

2001-07-02 Thread marc fleury

no html PLEASE!

I was going to answer but the html just pisses me off!

marcf

PS: just so that you know, it DOES compile :) yes, *you* are doing something
wrong
PS2: with about 1800 cvs commits in the last week, yes we DO notice when
it's dead

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of
[EMAIL PROTECTED]
Sent: Monday, July 02, 2001 1:22 PM
To: [EMAIL PROTECTED]
Subject: [JBoss-user] Problem with compiling CVS



I hadn't seen any discussion on this list, but I wondered if anybody had
noticed that JBoss snapshots from CVS haven't been able to compile for the
last week or so?  I've fixed the 2 offending classes up so that it will
work, but I'm not confident that they are the real solution

Let me know if you'd like me to file a bug report

-Jason


Compile log:

compile:
[mkdir] Created dir: /home/jboss/jboss/build/classes
[javac] Compiling 556 source files to /home/jboss/jboss/build/classes
[javac]
/home/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]
/home/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]
/home/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]
/home/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

BUILD FAILED



___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] Problem with compiling CVS

2001-07-02 Thread VASQUEZ_JASON


Marc,

 Re: HTML mail 
all you had to do was ask nicely... :)

 Re: Compiling 
Typing while I do this...
1. Download jboss-cvs.zip from jboss.org
2. jar xvf jboss-cvs.zip
3. echo $CLASSPATH :  
4. cd jboss/src/build
5. sh build.sh
6. everything builds fine...today.

I dug around for an old snapshot, and found one from 6/29---same drill, but
this time came up with the same error I got before, so apparently something
WAS different.  Browsing the CVS sources shows that build.xml was updated
17 hours ago (at time of writing) to include xml.jar into the bootstrap
set, so at this point, I'm guessing that's the difference.

*** Re: 1800 cvs commits ***
Maybe you don't always notice

==
I was an avid user of JBoss when v2.0 was in alpha/beta stages and later
released, and was thrilled with the product and the community of users and
developers.  Unfortunately, I was caught up in other projects for some
time, and left the list for a while.  JBoss* is coming along great, and
I've had a lot of fun using it and getting others started using it.

I've just returned to the list within the past month. Maybe it's just the
price you pay for having a popular product, but it's unfortunate that much
of the space on the list has been taken up with flames and personal
attacks.  Marc--I am not personally offended in the way that you worded
your response--I understand what it is like to be working under pressure
with lots of apparently "uninformed" people looking to you for answers,
when they might have been able to find their answers on their own.  My fear
is that we don't want to alienate people from using the list/online
forum/whatever.  Yes--with some more digging, I might have been able to
figure this out.  The beauty of open source communities is the fact that
you communicate with people who have probably already had the same problems
as you in the past.  If a question is too silly to be answered, maybe we
shouldn't respond at all, or give the ol' RTFM.

-jason





   

marc fleury

<[EMAIL PROTECTED]> To: 
[EMAIL PROTECTED]   
Sent by:cc:
    
            [EMAIL PROTECTED]Subject: RE: [JBoss-user] 
Problem with compiling CVS   
eforge.net 

   

   

07/02/2001 01:04 PM

Please respond to jboss-user   

   

   





no html PLEASE!

I was going to answer but the html just pisses me off!

marcf

PS: just so that you know, it DOES compile :) yes, *you* are doing
something
wrong
PS2: with about 1800 cvs commits in the last week, yes we DO notice when
it's dead

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of
[EMAIL PROTECTED]
Sent: Monday, July 02, 2001 1:22 PM
To: [EMAIL PROTECTED]
Subject: [JBoss-user] Problem with compiling CVS



I hadn't seen any discussion on this list, but I wondered if anybody had
noticed that JBoss snapshots from CVS haven't been able to compile for the
last week or so?  I've fixed the 2 offending classes up so that it will
work, but I'm not confident that they are the real solution

Let me know if you'd like me to file a bug report

-Jason


Compile log:

compile:
[mkdir] Created dir: /home/jboss/jboss/build/classes
[javac] Compiling 556 source files to /home/jboss/jboss/build/classes
[javac]
/home/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.

Re: [JBoss-user] Problem with compiling CVS

2001-07-02 Thread danch

More recent snapshots should work for you. There were 2 different 
versions of the XML DOM api in the lib directory. We unlucky few would 
up picking up the wrong one first in our classpath somehow.

-danch

[EMAIL PROTECTED] wrote:

> Marc,
> 
>  Re: HTML mail 
> all you had to do was ask nicely... :)
> 
>  Re: Compiling 
> Typing while I do this...
> 1. Download jboss-cvs.zip from jboss.org
> 2. jar xvf jboss-cvs.zip
> 3. echo $CLASSPATH :  
> 4. cd jboss/src/build
> 5. sh build.sh
> 6. everything builds fine...today.


___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user