is there a reason why you prefer to change jar name over adding your custom jar 
to the classpath 
java -classpath %MYTOOL_HOME%\lib\mytool-1.0.1-SNAPSHOT.jar;mytool.jar 
org.tigris.mytool.App
?
Martin 
______________________________________________ 
Disclaimer and confidentiality note 
Everything in this e-mail and any attachments relates to the official business 
of Sender. This transmission is of a confidential nature and Sender does not 
endorse distribution to any party other than intended recipient. Sender does 
not necessarily endorse content contained within this transmission. 




> Date: Sun, 22 Feb 2009 15:25:55 +0100
> From: [email protected]
> To: [email protected]
> Subject: Rename file in target dir
> 
> Hello Maven,
> 
>   I have a dumb question working with assembly plugin, sorry. How I
>   can rename the artifact jar from format mytool-1.0.1-SNAPSHOT.jar to
>   mytool.jar, before packaging it into assembly?
> 
>   I'm using now bootstrap batch file a la mvn.bat.
> 
> java -classpath %MYTOOL_HOME%\lib\mytool-1.0.1-SNAPSHOT.jar 
> org.tigris.mytool.App
> 
>   I'd like to replace it with
> 
> java -classpath %MYTOOL_HOME%\lib\mytool.jar org.tigris.mytool.App
> 
> and do not changing mytool.bat from version to version.
> 
> -- 
> Best regards,
>  Oleg                          mailto:[email protected]
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 

_________________________________________________________________
Windows Liveā„¢: Discover 10 secrets about the new Windows Live.  
http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!550F681DAD532637!7540.entry?ocid=TXT_TAGLM_WL_t2_ugc_post_022009

Reply via email to