This java package was not used directly in the pod being compiled, it was used in one of the dependencies, but it was not available on classpath when the current pod was compiled.
brianWed 21 Apr 2010
can you post a snippet of the test code that caused that exception so we can get it into the test suite?
alex_panchenkoWed 21 Apr 2010
The issue can be reproduced by performing the following steps:
compile this class to JAR
package com.xored.topic1079;
public class JA {
public int execute() {
return 1;
}
}
remove this check -o ! -d "$FAN_CP" in fanlaunch as it doesn't allow complex classpaths
alex_panchenko Tue 20 Apr 2010
As I've experienced the following error which was not reported:
This java package was not used directly in the pod being compiled, it was used in one of the dependencies, but it was not available on classpath when the current pod was compiled.
brian Wed 21 Apr 2010
can you post a snippet of the test code that caused that exception so we can get it into the test suite?
alex_panchenko Wed 21 Apr 2010
The issue can be reproduced by performing the following steps:
-o ! -d "$FAN_CP"
infanlaunch
as it doesn't allow complex classpathsexport FAN_CP=your-fan-home/lib/java/sys.jar:path-to-my.jar
unset FAN_CP
Without the patch the output is:
After patch the output is better:
brian Thu 22 Apr 2010
Promoted to ticket #1079 and assigned to brian
Patch seems simple and safe, but I'd like to read thru that code and just verify.
Things are a bit crazy until first week of May, but then I should have time to go thru ticket list and do another official build.
brian Thu 6 May 2010
Ticket resolved in 1.0.53
Take a look at this changeset
I wrapped both resolveImports and resolveImportedTypes just in case to report an error.