You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Mahesh <ma...@bsil.com> on 2003/04/15 07:38:18 UTC

Jelly Errors : Class com.werken.werkz.jelly.GoalTag doesn't support the nested "taskdef" element.

Hi,
 I have written a plugin for my application (A Java Code Metrics Analyzer Utility). When I run the maven-jdocaudit-plugin:report, it logs the error messages in maven.log. Can anybody help me why these errors are coming? Or Is there anything wrong with jelly file which I have written.

Contents of maven.log is as follows

2003-04-15 09:56:19,983 ERROR org.apache.commons.jelly.tags.ant.AntTag - Class org.apache.commons.jelly.tags.core.IfTag doesn't support the nested "path" element.
2003-04-15 09:56:20,530 ERROR org.apache.commons.jelly.tags.ant.AntTag - Class com.werken.werkz.jelly.ProjectTag doesn't support the nested "path" element.
2003-04-15 09:56:20,592 ERROR org.apache.commons.jelly.tags.ant.AntTag - Class com.werken.werkz.jelly.GoalTag doesn't support the nested "taskdef" element.
2003-04-15 09:56:20,639 ERROR org.apache.commons.jelly.tags.ant.AntTag - Class com.werken.werkz.jelly.GoalTag doesn't support the nested "jdocaudit" element.




Here is the contents of project.jelly file

<?xml version="1.0"?>

  <!-- ================================================================== -->
  <!-- J D O C A U D I T                                                  -->
  <!-- ================================================================== -->

<project xmlns:j="jelly:core" 
  xmlns:doc="doc">

  <goal name="maven-jdocaudit-plugin:register">
		<doc:registerReport 
			name="JDocAudit" 
			link="jdocaudit/report/index"
			description="Report on Java Cource Code Metrics."/>
  </goal>

  <goal name="maven-jdocaudit-plugin:deregister">
      <doc:deregisterReport name="JDocAudit"/>
  </goal>

  <!--
     ========================================================================
       Initialization. Creates objects useful for several goals.
     ========================================================================
  -->
	<goal name="maven-jdocaudit-plugin:init" description="Creates objects useful for several goals">

    <taskdef 
			name="jdocaudit"
      classname="com.metapa.jdocaudit.util.JdocAuditTask">
    </taskdef>

	</goal>	

  <goal name="maven-jdocaudit-plugin:report"
        prereqs="maven-jdocaudit-plugin:init"
        description="Generate Java Code Metrics documentation">

		<jdocaudit configfile="D:/mycvs/metapa/tools/jdocaudit/config/config.xml">
		</jdocaudit>

  </goal> 
 
</project>
   


Thanks & Regards,
Mahesh Nanavare


Regards,
Mahesh Nanavare
Software Engineer
Blue Star Infotech Limited,
Unit 74, SDF III, SEEPZ,
Andheri (East),
Mumbai - 400 096,
India.
Tel : +91 22 829 2669 Ext : 235

Re: Jelly Errors : Class com.werken.werkz.jelly.GoalTag doesn't support the nested "taskdef" element.

Posted by James Strachan <ja...@yahoo.co.uk>.
On Wednesday, April 16, 2003, at 09:21  am, Mahesh wrote:

> Hi James,
> First of all thanks a lot for your reply.Yes I have tried with 
> digester-1.4.1.jar . In that jar this RuleSet class is also present. 
> When I run my application  as standalone it doesnt throw this error. 
> Program gets executed sucessfully. But when I run through maven as a 
> plugin, it gives NoClassDefFoundError. I think there is problem with 
> maven classpath. This digester.jar maven shows it in 
> maven.dependncy.classpath. Something is a mess. Can anyone help me for 
> this.?
> Thanks in advance.

Have you tried changing the plugin's dependency list in the plugin.xml 
to use the right version of digester? Which version of Maven are you 
using; maybe the digester version it uses needs to be increased?

James
-------
http://radio.weblogs.com/0112098/


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


RE: Jelly Errors : Class com.werken.werkz.jelly.GoalTag doesn't support the nested "taskdef" element.

