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:
- Binary Literals
- Underscores in Numeric Literals
- Type Inference for Generic Instance Creation (diamond)
- Catching Multiple Exception Types
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 firstname.lastname@example.org.
New FAQ entries for the following topics have been added to the web site.
- How to build both 32-bit and 64-bit versions of targets?
- How to compile the same code with different compiler options?
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.
We are interested in any feedback you might have about nmake. Please send comments / suggestions to email@example.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 firstname.lastname@example.org. Thanks for your support!