Honestly I think creating web/ejbdoclet the old Ant-ish way in Maven is more intuitive right now. But the plugin is also ok, and your suggestion is a good one. Please upload a patch to our Jira site. Btw the maven plugin is autogenerated so you have to patch this file: xdoclet\modules\xdoclet\src\xdoclet\modules\maven\resources\mavenplugin.xdt

Ara.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris Butler
Sent: Wednesday, February 26, 2003 1:43 AM
To: [EMAIL PROTECTED]
Subject: [Xdoclet-user] Maven Webdoclet plug-in - Fileset dir

 

Currently (v 1.2b2) of the Maven webdoclet plug-in jelly, the fileset directory is not alterable.

I was thinking it would be more beneficial to allow for a change to the “dir” attribute of a fileset.

This would allow for multiple webapps to be build outside of a core development tree.  This
behavior currently exists with running the ant task by itself by specifying the fileset dir.

 

The current line exists in “plugin.jelly” @ line# 2646. 

 

[now]

<fileset dir="${pom.build.sourceDirectory}">

 

[suggested]

<j:set var="fileset_dir_var_name" value="maven.xdoclet.webdoclet.fileset.${fileset_index}.dir"

    <fileset dir="${context.getVariable(fileset_dir_var_name)}">

 

Thoughts?

 

chris

 

 

Reply via email to