Posted by Mahesh <ma...@bsil.com>.
Hi James,
First of all thanks a lot for your reply.Yes I have tried with digester-1.4.1.jar . In that jar this RuleSet class is also present. When I run my application  as standalone it doesnt throw this error. Program gets executed sucessfully. But when I run through maven as a plugin, it gives NoClassDefFoundError. I think there is problem with maven classpath. This digester.jar maven shows it in maven.dependncy.classpath. Something is a mess. Can anyone help me for this.?
Thanks in advance.

Regards,
Mahesh

-----Original Message-----
From: James Strachan [mailto:james_strachan@yahoo.co.uk]
Sent: Wednesday, April 16, 2003 12:26 PM
To: Maven Developers List
Subject: Re: Jelly Errors : Class com.werken.werkz.jelly.GoalTag doesn't
support the nested "taskdef" element.



On Tuesday, April 15, 2003, at 01:37  pm, Mahesh wrote:

> Caused by: java.lang.NoClassDefFoundError: 
> org/apache/commons/digester/RuleSet

This looks like a digester version problem rather than anything Jelly 
or Maven related. Have you tried upgrading to a recent version of 
digester? e.g. version 1.5 rather than 1.3.

James
-------
http://radio.weblogs.com/0112098/


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org

Re: Jelly Errors : Class com.werken.werkz.jelly.GoalTag doesn't support the nested "taskdef" element.

Posted by James Strachan <ja...@yahoo.co.uk>.
On Tuesday, April 15, 2003, at 01:37  pm, Mahesh wrote:

> Caused by: java.lang.NoClassDefFoundError: 
> org/apache/commons/digester/RuleSet

This looks like a digester version problem rather than anything Jelly 
or Maven related. Have you tried upgrading to a recent version of 
digester? e.g. version 1.5 rather than 1.3.

James
-------
http://radio.weblogs.com/0112098/


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


RE: Jelly Errors : Class com.werken.werkz.jelly.GoalTag doesn't support the nested "taskdef" element.

Posted by Mahesh <ma...@bsil.com>.
Hi Ben,
  I tried maven -X option as suggested by you. I am using the Digester Component in my application. When I run my plugin maven-jdocaudit-plugin as maven -X maven-jdocaudit-plugin:report, it gives the following error trace saying that RuleSet class def not found.I have also addded commons-digester-1.3.jar in projects dependency. Can anyone knows about this type of error unattainable goal? or classdef notfound even if its is showing that class in maven dependency classpath.?

The maven classpath is as below

[DEBUG] Adding reference: maven.dependency.classpath -> D:\Maven\maven-1.0-beta-8\repository\commons
-beanutils\jars\commons-beanutils-1.5.jar;D:\Maven\maven-1.0-beta-8\repository\commons-collections\j
ars\commons-collections-2.1.jar;D:\Maven\maven-1.0-beta-8\repository\commons-digester\jars\commons-d
igester-1.3.jar;D:\Maven\maven-1.0-beta-8\repository\commons-logging\jars\commons-logging-1.0.2.jar;
D:\Maven\maven-1.0-beta-8\repository\EXML-PLUS\jars\EXML-PLUS.jar;D:\Maven\maven-1.0-beta-8\reposito
ry\log4j\jars\log4j-1.2.8.jar;D:\Maven\maven-1.0-beta-8\repository\ant\jars\ant-1.5.1.jar;D:\Maven\m
aven-1.0-beta-8\repository\junit\jars\junit-3.8.1.jar;D:\Maven\maven-1.0-beta-8\repository\jdocaudit
\jars\jdocaudit-1.0.jar


Here is  the error trace after running the plugin.


BUILD FAILED
org/apache/commons/digester/RuleSet
com.werken.werkz.UnattainableGoalException: Unable to obtain goal [maven-jdocaudit-plugin:report] --
 null:39:77: <jdocaudit> org/apache/commons/digester/RuleSet
        at com.werken.werkz.Goal.fire(Goal.java:646)
        at com.werken.werkz.Goal.attain(Goal.java:575)
        at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:383)
        at org.apache.maven.MavenSession.attainGoals(MavenSession.java:360)
        at org.apache.maven.cli.App.doMain(App.java:518)
        at org.apache.maven.cli.App.main(App.java:1074)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at com.werken.forehead.Forehead.run(Forehead.java:543)
        at com.werken.forehead.Forehead.main(Forehead.java:573)
