You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Great Man <gr...@yahoo.com> on 2007/04/03 21:46:36 UTC
Ant Script from Maven
Note: forwarded message attached.
---------------------------------
Bored stiff? Loosen up...
Download and play hundreds of games for free on Yahoo! Games.
Re: Ant Script from Maven
Posted by Ahmet Aytekin <aa...@gmail.com>.
You can specify the phase as adding <phase>clean</phase> in the
maven-ant-run plugin config. This will make sure these ant tasks are run
on the clean
Maruf
Great Man wrote:
> Thanks Wayne.
>
> I was able to build my project by integrating ant tasks in <tasks>. I issued mvn compile and my ant tasks were executed.
>
> Now is the next phase. It is about clean up.
>
> When I do mvn clean then target directory is deleted but my project was creating some other directories outside of target diretcory and I need to delete them too explicitly which I should be able to do via ant tasks but I can not place them in <tasks>. Any idea how to approach this ?
>
> Thanks in advance
>
> Petr
>
>
>
>
>
> Wayne Fay <wa...@gmail.com> wrote: This is very well documented on the Maven site:
> http://maven.apache.org/guides/mini/guide-using-ant.html
>
> Wayne
>
> On 4/3/07, Great Man wrote:
>
>> Note: forwarded message attached.
>>
>> ________________________________
>> Bored stiff? Loosen up...
>> Download and play hundreds of games for free on Yahoo! Games.
>>
>> ---------- Forwarded message ----------
>> From: Great Man
>> To: users@maven.apache.org
>> Date: Tue, 3 Apr 2007 12:45:29 -0700 (PDT)
>> Subject: Ant Script from Maven
>> I have one ant script and I wanna call it from my maven pom. Is this
>> possible ? Any pointer is appreciated. My maven knowledge is of novice level
>> so please care to explain. Thanks in advance.
>>
>> Petr
>>
>>
>>
>>
>> ________________________________
>> Now that's room service! Choose from over 150,000 hotels
>> in 45,000 destinations on Yahoo! Travel to find your fit.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
>
>
> ---------------------------------
> Bored stiff? Loosen up...
> Download and play hundreds of games for free on Yahoo! Games.
>
Re: Ant Script from Maven
Posted by franz see <fr...@gmail.com>.
Good day to you, Petr,
By default, the maven-clean-plugin is what maven uses to delete your files
in target. To have it delete files other than your target, use fileset ( see
[1] ).
Cheers,
Franz
[1]
http://maven.apache.org/plugins/maven-clean-plugin/examples/delete_additional_files.html
Great Man wrote:
>
> Thanks Wayne.
>
> I was able to build my project by integrating ant tasks in <tasks>. I
> issued mvn compile and my ant tasks were executed.
>
> Now is the next phase. It is about clean up.
>
> When I do mvn clean then target directory is deleted but my project was
> creating some other directories outside of target diretcory and I need to
> delete them too explicitly which I should be able to do via ant tasks but
> I can not place them in <tasks>. Any idea how to approach this ?
>
> Thanks in advance
>
> Petr
>
>
>
>
>
> Wayne Fay <wa...@gmail.com> wrote: This is very well documented on the
> Maven site:
> http://maven.apache.org/guides/mini/guide-using-ant.html
>
> Wayne
>
> On 4/3/07, Great Man wrote:
>>
>>
>> Note: forwarded message attached.
>>
>> ________________________________
>> Bored stiff? Loosen up...
>> Download and play hundreds of games for free on Yahoo! Games.
>>
>> ---------- Forwarded message ----------
>> From: Great Man
>> To: users@maven.apache.org
>> Date: Tue, 3 Apr 2007 12:45:29 -0700 (PDT)
>> Subject: Ant Script from Maven
>> I have one ant script and I wanna call it from my maven pom. Is this
>> possible ? Any pointer is appreciated. My maven knowledge is of novice
>> level
>> so please care to explain. Thanks in advance.
>>
>> Petr
>>
>>
>>
>>
>> ________________________________
>> Now that's room service! Choose from over 150,000 hotels
>> in 45,000 destinations on Yahoo! Travel to find your fit.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
>
>
> ---------------------------------
> Bored stiff? Loosen up...
> Download and play hundreds of games for free on Yahoo! Games.
>
--
View this message in context: http://www.nabble.com/Ant-Script-from-Maven-tf3521956s177.html#a9828307
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Ant Script from Maven
Posted by Great Man <gr...@yahoo.com>.
Thanks Wayne.
I was able to build my project by integrating ant tasks in <tasks>. I issued mvn compile and my ant tasks were executed.
Now is the next phase. It is about clean up.
When I do mvn clean then target directory is deleted but my project was creating some other directories outside of target diretcory and I need to delete them too explicitly which I should be able to do via ant tasks but I can not place them in <tasks>. Any idea how to approach this ?
Thanks in advance
Petr
Wayne Fay <wa...@gmail.com> wrote: This is very well documented on the Maven site:
http://maven.apache.org/guides/mini/guide-using-ant.html
Wayne
On 4/3/07, Great Man wrote:
>
>
> Note: forwarded message attached.
>
> ________________________________
> Bored stiff? Loosen up...
> Download and play hundreds of games for free on Yahoo! Games.
>
> ---------- Forwarded message ----------
> From: Great Man
> To: users@maven.apache.org
> Date: Tue, 3 Apr 2007 12:45:29 -0700 (PDT)
> Subject: Ant Script from Maven
> I have one ant script and I wanna call it from my maven pom. Is this
> possible ? Any pointer is appreciated. My maven knowledge is of novice level
> so please care to explain. Thanks in advance.
>
> Petr
>
>
>
>
> ________________________________
> Now that's room service! Choose from over 150,000 hotels
> in 45,000 destinations on Yahoo! Travel to find your fit.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
---------------------------------
Bored stiff? Loosen up...
Download and play hundreds of games for free on Yahoo! Games.
Re: Ant Script from Maven
Posted by Wayne Fay <wa...@gmail.com>.
This is very well documented on the Maven site:
http://maven.apache.org/guides/mini/guide-using-ant.html
Wayne
On 4/3/07, Great Man <gr...@yahoo.com> wrote:
>
>
> Note: forwarded message attached.
>
> ________________________________
> Bored stiff? Loosen up...
> Download and play hundreds of games for free on Yahoo! Games.
>
> ---------- Forwarded message ----------
> From: Great Man <gr...@yahoo.com>
> To: users@maven.apache.org
> Date: Tue, 3 Apr 2007 12:45:29 -0700 (PDT)
> Subject: Ant Script from Maven
> I have one ant script and I wanna call it from my maven pom. Is this
> possible ? Any pointer is appreciated. My maven knowledge is of novice level
> so please care to explain. Thanks in advance.
>
> Petr
>
>
>
>
> ________________________________
> Now that's room service! Choose from over 150,000 hotels
> in 45,000 destinations on Yahoo! Travel to find your fit.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org