The Ant package for Falcon bundles the flex-typedefs repo and calls the Ant scripts within. Those scripts download third-party typedefs/externs/sources.
It isn't obvious how Harbs is getting the error he is seeing. It could be something wrong with the Git apply of the patches, or maybe FALCONJX_HOME or FLEXJS_TYPEDEFS_HOME environment variables is set to something. Those environment variables should not be set when running the approval script. The approval scripts attempt to be self-contained and download all dependencies into sibling folders. HTH, -Alex On 9/6/16, 5:19 AM, "Harbs" <harbs.li...@gmail.com> wrote: >It looks to me like the approve script downloaded the typedefs. Although, >the only thing I see in the createjs folder is the patch files. > > >On Sep 6, 2016, at 3:11 PM, Christofer Dutz <christofer.d...@c-ware.de> >wrote: > >> Hi Harbs, >> >> >> I think in the Ant build the typedefs are built by the falcon Ant build >>by changing to a directory relative to falcons directory. I would assume >>that you need to have the flexjs-typedef directory in parallell to the >>flexjs-compiler directory. >> >> >> Chris >> >> ________________________________ >> Von: Harbs <harbs.li...@gmail.com> >> Gesendet: Dienstag, 6. September 2016 11:13:48 >> An: dev@flex.apache.org >> Betreff: Re: [DISCUSS] Discuss Release Apache Flex FalconJX 0.7.0 RC1 >> >> I’m getting the following error. Suggestions? >> >> download_tween: >> Getting: https://github.com/CreateJS/TweenJS/archive/0.6.2.zip >> To: >>/Users/harbs/Documents/ApacheFlex/ApproveFalcon/apache-flex-falconjx-0.7. >>0-src/flex-typedefs/createjs/target/downloads/tween-0.6.2.zip >> https://github.com/CreateJS/TweenJS/archive/0.6.2.zip moved to >>https://codeload.github.com/CreateJS/TweenJS/zip/0.6.2 >> >> expandzip: >> Expanding: >>/Users/harbs/Documents/ApacheFlex/ApproveFalcon/apache-flex-falconjx-0.7. >>0-src/flex-typedefs/createjs/target/downloads/easel-0.8.0.zip into >>/Users/harbs/Documents/ApacheFlex/ApproveFalcon/apache-flex-falconjx-0.7. >>0-src/flex-typedefs/createjs/target/downloads >> >> expandzip_tween: >> Expanding: >>/Users/harbs/Documents/ApacheFlex/ApproveFalcon/apache-flex-falconjx-0.7. >>0-src/flex-typedefs/createjs/target/downloads/tween-0.6.2.zip into >>/Users/harbs/Documents/ApacheFlex/ApproveFalcon/apache-flex-falconjx-0.7. >>0-src/flex-typedefs/createjs/target/downloads >> >> preprocess: >> >> externc: >> 1.709682 seconds >> Sep 06, 2016 12:01:05 PM >>com.google.javascript.jscomp.LoggerErrorManager println >> WARNING: [Bitmap]:77: WARNING - Misplaced type annotation. Type >>annotations are not allowed here. Are you missing parentheses? >> if (typeof imageOrUri == "string") { >> ^ >> >> Sep 06, 2016 12:01:05 PM >>com.google.javascript.jscomp.LoggerErrorManager println >> WARNING: [ButtonHelper]:208: WARNING - Misplaced type annotation. Type >>annotations are not allowed here. Are you missing parentheses? >> try { >> ^ >> >> Sep 06, 2016 12:01:05 PM >>com.google.javascript.jscomp.LoggerErrorManager println >> WARNING: [Container]:113: WARNING - Misplaced type annotation. Type >>annotations are not allowed here. Are you missing parentheses? >> try { >> ^ >> >> Sep 06, 2016 12:01:05 PM >>com.google.javascript.jscomp.LoggerErrorManager println >> WARNING: [DisplayObject]:678: WARNING - Misplaced type annotation. Type >>annotations are not allowed here. Are you missing parentheses? >> try { >> ^ >> >> Sep 06, 2016 12:01:05 PM >>com.google.javascript.jscomp.LoggerErrorManager println >> WARNING: [Graphics]:391: WARNING - Misplaced type annotation. Type >>annotations are not allowed here. Are you missing parentheses? >> try { >> ^ >> >> Sep 06, 2016 12:01:05 PM >>com.google.javascript.jscomp.LoggerErrorManager println >> WARNING: [Graphics]:1822: WARNING - Misplaced type annotation. Type >>annotations are not allowed here. Are you missing parentheses? >> p = (G.Fill = function(style, matrix) { >> ^ >> >> Sep 06, 2016 12:01:05 PM >>com.google.javascript.jscomp.LoggerErrorManager println >> WARNING: [Graphics]:1900: WARNING - Misplaced type annotation. Type >>annotations are not allowed here. Are you missing parentheses? >> p = (G.Stroke = function(style, ignoreScale) { >> ^ >> >> Sep 06, 2016 12:01:05 PM >>com.google.javascript.jscomp.LoggerErrorManager println >> WARNING: [Graphics]:1974: WARNING - Misplaced type annotation. Type >>annotations are not allowed here. Are you missing parentheses? >> p = (G.StrokeStyle = function(width, caps, joints, miterLimit) { >> ^ >> >> Sep 06, 2016 12:01:05 PM >>com.google.javascript.jscomp.LoggerErrorManager println >> WARNING: [MovieClip]:327: WARNING - Misplaced type annotation. Type >>annotations are not allowed here. Are you missing parentheses? >> try { >> ^ >> >> Sep 06, 2016 12:01:05 PM >>com.google.javascript.jscomp.LoggerErrorManager println >> WARNING: [SpriteSheet]:325: WARNING - Misplaced type annotation. Type >>annotations are not allowed here. Are you missing parentheses? >> try { >> ^ >> >> Sep 06, 2016 12:01:05 PM >>com.google.javascript.jscomp.LoggerErrorManager println >> WARNING: [Ticker]:376: WARNING - Misplaced type annotation. Type >>annotations are not allowed here. Are you missing parentheses? >> try { >> ^ >> >> Sep 06, 2016 12:01:05 PM >>com.google.javascript.jscomp.LoggerErrorManager printSummary >> WARNING: 0 error(s), 11 warning(s) >> Java Result: 255 >> >> postprocess: >> >> compc: >> Copying 1 file to >>/Users/harbs/Documents/ApacheFlex/ApproveFalcon/apache-flex-falconjx-0.7. >>0-src/flex-typedefs/createjs/target >> Loading configuration: >>/Users/harbs/Documents/ApacheFlex/ApproveFalcon/apache-flex-falconjx-0.7. >>0-src/flex-typedefs/createjs/target/compile-as-config.xml >> >> >>/Users/harbs/Documents/ApacheFlex/ApproveFalcon/apache-flex-falconjx-0.7. >>0-src/flex-typedefs/createjs/target/compile-as-config.xml:64 >> Error: unable to open >>'/Users/harbs/Documents/ApacheFlex/ApproveFalcon/apache-flex-falconjx-0.7 >>.0-src/flex-typedefs/createjs/target/generated-sources/externc/classes'. >> >>/Users/harbs/Documents/ApacheFlex/ApproveFalcon/apache-flex-falconjx-0.7. >>0-src/flex-typedefs/createjs/target/compile-as-config.xml (line: 64) >> </source-path> >> >> >> >>/Users/harbs/Documents/ApacheFlex/ApproveFalcon/apache-flex-falconjx-0.7. >>0-src/flex-typedefs/createjs/target/compile-as-config.xml:77 >> Error: 'generated-sources/externc/classes' is not a file. >> >>/Users/harbs/Documents/ApacheFlex/ApproveFalcon/apache-flex-falconjx-0.7. >>0-src/flex-typedefs/createjs/target/compile-as-config.xml (line: 77) >> </include-sources> >> >> >> >> BUILD FAILED >> /Users/harbs/Documents/ApacheFlex/ApproveFalcon/ApproveFalcon.xml:717: >>The following error occurred while executing this line: >> >>/Users/harbs/Documents/ApacheFlex/ApproveFalcon/apache-flex-falconjx-0.7. >>0-src/build.xml:142: The following error occurred while executing this >>line: >> >>/Users/harbs/Documents/ApacheFlex/ApproveFalcon/apache-flex-falconjx-0.7. >>0-src/flex-typedefs/build.xml:55: The following error occurred while >>executing this line: >> >>/Users/harbs/Documents/ApacheFlex/ApproveFalcon/apache-flex-falconjx-0.7. >>0-src/flex-typedefs/createjs/build.xml:558: Java returned: 4 >> On Sep 5, 2016, at 5:39 PM, Alex Harui <aha...@adobe.com> wrote: >> >>> This is the discussion thread. >>> >>> Thanks, >>> Alex Harui >> >