org.apache.commons.jelly.JellyTagException: null:39:77: <jdocaudit> org/apache/commons/digester/Rule
Set
        at org.apache.commons.jelly.impl.TagScript.handleException(TagScript.java:701)
        at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:295)
        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:116)
        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:383)
        at org.apache.maven.MavenSession.attainGoals(MavenSession.java:360)
        at org.apache.maven.cli.App.doMain(App.java:518)
        at org.apache.maven.cli.App.main(App.java:1074)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at com.werken.forehead.Forehead.run(Forehead.java:543)
        at com.werken.forehead.Forehead.main(Forehead.java:573)
Caused by: java.lang.NoClassDefFoundError: org/apache/commons/digester/RuleSet
        at com.metapa.jdocaudit.util.LogUtils.<init>(LogUtils.java:63)
        at com.metapa.jdocaudit.util.LogUtils.getInstance(LogUtils.java:94)
        at com.metapa.jdocaudit.core.MetricsAnalyzer.<init>(MetricsAnalyzer.java:113)
        at com.metapa.jdocaudit.util.JdocAuditTask.execute(JdocAuditTask.java:66)
        at org.apache.tools.ant.Task.perform(Task.java:319)
        at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:231)
        at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
       


-----Original Message-----
From: Ben Walding [mailto:ben@walding.com]
Sent: Tuesday, April 15, 2003 11:48 AM
To: Maven Developers List
Subject: Re: Jelly Errors : Class com.werken.werkz.jelly.GoalTag doesn't
support the nested "taskdef" element.


Try running your application with

maven -X <goal>

It will spew forth a great number of exception traces that may help you 
on your quest


Mahesh wrote:

>Hi again,
>  Thanks Ben for quick reply. Actually my plugin is not working completely. It goes inside my application but fails where I use jakarta digester component. Thats why I had a doubt that these maven.log errors may be causing my program to fail. Using this digester component,I am parsing an xml and also performing some XSLT operations. So I think there may be a clash between jaxp.jar which maven uses internally. What is your opinion? My program just fails throwing this mesg
>
>BUILD FAILED
>org/apache/commons/digester/RuleSet
>
>
>   If I comment the code block which uses RuleSet, the program flow atleast goes further. But doesnt complete sucessfully.
>When the code is uncommented it shows the above error and quits. What could be the reason for this?
>
>Thanks & Regards,
>Mahesh
> 
>
>-----Original Message-----
>From: Ben Walding [mailto:ben@walding.com]
>Sent: Tuesday, April 15, 2003 11:14 AM
>To: Maven Developers List
>Subject: Re: Jelly Errors : Class com.werken.werkz.jelly.GoalTag doesn't
>support the nested "taskdef" element.
>
>
>If your plugin works, don't worry about those errors.   Jelly has a 
>habit of writing excessive amounts of entries to maven.log.
>
>We'll slowly prune them down as things get handled better in jelly.
>
>
>
>Mahesh wrote:
>
>  
>
>>Hi,
>>I have written a plugin for my application (A Java Code Metrics Analyzer Utility). When I run the maven-jdocaudit-plugin:report, it logs the error messages in maven.log. Can anybody help me why these errors are coming? Or Is there anything wrong with jelly file which I have written.
>>
>>Contents of maven.log is as follows
>>
>>2003-04-15 09:56:19,983 ERROR org.apache.commons.jelly.tags.ant.AntTag - Class org.apache.commons.jelly.tags.core.IfTag doesn't support the nested "path" element.
>>2003-04-15 09:56:20,530 ERROR org.apache.commons.jelly.tags.ant.AntTag - Class com.werken.werkz.jelly.ProjectTag doesn't support the nested "path" element.
>>2003-04-15 09:56:20,592 ERROR org.apache.commons.jelly.tags.ant.AntTag - Class com.werken.werkz.jelly.GoalTag doesn't support the nested "taskdef" element.
>>2003-04-15 09:56:20,639 ERROR org.apache.commons.jelly.tags.ant.AntTag - Class com.werken.werkz.jelly.GoalTag doesn't support the nested "jdocaudit" element.
>>
>>
>>
>>
>>Here is the contents of project.jelly file
>>
>><?xml version="1.0"?>
>>
>> <!-- ================================================================== -->
>> <!-- J D O C A U D I T                                                  -->
>> <!-- ================================================================== -->
>>
>><project xmlns:j="jelly:core" 
>> xmlns:doc="doc">
>>
>> <goal name="maven-jdocaudit-plugin:register">
>>		<doc:registerReport 
>>			name="JDocAudit" 
>>			link="jdocaudit/report/index"
>>			description="Report on Java Cource Code Metrics."/>
>> </goal>
>>
>> <goal name="maven-jdocaudit-plugin:deregister">
>>     <doc:deregisterReport name="JDocAudit"/>
>> </goal>
>>
>> <!--
>>    ========================================================================
>>      Initialization. Creates objects useful for several goals.
>>    ========================================================================
>> -->
>>	<goal name="maven-jdocaudit-plugin:init" description="Creates objects useful for several goals">
>>
>>   <taskdef 
>>			name="jdocaudit"
>>     classname="com.metapa.jdocaudit.util.JdocAuditTask">
>>   </taskdef>
>>
>>	</goal>	
>>
>> <goal name="maven-jdocaudit-plugin:report"
>>       prereqs="maven-jdocaudit-plugin:init"
>>       description="Generate Java Code Metrics documentation">
>>
>>		<jdocaudit configfile="D:/mycvs/metapa/tools/jdocaudit/config/config.xml">
>>		</jdocaudit>
>>
>> </goal> 
>>
>></project>
>>  
>>
>>
>>Thanks & Regards,
>>Mahesh Nanavare 
>>
>>    
>>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>For additional commands, e-mail: dev-help@maven.apache.org
>
>  
>



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org

