|
|||
Release Notes -- Alcatel-Lucent nmake lu3.6
June 2003 2. New Features Introduced in Release lu3.62.1 Jar File Support
The new
The
name.jar :JAR: [manifest-file][JARROOT=root_dir] files...
File prerequisites are specified using full ksh-style shell patterns allowing directories to be recursively searched for matching files. If a manifest file is specified its contents is merged to the target jar file as one part of the internal manifest file. When using jdk1.2 or higher jar files are generated by stepping through the viewpath and adding the necessary files from each node to the jar file. Jar files are updated incrementally with the new or modified files. Since the older jar command does not support the update feature, compatibility with jdk1.1 is preserved by using a temporary directory to collect the files from each node in the viewpath and generating the jar target file from the temporary directory.
The following example picks up all the
$ cat jar.mk
JARROOT = classes
stc.jar :JAR: manifest.mf classes/*.(class|png)
$ nmake -f jar.mk
-- Making stc.jar --
+ cd /home/richb/v2/classes
+ jar cf /home/richb/v1/stc.jar com/lucent/stc/C.class com/lucent/stc/im
ages/logo.png
+ cd /home/richb/v1/classes
+ jar uf /home/richb/v1/stc.jar com/stc/A.class com/stc/B.class
+ jar umf /home/richb/v2/manifest.mf /home/richb/v1/stc.jar
+ jar i /home/richb/v1/stc.jar
$ jar tvf stc.jar
98 Wed May 07 18:16:46 EDT 2003 META-INF/INDEX.LIST
0 Wed May 07 18:16:42 EDT 2003 META-INF/
57 Wed May 07 18:16:44 EDT 2003 META-INF/MANIFEST.MF
0 Wed May 07 18:12:04 EDT 2003 com/lucent/stc/C.class
0 Wed May 07 18:12:40 EDT 2003 com/lucent/stc/images/logo.png
0 Wed May 07 10:18:26 EDT 2003 com/stc/A.class
0 Wed May 07 10:17:30 EDT 2003 com/stc/B.class
At this time the
Note:
the new 2.2 Batched concurrent Java builds now supported
Java files are optionally compiled in batches to minimize expensive
calls to javac. This performance enhancement feature is called
batched compilation. However, in previous releases, batched
compilation could not be used together with another performance
enhancing feature, concurrent compilation. In this release, batched
concurrent builds are now supported. This is enabled simply by
setting the $ nmake maxjavac=10 -j5 -f java.mk 2.3 Engine queue feature for batch compilations
Special atoms,
[Table of Contents] [Previous Section] [Next Section] Last Update: Wednesday,20-Dec-06 13:22:11 CST
|
|||