![]() |
OpenMake Meister |
bldmake will act differently according to the options passed to it at run time. Table BD-2 provides a list of all available options.
Table BD-2 bldmake Options
Option |
Description |
Parm Value |
-c |
Used to change the build directory at execution time. If the directory does not exist, it will be created. |
Name of new build directory. |
-f |
Use existing Build Control File to determine Project, Dependency Directory and Target. |
Usage statement changes to bldmake [-f <existing Build Control File name>] |
-m |
Place the generated Build Control File in a directory different from the current build directory. If the named directory does not exist, it will be created. This is particularly useful when using Microsoft Developer Studio workspaces and need to place the generated Build Control File in the workspace directory. |
Directory name where output should be written. |
-mo |
Creates a Build Control File for Targets belonging only to the Operating System name passed in as the parameter. If java is passed, then all Build Control Files containing Java Targets will be created excluding non-Java Targets. |
Operating System name: windows, solaris, hp-ux, linux, java, aix or zos |
-n |
Indicates to bldmake that it should search for only a Target file with a name that is based on the Final Target name.
bldmake "BUILD DEMO" DEVELOPMENT -n "bin/Welcome.jar"
where the Target file name is bin_Welcome.jar.tgt This can be used to limit the search performed by bldmake during the creation of
the Build Control File. |
Final Target Name |
-o |
Creates Verbose Output - bldmake echoes results of each step. Useful for debugging. |
|
-ob |
Sends Output to the screen and to an HTML file stored on the KB Server. Must use the following to specify the file name:
-ld <yyyy-mm-dd hour_minute_second>
Note: You must specify your date and time. The command line does not use the actual system date and time. This date and time will be used to create your file name.
-lj <job name> -lm <machine name> -lo <owner name>
example:
bldmake "build demo" development -ob -ld "2001-01-01 01_01_01" -lj "build demo Development" -lm LAB01 -lo MTOM04
Also, if the Build should be logged as public pass: -lp |
|
-oh |
Sends Build Log Output to an HTML file stored on the KB Server. Used when executing from the command line. Not needed when used in Workflows. Must use the following to specify the log file name:
-ld <yyyy-mm-dd hour_minute_second>
Note: You must specify your date and time. The command line does not use the actual system date and time. This date and time will be used to create your file name.
-lj <job name> -lm <machine name> -lo <owner name>
example:
bldmake "build demo" development -ob -ld "2001-01-01 01_01_01" -lj "build demo Development" -lm LAB01 -lo MTOM04
Also, if the Build should be logged as public pass: -lp |
|
-os |
Sends Build Log Output to the screen only. |
|
-ov |
Runs bldmake in verbose mode. This provides additional build log output.
|
None required |
-s |
Causes bldmake to preserve case sensitivity. |
None required |
-v |
Displays the version of bldmake |
None required |
-? |
Displays usage when passed to bldmake at a command prompt. |
None required |