Nokia nmake Product Builder
Customer Support Newsletter

http://www.bell-labs.com/project/nmake/newsletters/

Issue No. 39 - February 2012
Contacts
Articles
  1. Javadeps and Java 7
  2. New FAQs
  3. SFU/Interix ksh and Symbolic Links
  4. Feedback and Suggestions

Javadeps and Java 7

The current Javadeps release, alu2.2.6, is unable to parse most of the new language changes introduced in Java 7 which results in a Javadeps parse error. Javadeps alu2.3, targeted for release in Q3 2012, will add support for the missing Java 7 language features. These include the following:

Note that Javadeps alu2.2.6 can already parse the new Strings in switch Statements feature. For details on the language changes see Java Programming Language Enhancements in the Java 7 documentation. If you would like early access to Javadeps with Java 7 support or are intersted in testing let us know at nmake@alcatel-lucent.com.

index

New FAQs

New FAQ entries for the following topics have been added to the web site.

index

SFU/Interix ksh and Symbolic Links

We have observed that the system supplied /bin/ksh on SFU/Interix systems does not follow symbolic links as might be expected. In the example below the shell expands $PWD to the physical path instead of inside the symbolic link.

$ pwd
/dev/fs/C/SFU/home/richb/abc

$ ls -l
total 0
drwxr-xr-x  1 richb  +SYSTEM  0 Feb 10 14:21 dir1

$ ln -s dir1 dir0

$ ls -l
total 1
lr--r--r--  1 richb  +SYSTEM  4 Feb 10 14:22 dir0 -> dir1
drwxr-xr-x  1 richb  +SYSTEM  0 Feb 10 14:21 dir1

$ cd dir0

$ echo $PWD
/dev/fs/C/SFU/home/richb/abc/dir1

$ pwd
/dev/fs/C/SFU/home/richb/abc/dir1

Running nmake in this environment can have unexpected results. In some cases nmake expands $(PWD) inside the symbolic link when you are not actually inside it.

$ pwd
/dev/fs/C/SFU/home/richb/abc

$ ls -l 
total 1
lr--r--r--  1 richb  +SYSTEM  4 Feb 10 14:22 dir0 -> dir1
drwxr-xr-x  1 richb  +SYSTEM  0 Feb 10 14:21 dir1

$ cd dir1

$ cat Makefile
CC =
t : .MAKE
	print PWD=$(PWD)

$ pwd
/dev/fs/C/SFU/home/richb/abc/dir1

$ nmake
PWD=/dev/fs/C/SFU/home/richb/abc/dir0

Renaming the link so it comes after the physical directory appears to correct it.

$ mv ../dir0 ../dir2

$ ls -l ..
total 1
drwxr-xr-x  1 richb  +SYSTEM  0 Feb 10 14:35 dir1
lr--r--r--  1 richb  +SYSTEM  4 Feb 10 14:22 dir2 -> dir1

$ pwd
/dev/fs/C/SFU/home/richb/abc/dir1

$ nmake
PWD=/dev/fs/C/SFU/home/richb/abc/dir1

We do not see this behavior when using the ksh supplied with the nmake package. If you experience such issues on SFU/Interix try running under the nmake ksh instead.

index

Feedback and Suggestions

We are interested in any feedback you might have about nmake. Please send comments / suggestions to nmake@alcatel-lucent.com.

We're also open to suggestions for future articles. If there is anything you would like to see in the newsletter please send us a note to nmake@alcatel-lucent.com. Thanks for your support!

index

<<home / newsletters