i discovered the app assembler
(http://mojo.codehaus.org/appassembler/index.html) 5 minutes after i posted. 
I am just working out how to pass in some jvm args at runtime.

Thanks!

Carlos

Stephen Connolly-2 wrote:
> 
> have you had a look at the appassembler-mavn-plugin on mojo?
> 
> I use it and antrun and buildhelper to create a zip with batch files and
> bash scripts and all the dependencies for projects
> 
> -Stephen
> 
> 2008/10/23 carlos f <[EMAIL PROTECTED]>
> 
>>
>> jar-with-dependencies is not a practical option for our project so we
>> have
>> come up with a custom assembly that generates a zip/tar of:
>> - our projects jar
>> - a lib dir with all of our projects dependencies
>> - bat scripts to execute the jar
>>
>> However I still need to add all of the jars in the lib to the classpath
>> when
>> invoking java in the bat scripts.
>>
>> Is there any way to have maven add the appropriate dependencies entries
>> for
>> the bat script based on the current runtime classpath?
>>
>> Carlos
>> --
>> View this message in context:
>> http://www.nabble.com/assembly---grabbing-runtime-classpath-for-bat-script-tp20138852p20138852.html
>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/assembly---grabbing-runtime-classpath-for-bat-script-tp20138852p20149998.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to