maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dirk Olmes <d...@xanthippe.ping.de>
Subject Re: Mvn command line options
Date Sun, 25 Mar 2012 07:31:56 GMT
Am 24.03.2012 um 16:45 schrieb sarmahdi <sarmahdi@hotmail.com>:

> Hello,
> 
> I did the mvn.bat --help and it gave me  a list of options.
> 
> I need to know that IF i want to write a batch or shell script for three
> different projects. how can i do that. 
> 
> /echo Starting Maven build process
> 
> cd c:\demo1\workspace\finApp\
> mvn.bat install
> 
> echo Finish finApp
> 
> cd c:\demo1\workspace\Communications\
> mvn.bat install
> 
> echo Finish Communications/
> 
> It never reaches the the "echo Finish finApp" even. it stops after
> completing the install on finApp.

That's the behaviour of windows batch scripts ... Try "call mvn.bat install" 

-dirk

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message