Re: project vm parameters
- Yeah, I think it would work but it's a bit of hack way to do it.
I only have two JDK's I use and two projects I need this for so it
wouldn't too much work to create the profiles. I was hoping there was
some (prehaps hidden) way to do this better or maybe I could request
a new feature. :)
Thanks for the idea, I'll let you know if it works.
--- In firstname.lastname@example.org, "ianshef" <ishef@e...> wrote:
> --- In email@example.com, jdurnfor@t... wrote:
> > How do I specifify project specific VM parameters?
> > Currently the two ways I can see are:
> > 1) to set JDK VM parameters in
> > tools->options->jdk->launcher->VM Args
> > 2) in project->properties->run->class
> > I can prepend the classname with VM args but I select the class I
> > want to run from the project maanger list and would have to rest
> > everytime I change classes.
> > tia
> > jim
> One way would be to set up (under Tools| Options... | JDK) multiple
> JDK's that differ only in their name (the unnamed dropdown at the
> of the dialog box) and in their Launcher | VM Arguments definition.
> [If you have many of these, it may be easier to shut down Gel and
> hand edit Gel's Options.xml file. Save a backup copy first!
> this at your own risk!]
> Then, under Project | Properties... | Main, you can use the JDK
> dropdown box to chossed the JDK (defined earlier) with the VM
> arguments that you want.
> Caveat: It seems like this should work, but I haven't actually
> attempted it.
> Good Luck!