The changes in release lu3.6 are largely backward compatible with lu3.5. Every effort has been made to insure code changes do not unexpectedly change the documented behavior of nmake features.
The following enhancements required small changes to functionality as described below.
:JAR:assertion operator is new in release lu3.6. However, some folks may be using our preliminary jar support rules published in our newsletter. The lu3.6
:JAR:assertion has a different usage from the rules published in the newsletter. The prerequisite can no longer be directory name, it must be a shell pattern to determine the files to pick up. Consequently the
JARTYPESvariable is depreciated since it is no longer needed. Also, support for a manifest file prerequisite has been added.
:JAR:assertion. Those who do not wish to migrate can continue using the old jar rules, your local jar rules will override the default rules.
/* old jar rules assertion */ file.jar :JAR: classes JARROOT=classes JARTYPES=.class|.jpgThe above assertion using the old rules can be rewritten as:
/* lu3.6 assertion */ file.jar :JAR: classes/*.class classes/*.jpg JARROOT=classesOr further simplified as:
/* lu3.6 assertion */ file.jar :JAR: classes/*.(class|jpg) JARROOT=classes