Re: [m2] xdoclet-plugin mojo and ant dependancies

2005-05-25 Thread Brett Porter
Milos Kleint wrote: This may be a bit naive question, but my assumption was that I can just call teh ant tasks within java without any additional setup, just have the ant-related jars on classpath. Is that correct or is some setup necessary? A little. http://ant.apache.org/manual/antexternal.

Re: [m2] xdoclet-plugin mojo and ant dependancies

2005-05-25 Thread Milos Kleint
On 5/25/05, Brett Porter <[EMAIL PROTECTED]> wrote: > Nicolas Chalumeau wrote: > > >There is still a question : Is there any importance that a m2 plugin > >depends on ant ? The idealistic (sorry i like this word;) ) responce > >will be no. but for all plugin, only m2 project hosted one ... Here >

Re: [m2] xdoclet-plugin mojo and ant dependancies

2005-05-25 Thread Nicolas Chalumeau
On 5/25/05, Brett Porter <[EMAIL PROTECTED]> wrote: > Nicolas Chalumeau wrote: > > >There is still a question : Is there any importance that a m2 plugin > >depends on ant ? The idealistic (sorry i like this word;) ) responce > >will be no. but for all plugin, only m2 project hosted one ... Here >

Re: [m2] xdoclet-plugin mojo and ant dependancies

2005-05-25 Thread Brett Porter
Nicolas Chalumeau wrote: There is still a question : Is there any importance that a m2 plugin depends on ant ? The idealistic (sorry i like this word;) ) responce will be no. but for all plugin, only m2 project hosted one ... Here it's just curiousity I'm not quite sure what you mean. It is

Re: [m2] xdoclet-plugin mojo and ant dependancies

2005-05-25 Thread Nicolas Chalumeau
Thanks Brett I think I will look at the option 1 (more work but more interessant approach). As I know for Vincent It will easier as cargo IS design to be invoke directly in java code... but i think i must investiget more in the src. There is still a question : Is there any importance that a m2 p

Re: [m2] xdoclet-plugin mojo and ant dependancies

2005-05-24 Thread Brett Porter
Hi Nicolas Chalumeau wrote: I was looking at the existing xdoclet2 maven 1 plugin. It seem to be dependant of ant XDocletTask extends AbstractGeneramaTask that extends PicoContainerTask) So I want to know what are the best practise when writing a mojo (it is more a m2 team question I add xdocl

[m2] xdoclet-plugin mojo and ant dependancies

2005-05-24 Thread Nicolas Chalumeau
I was looking at the existing xdoclet2 maven 1 plugin. It seem to be dependant of ant XDocletTask extends AbstractGeneramaTask that extends PicoContainerTask) So I want to know what are the best practise when writing a mojo (it is more a m2 team question I add xdoclet to inform them) : - totaly re