Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.5.6
-
Fix Version/s: 1.6.1, 1.5.8, 1.7-beta-1
-
Component/s: command line processing
-
Labels:None
-
Environment:Ubuntu 7.10
-
Testcase included:yes
-
Number of attachments :
Description
While trying to use x4juli with groovy I recognize that the second JVM property is not used as expected.
To reproduce the problem you can try the following script with Ubuntu (maybe also applicable with other Linux versions):
groovy -Djava.foo=test -Djava.bar -e "println System.getProperty('java.foo'); println System.getProperty('java.bar');"
Script will end with
Caught: java.io.FileNotFoundException: /export/home/marcel/java.bar (/export/home/marcel/java.bar)
I tested this also with Windows Vista where it works as expected.
Can you provide output from:
I have seen this error myself but can't remember which versions I was using at the time. Just trying this with 1.5.6 on Ubuntu 8.04 I can't reproduce.