I am seeing a OutOfBounds exception thrown by the flex compiler [java] Error: String index out of range: -6 [java] java.lang.StringIndexOutOfBoundsException: String index out of range: -6 [java] at java.lang.String.substring(String.java:1768) [java] at java.lang.String.substring(String.java:1735) [java] at flex2.compiler.SourcePath.constructRelativePath(SourcePath.java:224) [java] at flex2.compiler.SourcePath.checkPreference(SourcePath.java:244) [java] at flex2.compiler.API.validateCompilationUnits(API.java:1479) [java] at flex2.tools.Compiler.main(Compiler.java:182)
I am using Ant to build on a Linux machine. The output directory passed to mxmlc.jar looks like (sorry for the bogus names) /sw-pool/abcde/branch-fixes_abcdefgh/abcdefg_abc/abcd/abcdefg_abc/abcd/c onfig Interestingly, the build seems to go through in other setups. Comparing the setups is not showing any obvious differences. Any ideas/suggestions on this will be greatly appreciated.