Re: Jelly Errors : Class com.werken.werkz.jelly.GoalTag doesn't support the nested "taskdef" element.

Posted by Ben Walding <be...@walding.com>.
Try running your application with

maven -X <goal>

It will spew forth a great number of exception traces that may help you 
on your quest


Mahesh wrote:

>Hi again,
>  Thanks Ben for quick reply. Actually my plugin is not working completely. It goes inside my application but fails where I use jakarta digester component. Thats why I had a doubt that these maven.log errors may be causing my program to fail. Using this digester component,I am parsing an xml and also performing some XSLT operations. So I think there may be a clash between jaxp.jar which maven uses internally. What is your opinion? My program just fails throwing this mesg
>
>BUILD FAILED
>org/apache/commons/digester/RuleSet
>
>
>   If I comment the code block which uses RuleSet, the program flow atleast goes further. But doesnt complete sucessfully.
>When the code is uncommented it shows the above error and quits. What could be the reason for this?
>
>Thanks & Regards,
>Mahesh
> 
>
>-----Original Message-----
>From: Ben Walding [mailto:ben@walding.com]
>Sent: Tuesday, April 15, 2003 11:14 AM
>To: Maven Developers List
>Subject: Re: Jelly Errors : Class com.werken.werkz.jelly.GoalTag doesn't
>support the nested "taskdef" element.
>
>
>If your plugin works, don't worry about those errors.   Jelly has a 
>habit of writing excessive amounts of entries to maven.log.
>
>We'll slowly prune them down as things get handled better in jelly.
>
>
>
>Mahesh wrote:
>
>  
>
>>Hi,
>>I have written a plugin for my application (A Java Code Metrics Analyzer Utility). When I run the maven-jdocaudit-plugin:report, it logs the error messages in maven.log. Can anybody help me why these errors are coming? Or Is there anything wrong with jelly file which I have written.
>>
>>Contents of maven.log is as follows
>>
>>2003-04-15 09:56:19,983 ERROR org.apache.commons.jelly.tags.ant.AntTag - Class org.apache.commons.jelly.tags.core.IfTag doesn't support the nested "path" element.
>>2003-04-15 09:56:20,530 ERROR org.apache.commons.jelly.tags.ant.AntTag - Class com.werken.werkz.jelly.ProjectTag doesn't support the nested "path" element.
>>2003-04-15 09:56:20,592 ERROR org.apache.commons.jelly.tags.ant.AntTag - Class com.werken.werkz.jelly.GoalTag doesn't support the nested "taskdef" element.
>>2003-04-15 09:56:20,639 ERROR org.apache.commons.jelly.tags.ant.AntTag - Class com.werken.werkz.jelly.GoalTag doesn't support the nested "jdocaudit" element.
>>
>>
>>
>>
>>Here is the contents of project.jelly file
>>
>><?xml version="1.0"?>
>>
>> <!-- ================================================================== -->
>> <!-- J D O C A U D I T                                                  -->
>> <!-- ================================================================== -->
>>
>><project xmlns:j="jelly:core" 
>> xmlns:doc="doc">
>>
>> <goal name="maven-jdocaudit-plugin:register">
>>		<doc:registerReport 
>>			name="JDocAudit" 
>>			link="jdocaudit/report/index"
>>			description="Report on Java Cource Code Metrics."/>
>> </goal>
>>
>> <goal name="maven-jdocaudit-plugin:deregister">
>>     <doc:deregisterReport name="JDocAudit"/>
>> </goal>
>>
>> <!--
>>    ========================================================================
>>      Initialization. Creates objects useful for several goals.
>>    ========================================================================
>> -->
>>	<goal name="maven-jdocaudit-plugin:init" description="Creates objects useful for several goals">
>>
>>   <taskdef 
>>			name="jdocaudit"
>>     classname="com.metapa.jdocaudit.util.JdocAuditTask">
>>   </taskdef>
>>
>>	</goal>	
>>
>> <goal name="maven-jdocaudit-plugin:report"
>>       prereqs="maven-jdocaudit-plugin:init"
>>       description="Generate Java Code Metrics documentation">
>>
>>		<jdocaudit configfile="D:/mycvs/metapa/tools/jdocaudit/config/config.xml">
>>		</jdocaudit>
>>
>> </goal> 
>>
>></project>
>>  
>>
>>
>>Thanks & Regards,
>>Mahesh Nanavare 
>>
>>    
>>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>For additional commands, e-mail: dev-help@maven.apache.org
>
>  
>



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


