Saturday 21 June 2014

[Solution] .bat file don't proceed after mvn clean install

Executing .bat does not proceed after mvn clean install.

mvn -o clean install
echo $classpath  -- This never executes

Solution :

call mvn -o clean install 
echo $classpath  

Reason: .bat file, halts after calling another program.  CALL command is invoke another program from the current and proceed further

Reference: http://www.computerhope.com/call.htm

No comments:

Post a Comment