geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Jencks <da...@coredevelopers.net>
Subject Re: Error when running maven
Date Thu, 11 Dec 2003 17:58:28 GMT
I have just done a complete clean checkout of geronimo and deleted the  
xdoclet 1.2b2 jars from my local maven repository.  The tools module  
builds fine but the xdoclet test in kernel fails.

I think it is entirely possible that this is a mac-specific problem.   
I'd appreciate knowing if other mac users can compile successfully.

I have previously had very similar problems with xdoclet templates  
using xdoclet 1.2b2 and solved them only by upgrading the xdoclet  
version to a custom build (this is why JBoss ships with its own copy of  
xdoclet).  This experience has led me to be extremely wary of  
customizing xdoclet, and provides a considerable amount of my  
motivation for wanting to eliminate xdoclet from the geronimo build.

I certainly hope that xdoclet 2 does not suffer from the same problems.

Typical error:

(XDocletMain.start                   52  ) <<Running XDoclet failed.>>
xdoclet.template.TemplateException: Error in template file:  
corresponding </XDtMethod:forAllMethods> not found, line=131 of  
template file:  
jar:file:/Users/david/.maven/repository/geronimo/jars/geronimo-tools- 
DEV.jar!/org/apache/geronimo/tools/xdoclet/resources/geronimo- 
mbeaninfo.xdt
         at  
xdoclet.template.TemplateEngine.handleBlockTag(TemplateEngine.java:824)
         at  
xdoclet.template.TemplateEngine.handleTag(TemplateEngine.java:425)
         at  
xdoclet.template.TemplateEngine.generate(TemplateEngine.java:324)
         at  
xdoclet.template.TemplateEngine.start(TemplateEngine.java:373)
         at xdoclet.TemplateSubTask.startEngine(TemplateSubTask.java:559)
         at  
xdoclet.TemplateSubTask.generateForClass(TemplateSubTask.java:765)
         at  
xdoclet.TemplateSubTask.startProcessPerClass(TemplateSubTask.java:665)
         at  
xdoclet.TemplateSubTask.startProcess(TemplateSubTask.java:592)
         at xdoclet.TemplateSubTask.execute(TemplateSubTask.java:484)
         at xdoclet.XDocletMain.start(XDocletMain.java:46)
         at xdoclet.DocletTask.start(DocletTask.java:457)
         at xjavadoc.ant.XJavadocTask.execute(XJavadocTask.java:69)
         at org.apache.tools.ant.Task.perform(Task.java:341)
         at  
org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:232)
         at  
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
         at  
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
         at  
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
         at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:88)
         at  
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
         at  
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
         at  
org.apache.commons.jelly.impl.DynamicTag.doTag(DynamicTag.java:125)
         at  
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
         at  
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
         at  
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
         at  
com.werken.werkz.jelly.GoalTag$1.performAction(GoalTag.java:128)
         at com.werken.werkz.Goal.fire(Goal.java:639)
         at com.werken.werkz.Goal.attain(Goal.java:575)
         at  
com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)
         at  
com.werken.werkz.jelly.AttainGoalTag.doTag(AttainGoalTag.java:134)
         at  
org.apache.maven.jelly.tags.werkz.LazyAttainGoalTag.doTag(LazyAttainGoal 
Tag.java:107)
         at  
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
         at  
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
         at  
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
         at  
com.werken.werkz.jelly.PreGoalTag$1.firePreGoal(PreGoalTag.java:87)
         at com.werken.werkz.Goal.firePreGoalCallbacks(Goal.java:691)
         at com.werken.werkz.Goal.fire(Goal.java:616)
         at com.werken.werkz.Goal.attain(Goal.java:575)
         at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
         at com.werken.werkz.Goal.attain(Goal.java:573)
         at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
         at com.werken.werkz.Goal.attain(Goal.java:573)
         at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
         at com.werken.werkz.Goal.attain(Goal.java:573)
         at  
com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)
         at  
com.werken.werkz.jelly.AttainGoalTag.doTag(AttainGoalTag.java:134)
         at  
org.apache.maven.jelly.tags.werkz.LazyAttainGoalTag.doTag(LazyAttainGoal 
Tag.java:107)
         at  
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
         at  
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
         at  
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
         at  
com.werken.werkz.jelly.GoalTag$1.performAction(GoalTag.java:128)
         at com.werken.werkz.Goal.fire(Goal.java:639)
         at com.werken.werkz.Goal.attain(Goal.java:575)
         at  
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:448 
)
         at  
org.apache.maven.MavenSession.attainGoals(MavenSession.java:360)
         at  
org.apache.maven.jelly.tags.maven.ReactorTag.doTag(ReactorTag.java:378)
         at  
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
         at  
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
         at  
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
         at  
org.apache.commons.jelly.tags.core.WhenTag.doTag(WhenTag.java:92)
         at  
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
         at  
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
         at  
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
         at  
org.apache.commons.jelly.tags.core.ChooseTag.doTag(ChooseTag.java:84)
         at  
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
         at  
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
         at  
org.apache.commons.jelly.impl.DynamicTag.doTag(DynamicTag.java:125)
         at  
org.apache.commons.jelly.impl.StaticTagScript.run(StaticTagScript.java:1 
45)
         at  
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
         at  
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
         at  
com.werken.werkz.jelly.GoalTag$1.performAction(GoalTag.java:128)
         at com.werken.werkz.Goal.fire(Goal.java:639)
         at com.werken.werkz.Goal.attain(Goal.java:575)
         at  
com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)
         at  
com.werken.werkz.jelly.AttainGoalTag.doTag(AttainGoalTag.java:134)
         at  
org.apache.maven.jelly.tags.werkz.LazyAttainGoalTag.doTag(LazyAttainGoal 
Tag.java:107)
         at  
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
         at  
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
         at  
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
         at  
com.werken.werkz.jelly.GoalTag$1.performAction(GoalTag.java:128)
         at com.werken.werkz.Goal.fire(Goal.java:639)
         at com.werken.werkz.Goal.attain(Goal.java:575)
         at  
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:448 
)
         at  
org.apache.maven.MavenSession.attainGoals(MavenSession.java:348)
         at org.apache.maven.cli.App.doMain(App.java:543)
         at org.apache.maven.cli.App.main(App.java:1109)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at  
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav 
a:39)
         at  
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor 
Impl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.werken.forehead.Forehead.run(Forehead.java:551)
         at com.werken.forehead.Forehead.main(Forehead.java:581)
XDoclet failed.
etc etc...

An incomplete xml descriptor is generated:

Mime
View raw message