Om, can you give my latest changes a try? I tweaked the NPM scripts to
actually run inside Node, which should clear up the cross-platform issues,
like requiring Cygwin on Windows. Additionally, I made the NPM scripts
launch the real scripts, so any changes should be picked up automatically
from now on.

I tested on Mac, Windows in PowerShell, and Windows in cmd.exe.

- Josh

On Sun, Sep 11, 2016 at 6:56 PM, Josh Tynjala <[email protected]> wrote:

> I hope to find a way to reuse the existing scripts in the next version. I
> think that tweak I made recently to the NPM versions will help. When I
> expose asnodec, I'll play around with some ideas.
>
> - Josh
>
> On Sep 10, 2016 10:05 PM, "OmPrakash Muppirala" <[email protected]>
> wrote:
>
>> On Sep 10, 2016 9:39 AM, "Josh Tynjala" <[email protected]> wrote:
>> >
>> > Wait! There's one more thing with the NPM versions that need to be
>> changed.
>> > The last lines of asjscnpm, asjscompcnpm, and mxmlcnpm need to be
>> updated
>> > to match the changes in the regular versions.
>> >
>> > For instance, in asjsc:
>> >
>> > -external-library-path="$SCRIPT_HOME/../libs/js.swc"
>> >
>> > is replaced by
>> >
>> > +configname=js
>> >
>> > Exactly the same in asjscompc. It appears that mxmlc may have a slightly
>> > different change.
>>
>> Gah! We need to figure a way to simply reuse the existing scripts instead
>> if having to copy everything each time.
>>
>> Are you planning on fixing this?
>>
>> Thanks,
>> Om
>>
>> >
>> > - Josh
>> >
>> > On Sat, Sep 10, 2016 at 9:25 AM, Josh Tynjala <[email protected]>
>> wrote:
>> >
>> > > After installing flexjs@next from NPM, I can now successfully run
>> asjsc,
>> > > asjscompc, and mxmlc from the command line on Mac. The end-of-line fix
>> > > appears to be working correctly.
>> > >
>> > > - Josh
>> > >
>> > > On Fri, Sep 9, 2016 at 7:08 PM, OmPrakash Muppirala <
>> [email protected]>
>> > > wrote:
>> > >
>> > >> I just pushed flexjs 0.7.0 with a tag 'next'.  If someone can test it
>> on a
>> > >> Mac and give me an all clear, I can go ahead and promote the package
>> to a
>> > >> release.
>> > >>
>> > >> Run:
>> > >> *npm install flexjs@next -g *
>> > >> to test flexjs 0.7.0 npm package.
>> > >>
>> > >> Thanks,
>> > >> Om
>> > >>
>> > >> On Fri, Sep 9, 2016 at 2:31 PM, OmPrakash Muppirala <
>> [email protected]
>> > >> >
>> > >> wrote:
>> > >>
>> > >> >
>> > >> >
>> > >> > On Fri, Sep 9, 2016 at 1:53 PM, Alex Harui <[email protected]>
>> wrote:
>> > >> >
>> > >> >> Please comment on the draft below.  We need Om or someone to
>> publish
>> > >> the
>> > >> >> npm module.
>> > >> >>
>> > >> >
>> > >> > On it.
>> > >> >
>> > >> > Thanks,
>> > >> > Om
>> > >> >
>> > >> >
>> > >> >>
>> > >> >> -----------
>> > >> >>
>> > >> >> The Apache Flex community is pleased to announce the release of
>> Apache
>> > >> >> FlexJS SDK 0.7.0 and Apache Flex FalconJX Compiler 0.7.0.
>> > >> >>
>> > >> >> Apache Flex is a highly productive, open source application
>> framework
>> > >> for
>> > >> >> building and maintaining expressive applications that deploy
>> > >> consistently
>> > >> >> on all major browsers, desktops and devices (including
>> smartphones,
>> > >> >> tablets and tv).
>> > >> >>
>> > >> >> Apache FlexJS is a next-generation Flex SDK that enables
>> developers
>> to
>> > >> use
>> > >> >> MXML and ActionScript to not only create SWFs but also
>> cross-compile
>> > >> the
>> > >> >> same MXML and ActionScript to HTML/JS/CSS so applications can run
>> > >> natively
>> > >> >> in browsers.  The cross-compiled code can also be used in Apache
>> > >> Cordova
>> > >> >> (Adobe PhoneGap) mobile applications.
>> > >> >>
>> > >> >> Apache Flex FalconJX is a next-generation MXML and ActionScript
>> > >> >> cross-compiler.  It extends the next-generation SWF compiler known
>> as
>> > >> >> Falcon.  Both are contained in the release package and are used by
>> the
>> > >> >> FlexJS package to compile SWFs or cross-compile to HTML/JS/CSS.
>> > >> >>
>> > >> >> This is the fifth release of FlexJS and FalconJX.  It is ‘beta'
>> > >> >> quality.  In this release, all of the compiler JARs and framework
>> SWCs
>> > >> are
>> > >> >> also available as Maven artifacts making it the first version of
>> any
>> > >> Flex
>> > >> >> SDK to support Maven.  Maven can even be used to build the sources
>> and
>> > >> >> examples.  See the various pom.xml files included in the
>> artifacts.
>> > >> >>
>> > >> >> In addition, the JS output also includes source maps so you can
>> see
>> > >> your
>> > >> >> ActionScript source in the browser debugger.  Also, there is more
>> > >> support
>> > >> >> for using ActionScript to create NodeJS modules, and you can now
>> use a
>> > >> >> subset of E4X in your cross-compiled applications.  See the
>> > >> RELEASE_NOTES
>> > >> >> files in the artifacts for more information.
>> > >> >>
>> > >> >> The purpose of this release is to gather feedback about the
>> > >> >> features and implementation strategies, and recruit new
>> contributors
>> > >> as we
>> > >> >> grow these code bases into an SDK and tool chain that delivers the
>> > >> highest
>> > >> >> productivity developing applications that can run in the most
>> places.
>> > >> >> These releases may not handle production needs.  Expect lots of
>> bugs
>> > >> and
>> > >> >> missing features.  Please file bugs at:
>> > >> >>
>> > >> >> https://issues.apache.org/jira/browse/FLEX/
>> > >> >>
>> > >> >> For questions about how to use FlexJS and FalconJX, send email to
>> > >> >> [email protected].  Please try to prefix the subject with
>> > >> [FlexJS] or
>> > >> >> [FalconJX] so it is clear the questions refer to this release and
>> not
>> > >> the
>> > >> >> Flex SDK and MXMLC compiler.
>> > >> >>
>> > >> >> For questions and feedback on the development of the source code
>> in
>> > >> these
>> > >> >> release, send email to [email protected].  Again, please prefix
>> the
>> > >> >> subject with [FlexJS] or [FalconJX].
>> > >> >>
>> > >> >> Apache FlexJS and Apache Flex FalconJX are available in source and
>> > >> binary
>> > >> >> form from the following download page:
>> > >> >> http://flex.apache.org/download-flexjs.html
>> > >> >>
>> > >> >> When downloading from a mirror site, please remember to verify the
>> > >> >> downloads using signatures or MD5 hashes.
>> > >> >>
>> > >> >> A simple way to try these releases is to use the
>> > >> >> InstallApacheFlex 3.1 or 3.2 application which is available at the
>> > >> >> following url:
>> > >> >> http://flex.apache.org/installer.html
>> > >> >>
>> > >> >> Choose Apache FlexJS 0.7.0 and it will create an Adobe Flash
>> > >> >> Builder-compatible SDK that uses the Falcon and FalconJX compilers
>> to
>> > >> >> generate SWFs and HTML/JS/CSS output.  You can also use FDT as
>> your
>> IDE
>> > >> >> for developing FlexJS applications.  Some folks have been
>> successful
>> > >> >> using IntelliJ, FlashDevelop as well.  Moonshine is also working
>> on
>> > >> >> FlexJS support.
>> > >> >>
>> > >> >> Apache FlexJS 0.7.0 is also available as a npm package. On a
>> system
>> > >> with
>> > >> >> npm installed, users can easily install FlexJS with the command:
>> "npm
>> > >> >> install flexjs -g".
>> > >> >>
>> > >> >> See the README or the FlexJS wiki for more information.  The
>> FlexJS
>> > >> >> section of the wiki is at the following
>> > >> >>
>> > >> >> url:
>> > >> >> https://cwiki.apache.org/confluence/display/FLEX/FlexJS
>> > >> >>
>> > >> >> For more information on Apache Flex, visit the project home page:
>> > >> >> http://flex.apache.org
>> > >> >>
>> > >> >> Please try FlexJS and become involved in shaping the future of
>> Flex.
>> > >> >>
>> > >> >> The Apache Flex Community
>> > >> >>
>> > >> >>
>> > >> >>
>> > >> >>
>> > >> >
>> > >>
>> > >
>> > >
>>
>

Reply via email to