poidasmith / winrun4j

WinRun4J Java Application Launcher
http://winrun4j.sourceforge.net
212 stars 63 forks source link

Command line arg overrides enabled by default #43

Open poidasmith opened 11 years ago

poidasmith commented 11 years ago

Feedback requested on whether this feature should be enabled by default or not.

Chrriis commented 11 years ago

"-W" allows INI override. If someone has a problem, they can easily either switch this feature off, or if useful can change the prefix. That is fine.

While I like the fact of overriding VM args directly by passing "-X" or "-D", the standard approach in launchers is to use a prefix to guarantee no name clash (like "--vmarg:-Dxxx=yy" or "-J-Dxxx=yy"). Shouldn't a prefix be possible for VM args too so that a user can activate prefix mode and specify that prefix? Maybe that should even be the default?

poidasmith commented 11 years ago

Yes, I think adding an optional vmarg prefix makes sense here. Cheers.

ben-spiller commented 8 years ago

+1 for this feature request, it'd be a huge help to have this :)