[FlexJS][XML]first milestone

2016-04-10 Thread Harbs
I reached a milestone today with E4X. I have the first working test which reads 
an XML literal, writes it back out to a string and writes the value of an 
attribute using E4X notation in Javascript!

Over the next couple of weeks I expect to be fixing a lot of issues related to 
XML and the better the test-case coverage we have, the better the quality will 
be.

I’d like to put out a call for snippets of E4X code that people are using in 
the wild so we can incorporate tests for as many use cases as we can get.

If you have code snippets to contribute, please respond!

Thanks,
Harbs

(P.S. There is currently a compiler issue with two of the XML methods, so the 
XML.js file needs a bit of editing before it can be used. Hopefully this issue 
will be fixed soon.)

Re: [FlexJS][XML]first milestone

2016-04-10 Thread Alex Harui
Awesome!

On 4/10/16, 6:02 AM, "Harbs"  wrote:

>I reached a milestone today with E4X. I have the first working test which
>reads an XML literal, writes it back out to a string and writes the value
>of an attribute using E4X notation in Javascript!
>
>Over the next couple of weeks I expect to be fixing a lot of issues
>related to XML and the better the test-case coverage we have, the better
>the quality will be.
>
>I’d like to put out a call for snippets of E4X code that people are using
>in the wild so we can incorporate tests for as many use cases as we can
>get.
>
>If you have code snippets to contribute, please respond!
>
>Thanks,
>Harbs
>
>(P.S. There is currently a compiler issue with two of the XML methods, so
>the XML.js file needs a bit of editing before it can be used. Hopefully
>this issue will be fixed soon.)



Re: [FlexJS][XML]first milestone

2016-04-10 Thread Harbs
Thanks Alex for putting in overtime on the compiler for this!

On Apr 10, 2016, at 5:14 PM, Alex Harui  wrote:

> Awesome!
> 
> On 4/10/16, 6:02 AM, "Harbs"  wrote:
> 
>> I reached a milestone today with E4X. I have the first working test which
>> reads an XML literal, writes it back out to a string and writes the value
>> of an attribute using E4X notation in Javascript!
>> 
>> Over the next couple of weeks I expect to be fixing a lot of issues
>> related to XML and the better the test-case coverage we have, the better
>> the quality will be.
>> 
>> I’d like to put out a call for snippets of E4X code that people are using
>> in the wild so we can incorporate tests for as many use cases as we can
>> get.
>> 
>> If you have code snippets to contribute, please respond!
>> 
>> Thanks,
>> Harbs
>> 
>> (P.S. There is currently a compiler issue with two of the XML methods, so
>> the XML.js file needs a bit of editing before it can be used. Hopefully
>> this issue will be fixed soon.)
> 



Re: [FlexJS][XML]first milestone

2016-04-10 Thread Harbs
I just added a test for indexed insertion of items in an XMLList and it works 
perfectly. I’m surprised it worked on the first shot!

I need to get the syncing of the original XML object working though.

On Apr 10, 2016, at 4:02 PM, Harbs  wrote:

> I reached a milestone today with E4X. I have the first working test which 
> reads an XML literal, writes it back out to a string and writes the value of 
> an attribute using E4X notation in Javascript!
> 
> Over the next couple of weeks I expect to be fixing a lot of issues related 
> to XML and the better the test-case coverage we have, the better the quality 
> will be.
> 
> I’d like to put out a call for snippets of E4X code that people are using in 
> the wild so we can incorporate tests for as many use cases as we can get.
> 
> If you have code snippets to contribute, please respond!
> 
> Thanks,
> Harbs
> 
> (P.S. There is currently a compiler issue with two of the XML methods, so the 
> XML.js file needs a bit of editing before it can be used. Hopefully this 
> issue will be fixed soon.)



AW: AW: [FALCON][FALCONJX] Give the Maven build a try?

2016-04-10 Thread Christofer Dutz
Hi Alex,