RE: Jelly Errors : Class com.werken.werkz.jelly.GoalTag doesn't support the nested "taskdef" element.

Posted by di...@multitask.com.au.
Mahesh,

run 
maven -e <your goal>
to see the stacktrace.
--
dIon Gillard, Multitask Consulting
Blog:      http://www.freeroller.net/page/dion/Weblog
Work:      http://www.multitask.com.au


"Mahesh" <ma...@bsil.com> wrote on 15/04/2003 04:00:27 PM:

> Hi again,
>   Thanks Ben for quick reply. Actually my plugin is not working 
> completely. It goes inside my application but fails where I use 
> jakarta digester component. Thats why I had a doubt that these maven.
> log errors may be causing my program to fail. Using this digester 
> component,I am parsing an xml and also performing some XSLT 
> operations. So I think there may be a clash between jaxp.jar which 
> maven uses internally. What is your opinion? My program just fails 
> throwing this mesg
> 
> BUILD FAILED
> org/apache/commons/digester/RuleSet
> 
> 
>    If I comment the code block which uses RuleSet, the program flow 
> atleast goes further. But doesnt complete sucessfully.
> When the code is uncommented it shows the above error and quits. What 
> could be the reason for this?
> 
> Thanks & Regards,
> Mahesh
> 
> 
> -----Original Message-----
> From: Ben Walding [mailto:ben@walding.com]
> Sent: Tuesday, April 15, 2003 11:14 AM
> To: Maven Developers List
> Subject: Re: Jelly Errors : Class com.werken.werkz.jelly.GoalTag doesn't
> support the nested "taskdef" element.
> 
> 
> If your plugin works, don't worry about those errors.   Jelly has a 
> habit of writing excessive amounts of entries to maven.log.
> 
> We'll slowly prune them down as things get handled better in jelly.
> 
> 
> 
> Mahesh wrote:
> 
> >Hi,
> > I have written a plugin for my application (A Java Code Metrics 
> Analyzer Utility). When I run the maven-jdocaudit-plugin:report, it 
> logs the error messages in maven.log. Can anybody help me why these 
> errors are coming? Or Is there anything wrong with jelly file which I 
> have written.
> >
> >Contents of maven.log is as follows
> >
> >2003-04-15 09:56:19,983 ERROR org.apache.commons.jelly.tags.ant.
> AntTag - Class org.apache.commons.jelly.tags.core.IfTag doesn't 
> support the nested "path" element.
> >2003-04-15 09:56:20,530 ERROR org.apache.commons.jelly.tags.ant.
> AntTag - Class com.werken.werkz.jelly.ProjectTag doesn't support the 
> nested "path" element.
> >2003-04-15 09:56:20,592 ERROR org.apache.commons.jelly.tags.ant.
> AntTag - Class com.werken.werkz.jelly.GoalTag doesn't support the 
> nested "taskdef" element.
> >2003-04-15 09:56:20,639 ERROR org.apache.commons.jelly.tags.ant.
> AntTag - Class com.werken.werkz.jelly.GoalTag doesn't support the 
> nested "jdocaudit" element.
> >
> >
> >
> >
> >Here is the contents of project.jelly file
> >
> ><?xml version="1.0"?>
> >
> >  <!-- 
================================================================== -->
> >  <!-- J D O C A U D I T   -->
> >  <!-- 
================================================================== -->
> >
> ><project xmlns:j="jelly:core" 
> >  xmlns:doc="doc">
> >
> >  <goal name="maven-jdocaudit-plugin:register">
> >      <doc:registerReport 
> >         name="JDocAudit" 
> >         link="jdocaudit/report/index"
> >         description="Report on Java Cource Code Metrics."/>
> >  </goal>
> >
> >  <goal name="maven-jdocaudit-plugin:deregister">
> >      <doc:deregisterReport name="JDocAudit"/>
> >  </goal>
> >
> >  <!--
> 
> ========================================================================
> >       Initialization. Creates objects useful for several goals.
> > 
========================================================================
> >  -->
> >   <goal name="maven-jdocaudit-plugin:init" description="Creates 
> objects useful for several goals">
> >
> >    <taskdef 
> >         name="jdocaudit"
> >      classname="com.metapa.jdocaudit.util.JdocAuditTask">
> >    </taskdef>
> >
> >   </goal> 
> >
> >  <goal name="maven-jdocaudit-plugin:report"
> >        prereqs="maven-jdocaudit-plugin:init"
> >        description="Generate Java Code Metrics documentation">
> >
> >      <jdocaudit configfile="D:
> /mycvs/metapa/tools/jdocaudit/config/config.xml">
> >      </jdocaudit>
> >
> >  </goal> 
> > 
> ></project>
> > 
> >
> >
> >Thanks & Regards,
> >Mahesh Nanavare 
> >
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


