There might still be a few WARNING: in the output, but I do not see these
in my build.  It indicates that the patch was not applied properly.  I
wonder if it could be a spaces-in-path issue or locale issue.  From the
flex-typedefs folder, try running:
 
  git apply --ignore-whitespace --whitespace=nowarn
createjs/src/main/patch/easeljs.patch

If applied correctly, the file:

  createjs/target/downloads/EaselJS-0.8.0/src/easeljs/display/Bitmap.js



should be reduced down to just:

  createjs.Bitmap = function (imageOrUri) {}

There won't be a line 77 to report an error on.  Maybe there will be some
output from Git that will clue us in.

Thanks,
-Alex

On 9/7/16, 6:04 AM, "Christofer Dutz" <christofer.d...@c-ware.de> wrote:

>Hi Harbs,
>
>
>those errors are normal. I am getting them in every normal build ... they
>are just "Warnings" [:(]
>
>
>Must be something else.
>
>
>Chris
>
>________________________________
>Von: Harbs <harbs.li...@gmail.com>
>Gesendet: Mittwoch, 7. September 2016 12:36:28
>An: dev@flex.apache.org
>Betreff: Re: [DISCUSS] Discuss Release Apache Flex FalconJX 0.7.0 RC1
>
>The createjs typedef build is failing, and I’m clueless as to why.
>
>Here’s some output:
>
>     [java] 1.798858 seconds
>     [java] Sep 07, 2016 1:02:20 PM
>com.google.javascript.jscomp.LoggerErrorManager println
>     [java] WARNING: [Bitmap]:77: WARNING - Misplaced type annotation.
>Type annotations are not allowed here. Are you missing parentheses?
>     [java]              if (typeof imageOrUri == "string") {
>     [java]              ^
>     [java]
>     [java] Sep 07, 2016 1:02:20 PM
>com.google.javascript.jscomp.LoggerErrorManager println
>     [java] WARNING: [ButtonHelper]:208: WARNING - Misplaced type
>annotation. Type annotations are not allowed here. Are you missing
>parentheses?
>     [java]      try {
>     [java]      ^
>     [java]
>     [java] Sep 07, 2016 1:02:20 PM
>com.google.javascript.jscomp.LoggerErrorManager println
>     [java] WARNING: [Container]:113: WARNING - Misplaced type
>annotation. Type annotations are not allowed here. Are you missing
>parentheses?
>     [java]      try {
>     [java]      ^
>     [java]
>     [java] Sep 07, 2016 1:02:20 PM
>com.google.javascript.jscomp.LoggerErrorManager println
>     [java] WARNING: [DisplayObject]:678: WARNING - Misplaced type
>annotation. Type annotations are not allowed here. Are you missing
>parentheses?
>     [java]      try {
>     [java]      ^
>     [java]
>     [java] Sep 07, 2016 1:02:20 PM
>com.google.javascript.jscomp.LoggerErrorManager println
>     [java] WARNING: [Graphics]:391: WARNING - Misplaced type annotation.
>Type annotations are not allowed here. Are you missing parentheses?
>     [java]      try {
>     [java]      ^
>     [java]
>     [java] Sep 07, 2016 1:02:20 PM
>com.google.javascript.jscomp.LoggerErrorManager println
>     [java] WARNING: [Graphics]:1822: WARNING - Misplaced type
>annotation. Type annotations are not allowed here. Are you missing
>parentheses?
>     [java]      p = (G.Fill = function(style, matrix) {
>     [java]      ^
>     [java]
>     [java] Sep 07, 2016 1:02:20 PM
>com.google.javascript.jscomp.LoggerErrorManager println
>     [java] WARNING: [Graphics]:1900: WARNING - Misplaced type
>annotation. Type annotations are not allowed here. Are you missing
>parentheses?
>     [java]      p = (G.Stroke = function(style, ignoreScale) {
>     [java]      ^
>     [java]
>     [java] Sep 07, 2016 1:02:20 PM
>com.google.javascript.jscomp.LoggerErrorManager println
>     [java] WARNING: [Graphics]:1974: WARNING - Misplaced type
>annotation. Type annotations are not allowed here. Are you missing
>parentheses?
>     [java]      p = (G.StrokeStyle = function(width, caps, joints,
>miterLimit) {
>     [java]      ^
>     [java]
>     [java] Sep 07, 2016 1:02:20 PM
>com.google.javascript.jscomp.LoggerErrorManager println
>     [java] WARNING: [MovieClip]:327: WARNING - Misplaced type
>annotation. Type annotations are not allowed here. Are you missing
>parentheses?
>     [java]      try {
>     [java]      ^
>     [java]
>     [java] Sep 07, 2016 1:02:20 PM
>com.google.javascript.jscomp.LoggerErrorManager println
>     [java] WARNING: [SpriteSheet]:325: WARNING - Misplaced type
>annotation. Type annotations are not allowed here. Are you missing
>parentheses?
>     [java]      try {
>     [java]      ^
>     [java]
>     [java] Sep 07, 2016 1:02:20 PM
>com.google.javascript.jscomp.LoggerErrorManager println
>     [java] WARNING: [Ticker]:376: WARNING - Misplaced type annotation.
>Type annotations are not allowed here. Are you missing parentheses?
>     [java]      try {
>     [java]      ^
>     [java]
>     [java] Sep 07, 2016 1:02:20 PM
>com.google.javascript.jscomp.LoggerErrorManager printSummary
>     [java] WARNING: 0 error(s), 11 warning(s)
>     [java] Java Result: 255
>
>On Sep 7, 2016, at 1:22 PM, Christofer Dutz <christofer.d...@c-ware.de>
>wrote:
>
>> I was struggling to run the scripts as I have never done that before :-|
>>
>>
>> But in the end I managed ... for the FlashPlayerDebugger I didn't
>>escape the Path and wrapped it in double quotes. Eventually that helps.
>>But you didn't write what your problem was, so I'm just guessing.
>>
>>
>> Chris
>>
>> ________________________________
>> Von: Harbs <harbs.li...@gmail.com>
>> Gesendet: Mittwoch, 7. September 2016 12:03:30
>> An: dev@flex.apache.org
>> Betreff: Re: [DISCUSS] Discuss Release Apache Flex FalconJX 0.7.0 RC1
>>
>> I’m not having success with the Falcon approval script, but it did work
>>using the FlexJS approval script. FWIW, here are the variables that I’m
>>setting for the approval scripts:
>>
>> export 
>>AIR_HOME=/Users/harbs/Documents/ApacheFlex/frameworks/AIRSDK_Compiler
>> export 
>>PLAYERGLOBAL_HOME=/Users/harbs/Documents/ApacheFlex/frameworks/libs/playe
>>r
>> export 
>>FLASHPLAYER_DEBUGGER=/Users/harbs/Documents/ApacheFlex/frameworks/Flash\
>>Player\ Debugger.app/Contents/MacOS/Flash\ Player\ Debugger
>>
>> Am I correct in assuming that it’s building the same artifacts? In that
>>case, I can vote that it’s building. I already manually checked the
>>files.
>>
>> On Sep 6, 2016, at 5:58 PM, Alex Harui <aha...@adobe.com> wrote:
>>
>>> 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.
>>
>

Reply via email to