I would be glad to do the switch. I just came back from my holidays and think I 
should finish the tweaks to my flex-maven-plugin first.

Currently it produces empty jar files AND real swcs, which I would like to fix 
first. Please give me 2-3 days to fix that.

With those fixes in place it should also be easy to convert the ASJS part too.

Chris



Von meinem Samsung Galaxy Smartphone gesendet.


 Ursprüngliche Nachricht 
Von: Alex Harui 
Datum: 10.04.16 07:03 (GMT+01:00)
An: dev@flex.apache.org
Betreff: Re: AW: [FALCON][FALCONJX] Give the Maven build a try?

Chris,

Now that 0.6.0 is out, is there any reason not to:

1) sync develop into maven-migration
2) run your script one last time
3) focus on getting maven-migration to build with Maven and Ant and
Eclipse?

There's a fair amount of activity in the develop branch, so I expect there
will still be some clean up once we try a final merge from maven-migration
back to develop, but I think it should be ok for those working off of
develop to continue with their current folder structure while we try to
nail down any issues with maven-migration.

Thoughts?
-Alex

On 3/21/16, 11:32 PM, "Christofer Dutz"  wrote:

>Hi Om,
>
>thanks for trying and I'm really happy that it worked for you. I
>explicitly tried it on several clean VMs to make sure it's not relying on
>something I already setup, but no proof-of-concept usually survives first
>contact with the customer ;-)
>
>Did the builds produce the artifacts that it should? Well it's trivial
>for the compiler and compiler.jx, but do all of the target directories of
>the extern modules contain a SWC?
>
>Now I somehow need to make sure the build produces these SDK overlays. I
>want to make Falcon produce archives and ASJS to produce archives when
>extracted into the same directory they should produce a valid SDK. In
>order to do this for Falcon, I would need to know how this structure has
>to look. From having a look at the Ant build that seems to produce just
>plain zips of the project and probably the ASJS will convert that into a
>useable form. So could someone here please describer how the compiler
>part of the SDK formally looks like? As I have to admit, that I NEVER use
>the SDK distribution ;-)
>
>Chris
>
>
>Von: omup...@gmail.com  im Auftrag von OmPrakash
>Muppirala 
>Gesendet: Montag, 21. März 2016 22:15
>An: dev@flex.apache.org
>Betreff: Re: [FALCON][FALCONJX] Give the Maven build a try?
>
>Seems to be working fine for me on Windows.  These are the things I tried:
>
>1. Switch to feature/maven-migration" branch
>2.  Run migrate-to-maven.sh (on cmd shell, with cygwin installed)
>3.  mvn -s settings-template.xml clean install -P minimal
>4.  Add FLASHPLAYER_DEBUGGER environment variable (I dont have any other
>env variable set like FLEX_HOME, etc.)
>5.  Run mvn -s settings-template.xml clean install
>
>Build Success!
>
>[INFO] Reactor Summary:
>[INFO]
>[INFO] Apache Flex - FlexJS Compiler: Parent .. SUCCESS [
> 5.937 s]
>[INFO] Apache Flex - FlexJS Compiler .. SUCCESS [03:37
>min]
>[INFO] Apache Flex - FlexJS Compiler: FalconJx Cross Compiler SUCCESS
>[01:00 min
>]
>[INFO] Apache Flex - FlexJS Compiler: OEM Layer ... SUCCESS [
> 3.782 s]
>[INFO] Apache Flex - FlexJS Compiler: Externs . SUCCESS [
> 0.076 s]
>[INFO] Apache Flex - FlexJS Compiler: Externs: JS . SUCCESS [
>17.025 s]
>[INFO] Apache Flex - FlexJS Compiler: Externs: Cordova  SUCCESS [
> 0.519 s]
>[INFO] Apache Flex - FlexJS Compiler: Externs: CreateJS ... SUCCESS [
>10.646 s]
>[INFO] Apache Flex - FlexJS Compiler: Externs: GCL  SUCCESS [
> 0.668 s]
>[INFO] Apache Flex - FlexJS Compiler: Externs: GoogleMaps . SUCCESS [
> 3.172 s]
>[INFO] Apache Flex - FlexJS Compiler: Externs: Jasmine  SUCCESS [
> 1.485 s]
>[INFO] Apache Flex - FlexJS Compiler: Externs: JQuery . SUCCESS [
> 2.202 s]
>[INFO] Apache Flex - FlexJS Compiler: Externs: Node ... SUCCESS [
> 0.298 s]
>
>Great work!
>
>Thanks,
>Om
>
>On Mon, Mar 21, 2016 at 8:11 AM, Christofer Dutz
>
>wrote:
>
>> Hi,
>>
>>
>> I just released a new version of the jburg-maven-plugin (Noticed a big
>> problem on Windows machines and fixed that yesterday).
>>
>>
>> Also I added a settings-template.xml to the project which takes care of
>> setting up Maven to download Apache SNAPSHOT artifacts.
>>
>>
>> I did comment out a hand full of tests, which do strange stuff and will
>> try to refactor them so they are a better fit.
>>
>>
>> If you want to give it a try, just checkout falcon and switch to the
>> "feature/maven-migration" branch. This contains a migrate-to-maven.sh
>> script which runs fine on Windows, if you use GitBash to execute it.
>>This
>> script creates the maven directories and moves stuff around to be a
>>perfect
>> maven fit.
>>
>>
>> You have to have a Maven installation of version 3.3.1 or above, as only
>> these versions are able to use the project

