Update of /cvsroot/xdoclet/xdoclet/modules/xdoclet/src/xdoclet/modules/maven/resources
In directory 
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24618/modules/xdoclet/src/xdoclet/modules/maven/resources

Modified Files:
        mavenplugin.xdt 
Log Message:
Update <fileset/> generation such that it can take a sourcedir in the properties.

Index: mavenplugin.xdt
===================================================================
RCS file: 
/cvsroot/xdoclet/xdoclet/modules/xdoclet/src/xdoclet/modules/maven/resources/mavenplugin.xdt,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -r1.11 -r1.12
*** mavenplugin.xdt     11 Apr 2003 13:59:03 -0000      1.11
--- mavenplugin.xdt     28 Jan 2004 03:21:52 -0000      1.12
***************
*** 103,107 ****
                  <j:set var="fileset_index_var_name" 
value="maven.xdoclet.<XDtMavenplugin:elementName/>.fileset.${fileset_index}"/>
                  <j:if test="${context.getVariable(fileset_index_var_name) != null}">
!                     <fileset dir="${pom.build.sourceDirectory}">
                          <j:set var="fileset_index_include_var_name" 
value="maven.xdoclet.<XDtMavenplugin:elementName/>.fileset.${fileset_index}.include"/>
                          <j:set var="fileset_index_exclude_var_name" 
value="maven.xdoclet.<XDtMavenplugin:elementName/>.fileset.${fileset_index}.exclude"/>
--- 103,111 ----
                  <j:set var="fileset_index_var_name" 
value="maven.xdoclet.<XDtMavenplugin:elementName/>.fileset.${fileset_index}"/>
                  <j:if test="${context.getVariable(fileset_index_var_name) != null}">
!                     <j:set var="fileset_source_directory" 
value="maven.xdoclet.<XDtMavenplugin:elementName/>.fileset.${fileset_index}.sourcedir"/>
!                     <j:if test="${context.getVariable(fileset_source_directory) == 
null}">
!                         <j:set var="fileset_source_directory" 
value="${pom.build.sourceDirectory}"/>
!                     </j:if>
!                     <fileset dir="${context.getVariable(fileset_source_directory)}">
                          <j:set var="fileset_index_include_var_name" 
value="maven.xdoclet.<XDtMavenplugin:elementName/>.fileset.${fileset_index}.include"/>
                          <j:set var="fileset_index_exclude_var_name" 
value="maven.xdoclet.<XDtMavenplugin:elementName/>.fileset.${fileset_index}.exclude"/>



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to