Niranjan,
I think you are looking for the [EMAIL PROTECTED] list.
Regards,
Brett
On 06/06/2008, at 1:37 AM, Niranjan Deshpande wrote:
I am trying to execute ant tasks from maven's pom as below.
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.1</version>
<executions>
<execution>
<phase>generate-sources</phase>
<configuration>
<tasks>
<exec executable="AppWeb/src/main/scripts/generate.sh"
failonerror="true">
</exec>
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
The generate.sh file has 10 xml files that i want to run as
ant -buildfile -filename
for the time being I am running the plugin as maven antrun:run, just
to find
whether the .sh file is called or not. But i am geting this:
[INFO] [antrun:run]
[INFO] Executing tasks
[INFO] Executed tasks
I have added a ECHO in the .sh file, but i see none at the output
--
Regards,
Niranjan Deshpande
"Shut yourself from the world and create the reality you want"
--
Brett Porter
[EMAIL PROTECTED]
http://blogs.exist.com/bporter/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]