flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com>
Subject Re: Compiling examples in asja
Date Fri, 23 May 2014 04:11:58 GMT
Start over, delete the folder and uncompress the binary package into a new
folder.

Then run:
	 ant -f installer.xml -Dclosure.download.file=compiler-20140303.zip

-Alex

On 5/22/14 9:00 PM, "Darrell Loverin" <darrell.loverin@gmail.com> wrote:

>I removed the lib/google folder and the in/compiler-latest.zip from the
>falcon repo. I ran "ant -Dclosure.download.filename=compiler-20140303.zip
>clean main" from falcon and again from the asja repos.
>
>The lib/google folder was not refilled with a download as I expected.
>Neither was the 'in' folder.
>
>I've also tried using the flexJS download without success.
>
>I get the following error when I run 'ant -f installer.xml':
>
>swfobject-check:
>
>
>swfobject-download:
>
>   [delete] Deleting:
>/Users/dloverin/apache-flex-flexjs-0.0.1-bin/swfobject.properties
>
>     [echo] Downloading swfobject_2_2.zip from:
>http://swfobject.googlecode.com/files
>
>      [get] Getting:
>http://swfobject.googlecode.com/files/swfobject_2_2.zip
>
>      [get] To:
>/Users/dloverin/apache-flex-flexjs-0.0.1-bin/in/swfobject_2_2.zip
>
>     [echo] Download complete
>
>    [unzip] Expanding:
>/Users/dloverin/apache-flex-flexjs-0.0.1-bin/in/swfobject_2_2.zip into
>/Users/dloverin/apache-flex-flexjs-0.0.1-bin/templates
>
>
>get-third-party-files:
>
>
>fixup-config-files:
>
>     [echo] Installing frameworks configuration files configured for use
>with an IDE
>
>
>hack-fb-files:
>
>
>BUILD FAILED
>/Users/dloverin/apache-flex-flexjs-0.0.1-bin/installer.xml:664: Warning:
>Could not find file
>/Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/as/libs/MXMLCClass
>es.swc
>to copy.
>
>
>
>On Tue, May 20, 2014 at 11:53 PM, Alex Harui <aharui@adobe.com> wrote:
>
>> It looks like the latest Closure Compiler reports this as an error in
>> Google Closure Library.
>>
>> Try using an older version of the Google Closure Compiler.  If you are
>> working from the repos, remove the lib/google folder and the
>> compiler-latest.zip from the "in" folder and run the build with
>>
>> -Dclosure.download.filename=compiler-20140303.zip
>>
>>
>> -Alex
>>
>> On 5/20/14 7:47 PM, "Darrell Loverin" <darrell.loverin@gmail.com> wrote:
>>
>> >I'm getting errors when compiling the examples in asja.
>> >
>> >First I ran 'ant' in the main directory and it built without any
>> >noticeable
>> >errors:
>> >
>> >
>> >compile:
>> >
>> >     [echo] running gjslint
>> >
>> >     [exec] 149 files checked, no errors found.
>> >
>> >     [echo] running jshint
>> >
>> >Next I ran 'ant examples' to build the examples. A common error in the
>> >examples is:
>> >
>> 
>>>ApacheFlex/asja/examples/CordovaCameraExample/bin/js-debug/library/closu
>>>re
>> >/goog/base.js:1503:
>> >ERROR - "arguments.callee" cannot be used in ES5 strict mode
>> >
>> >     [java]   var caller = arguments.callee.caller;
>> >
>> >
>> >
>> >Any idea what I might be going wrong?
>> >
>> >
>> >Thanks,
>> >
>> >
>> >-Darrell
>>
>>


Mime
View raw message