Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Remove - remove a user created environment.<br />
23.2.1.3 Flags/Args/Main Page<br />
DRAFT, February 18, 2003, Page 108<br />
Main File - specifies the file used to substitute command variables beginning with MAIN_ or main_ .<br />
This is intended to be the file containing the executable module for languages such as Java or Ada. If no<br />
main file is used, "main" variables will be substituted with the current file (useful for single file projects).<br />
The %PROJECT_PATH and %SEP variables can be used in the path.<br />
FLAGS or ARGS - for each command, this will replace any FLAGS or ARGS variables. This is intended to<br />
be used for passing flags to a compiler or arguments to an executable.<br />
FLAGS2 or ARGS2 - for each command, this will replace any FLAGS2 or ARGS2 variables. This can be<br />
used when multiple sets of flags are needed. In the Java compiler environments supplied with jGRASP,<br />
these are the arguments sent to the jvm during a "run", while "FLAGS or ARGS" are the arguments sent<br />
to the application.<br />
23.2.1.4 HTML Page<br />
This specifies the contents of the temporary HTML file used for "Run as Applet" in Java. %PATH, %FILE,<br />
%BASE, %file, %base, %PACKAGE, and %PACKAGE_PATH variables may be used here.<br />
23.2.1.5 Extensions Page<br />
Allows the default extensions for each language to be set. For a file that has not been opened in jGRASP<br />
before, these extensions determine which icon will be shown in the file browser page or in a file dialog,<br />
and which language will first be used when the file is opened (once opened, the language associated with<br />
a file is remembered). Extensions must be listed without a preceding dot and separated by whitespace. If<br />
the same extension is set for more than one language, an "unknown" icon will be shown, and the user will<br />
be prompted to select one of the appropriate languages before opening the file.<br />
23.2.1.6 Variables<br />
%FLAGS - flags or arguments.<br />
%ARGS - same as %FLAGS.<br />
%FILE - full path to file.<br />
%file - filename.<br />
%BASE - full path to file without extension.<br />
%base - filename without extension.<br />
%PATH - full path to directory containing file.<br />
%EQ - equals sign.<br />
%SEP - name separator character ( \ on Windows / on UNIX).<br />
%PATH_SEP - path separator character ( ; on Windows : on UNIX).<br />
%A - "a.exe" on Windows systems, otherwise "a.out".<br />
%PROJECT_PATH - path to the directory containing the current project, or the empty string if the current<br />
project is the default project.