On 8/5/05, Brett Porter <[EMAIL PROTECTED]> wrote:
> ~/.mavenrc is run in the maven script (if on unix).
> 
> If you fork your unit tests, you can pass properties to change the jvm
> args for them individually (check the test plugin site).

maven.junit.fork and maven.junit.jvmargs did the trick!  Thanks!

> On 8/5/05, Vinod Panicker <[EMAIL PROTECTED]> wrote:
> > On 8/5/05, Jeff Jensen <[EMAIL PROTECTED]> wrote:
> > > To package it all up for ease, you could create your own launcher file 
> > > (e.g.
> > > bat file) that sets the env var and then calls the maven launcher file.
> >
> > I'm doing that, but thats for the binary release.  Problem is that I
> > need to set some JVM args to increase PermGen size and stuff,
> > otherwise even the JUnits tests dont run.  So I was wondering if maven
> > has some other way of allowing users to specify JVM args other than
> > MAVEN_OPTS.
> >
> >
> > > -----Original Message-----
> > > From: Vinod Panicker [mailto:[EMAIL PROTECTED]
> > > Sent: Friday, August 05, 2005 7:05 AM
> > > To: Maven Users List
> > > Subject: Passing JVM arguments
> > >
> > > Hi,
> > >
> > > Is there any way of passing JVM arguments when running maven on my project
> > > other than by using MAVEN_OPTS?
> > >
> > > Its pretty cumbersome to use an environment variable and I'd like my 
> > > project
> > > to have the necessary JVM args so that it can be run more easily.

Regards,
Vinod.

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

Reply via email to