0 Replies Latest reply on Oct 10, 2011 12:38 PM by jsam17

    ant mxmlc task hangs in linux


      Hi all,


      I'm using Flex 4.5.1 on Linux.  While I can compile using mxmlc from the command line, whenever I try to run mxmlc through the ant task, the task  hangs.  I tracked down the problem to the URLClassLoader instantiation in resolveClass(...) in FlexTasks.java.  The URL for the location of the mxmlc.jar file is correct, but the line instantiating the class loader:


      URLClassLoader urlClassLoader = new URLClassLoader(new URL[] {jarFile.toURL()});


      never returns.  My java coding is a bit rusty, and I don't know if this could be a problem with my java configuration in general, or something wrong with the mxmlc ant task specifically.  Does anyone know what the problem could be?