I am very impressed with Maven, this is a very useful tool, I am almost have my war 
file ready to go but I'm having a small issue;

I am having a problem running a postgoal. I have made the task simple so we can narrow 
it down quicker.  I want it to run a command line program after it runs the 
Java:compile goal. I have done this: 

<postGoal name="java:compile">
HelloWorld.bat
</postGoal>

The HelloWorld.bat is in the maven_home directory and I can run it from any location 
on my computer.

HelloWorld contains this text:

start notepad

I am unable to run this or any other batch file while using the postGoal tag.  I can 
see it say "HelloWorld.bat" in the dos box as it runs through, although nothing 
happens. 

Could someone please assist?

Thank you,

Wiley

Reply via email to