Message: A new issue has been created in JIRA.
--------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/xdoclet/browse/XDT-868 Here is an overview of the issue: --------------------------------------------------------------------- Key: XDT-868 Summary: Allow different directories in the ejbdoclet filesets Type: Improvement Status: Open Priority: Major Original Estimate: 30 minutes Time Spent: Unknown Remaining: 30 minutes Project: XDoclet Components: Maven Plugin Versions: 1.2 Assignee: xdoclet-devel (Use for new issues) Reporter: Webb Morris Created: Tue, 13 Apr 2004 4:43 PM Updated: Tue, 13 Apr 2004 4:43 PM Description: The ejbdoclet filesets should allow the user to specify which directory to look for the files. Assuming that the files will always be in pom.build.sourceDirectory will unduly constrain users. I suggest the following adjustments to plugin.jelly: <j:set var="fileset_index" value="0"/> <j:forEach begin="0" end="10" indexVar="fileset_index"> <j:set var="fileset_index_var_name" value="maven.xdoclet.ejbdoclet.fileset.${fileset_index}"/> <j:if test="${context.getVariable(fileset_index_var_name) != null}"> <j:set var="fileset_index_dir_var_name" value="maven.xdoclet.ejbdoclet.fileset.${fileset_index}.directory"/> <fileset dir="${context.getVariable(fileset_index_dir_var_name)}"> <j:set var="fileset_index_include_var_name" value="maven.xdoclet.ejbdoclet.fileset.${fileset_index}.include"/> <j:set var="fileset_index_exclude_var_name" value="maven.xdoclet.ejbdoclet.fileset.${fileset_index}.exclude"/> <j:if test="${context.getVariable(fileset_index_include_var_name) != null}"> <include name="${context.getVariable(fileset_index_include_var_name)}"/> </j:if> <j:if test="${context.getVariable(fileset_index_exclude_var_name) != null}"> <exclude name="${context.getVariable(fileset_index_exclude_var_name)}"/> </j:if> </fileset> </j:if> </j:forEach> And the following addition to plugin.properties: maven.xdoclet.ejbdoclet.fileset.0.directory=${pom.build.sourceDirectory} --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/xdoclet/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ xdoclet-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-devel
