I delete the binary package and ran
 ant -f installer.xml -Dclosure.download.file=compiler-20140303.zip

as you recommended. I entered 'y' to every download prompt. The script was
not successful, it was missing spark.css:

hack-fb-files:

    [mkdir] Created dir:
/Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/locale

    [mkdir] Created dir:
/Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/mx

    [mkdir] Created dir:
/Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/rsls

    [mkdir] Created dir:
/Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/themes/Halo

     [copy] Copying 1 file to
/Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/themes/Halo

    [touch] Creating
/Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/themes/Spark/spark.css


BUILD FAILED

/Users/dloverin/apache-flex-flexjs-0.0.1-bin/installer.xml:665: Could not
create
/Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/themes/Spark/spark.css


I copied Spark/spark.css from the asja/frameworks into the binary package.
I re-ran the command, this time choosing not to download any packages. This
time the script was able to complete:

hack-fb-files:

     [copy] Copying 1 file to
/Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks

    [touch] Creating
/Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/macfonts.ser

    [touch] Creating
/Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/winfonts.ser

    [touch] Creating
/Users/dloverin/apache-flex-flexjs-0.0.1-bin/frameworks/localfonts.ser


setup-launch-configs:

     [echo] Installing Adobe Flash Builder launch configuration files


install:

     [echo] /Users/dloverin/apache-flex-flexjs-0.0.1-bin is now an IDE
compatible folder


BUILD SUCCESSFUL






On Fri, May 23, 2014 at 12:11 AM, Alex Harui <aha...@adobe.com> wrote:

> 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.love...@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 <aha...@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.love...@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
> >>
> >>
>
>

Reply via email to