That worked. I can now put this in my project.properties file:

maven.xdoclet.ejbdoclet.jboss.Version=3.0.3

where with James' previous patch, I was using this:

maven.xdoclet.ejbdoclet.jboss.0.version=3.0.3

I'm curious, though: is there any rhyme or reason as to why the version property is capitalized but most other properties are lowercase?

Thanks,
Jim

Ara Abrahamian wrote:
James, I've fixed this. This plugin.jelly file is autogenerated, don't
patch to it. Btw I can't commit my changes for some reason (pserver
works but ssh doesn't, seems like there's some problem with
sourceforge). So find it attached until the problem is fixed or maybe
another xdoclet committers commits it :-)

- Replace your cvs copy of
xdoclet-all\xdoclet\modules\xdoclet\src\xdoclet\modules\maven\resources\
mavenplugin.xdt with this file.
- run "ant maven" in xdoclet-all/xdoclet
- replace your copy of the plugin with the one from
xdoclet-all/xdoclet/maven/target

Ara.

-----Original Message-----
From: James CE Johnson [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 17, 2002 11:47 PM
To: [EMAIL PROTECTED]
Subject: maven-xdoclet plugin

Heya,

Could we apply this patch to maven-xdoclet-plugin-1.2b2/plugin.jelly?
It

adds support for the 'version' and 'destDir' attributes of the <jboss>
subtask.

Thanks,
J

====

//tools/maven/current/plugins/maven-xdoclet-plugin-1.2b2/plugin.jelly#1
-

/home/jcej/tools/maven/current/plugins/maven-xdoclet-plugin-
1.2b2/plugin.jelly
====
***************
*** 6645,6650 ****
--- 6645,6654 ----
               <j:set var="subelement_index_var_name"
value="maven.xdoclet.ejbdoclet.jboss.${subelement_index}"/>
               <j:if
test="${context.getVariable(subelement_index_var_name) ==
'true'}">
                 <jboss>
+                     <j:set var="prop_name"
value="maven.xdoclet.ejbdoclet.jboss.${subelement_index}.version"/>
+                     <jelant:setProperty name="version"
value="${context.getVariable(prop_name)}"/>
+                     <j:set var="prop_name"
value="maven.xdoclet.ejbdoclet.jboss.${subelement_index}.destDir"/>
+                     <jelant:setProperty name="destDir"
value="${context.getVariable(prop_name)}"/>
                     <j:set var="prop_name"

value="maven.xdoclet.ejbdoclet.jboss.${subelement_index}.createTable"/>

                     <jelant:setProperty name="createTable"
value="${context.getVariable(prop_name)}"/>
                     <j:set var="prop_name"
value="maven.xdoclet.ejbdoclet.jboss.${subelement_index}.datasource"/>




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





-------------------------------------------------------
This SF.NET email is sponsored by: Geek Gift Procrastinating?
Get the perfect geek gift now!  Before the Holidays pass you by.
T H I N K G E E K . C O M      http://www.thinkgeek.com/sf/
_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to