On Thu, 26 Jun 2003 12:07 pm, Jason van Zyl wrote:
> <plugin-property plugin="xdoc" name="maven.dest.dir" value="dest.dir"/>
>
> so that would extract the 'maven.dest.dir' property from the xdoc plugin
> and place the value in 'dest.dir' for use in the current context.

Sounds good. But it may be better to name the attributes more according to 
what they do or else you would need to consult documentation to figure out 
which gets copied where.

<plugin-property plugin="xdoc" fromVar="maven.dest.dir" toVar="dest.dir"/>

or maybe

<plugin-property fromVar="xdoc:maven.dest.dir" toVar="dest.dir"/>

where <plugin>:<variable>

As that you could also extend this to allow setting of such properties like

<plugin-property fromVar="dest.dir" toVar="xdoc:maven.dest.dir"/>

-- 
Cheers,

Peter Donald
------------------------------------------------
| We shall not cease from exploration, and the |
|  end of all our exploring will be to arrive  |
|  where we started and know the place for the |
|            first time -- T.S. Eliot          |
------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to