Grzegorz Kowal - 2014-08-04
  • Description has changed:

Diff:

--- old
+++ new
@@ -1,9 +1,11 @@
 in some environments (e.g. windows vista) a program is not allowed to write into its program directory. But because my application needs to write JVM settings into the .ini file I would need to store the file in a different place.

 Would it be possible to pass a parameter to the generated exe file specifying the location where the .ini file can be found?
-===========
+
+
 Another usecase for this feature would be that an application has two different executables allowing it to start in different different modes (e.g. a console mode, and a gui mode) but with the same parameters defined in a single .ini file. 
-============
+
+
 I know this has been an old topic but I've been looking for this feature for years. In our situation, we want to test with the launch4j generated .exe files but we can't because we can't specify a runtime JVM args without modifying the pristine copy of the *.l4j.ini files under the bin folder.

 In one test, we do want to bump up the maxheap for some robustness tests and in another test, we need to change the language/locale for some i18N tests. Having a way to change the JVM args on the fly (e.g. -Xmx or -D options) will be useful because every test can have its own *.l4j.ini file for that particular test.