RE: Jelly Errors : Class com.werken.werkz.jelly.GoalTag doesn't support the nested "taskdef" element.

Posted by Mahesh <ma...@bsil.com>.
Hi again,
  Thanks Ben for quick reply. Actually my plugin is not working completely. It goes inside my application but fails where I use jakarta digester component. Thats why I had a doubt that these maven.log errors may be causing my program to fail. Using this digester component,I am parsing an xml and also performing some XSLT operations. So I think there may be a clash between jaxp.jar which maven uses internally. What is your opinion? My program just fails throwing this mesg

BUILD FAILED
org/apache/commons/digester/RuleSet


   If I comment the code block which uses RuleSet, the program flow atleast goes further. But doesnt complete sucessfully.
When the code is uncommented it shows the above error and quits. What could be the reason for this?

Thanks & Regards,
Mahesh
 

-----Original Message-----
From: Ben Walding [mailto:ben@walding.com]
Sent: Tuesday, April 15, 2003 11:14 AM
To: Maven Developers List
Subject: Re: Jelly Errors : Class com.werken.werkz.jelly.GoalTag doesn't
support the nested "taskdef" element.


If your plugin works, don't worry about those errors.   Jelly has a 
habit of writing excessive amounts of entries to maven.log.

We'll slowly prune them down as things get handled better in jelly.



