geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ed Letifov <e.leti...@chello.nl>
Subject Re: Error when running maven
Date Thu, 11 Dec 2003 22:31:44 GMT
Hello,

Mac user. 10.2.8 (6R73) Same here.

Ed Letifov.

On Thursday, Dec 11, 2003, at 18:58 Europe/Amsterdam, David Jencks  
wrote:

> 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(LazyAttainGoa 
> lTag.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(LazyAttainGoa 
> lTag.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:44 
> 8)
>         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: 
> 145)
>         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(LazyAttainGoa 
> lTag.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:44 
> 8)
>         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.ja 
> va:39)
>         at  
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso 
> rImpl.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:
> <GeronimoDocletTaskTestMBeanInfo.xml>
>
> I've checked my copy of the xdoclet template, and it does not appear  
> to suffer from the problem claimed in the stack trace.
>
> I suspect streams are not being read to the end in the mac jvm due to  
> bugs in xdoclet.
> I think there are more recent versions (1.2b3 and 1.2b4) of xdoclet on  
> a maven repository at the xdoclet sourceforge site.  Perhaps we could  
> use one of those to fix this.
>
> thanks
> david jencks
>
> On Thursday, December 11, 2003, at 02:30 AM, gianny DAMOUR wrote:
>
>> David Jencks wrote:
>>> This is Gianni's new xdoclet module.   Did you use cvs update -dP so  
>>> new directories are pulled down?  I am seeing this jar built,  
>>> although I see other build problems later: this might be due to  
>>> needing a clean rebuild.
>> Indeed, I have created a new module, namely tools, which defines a  
>> custom XDoclet tag for the generation of descriptors for  
>> GeronimoMBean. There is a unit test of this module located in the  
>> kernel module:
>>
>> org.apache.geronimo.tools.xdoclet.GeronimoDocletTaskTest
>>
>> I just retried a clean -> build compilation cycle and it was  
>> successful.
>>
>> Cheers,
>> Gianny
>>
>> _________________________________________________________________
>> Trouvez l'âme soeur sur MSN Rencontres ! http://g.msn.fr/FR1000/9551
>>


Mime
View raw message