You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@gump.apache.org by Maarten Coene <ma...@yahoo.com> on 2005/05/20 08:32:48 UTC

dom4j

Hi,

I have 3 questions regarding dom4j.

1. the project is failing because of this error:

BUILD FAILED
java.lang.NoClassDefFoundError: org/xml/sax/ext/Attributes2
	at org.apache.xerces.parsers.AbstractSAXParser.<init>(Unknown Source)
	at org.apache.xerces.parsers.SAXParser.<init>(Unknown Source)
	at org.apache.xerces.parsers.SAXParser.<init>(Unknown Source)
	at org.apache.xerces.jaxp.SAXParserImpl.<init>(Unknown Source)
	at org.apache.xerces.jaxp.SAXParserFactoryImpl.newSAXParser(Unknown Source)
	at org.apache.tools.ant.util.JAXPUtils.newSAXParser(JAXPUtils.java:212)
	at org.apache.tools.ant.util.JAXPUtils.getNamespaceXMLReader(JAXPUtils.java:169)
	at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:187)
	at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:140)
	at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:90)
	at org.apache.tools.ant.Main.runBuild(Main.java:645)
	at org.apache.tools.ant.Main.startAnt(Main.java:188)
	at org.apache.tools.ant.Main.start(Main.java:151)
	at org.apache.tools.ant.Main.main(Main.java:229)


Any idea what's going wrong?

2. I will start working on a new major version of dom4j, this will 
probably cause a lot of build failures... I have created a branch in CVS 
for maintaining the current dom4j 1.x releases. I think it would be good 
if gump is using this branch (DOM4J_1_X_BRANCH) instead of the MAIN 
branch. Can the gump project descriptor of dom4j be changed to 
accomplish this?

3. I have also upgraded the pull-parser (xpp2) used by dom4j to a new 
version. I think this will cause problems as well with the current 
project descriptor because the jar name has been changed to 
pull-parser-2.1.10.jar. This has only be done in the DOM4J_1_X_BRANCH 
branch.

regards,
Maarten


---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org


Re: dom4j

Posted by JetWork <mo...@gmail.com>.


Maarten Coene wrote:
> 
> Hi,
> 
> I have 3 questions regarding dom4j.
> 
> 1. the project is failing because of this error:
> 
> BUILD FAILED
> java.lang.NoClassDefFoundError: org/xml/sax/ext/Attributes2
> 	at org.apache.xerces.parsers.AbstractSAXParser.<init>(Unknown Source)
> 	at org.apache.xerces.parsers.SAXParser.<init>(Unknown Source)
> 	at org.apache.xerces.parsers.SAXParser.<init>(Unknown Source)
> 	at org.apache.xerces.jaxp.SAXParserImpl.<init>(Unknown Source)
> 	at org.apache.xerces.jaxp.SAXParserFactoryImpl.newSAXParser(Unknown
> Source)
> 	at org.apache.tools.ant.util.JAXPUtils.newSAXParser(JAXPUtils.java:212)
> 	at
> org.apache.tools.ant.util.JAXPUtils.getNamespaceXMLReader(JAXPUtils.java:169)
> 	at
> org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:187)
> 	at
> org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:140)
> 	at
> org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:90)
> 	at org.apache.tools.ant.Main.runBuild(Main.java:645)
> 	at org.apache.tools.ant.Main.startAnt(Main.java:188)
> 	at org.apache.tools.ant.Main.start(Main.java:151)
> 	at org.apache.tools.ant.Main.main(Main.java:229)
> 
> 
> Any idea what's going wrong?
> 
> 2. I will start working on a new major version of dom4j, this will 
> probably cause a lot of build failures... I have created a branch in CVS 
> for maintaining the current dom4j 1.x releases. I think it would be good 
> if gump is using this branch (DOM4J_1_X_BRANCH) instead of the MAIN 
> branch. Can the gump project descriptor of dom4j be changed to 
> accomplish this?
> 
> 3. I have also upgraded the pull-parser (xpp2) used by dom4j to a new 
> version. I think this will cause problems as well with the current 
> project descriptor because the jar name has been changed to 
> pull-parser-2.1.10.jar. This has only be done in the DOM4J_1_X_BRANCH 
> branch.
> 
> regards,
> Maarten
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
> For additional commands, e-mail: general-help@gump.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/dom4j-tp57563p19264598.html
Sent from the Gump mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org