Re: [FlexJS][XML]first milestone

2016-04-10 Thread Harbs
It did not work as well as I originally thought, but it’s working now. 
Modifying XMLList should now effect the original XML as well.

There’s one caveat:

It seems like according to the spec, the original object of an XMLList can be 
another XMLList which recursively works its way back to an XML object. I cannot 
think of a use case for this, and I took they easy way out for now assuming 
that the source object is always an XML object rather than an XMLList object. I 
someone knows of use cases for the speced behavior, please let me know.

I also merged the e4x branch onto develop and I’ll be working off develop from 
now on. Running ant on FlexJS will build XML (minus the SWC) along with the 
rest of the projects.

On Apr 10, 2016, at 7:46 PM, Harbs  wrote:

> I just added a test for indexed insertion of items in an XMLList and it works 
> perfectly. I’m surprised it worked on the first shot!
> 
> I need to get the syncing of the original XML object working though.
> 
> On Apr 10, 2016, at 4:02 PM, Harbs  wrote:
> 
>> I reached a milestone today with E4X. I have the first working test which 
>> reads an XML literal, writes it back out to a string and writes the value of 
>> an attribute using E4X notation in Javascript!
>> 
>> Over the next couple of weeks I expect to be fixing a lot of issues related 
>> to XML and the better the test-case coverage we have, the better the quality 
>> will be.
>> 
>> I’d like to put out a call for snippets of E4X code that people are using in 
>> the wild so we can incorporate tests for as many use cases as we can get.
>> 
>> If you have code snippets to contribute, please respond!
>> 
>> Thanks,
>> Harbs
>> 
>> (P.S. There is currently a compiler issue with two of the XML methods, so 
>> the XML.js file needs a bit of editing before it can be used. Hopefully this 
>> issue will be fixed soon.)
> 



Re: AW: [FlexJS] Error during FlexJS example compilations

2016-04-10 Thread piotrz
Hi Alex,

Yes that was it. I had some space in line

env.PLAYERGLOBAL_VERSION=21.0. However my compilation still failing [1], but
I may have some problem with my PC. Not sure cause it stuck I think on
launching unit test application.

[1] https://paste.apache.org/AmSV

Piotr 



-
Apache Flex PMC
piotrzarzyck...@gmail.com
--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-Error-during-FlexJS-example-compilations-tp51876p52264.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [DRAFT] Apache FlexJS 0.6.0 and Apache Flex FalconJX 0.6.0 Released

