Skip to main content

Source code revision

svn

summary: Fixed a very difficult to locate bug!
revision: 23850
author: bnevins
date: 2008-12-10 06:58:10 UTC (6 years)
message: Fixed a very difficult to locate bug!

boolean arg handling is much more complicated than you would think. E.g. we don't want to
force a user to type in:

java ..... --help true
but instead allow:
java ..... --help

on the other hand we want to allow:
java ..... --autodelete true
java ..... --autodelete false
java ..... --autodelete=true
java ..... --autodelete=false

------------------

It is too complicated and time-consuming to do this sort of arg processing perfectly right now.
SO -- I changed autodelete from BoolArg to regular Arg.
THis mens that:
* the default is still true
* if you use the option it must have a value of "true" or anything else.

-------------
Now when the server exits it only prints out a message if the files were (auto)deleted.


Change Path Actions
M branches/embedded_v3_prelude_release/embedded/api/debug.bat
M branches/embedded_v3_prelude_release/embedded/api/src/main/java/org/glassfish/embed/EmbeddedFileSystem.java
M branches/embedded_v3_prelude_release/embedded/api/src/main/java/org/glassfish/embed/EmbeddedMain.java
M branches/embedded_v3_prelude_release/embedded/api/src/main/java/org/glassfish/embed/Server.java
 
 
Close
loading
Please Confirm
Close