On Wed, May 1, 2013 at 4:47 PM, Alex Harui <aha...@adobe.com> wrote:

> The .bat file is out of date.  Peter and I are on Macs.  Erik too, I think.
> I think you'll be able to fix it if you compare it to the Mac script and
> make the appropriate changes.
>

Do you mean the "mxmlc" file when you say "Mac script"?

I tried the mxmlc script in Cygwin and I am getting this error now:

====================================================================
Command:
omuppira@omuppira/c/p/flex_os/workspace/flexroot/git/flex-falcon/compiler.jx
$ mxmlc -js-output-type=FLEXJS
-closure-lib="C:\p\flex_os\workspace\googleclosu
re"
-sdk-js-lib="C:\p\flex_os\workspace\flexroot\git\flex-asjs\frameworks\js\Fl
exJS\src"
-library-path+="C:\p\flex_os\workspace\flexroot\git\flex-asjs\framewo
rks\as\libs"
"C:\p\flex_os\workspace\flexroot\git\flex-asjs\examples\FlexJSTest
_SVG\src\FlexJSTest_again.mxml"

Result:
Apache Flex Compiler (mxmlc)
Version 4.10.0 build 0
Copyright 2012 The Apache Software Foundation.

command line: Error: unknown configuration variable 'js-output-type'

Use 'mxmlc -help' for information about using the command line.
====================================================================

Perhaps the wiki page is out of date as well?

Thanks,
Om



>
>
> On 5/1/13 4:39 PM, "OmPrakash Muppirala" <bigosma...@gmail.com> wrote:
>
> > I am trying to test my SVG based controls using compiler.jx and FlexJS.
> >  Here is the error I am seeing:
> >
> > Command:
> >
> > C:\p\flex_os\workspace\flexroot\git\flex-falcon\compiler.jx\bin>mxmlc
> > -js-output
> > -type=FLEXJS -closure-lib="C:\p\flex_os\workspace\googleclosure"
> > -sdk-js-lib="C:
> > \p\flex_os\workspace\flexroot\git\flex-asjs\frameworks\js\FlexJS\src"
> > -library-p
> > ath+="C:\p\flex_os\workspace\flexroot\git\flex-asjs\frameworks\as\libs"
> > "C:\p\fl
> >
> ex_os\workspace\flexroot\git\flex-asjs\examples\FlexJSTest_SVG\src\FlexJSTest_
> > ag
> > ain.mxml"
> >
> > Result:
> >
> > Using Falcon codebase:
> > C:\p\flex_os\workspace\flexroot\git\flex-falcon\compiler.
> > jx\bin\..
> > Using Flex SDK: C:\p\flex_os\workspace\flexroot\sdk\branches\develop
> > command line
> > unknown configuration variable 'closure-lib'.
> >
> > I am following the steps listed here:
> >
> > https://cwiki.apache.org/confluence/display/FLEX/FlexJS+Status under the
> > MXML -> JS section.
> >
> > What am I doing wrong?
> >
> > Thanks,
> > Om
>
> --
> Alex Harui
> Flex SDK Team
> Adobe Systems, Inc.
> http://blogs.adobe.com/aharui
>
>

Reply via email to