2016-04-10 Thread piotrz
Is it already officially announced ? I wanted to spread the word on some
polish forums, but not sure whether I can do this. :)

Piotr



-
Apache Flex PMC
piotrzarzyck...@gmail.com
--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/DRAFT-Apache-FlexJS-0-6-0-and-Apache-Flex-FalconJX-0-6-0-Released-tp52206p52265.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


[ANNOUNCE] Apache FlexJS 0.6.0 and Apache Flex FalconJX 0.6.0 Released

2016-04-10 Thread Alex Harui

The Apache Flex community is pleased to announce the release of Apache
FlexJS SDK 0.6.0 and Apache Flex FalconJX Compiler 0.6.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 fourth release of FlexJS and FalconJX.  It is ‘beta'
quality.  In this release, all JS used to implement framework
functionality is actually written in AS and cross-compiled, which helps
show that there is developer productivity improvements using higher-level
languages.  In addition, the there is a new Storage.swc for working with
the persistent storage and a Reflection.swc for basic reflection
functionality.

In addition, there is a new tool called asnodec (in js/bin).  It causes
the compiler to output an index.js that can be run with Node.js.

Also, Apache FlexJS 0.6.0 is now available as a npm package. On a system
With npm installed, users can easily install FlexJS with the command:
  npm install flexjs -g
Or you can use the Installer as described below.

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
us...@flex.apache.org.  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 dev@flex.apache.org.  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.6.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.

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





Re: [DRAFT] Apache FlexJS 0.6.0 and Apache Flex FalconJX 0.6.0 Released

2016-04-10 Thread Alex Harui
Thanks for the reminder.  I just sent it out.

On 4/10/16, 9:45 PM, "piotrz"  wrote:

>Is it already officially announced ? I wanted to spread the word on some
>polish forums, but not sure whether I can do this. :)
>
>Piotr
>
>
>
>-
>Apache Flex PMC
>piotrzarzyck...@gmail.com
>--
>View this message in context:
>http://apache-flex-development.247.n4.nabble.com/DRAFT-Apache-FlexJS-0
>-6-0-and-Apache-Flex-FalconJX-0-6-0-Released-tp52206p52265.html
>Sent from the Apache Flex Development mailing list archive at Nabble.com.



Re: [DRAFT] Apache FlexJS 0.6.0 and Apache Flex FalconJX 0.6.0 Released

2016-04-10 Thread OmPrakash Muppirala
Awesome.  Congrats on the release!

I will wait till Nick updates the blog and website before tweeting from the
official Apache Flex Twitter account.

Thanks,
Om

On Sun, Apr 10, 2016 at 10:36 PM, Alex Harui  wrote:

> Thanks for the reminder.  I just sent it out.
>
> On 4/10/16, 9:45 PM, "piotrz"  wrote:
>
> >Is it already officially announced ? I wanted to spread the word on some
> >polish forums, but not sure whether I can do this. :)
> >
> >Piotr
> >
> >
> >
> >-
> >Apache Flex PMC
> >piotrzarzyck...@gmail.com
> >--
> >View this message in context:
> >
> http://apache-flex-development.247.n4.nabble.com/DRAFT-Apache-FlexJS-0
> >-6-0-and-Apache-Flex-FalconJX-0-6-0-Released-tp52206p52265.html
> >Sent from the Apache Flex Development mailing list archive at Nabble.com.
>
>


Re: AW: [FlexJS] Error during FlexJS example compilations

2016-04-10 Thread Alex Harui


On 4/10/16, 9:41 PM, "piotrz"  wrote:

>Hi Alex,
>
>Yes that was it. I had some space in line
>
>env.PLAYERGLOBAL_VERSION=21.0. However my compilation still failing [1],
>but
>I may have some problem with my PC. Not sure cause it stuck I think on
>launching unit test application.

Makes sure there really is an executable here:
FLASHPLAYER_DEBUGGER = d:\flex_sdk\player\flashplayer.exe


If you click on a SWF in the file system, does it launch that exe?

-Alex