Mahesh wrote:

>Hi,
> I have written a plugin for my application (A Java Code Metrics Analyzer Utility). When I run the maven-jdocaudit-plugin:report, it logs the error messages in maven.log. Can anybody help me why these errors are coming? Or Is there anything wrong with jelly file which I have written.
>
>Contents of maven.log is as follows
>
>2003-04-15 09:56:19,983 ERROR org.apache.commons.jelly.tags.ant.AntTag - Class org.apache.commons.jelly.tags.core.IfTag doesn't support the nested "path" element.
>2003-04-15 09:56:20,530 ERROR org.apache.commons.jelly.tags.ant.AntTag - Class com.werken.werkz.jelly.ProjectTag doesn't support the nested "path" element.
>2003-04-15 09:56:20,592 ERROR org.apache.commons.jelly.tags.ant.AntTag - Class com.werken.werkz.jelly.GoalTag doesn't support the nested "taskdef" element.
>2003-04-15 09:56:20,639 ERROR org.apache.commons.jelly.tags.ant.AntTag - Class com.werken.werkz.jelly.GoalTag doesn't support the nested "jdocaudit" element.
>
>
>
>
>Here is the contents of project.jelly file
>
><?xml version="1.0"?>
>
>  <!-- ================================================================== -->
>  <!-- J D O C A U D I T                                                  -->
>  <!-- ================================================================== -->
>
><project xmlns:j="jelly:core" 
>  xmlns:doc="doc">
>
>  <goal name="maven-jdocaudit-plugin:register">
>		<doc:registerReport 
>			name="JDocAudit" 
>			link="jdocaudit/report/index"
>			description="Report on Java Cource Code Metrics."/>
>  </goal>
>
>  <goal name="maven-jdocaudit-plugin:deregister">
>      <doc:deregisterReport name="JDocAudit"/>
>  </goal>
>
>  <!--
>     ========================================================================
>       Initialization. Creates objects useful for several goals.
>     ========================================================================
>  -->
>	<goal name="maven-jdocaudit-plugin:init" description="Creates objects useful for several goals">
>
>    <taskdef 
>			name="jdocaudit"
>      classname="com.metapa.jdocaudit.util.JdocAuditTask">
>    </taskdef>
>
>	</goal>	
>
>  <goal name="maven-jdocaudit-plugin:report"
>        prereqs="maven-jdocaudit-plugin:init"
>        description="Generate Java Code Metrics documentation">
>
>		<jdocaudit configfile="D:/mycvs/metapa/tools/jdocaudit/config/config.xml">
>		</jdocaudit>
>
>  </goal> 
> 
></project>
>   
>
>
>Thanks & Regards,
>Mahesh Nanavare 
>



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org

Re: Jelly Errors : Class com.werken.werkz.jelly.GoalTag doesn't support the nested "taskdef" element.

Posted by Ben Walding <be...@walding.com>.
If your plugin works, don't worry about those errors.   Jelly has a 
habit of writing excessive amounts of entries to maven.log.

We'll slowly prune them down as things get handled better in jelly.



Mahesh wrote:

