The following comment has been added to this issue:
Author: Andreas Schaefer
Created: Thu, 22 Jul 2004 3:05 PM
Body:
This bug is especially annoying when there are Beans in the test source directory.
There the plugin just complains about no files found.
---------------------------------------------------------------------
View this comment:
http://opensource.atlassian.com/projects/xdoclet/browse/XDT-868?page=comments#action_14271
---------------------------------------------------------------------
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: Thu, 22 Jul 2004 3:05 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 BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel