maven - How to change directory in batch file? -


i have batch file follows

e:  cd e:\cvs-projects-command\customers\prd_mno_nfc_wallet\server\core  mvn clean install  cd e:\cvs-projects-command\customers\prd_mno_nfc_wallet\server\handset  mvn clean install 

it'll run mvn install command core

but won't execute mvn install command handset project.

this method of changing drive , folder.

the call commands solve issue if mvn batch file.

cd /d "e:\cvs-projects-command\customers\prd_mno_nfc_wallet\server\core" call mvn clean install  cd /d "cd e:\cvs-projects-command\customers\prd_mno_nfc_wallet\server\handset" call mvn clean install 

mvn must exist in both folders run.


Comments

Popular posts from this blog

c++ - How to add Crypto++ library to Qt project -

jQuery Mobile app not scrolling in Firefox -

How to use vim as editor in Matlab GUI -