It looks like there are bugs in the scripts if you use env.properties and not actually set environment variables. If you look in a file like frameworks/projects/Core/build.xml, it appears that the <compc> tag in the “compile” target could also use (like the other targets have):
<arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" /> Do you have time to try that? -Alex On 10/21/15, 12:27 PM, "Harbs" <harbs.li...@gmail.com> wrote: >I did ant all and it failed in the same place (but after much longer): > >compile: > [echo] Compiling libs/Core.swc > [echo] FLEX_HOME: /Users/harbs/Documents/ApacheFlex/flex-asjs > [echo] FALCON_HOME: >/Users/harbs/Documents/ApacheFlex/flex-asjs/../flex-falcon/compiler/genera >ted/dist/sdk > [compc] Loading configuration: >/Users/harbs/Documents/ApacheFlex/flex-asjs/frameworks/projects/Core/compi >le-config.xml > [compc] > [compc] 399593 bytes written to >/Users/harbs/Documents/ApacheFlex/flex-asjs/frameworks/libs/Core.swc in >2.906 seconds > >test: > >clean: > >compile: > [echo] Compiling FlexUnitFlexJSApplication.swf > [echo] FLEX_HOME: /Users/harbs/Documents/ApacheFlex/flex-asjs > [echo] FALCON_HOME: >/Users/harbs/Documents/ApacheFlex/flex-asjs/../flex-falcon/compiler/genera >ted/dist/sdk > [echo] FLEXUNIT_HOME: >/Users/harbs/Documents/ApacheFlex/flex-asjs/../flex-flexunit > [mxmlc] Loading configuration: >/Users/harbs/Documents/ApacheFlex/flex-asjs/frameworks/flex-config.xml > [mxmlc] > [mxmlc] >/Users/harbs/Documents/ApacheFlex/flex-asjs/frameworks/flex-config.xml:65 > [mxmlc] Error: unable to open >'/Users/harbs/Documents/ApacheFlex/flex-asjs/frameworks/{playerglobalHome} >/11.1/playerglobal.swc'. > [mxmlc] >/Users/harbs/Documents/ApacheFlex/flex-asjs/frameworks/flex-config.xml >(line: 65) > [mxmlc] </external-library-path> > [mxmlc] > [mxmlc] > [mxmlc] >/Users/harbs/Documents/ApacheFlex/flex-asjs/frameworks/flex-config.xml:83 > [mxmlc] Error: unable to open >'/Users/harbs/Documents/ApacheFlex/flex-asjs/frameworks/{playerglobalHome} >/11.1'. > [mxmlc] >/Users/harbs/Documents/ApacheFlex/flex-asjs/frameworks/flex-config.xml >(line: 83) > [mxmlc] </library-path> > [mxmlc] > [mxmlc] > >BUILD FAILED >/Users/harbs/Documents/ApacheFlex/flex-asjs/build.xml:431: The following >error occurred while executing this line: >/Users/harbs/Documents/ApacheFlex/flex-asjs/frameworks/build.xml:79: The >following error occurred while executing this line: >/Users/harbs/Documents/ApacheFlex/flex-asjs/frameworks/build.xml:225: The >following error occurred while executing this line: >/Users/harbs/Documents/ApacheFlex/flex-asjs/frameworks/projects/Core/build >.xml:44: The following error occurred while executing this line: >/Users/harbs/Documents/ApacheFlex/flex-asjs/frameworks/projects/Core/as/te >sts/build.xml:116: mxmlc task failed. > >Total time: 5 minutes 47 seconds > >FWIW, this is the contents of my env.properties file in the asjs folder: > >env.AIR_HOME=/Users/harbs/Documents/ApacheFlex/frameworks/AIRSDK_Compiler >env.FLASHPLAYER_DEBUGGER=/Users/harbs/Documents/ApacheFlex/frameworks/Flas >h Player Debugger.app/Contents/MacOS/Flash Player Debugger >env.PLAYERGLOBAL_HOME=/Users/harbs/Documents/ApacheFlex/frameworks/libs/pl >ayer > >Ideas? Should I get rid of the env.properties file? > >On Oct 21, 2015, at 9:39 PM, Alex Harui <aha...@adobe.com> wrote: > >> >> >> On 10/21/15, 11:08 AM, "Harbs" <harbs.li...@gmail.com> wrote: >> >>> But I already have clones of all the repos (and some custom files like >>> env.properties files). >>> >>> Why do I need to delete them? >> >> Well, I set up the script for new folks. It looks like the right checks >> are in the script so that it won’t overwrite your stuff, but it might be >> safe to save off your env.properties first. >> >> If you feel brave, give “ant all” from flex-asjs a try. >> >> -Alex >> >