ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diane Holt <hol...@yahoo.com>
Subject RE: questions about <ejbjar> and <java>
Date Tue, 24 Oct 2000 20:25:02 GMT
--- Alan Gerhard <AGerhard@E-SyncNet.Com> wrote:
> Diane -
> 
> You need to set forked on otherwise <jvmargs> will be ignored - v1.1
> anyway.

Yeah, I know -- that's why I mentioned the new <sysproperty>, which allows
you to do that -without- needing to have the process be forked (I probably
just worded it badly... my grammar starts to fail me when I'm over-tired).

Diane

> 
> alan
> 
> -----Original Message-----
> From: Diane Holt [mailto:holtdl@yahoo.com]
> Sent: Tuesday, October 24, 2000 3:57 PM
> To: ant-user@jakarta.apache.org
> Subject: Re: questions about <ejbjar> and <java>
> 
> 
> --- Jeff Bailey <JBailey@digitalboardwalk.com> wrote:
> > My other question if about <java>.  I would like to perform something
> > similar to the following:
> >   java -arga -argb Blah.spam -arg1 -arg2 -arg3
> > 
> > It seems that the <arg> element refers to the -arga and -argb but what
> > element must i use to specify the -arg1 -arg2 and -arg3 information
> (the
> > arguments passed to the java applications itself)?
> 
> <jvmarg> is for args passed before the classname; <arg> is for args
> passed
> after the classname:
> 
> <java ...>
>   <jvmarg value="-arga"/>
>   <arg value="-arg1"/>
> </java>
> 
> There's also the new <sysproperty> that lets you pass properties to the
> class without needing the java process to be forked, the way you do with
> <jvmarg>.
> 
> Diane
> 
> =====
> (holtdl@yahoo.com)
> 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Messenger - Talk while you surf!  It's FREE.
> http://im.yahoo.com/


=====
(holtdl@yahoo.com)



__________________________________________________
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf!  It's FREE.
http://im.yahoo.com/

Mime
View raw message