|
From: Mikael S. <mik...@un...> - 2008-04-01 08:41:55
|
Leif Mortenson skrev: > I will give this some thought. Maybe something like this > wrapper.java.additional.1.unix= > wrapper.java.additional.1.windows= > Or more specifically. > wrapper.java.additional.1.linux= > Those would override > wrapper.java.additional.1= Keep in mind that I don't want another property on non-Linux platforms, it should be this property on Linux and nothing on other platforms. > Problem is would that be for all properties or just certain ones. Perhaps some kind of CPP-style preprocessor for wrapper.conf (you already have #include). #if %WRAPPER_OS% == linux wrapper.java.additional.1=-Djava.nio.channels.spi.SelectorProvider=sun.nio.ch.EPollSelectorProvider #endif BTW, this would be simpler if you don't have to specify the numbers: http://sourceforge.net/tracker/index.php?func=detail&aid=1930298&group_id=39428&atid=425190 |