Sam,

This may be obvious, but how 'latest' is the build.

I found a bug in the j2ee plugin.jelly a few days again where a goal had a
duplicate prereqs attribute specified. The error is half useful in that it
tells you what is wrong, but not where it is.

I found the problem by doing a search through all the plugin.jelly scripts in
the maven.home and looking for "prereqs=". I found two that were next to each
other that way. When I removed the xtra one, the prob went away. Seemed to
only tell me though when using xerces 2.0.2 not xerces 2.0.0

Hope that helps a little.

-Peter


On Mon, 22 Jul 2002 18:00:02 -0400 Sam Ruby <[EMAIL PROTECTED]> wrote:

[[moved to turbine-maven-dev from general@jakarta]]

Martin van den Bemt wrote:
 > maven ant (at least with the latest cvs version)

I got the latest jakarta-turbine-maven.  I did an "ant -f
build-bootstrap.xml".  I then cd'd to xml-rpc, and executed "maven ant".
Here's what I got:

 >  __  __
 > |  /  |__ Jakarta _ ___
 > | |/| / _`  V / -_) '   ~ intelligent projects ~
 > |_|  |___,_|_/___|_||_|   v. 1.0-b5-dev
 >
 > xmlrpc (xmlrpc) 1.2-dev
 > C:jakartaxml-rpc
 >
 > [ERROR] org.xml.sax.SAXParseException: Attribute "prereqs" was 
already specified for element "goal".
 > [ERROR]         at 
org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1171)

 > [ERROR]         at 
org.apache.commons.jelly.parser.XMLParser.parse(XMLParser.java:270)
 > [ERROR]         at 
org.apache.maven.app.JellyUtils.compileScript(JellyUtils.java:126)
 > [ERROR]         at 
org.apache.maven.app.JellyUtils.runScript(JellyUtils.java:101)
 > [ERROR]         at 
org.apache.maven.app.PluginManager.loadPlugin(PluginManager.java:345)
 > [ERROR]         at 
org.apache.maven.app.PluginManager.initializePlugins(PluginManager.java:205)
 > [ERROR]         at 
org.apache.maven.app.Maven.initializePlugins(Maven.java:728)
 > [ERROR]         at 
org.apache.maven.app.Maven.runtimeInitialization(Maven.java:687)
 > [ERROR]         at org.apache.maven.app.Maven.doMain(Maven.java:1564)
 > [ERROR]         at org.apache.maven.app.Maven.main(Maven.java:1746)
 > [ERROR]         at java.lang.reflect.Method.invoke(Native Method)
 > [ERROR]         at com.werken.forehead.Forehead.run(Forehead.java:543)
 > [ERROR]         at com.werken.forehead.Forehead.main(Forehead.java:573)
 > Total time: 1 seconds

Suggestions?

- Sam Ruby



--
To unsubscribe, e-mail:  
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to