This release introduces the new variables SELF_PARENT_NAME
, MAINCLASS_NAME
and MAINCLASS_SIMPLE_NAME
.
SELF_PARENT_NAME
is name of the directory that contains the Janel executable(without the path). If Janel executable is in a directory named bin,than SELF_PARENT_NAME
contains the name of the "parent-parent" directory. In example, SELF_PARENT_NAME
will contain MyApp when the Janel executable is in C:\Program Files\MyApp or in C:\Program Files\MyApp\bin.
MAINCLASS_NAME
is the name of the Java main class as specified in the property janel.main.class. Note that the separator character is always the ".". So if mypackage/Start was specified as the main class,this variable will contain mypackage.Start.
MAINCLASS_SIMPLE_NAME
is the simple name of the Java main class as specified in the property janel.main.class. I. e. if mypackage.Start was specified as the main class, this variable will contain Start.