ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mani G. Iyer" <>
Subject RE: Junit and jvmarg
Date Fri, 16 Jul 2004 11:44:47 GMT
Yes. I am giving the entire -X option.  Also, there are 2 of them.  So I
have 2 jvmargs and the junit fails on the first -X option with a
NoClassDefFound on the first one.  Actually, I found it to be funny.


-----Original Message-----
From: Maurice.Feskanich@Sun.COM [mailto:Maurice.Feskanich@Sun.COM] 
Sent: Friday, July 16, 2004 12:05 AM
To: Ant Users List
Subject: Re: Junit and jvmarg

Are you giving the entire -X option as the value (including the "-X")?
Remember, the args are essentially passed straight to the command line,
so if it doesn't start with a dash, is will not be seen as an option.


"Mani G. Iyer" wrote:
> Hello:
> I am using Ant 1.6.1. When I used jvmargs with the junit task, I get a
> NoClassDefFound on the values of the jvmargs.   It seems to think the
> jvmargs are  classnames.  My jvmargs are the -X options.  Did anybody
> encounter this problem?  Thanks.
> Mani Iyer

Maury Feskanich
 DReAM Support

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message