Re: dom4j

Posted by Stefan Bodewig <bo...@apache.org>.
On Fri, 20 May 2005, Maarten Coene <ma...@yahoo.com> wrote:
> Stefan Bodewig wrote:

>>Sure.  We could keep building HEAD in addition (but make all
>>dependent projects use the "stable" branch), if you want to.
>>
>>
> that sounds like a good idea.

Done.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org


Re: dom4j

Posted by Maarten Coene <ma...@yahoo.com>.
Stefan Bodewig wrote:

>On Fri, 20 May 2005, Maarten Coene <ma...@yahoo.com> wrote:
>
>  
>
>>1. the project is failing because of this error:
>>    
>>
>
>Xerces has switched to the newer SAX version of JAXP 1.3.  It probably
>works once Gump starts to build again since I added JAXP 1.3's sax.jar
>as a dependency to the dom4j build.
>  
>
ok thanks!

>  
>
>>2. I will start working on a new major version of dom4j, this will
>>probably cause a lot of build failures... I have created a branch in
>>CVS for maintaining the current dom4j 1.x releases. I think it would
>>be good if gump is using this branch (DOM4J_1_X_BRANCH) instead of
>>the MAIN branch. Can the gump project descriptor of dom4j be changed
>>to accomplish this?
>>    
>>
>
>Sure.  We could keep building HEAD in addition (but make all dependent
>projects use the "stable" branch), if you want to.
>  
>
that sounds like a good idea. I hope this doesn't require a lot of work 
on your side?

>  
>
>>3. I have also upgraded the pull-parser (xpp2) used by dom4j to a
>>new version.
>>    
>>
>
>If there is a new version and Gump is using an old one, upgrading is
>absolutely in line with Gump's goals.  We should probably pull the
>project definition from the dom4j descriptor completely and make xpp2
>an installed package.  Where do I find the latest release of it?
>  
>
The home-page of this xpp2 project is 
http://www.extreme.indiana.edu/xgws/xsoap/xpp/xpp2/index.html where I 
can't find a link to some CVS system hosting the sources. But there 
seems to be a web-interface containing all the files (including build 
files, sources, required libs, etc): 
http://www.extreme.indiana.edu/xgws/xsoap/xpp/download/PullParser2/

thanks,
Maarten


---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org


Re: dom4j

Posted by Stefan Bodewig <bo...@apache.org>.
On Fri, 20 May 2005, Maarten Coene <ma...@yahoo.com> wrote:

> 1. the project is failing because of this error:

Xerces has switched to the newer SAX version of JAXP 1.3.  It probably
works once Gump starts to build again since I added JAXP 1.3's sax.jar
as a dependency to the dom4j build.

> 2. I will start working on a new major version of dom4j, this will
> probably cause a lot of build failures... I have created a branch in
> CVS for maintaining the current dom4j 1.x releases. I think it would
> be good if gump is using this branch (DOM4J_1_X_BRANCH) instead of
> the MAIN branch. Can the gump project descriptor of dom4j be changed
> to accomplish this?

Sure.  We could keep building HEAD in addition (but make all dependent
projects use the "stable" branch), if you want to.

> 3. I have also upgraded the pull-parser (xpp2) used by dom4j to a
> new version.

If there is a new version and Gump is using an old one, upgrading is
absolutely in line with Gump's goals.  We should probably pull the
project definition from the dom4j descriptor completely and make xpp2
an installed package.  Where do I find the latest release of it?

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org