![]() | ![]() | ![]() | ![]() | ![]() |
This is a PPWIZARD command line switch. You can set up your own default switches in the "PPWIZARD_OPTIONS" environment variable or in project files.
This option requires a parameter which controls how the "InputFile" parameter is transformed into the name of a dependancy file. The default is that there is no dependancy file (therefore dependancies are not checked). If you use dependancy files then the output is only built if required (a source file has changed).
Unless you preceeded the EditMask parameter with a '-' the dependancy checking progress is displayed.
PPWIZARD knows how to create a complete dependancy file unless you access files directly (via rexx with "linein()", "lineout(), "charin()" or similar functions). If you do directly access a file you will need to help ppwizard by using the #DependsOn command or the AddInputFileToDependancyList() or AddOutputFileToDependancyList() rexx functions.
An edit mask is basically much like a file (with path if required) and will contain zero or one special characters as follows:
Note that unix type operating systems will probably have problems with "$path" etc (to unix this means replace with the "path" environment variable's contents). You need to hide or escape the dollar sign, so use either "{x24}path" or "\$path" instead.
The "EditMask" can be absolute or relative (your exact circumstances will determine your choice).
Note that resultant relative filenames are always relative to the current directory.
While you control the case of the mask you can't control the case of the part that replaces the '*'. What you can do is ensure the whole name is either in upper or lower case with the /FileNames switch.
In the following example the command will check/create a file called "OUT\DEPEND\IN.DEP":
+-[ MAKEIT.CMD ]------------------------------------------------+ | @echo off | | ppwizard IN.IT /Output:OUT\*.html /DependsOn:OUT\DEPEND\*.DEP | | if errorlevel 1 echo ERROR: Command failed! | +---------------------------------------------------------------+
![]() | ![]() | ![]() | ![]() | ![]() |