You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Maruf Aytekin <ma...@aspone.co.uk> on 2005/11/17 13:32:53 UTC

I cannot run otional ant tasks by usind maven-antrun-plugin

I have used http://maven.apache.org/plugins/maven-antrun-plugin/ to run
ant tasks in pom.xml. It runs core ant tasks successfully but it doesn't
run optional tasks.. any ideas???


Re: I cannot run otional ant tasks by usind maven-antrun-plugin

Posted by Anuerin Diaz <ra...@gmail.com>.
On 11/17/05, Kenney Westerhof <ke...@apache.org> wrote:
> On Thu, 17 Nov 2005, Anuerin Diaz wrote:
>
> I've closed that issue since you shouldn't be using <extensions> for
> plugin-space dependencies. See the comments on the issue for details.
>
> The antrun plugin doesn't include any optional tasks, just
> ant 1.6.5 and the launcher (to be able to run external build.xml files).
> Any optional tasks you need you'll have to include using the
> <dependencies> tag in the <plugin> tag.
>

ah, so that is the key. ill try to understand this better tomorrow
when i am sane enough. but i remember only adding those extension
elements to avoid the errors . anyway those are gone now because i had
to resort to basic ant copy-and-jar scripts to emulate the ejb-jar
target.

thanks kenney!

ciao!

<snip>

--

"Programming, an artform that fights back"

Anuerin G. Diaz
Registered Linux User #246176
Friendly Linux Board @ http://mandrivausers.org/index.php
http://capsule.ramfree17.org , when you absolutely have nothing else
better to do

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: I cannot run otional ant tasks by usind maven-antrun-plugin

Posted by Kenney Westerhof <ke...@apache.org>.
On Thu, 17 Nov 2005, Anuerin Diaz wrote:

I've closed that issue since you shouldn't be using <extensions> for
plugin-space dependencies. See the comments on the issue for details.

The antrun plugin doesn't include any optional tasks, just
ant 1.6.5 and the launcher (to be able to run external build.xml files).
Any optional tasks you need you'll have to include using the
<dependencies> tag in the <plugin> tag.

-- Kenney

> for clarifications:
>
>   - have you included the ant-optional dependency in your project?
>   - what task was failing? if it is related to a task that has an
> EnumeratedAttribute parameter then please vote for
> http://jira.codehaus.org/browse/MNG-1490 so it can have a greater
> priority.
>
> ciao!
>
> On 11/17/05, Maruf Aytekin <ma...@aspone.co.uk> wrote:
> > I have used http://maven.apache.org/plugins/maven-antrun-plugin/ to run
> > ant tasks in pom.xml. It runs core ant tasks successfully but it doesn't
> > run optional tasks.. any ideas???
> >
> >
> >
>
>
> --
>
> "Programming, an artform that fights back"
>
> Anuerin G. Diaz
> Registered Linux User #246176
> Friendly Linux Board @ http://mandrivausers.org/index.php
> http://capsule.ramfree17.org , when you absolutely have nothing else
> better to do
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

--
Kenney Westerhof
http://www.neonics.com
GPG public key: http://www.gods.nl/~forge/kenneyw.key

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: I cannot run otional ant tasks by usind maven-antrun-plugin

Posted by Anuerin Diaz <ra...@gmail.com>.
for clarifications:

  - have you included the ant-optional dependency in your project?
  - what task was failing? if it is related to a task that has an
EnumeratedAttribute parameter then please vote for
http://jira.codehaus.org/browse/MNG-1490 so it can have a greater
priority.

ciao!

On 11/17/05, Maruf Aytekin <ma...@aspone.co.uk> wrote:
> I have used http://maven.apache.org/plugins/maven-antrun-plugin/ to run
> ant tasks in pom.xml. It runs core ant tasks successfully but it doesn't
> run optional tasks.. any ideas???
>
>
>


--

"Programming, an artform that fights back"

Anuerin G. Diaz
Registered Linux User #246176
Friendly Linux Board @ http://mandrivausers.org/index.php
http://capsule.ramfree17.org , when you absolutely have nothing else
better to do

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org