Update of /cvsroot/xdoclet/xdoclet/modules/xdoclet/src/xdoclet/modules/maven/resources
In directory 
sc8-pr-cvs1:/tmp/cvs-serv10737/xdoclet/modules/xdoclet/src/xdoclet/modules/maven/resources

Modified Files:
        mavenplugin.xdt 
Log Message:
Patch from Ara. Also see 
http://www.mail-archive.com/xdoclet-devel%40lists.sourceforge.net/msg09689.html

Index: mavenplugin.xdt
===================================================================
RCS file: 
/cvsroot/xdoclet/xdoclet/modules/xdoclet/src/xdoclet/modules/maven/resources/mavenplugin.xdt,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** mavenplugin.xdt     16 Dec 2002 01:18:45 -0000      1.7
--- mavenplugin.xdt     20 Dec 2002 18:58:31 -0000      1.8
***************
*** 54,65 ****
                    <XDtMethod:ifIsPublic>
                     <XDtMavenplugin:ifIsANestedElement>
! 
                  <j:set var="nested_element_index" value="0"/>
                  <j:forEach begin="0" end="10" indexVar="nested_element_index">
!                     <j:set var="prop_name" 
value="maven.xdoclet.<XDtMavenplugin:elementName/>.<XDtMavenplugin:subElementName/>.${subelement_index}.<XDtMavenplugin:nestedElementName/>.${nested_element_index}"/>
                      <j:if test="${context.getVariable(prop_name) != null}">
!                     <<XDtMavenplugin:nestedElementName/>>
!                      <XDtClass:setMatchValue 
value="<XDtMavenplugin:nestedElementName/>">
!                      <XDtClass:pushClass value="<XDtMavenplugin:nestedElementType/>">
                        <XDtMethod:forAllMethods superclasses="true">
                         <XDtMethod:ifIsPublic>
--- 54,69 ----
                    <XDtMethod:ifIsPublic>
                     <XDtMavenplugin:ifIsANestedElement>
!                      <XDtClass:setMatchValue 
value="<XDtMavenplugin:nestedElementName/>">
!                      <XDtClass:pushClass value="<XDtMavenplugin:nestedElementType/>">
!                      <XDtType:ifIsOfType 
type="org.apache.tools.ant.types.EnumeratedAttribute">
!                                       <j:set var="prop_name" 
value="maven.xdoclet.<XDtMavenplugin:elementName/>.<XDtMavenplugin:subElementName/>.<XDtClass:matchValue/>"/>
!                                       <jelant:setProperty 
name="<XDtClass:matchValue/>" value="${context.getVariable(prop_name)}"/>
!                      </XDtType:ifIsOfType>
!                      <XDtType:ifIsNotOfType 
type="org.apache.tools.ant.types.EnumeratedAttribute">
                  <j:set var="nested_element_index" value="0"/>
                  <j:forEach begin="0" end="10" indexVar="nested_element_index">
!                     <j:set var="prop_name" 
value="maven.xdoclet.<XDtMavenplugin:elementName/>.<XDtMavenplugin:subElementName/>.${subelement_index}.<XDtClass:matchValue/>.${nested_element_index}"/>
                      <j:if test="${context.getVariable(prop_name) != null}">
!                     <<XDtClass:matchValue/>>
                        <XDtMethod:forAllMethods superclasses="true">
                         <XDtMethod:ifIsPublic>
***************
*** 70,78 ****
                         </XDtMethod:ifIsPublic>
                        </XDtMethod:forAllMethods>
!                      </XDtClass:pushClass>
!                      </XDtClass:setMatchValue>
!                     </<XDtMavenplugin:nestedElementName/>>
                      </j:if>
                  </j:forEach>
  
                     </XDtMavenplugin:ifIsANestedElement>
--- 74,83 ----
                         </XDtMethod:ifIsPublic>
                        </XDtMethod:forAllMethods>
!                     </<XDtClass:matchValue/>>
                      </j:if>
                  </j:forEach>
+                      </XDtType:ifIsNotOfType>
+                      </XDtClass:pushClass>
+                      </XDtClass:setMatchValue>
  
                     </XDtMavenplugin:ifIsANestedElement>



-------------------------------------------------------
This SF.NET email is sponsored by:  The Best Geek Holiday Gifts!
Time is running out!  Thinkgeek.com has the coolest gifts for
your favorite geek.   Let your fingers do the typing.   Visit Now.
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