>Hi,
> I have written a plugin for my application (A Java Code Metrics Analyzer Utility). When I run the maven-jdocaudit-plugin:report, it logs the error messages in maven.log. Can anybody help me why these errors are coming? Or Is there anything wrong with jelly file which I have written.
>
>Contents of maven.log is as follows
>
>2003-04-15 09:56:19,983 ERROR org.apache.commons.jelly.tags.ant.AntTag - Class org.apache.commons.jelly.tags.core.IfTag doesn't support the nested "path" element.
>2003-04-15 09:56:20,530 ERROR org.apache.commons.jelly.tags.ant.AntTag - Class com.werken.werkz.jelly.ProjectTag doesn't support the nested "path" element.
>2003-04-15 09:56:20,592 ERROR org.apache.commons.jelly.tags.ant.AntTag - Class com.werken.werkz.jelly.GoalTag doesn't support the nested "taskdef" element.
>2003-04-15 09:56:20,639 ERROR org.apache.commons.jelly.tags.ant.AntTag - Class com.werken.werkz.jelly.GoalTag doesn't support the nested "jdocaudit" element.
>
>
>
>
>Here is the contents of project.jelly file
>
><?xml version="1.0"?>
>
>  <!-- ================================================================== -->
>  <!-- J D O C A U D I T                                                  -->
>  <!-- ================================================================== -->
>
><project xmlns:j="jelly:core" 
>  xmlns:doc="doc">
>
>  <goal name="maven-jdocaudit-plugin:register">
>		<doc:registerReport 
>			name="JDocAudit" 
>			link="jdocaudit/report/index"
>			description="Report on Java Cource Code Metrics."/>
>  </goal>
>
>  <goal name="maven-jdocaudit-plugin:deregister">
>      <doc:deregisterReport name="JDocAudit"/>
>  </goal>
>
>  <!--
>     ========================================================================
>       Initialization. Creates objects useful for several goals.
>     ========================================================================
>  -->
>	<goal name="maven-jdocaudit-plugin:init" description="Creates objects useful for several goals">
>
>    <taskdef 
>			name="jdocaudit"
>      classname="com.metapa.jdocaudit.util.JdocAuditTask">
>    </taskdef>
>
>	</goal>	
>
>  <goal name="maven-jdocaudit-plugin:report"
>        prereqs="maven-jdocaudit-plugin:init"
>        description="Generate Java Code Metrics documentation">
>
>		<jdocaudit configfile="D:/mycvs/metapa/tools/jdocaudit/config/config.xml">
>		</jdocaudit>
>
>  </goal> 
> 
></project>
>   
>
>
>Thanks & Regards,
>Mahesh Nanavare
>
>
>Regards,
>Mahesh Nanavare
>Software Engineer
>Blue Star Infotech Limited,
>Unit 74, SDF III, SEEPZ,
>Andheri (East),
>Mumbai - 400 096,
>India.
>Tel : +91 22 829 2669 Ext : 235
>
>  
>



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: Jelly Errors : Class com.werken.werkz.jelly.GoalTag doesn't support the nested "taskdef" element.

Posted by di...@multitask.com.au.
"Mahesh" <ma...@bsil.com> wrote on 15/04/2003 03:38:18 PM:

> Hi,
>  I have written a plugin for my application (A Java Code Metrics 
> Analyzer Utility). When I run the maven-jdocaudit-plugin:report, it 
> logs the error messages in maven.log. Can anybody help me why these 
> errors are coming? Or Is there anything wrong with jelly file which I 
> have written.
> 
> Contents of maven.log is as follows
> 
> 2003-04-15 09:56:19,983 ERROR org.apache.commons.jelly.tags.ant.AntTag
> - Class org.apache.commons.jelly.tags.core.IfTag doesn't support the 
> nested "path" element.
> 2003-04-15 09:56:20,530 ERROR org.apache.commons.jelly.tags.ant.AntTag
> - Class com.werken.werkz.jelly.ProjectTag doesn't support the nested 
> "path" element.
> 2003-04-15 09:56:20,592 ERROR org.apache.commons.jelly.tags.ant.AntTag
> - Class com.werken.werkz.jelly.GoalTag doesn't support the nested 
> "taskdef" element.
> 2003-04-15 09:56:20,639 ERROR org.apache.commons.jelly.tags.ant.AntTag
> - Class com.werken.werkz.jelly.GoalTag doesn't support the nested 
> "jdocaudit" element.

These aren't really 'errors' in the real sense. These are really just 
debug messages from the ant taglib when it tries to convert things like 
'IfTag', 'ProjectTag', 'GoalTag' into Ant types or tasks and fails.
--
dIon Gillard, Multitask Consulting
Blog:      http://www.freeroller.net/page/dion/Weblog
Work:      http://www.multitask.com.au



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org