equal
deleted
inserted
replaced
51 if (! new File(jdepsPath).isFile()) { |
51 if (! new File(jdepsPath).isFile()) { |
52 jdepsPath = javahome + "/bin/jdeps".replaceAll(/\//g, File.separater); |
52 jdepsPath = javahome + "/bin/jdeps".replaceAll(/\//g, File.separater); |
53 } |
53 } |
54 |
54 |
55 // run jdep on nashorn.jar - only summary but print profile info |
55 // run jdep on nashorn.jar - only summary but print profile info |
|
56 $ENV.PWD=System.getProperty("user.dir") // to avoid RE on Cygwin |
56 `${jdepsPath} -s -P ${nashornJar.absolutePath}` |
57 `${jdepsPath} -s -P ${nashornJar.absolutePath}` |
57 |
58 |
58 // check for "(compact1)" in output from jdep tool |
59 // check for "(compact1)" in output from jdep tool |
59 if (! /(compact1)/.test($OUT)) { |
60 if (! /(compact1)/.test($OUT)) { |
60 fail("non-compact1 dependency: " + $OUT); |
61 fail("non-compact1 dependency: " + $OUT); |