[kepler-dev] [Bug 3250] - windows exe opens dos box

bugzilla-daemon at ecoinformatics.org bugzilla-daemon at ecoinformatics.org
Wed Apr 30 12:20:59 PDT 2008


http://bugzilla.ecoinformatics.org/show_bug.cgi?id=3250


cxh at eecs.berkeley.edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |




------- Comment #2 from cxh at eecs.berkeley.edu  2008-04-30 12:20 -------
Kepler.exe is created using Launch4j.
Docs are at http://launch4j.sourceforge.net/docs.html#Configuration_file
Ptolemy also uses Launch4j, but does not have a DOS console.

installer/build/launch-kepler.xml has the line:
 <headerType>console</headerType>

ptII7.0.1/adm/gen-7.0/ptII7_0_1_setup_l4j.xml has:
  <headerType>gui</headerType>

This might do it.

Another thing is to look at stayAlive.
Kepler:
  <stayAlive>false</stayAlive>
Ptolemy:
 <stayAlive>true</stayAlive>

One advantage to the DOS console is that stdout is preserved and
available to the user.  However, this is not very polished, instead
stdout should be remapped to a log file.  Most applications that
are invoked from a menu choice do not bring up a dos window.

I'm reopening this pending the above changes.


More information about the Kepler-dev mailing list