|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object tribble.build.MakeVersionInfo
Generates Java, C, or XML source code containing embedded build version information.
This program creates source code containing constants describing version information for another program. It is intended to be used as part of a makefile or batch script file used to combine one or more components into a single executable program or library. When the source code produced by this utility is compiled, the resulting executable object file can be combined with the other components of the target program or library.
The executable object file resulting from the compilation of the source code produced by this utility will contain embedded string constants, reflecting the version information specified by the command line options when this utility was run. The embedded strings can be displayed using an appropriate file searching utility, such as the what(1) and strings(1) programs of Unix.
The resulting Java executable .class file can also be run as a stand-alone program. If any options are specified on the command line, the embedded version information is displayed on the console; if no options are specified, an AWT GUI window is displayed containing the version information. The GUI can also be invoked if the .class file is contained within a jar file and the class is named as the Main-Class attribute in the manifest file of the jar file.
Usage
(See usage()
.)
AbstractVersion
Constructor Summary | |
MakeVersionInfo()
Constructor. |
Method Summary | |
static void |
main(java.lang.String[] args)
Program driver for this class. |
void |
run(java.lang.String[] args)
Run this program. |
static void |
usage()
Display a program usage message and punt. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MakeVersionInfo()
Method Detail |
public static void main(java.lang.String[] args)
Usage
See usage()
.
args
- The command line arguments.run(java.lang.String[])
public static void usage()
Usage
Options:
#DFL_CLASS
).
AbstractVersion
.
public void run(java.lang.String[] args)
args
- The command line arguments.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |