Hi Kai,
I have the same conf as you, except that my Ant call is :
<ant antfile="build.xml"/>
because I call the default task as defined in build.xml :
<project name="build" default="gen">
... and things go well.
If you get "> [INFO] Executed tasks", then you get to execute the antrun
plugin. What do you mean exactly by "nothing happens ?" Can you try and produce
some trace in your Ant tasks ?
Yann
--- Kai Fredriksen <[EMAIL PROTECTED]> a écrit :
> I just startet to test M2 2.0-beta-2 and tried to add existing ant build
> script tasks to my pom. Can anyone help me out with a correct antrun task
> configuration. The only output I get is:
> [INFO] [antrun:run]
> [INFO] Executing tasks
> [INFO] Executed tasks
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] BUILD SUCCESSFUL
>
> and off course nothing happens..
>
> My configuration is defined in the pom as:
> .. <execution>
> <phase>generate-sources</phase>
> <configuration>
> <tasks>
> <ant antfile="build.xml" target="gen"/>
> </tasks>
> </configuration>
> <goals>
> <goal>run</goal>
> </goals>
> </execution>
> ..
>
> Kai
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
___________________________________________________________________________
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger
Téléchargez cette version sur http://fr.messenger.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]