You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by NATARAJAN Sasi Kumar <SN...@covansys.com> on 2005/04/21 08:10:02 UTC
Ant task using Maven1.0.2
I want to execute cmd file with argument, I have wrote following tag in
plugin.jelly
<goal name="maven:bdcmd" description="xczxczxkl">
<!-- execute bdcmd -->
<ant:exec executable="bdcmd.cmd" dir="${maven.exec.target}"
os="Windows XP" output="dir.txt" >
<arg line="-sub BP "/>
<arg line="-version 1 "/>
<arg line="-mode deploy"/>
</ant:exec>
</goal>
I am getting ERROR
D:\Maven1\bin>maven mcone:bdcmd
__ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.0.2
BUILD FAILED
File...... C:\Documents and
Settings\snatarajan2\.maven\cache\maven-webtest-plugin-0.1.0\plugin.jell
y
Element... ant:exec
Line...... 61
Column.... 106
Execute failed: java.io.IOException: CreateProcess: bdcmd.cmd -sub BP
-version 1 -mode deploy error=2
Total time: 2 seconds
Finished at: Thu Apr 21 11:27:01 GMT+05:30 2005
D:\Maven1\bin>
Anyone knows <ant:exec /> let me know
Thanks in Advance
Kumar
Confidentiality Statement:
This message is intended only for the individual or entity to which it is addressed. It may contain privileged, confidential information which is exempt from disclosure under applicable laws. If you are not the intended recipient, please note that you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information. If you have received this communication in error, please notify us immediately by return email.
Re: Ant task using Maven1.0.2
Posted by Brett Porter <br...@gmail.com>.
bdcmd.cmd does not exist or is not in the path.
- Brett
On 4/21/05, NATARAJAN Sasi Kumar <SN...@covansys.com> wrote:
> Execute failed: java.io.IOException: CreateProcess: bdcmd.cmd -sub BP
> -version 1 -mode deploy error=2
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org