Excelsior Forums: Feature request: .ini files - Excelsior Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Feature request: .ini files

#1 User is offline   MemoryHungry 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 9
  • Joined: 03-October 08

Posted 18 December 2008 - 06:49 PM

I suggest that you add support for setting parameters and environment variables through .ini files that are read automatically when the application launches (if they are present). An example for this functionality are installers created by Advanced Installer (the .ini files have the same name as the application and reside in the same directory).

I understand flags can be set using a .bat file to launch the application. However, this leads to two different ways of launching the application. It's fine for development use, but average users would often be confused.

We found that .ini files have been very useful to work around problems discovered after product launch. Over the past years, we have encountered several problems which were easily solved by adding flags to .ini files. Two examples are graphics acceleration problems that some users experienced, and Java bugs like the user.home bug. Typically, this issues were limited to specific system configurations, and therefore only discovered after deployment. Modifying a line in a .ini file, for example to turn 2D acceleration off, was a nice workaround that enabled users to be up an running again with minimal delays.

There are other uses for .ini files, too, like setting memory parameters or flags like headless, where .ini files would be an elegant solution.


-1

#2 User is offline   snowman 

  • Advanced Member
  • Group: Moderators
  • Posts: 327
  • Joined: 10-May 02

Posted 24 December 2008 - 10:25 AM

Yes, we had thought of this ourselves some time ago, so I have added your feature request to the respective entry in our issue tracker.

In fact, that entry lists some other options, one of which is already partially implemented. Specifically, it will be possible to create an executable with the java launcher command-line syntax, so you would not only be able to override the hard-wired settings, but also select the main class, e.g.:

    MyApp -Xmx512m -Dsome.property com.myapp.Server
    MyApp com.myapp.Client localhost


However, due to tight schedule I cannot guarantee that this feature will find its way into the next release.
Other resources:
Excelsior JET: FAQ | Knowledge Base

#3 User is offline   MemoryHungry 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 9
  • Joined: 03-October 08

Posted 07 October 2009 - 01:16 PM

What are the chances that .ini file support makes it into version 7? This is still an important feature for us, we often encounter computer-specific problems that could most easily be solved with .ini files.
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users