You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Ramunas <rp...@metamodelis.lt> on 2008/04/30 10:10:57 UTC
batch script halts after mvn command
Hi,
I use maven 2.0.7.
I wrote a *.bat file to execute maven command (and some other commands).
But when mvn script finishes, the *.bat file do not process any other
commands which follows mvn.
Any solutions to fix that?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: batch script halts after mvn command
Posted by Ramunas <rp...@metamodelis.lt>.
Thanks. "CALL" solved the problem
Bernhard David wrote:
> Hello,
>
> I believe if you call one batch file from another you need to use "CALL"
> - see "help call" if you have it. "start.exe" (with some parameters)
> might also work. Or, if that fails, "command.com /c file.bat".
>
> Yours,
>
> David
>
>
>> -----Original Message-----
>> From: Ramunas [mailto:rpilotas@metamodelis.lt]
>> Sent: 30 April 2008 10:11
>> To: Maven Users List
>> Subject: batch script halts after mvn command
>>
>> Hi,
>> I use maven 2.0.7.
>> I wrote a *.bat file to execute maven command (and some other
>> commands).
>> But when mvn script finishes, the *.bat file do not process any other
>> commands which follows mvn.
>> Any solutions to fix that?
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
>
--
Pagarbiai,
*Ramu-nas Pilotas*
IS analitikas-projektuotojas
UAB "Metamodelis"
mobil. 8 674 36316
_rpilotas@metamodelis.lt_ <ma...@Metamodelis.lt>
_www.metamodelis.lt_
P.S. Jei i; praneima; gavote per klaida;, praome ji; itrinti.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
RE: batch script halts after mvn command
Posted by Bernhard David <da...@elca.ch>.
Hello,
I believe if you call one batch file from another you need to use "CALL"
- see "help call" if you have it. "start.exe" (with some parameters)
might also work. Or, if that fails, "command.com /c file.bat".
Yours,
David
> -----Original Message-----
> From: Ramunas [mailto:rpilotas@metamodelis.lt]
> Sent: 30 April 2008 10:11
> To: Maven Users List
> Subject: batch script halts after mvn command
>
> Hi,
> I use maven 2.0.7.
> I wrote a *.bat file to execute maven command (and some other
> commands).
> But when mvn script finishes, the *.bat file do not process any other
> commands which follows mvn.
> Any solutions to fix that?
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org