Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-08-28 Thread lizhi




-
spriteflexjs.com 
--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/Kotlinjs-has-solved-the-circular-dependency-problem-Flexjs-do-you-have-any-plans-tp63965p64009.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [DISCUSS} Fork FlexJS from Apache Flex

2017-08-28 Thread Harbs
Very well  said.

Let’s do this! :-)

Harbs

> On Aug 29, 2017, at 7:37 AM, Alex Harui  wrote:
> 
> Hi Folks,
> 
> I (and many others on the PMC) believe there are sufficient reasons to ask
> the Apache Board of Directors to create a new Apache Top-Level Project
> called Apache FlexJS separate from Apache Flex.  The Apache Board has
> approved splitting other projects in the past and the proposal below is
> based on a past proposal to split another Apache project.
> 
> The main reason is that there seems to be a set of folks who are only
> working on Apache Flex and another set who are only working on FlexJS.
> Only a few have made commits to both products in the past year and the
> contribution to one product or the other was minimal.  Second, forking
> should save time for folks only interested in Flex or FlexJS as you don't
> have to filter out emails, web site and wiki information and bugs reports
> that apply to the product you are not interested in.  Third, forking would
> give a cleaner opportunity to try out Apache's GitBox implementation that
> allows us to leverage more GitHub functionality and make GitHub more
> primary in our development pipeline.  Fourth, many folks on the PMC have
> not been active in a long time, and a new project with a smaller PMC and
> committers list might make it more clear who is involved with FlexJS.
> 
> - proposal ---
> 
> Apache FlexJS for Apache Top-Level Project
> 
> Abstract
> 
> Apache FlexJS is a new implementation of the principles of Apache Flex but
> designed for JavaScript runtimes instead of Adobe Flash/AIR runtimes.
> Apache FlexJS was created and released as part of the Apache Flex project
> and the UI framework is a full rewrite and does not leverage the code
> bases donated by Adobe.  Only the FlexJS compiler source was donated by
> Adobe.
> 
> Over time, the set of Apache Flex committers who are working on Apache
> Flex releases have become distinct from those working on FlexJS.  Add to
> that the Adobe announcement of the end-of-life for Flash in the browser,
> it makes sense to separate FlexJS from Flex so that followers of one side
> or the other don't have to filter out emails, bugs, web pages, etc, that
> they don't need.
> 
> The proposal is to form an Apache FlexJS top-level project instead of
> creating a new Incubator Podling.   That is because all of the folks being
> proposed to the new Apache FlexJS PMC below have been on the Apache Flex
> PMC for months, if not years, and understand how to participate
> productively in an Apache project.  Plus, Apache FlexJS has already been
> released by the top-level Apache Flex project.
> 
> Overview of FlexJS
> 
> Apache FlexJS is designed to improve developer productivity in creating
> applications for wherever Javascript runs, including browsers as well as
> Apache Cordova applications, Node, etc.  FlexJS already has an ecosystem
> of folks creating IDEs for FlexJS, and some folks are at various points in
> the process of migrating existing Flex applications to FlexJS.
> 
> Current Status
> 
> Meritocracy
> 
> Within Apache Flex, the FlexJS development has been conducted as a
> meritocracy.  No existing FlexJS developers came with the compiler code
> base donated by Adobe nor were they on the initial committers list for
> Apache Flex other than Alex Harui.  Everyone else has earned their way in
> by contributing and earning merit.
> 
> Community
> 
> Many FlexJS users are trying to migrate an existing Apache Flex app off of
> Adobe Flash.  As their migration progresses they will become less and less
> interested in Apache Flex releases and activity.  However, the Apache Flex
> JIRA project contains some  30,000 Flex issues migrated from Adobe's bug
> base, and the team page for Flex makes it hard to determine which
> committers are active on FlexJS, and it is frequently hard to determine if
> a user's question is about regular Flex or FlexJS.   We are seeing an
> increase in user interest with the Flash end-of-life announcement and
> having separate mailing lists, web pages, and JIRA projects will help save
> everyone time and energy.
> 
> Alignment
> 
> Apache FlexJS is already being released by Apache.
> 
> Known Risks
> 
> Code Extraction
> 
> The flex-asjs, flex-tours, flex-typedefs, and flex-falcon Git repos would
> be migrated to GitBox.  Other Apache Flex repos would be treated as
> external dependencies.  This includes flex-utilities and the Apache Flex
> Installer.
> 
> Orphaned Projects
> 
> Most FlexJS PMC members are planning to remain on the Apache Flex PMC to
> help out just-in-case, but are already mostly inactive on the Flex code
> bases. However, there are at least 3 Apache Flex PMC members who have not
> contributed at all to FlexJS and participate in regular Flex releases, so
> the expectation is that Apache Flex will remain a viable project for some
> time to come.
> 
> Inexperience with Open Source
> 
> All of the initial team has been 

[DISCUSS} Fork FlexJS from Apache Flex

2017-08-28 Thread Alex Harui
Hi Folks,

I (and many others on the PMC) believe there are sufficient reasons to ask
the Apache Board of Directors to create a new Apache Top-Level Project
called Apache FlexJS separate from Apache Flex.  The Apache Board has
approved splitting other projects in the past and the proposal below is
based on a past proposal to split another Apache project.

The main reason is that there seems to be a set of folks who are only
working on Apache Flex and another set who are only working on FlexJS.
Only a few have made commits to both products in the past year and the
contribution to one product or the other was minimal.  Second, forking
should save time for folks only interested in Flex or FlexJS as you don't
have to filter out emails, web site and wiki information and bugs reports
that apply to the product you are not interested in.  Third, forking would
give a cleaner opportunity to try out Apache's GitBox implementation that
allows us to leverage more GitHub functionality and make GitHub more
primary in our development pipeline.  Fourth, many folks on the PMC have
not been active in a long time, and a new project with a smaller PMC and
committers list might make it more clear who is involved with FlexJS.

- proposal ---

Apache FlexJS for Apache Top-Level Project

Abstract

Apache FlexJS is a new implementation of the principles of Apache Flex but
designed for JavaScript runtimes instead of Adobe Flash/AIR runtimes.
Apache FlexJS was created and released as part of the Apache Flex project
and the UI framework is a full rewrite and does not leverage the code
bases donated by Adobe.  Only the FlexJS compiler source was donated by
Adobe.

Over time, the set of Apache Flex committers who are working on Apache
Flex releases have become distinct from those working on FlexJS.  Add to
that the Adobe announcement of the end-of-life for Flash in the browser,
it makes sense to separate FlexJS from Flex so that followers of one side
or the other don't have to filter out emails, bugs, web pages, etc, that
they don't need.

The proposal is to form an Apache FlexJS top-level project instead of
creating a new Incubator Podling.   That is because all of the folks being
proposed to the new Apache FlexJS PMC below have been on the Apache Flex
PMC for months, if not years, and understand how to participate
productively in an Apache project.  Plus, Apache FlexJS has already been
released by the top-level Apache Flex project.

Overview of FlexJS

Apache FlexJS is designed to improve developer productivity in creating
applications for wherever Javascript runs, including browsers as well as
Apache Cordova applications, Node, etc.  FlexJS already has an ecosystem
of folks creating IDEs for FlexJS, and some folks are at various points in
the process of migrating existing Flex applications to FlexJS.

Current Status

Meritocracy

Within Apache Flex, the FlexJS development has been conducted as a
meritocracy.  No existing FlexJS developers came with the compiler code
base donated by Adobe nor were they on the initial committers list for
Apache Flex other than Alex Harui.  Everyone else has earned their way in
by contributing and earning merit.

Community

Many FlexJS users are trying to migrate an existing Apache Flex app off of
Adobe Flash.  As their migration progresses they will become less and less
interested in Apache Flex releases and activity.  However, the Apache Flex
JIRA project contains some  30,000 Flex issues migrated from Adobe's bug
base, and the team page for Flex makes it hard to determine which
committers are active on FlexJS, and it is frequently hard to determine if
a user's question is about regular Flex or FlexJS.   We are seeing an
increase in user interest with the Flash end-of-life announcement and
having separate mailing lists, web pages, and JIRA projects will help save
everyone time and energy.

Alignment

Apache FlexJS is already being released by Apache.

Known Risks

Code Extraction

The flex-asjs, flex-tours, flex-typedefs, and flex-falcon Git repos would
be migrated to GitBox.  Other Apache Flex repos would be treated as
external dependencies.  This includes flex-utilities and the Apache Flex
Installer.

Orphaned Projects

Most FlexJS PMC members are planning to remain on the Apache Flex PMC to
help out just-in-case, but are already mostly inactive on the Flex code
bases. However, there are at least 3 Apache Flex PMC members who have not
contributed at all to FlexJS and participate in regular Flex releases, so
the expectation is that Apache Flex will remain a viable project for some
time to come.

Inexperience with Open Source

All of the initial team has been contributing to Apache Flex for months if
not years.

Homogenous Developers

No company employs more than two of the members of the initial team.

Reliance on Salaried Developers

Until about a year ago, only 2 of the proposed PMC members were paid to
work on FlexJS.  The rest contributed in their spare time.  Two more are
now 

Re: Re: [Flex JS] Flex SDK Installer always get stuck at "Finish uncompressing"

2017-08-28 Thread vincent
Bonjour,

En congés jusqu'au 4 septembre, je prendrais connaissance de votre message à 
mon retour.

Cordialement,

Vincent/AFTER24





Re: [Flex JS] Flex SDK Installer always get stuck at "Finish uncompressing"

2017-08-28 Thread Alex Harui
Hmm.  It isn't obvious to me:

1) if you only have target=JSFlex, why does the compiler care about
target-player?
2) Why did -htmlTemplate option not work?

Maybe the console output would tell us more, or try putting
System.out.println calls into MXMLFlexJSPublisher.java to see why the
template wasn’t generated.

HTH,
-Alex

On 8/28/17, 3:20 PM, "piotrz"  wrote:

>Hi Alex,
>
>I just did build using console. It look like there is a bug in Moonshine
>partially. 
>
>Build in Moonshine:
>Basically when I run build it has failed with same error in Moonshine,
>cause
>every build generates custom configuration [1] which contains
>0.0.0 - if there is no player version in
>frameworks/flex-config.xml (since I have commented out each line related
>to
>target-player).
>
>I will probably raise issue for Moonshine.
>
>Build in console:
>Once I removed target-player from [2] build has been successful from
>console. Unfortunately -html-template was completely omitted, so MDL
>example
>do not have any styles.
>
>ex-development.247.n4.nabble.com%2Ffile%2Fn64004%2Fmdl_table_without_S
>tyle.png=02%7C01%7C%7C284e644bff584ab1b7d708d4ee62f776%7Cfa7b1b5a7b34
>438794aed2c178decee1%7C0%7C0%7C636395556215578840=ZRxcO%2B%2Bn2wULt4
>kn53d6ZZutOxqguNTjBteVF59TYrA%3D=0>
>
>[1] 
>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apa
>che.org%2FFbUb=02%7C01%7C%7C284e644bff584ab1b7d708d4ee62f776%7Cfa7b1b
>5a7b34438794aed2c178decee1%7C0%7C0%7C636395556215578840=dhOREax1nh33
>zGhlaqo9%2B0FD8g5YLY7B0yuRGd3kVKY%3D=0
>[2] 
>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apa
>che.org%2Fl0mh=02%7C01%7C%7C284e644bff584ab1b7d708d4ee62f776%7Cfa7b1b
>5a7b34438794aed2c178decee1%7C0%7C0%7C636395556215578840=w2vD2jcJMjoi
>9LYCR7z8ppgwHqe9J40G5G2fbl6uB40%3D=0
>
>Thanks, 
>Piotr
>
>
>
>-
>Apache Flex PMC
>piotrzarzyck...@gmail.com
>--
>View this message in context:
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>x-development.247.n4.nabble.com%2FFlex-JS-Flex-SDK-Installer-always-ge
>t-stuck-at-Finish-uncompressing-tp63989p64004.html=02%7C01%7C%7C284e6
>44bff584ab1b7d708d4ee62f776%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6
>36395556215578840=gd1LmXTytYAQOab3zLaTzWbAufOzK6e%2BfPf56%2FTeCIM%3D
>=0
>Sent from the Apache Flex Development mailing list archive at Nabble.com.



Re: [Flex JS] Flex SDK Installer always get stuck at "Finish uncompressing"

2017-08-28 Thread piotrz
Hi Alex,

I just did build using console. It look like there is a bug in Moonshine
partially. 

Build in Moonshine:
Basically when I run build it has failed with same error in Moonshine, cause
every build generates custom configuration [1] which contains
0.0.0 - if there is no player version in
frameworks/flex-config.xml (since I have commented out each line related to
target-player).

I will probably raise issue for Moonshine.

Build in console:
Once I removed target-player from [2] build has been successful from
console. Unfortunately -html-template was completely omitted, so MDL example
do not have any styles. 


 

[1] https://paste.apache.org/FbUb
[2] https://paste.apache.org/l0mh

Thanks, 
Piotr



-
Apache Flex PMC
piotrzarzyck...@gmail.com
--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/Flex-JS-Flex-SDK-Installer-always-get-stuck-at-Finish-uncompressing-tp63989p64004.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [Flex JS] Flex SDK Installer always get stuck at "Finish uncompressing"

2017-08-28 Thread Alex Harui
Hi Piotr,

You might have to change more than that in installer.xml.  I think there
are other places that fix up flex-sdk-description.xml.

Also, try compiling from the command-line to see what the compiler expects
vs the IDE.

HTH,
-Alex

On 8/28/17, 12:03 PM, "piotrz"  wrote:

>Additionally I just did small experiment making following things:
>
>1) I downloaded nightly build of FlexJS from jenkins
>2) Removed from installer.xml "ask-air,ask-flash" and change properties
>falcon.version to 0.9.0
>3) I tried build simple project using Moonshine and got errors [1]
>4) I've commented out in flex-config.xml all parts related to flash player
>and got this error [2].
>
>I'm not sure whether this is something specific to Moonshine, compiler or
>extension itself. Any idea ?
>
>[1] 
>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apa
>che.org%2FYT1J=02%7C01%7C%7Cc81217fee33f4155bf9308d4ee4770ee%7Cfa7b1b
>5a7b34438794aed2c178decee1%7C0%7C0%7C636395437992573077=xOpe9OeanMio
>MN%2BmEoz%2FTKWDOBAnoKv9y9mOmuVN35s%3D=0
>[2] 
>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apa
>che.org%2FNK74=02%7C01%7C%7Cc81217fee33f4155bf9308d4ee4770ee%7Cfa7b1b
>5a7b34438794aed2c178decee1%7C0%7C0%7C636395437992573077=h40T1CHPIIkg
>WU%2FrAD%2FRP9TZQOJ%2FQXtJ%2FrGrzvBBUFo%3D=0
>
>Thanks,
>Piotr
>
>
>
>-
>Apache Flex PMC
>piotrzarzyck...@gmail.com
>--
>View this message in context:
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>x-development.247.n4.nabble.com%2FFlex-JS-Flex-SDK-Installer-always-ge
>t-stuck-at-Finish-uncompressing-tp63989p64002.html=02%7C01%7C%7Cc8121
>7fee33f4155bf9308d4ee4770ee%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6
>36395437992573077=Dq67vCiS%2FdufLCIjZQQudui6BtXELt2AcOeo8JFdiak%3D
>eserved=0
>Sent from the Apache Flex Development mailing list archive at Nabble.com.



Re: [Flex JS] Flex SDK Installer always get stuck at "Finish uncompressing"

2017-08-28 Thread piotrz
Additionally I just did small experiment making following things:

1) I downloaded nightly build of FlexJS from jenkins
2) Removed from installer.xml "ask-air,ask-flash" and change properties
falcon.version to 0.9.0
3) I tried build simple project using Moonshine and got errors [1]
4) I've commented out in flex-config.xml all parts related to flash player
and got this error [2].

I'm not sure whether this is something specific to Moonshine, compiler or
extension itself. Any idea ?

[1] https://paste.apache.org/YT1J
[2] https://paste.apache.org/NK74

Thanks,
Piotr



-
Apache Flex PMC
piotrzarzyck...@gmail.com
--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/Flex-JS-Flex-SDK-Installer-always-get-stuck-at-Finish-uncompressing-tp63989p64002.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [Flex JS] Flex SDK Installer always get stuck at "Finish uncompressing"

2017-08-28 Thread Alex Harui
I just thought to check the log to see what the next step is after
uncompressing.  On Windows, the install script tries to find JAVA_HOME and
verify that it points to a java executable.  Could it be that you don't
have Java installed or a way to find it?  Try running from a command
prompt:

   where java

HTH,
-Alex

On 8/28/17, 8:24 AM, "Alex Harui"  wrote:

>I just tried it and it worked for me.
>
>Do you have any restricted access rights to parts of your file system?  I
>thought we'd gotten rid of "spaces in path" bugs, but maybe try installing
>to a folder without spaces in it.
>
>Thanks,
>-Alex
>
>On 8/28/17, 4:10 AM, "m_awais"  wrote:
>
>>Hi,
>>
>>I am trying to install Apache Flex JS 0.8.0 from
>>apache-flex-sdk-installer-3.2.0-bin. I have already installed Apache Flex
>>SDK 4.16.0 + AIR 23.0 + Flash Player 23 from same installer and there was
>>no
>>issue.
>>
>>I tried to install the Apache Flex JS 0.8.0 from the same installer, and
>>it
>>get stuck at "Finish Uncompressing". It stuck there for while, i thought
>>the
>>installation was completed successfully. But when i check installer log
>>it
>>states :
>>
>>
>>#Installer version 3.2.0 (windows)
>>#Using Locale: en_US
>>#Fetched the SDK download mirror URL from the CGI.
>>#SDK version Apache FlexJS 0.8.0
>>#AIR version 23.0
>>#Flash Player version 23.0
>>#Creating Apache FlexJS home
>>#Creating temporary directory
>>#Downloading Apache FlexJS
>>from:http://www-us.apache.org/dist/flex/flexjs/0.8.0/binaries/apache-flex
>>-
>>flexjs-0.8.0-bin.zip
>>#Verifying Apache FlexJS MD5 Signature
>>#The Apache FlexJS MD5 Signature of the downloaded files matches the
>>reference. The file is valid.
>>#Uncompressing: C:\Flex Js\temp\apache-flex-flexjs-0.8.0-bin.zip
>>#Finished uncompressing: C:\Flex Js\temp\apache-flex-flexjs-0.8.0-bin.zip
>>#Error #1009
>>
>>#Installation aborted
>>
>>
>>I changed the internet connection, to see if there was some issue with
>>connection. But even after changing the connection, still no success. I
>>tried fresh installation several times, every times it get stuck at
>>"Finish
>>Uncompressing".
>>
>>Thanks in advance!
>>
>>Regards
>>
>>
>>
>>
>>
>>
>>--
>>View this message in context:
>>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fl
>>e
>>x-development.247.n4.nabble.com%2FFlex-JS-Flex-SDK-Installer-always-g
>>e
>>t-stuck-at-Finish-uncompressing-tp63989.html=02%7C01%7C%7Cd9ae698daa
>>b
>>641cf95c008d4ee1c758a%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636395
>>2
>>53379390795=karWIDoLwZ5Dlbojv2uUSPH5aGvvK1OYmfwVlxGcW2M%3D
>>=
>>0
>>Sent from the Apache Flex Development mailing list archive at Nabble.com.
>



Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-08-28 Thread Alex Harui
Post a link to your console output.  That exception often happens when
there is no JS file for a class.  There should be mention of which file in
the console output.

-Alex

On 8/28/17, 3:50 AM, "lizhi"  wrote:

>get  this error with the option. -remove-circulars
>
>
>java.lang.NullPointerException
>org.apache.flex.compiler.internal.graph.GoogDepsWriter.getListOfFiles(Goog
>DepsWriter.java:100)org.apache.flex.compiler.internal.codegen.mxml.flexjs.
>MXMLFlexJSPublisher.publish(MXMLFlexJSPublisher.java:311)org.apache.flex.c
>ompiler.clients.MXMLJSCFlex.compile(MXMLJSCFlex.java:381)org.apache.flex.c
>ompiler.clients.MXMLJSCFlex._mainNoExit(MXMLJSCFlex.java:239)org.apache.fl
>ex.compiler.clients.MXMLJSCFlex.mainNoExit(MXMLJSCFlex.java:196)org.apache
>.flex.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:341)org.apache.fle
>x.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:276)org.apache.flex.com
>piler.clients.MXMLJSC.staticMainNoExit(MXMLJSC.java:236)org.apache.flex.co
>mpiler.clients.MXMLJSC.main(MXMLJSC.java:218)
>
>
>
>
>-
>spriteflexjs.com 
>--
>View this message in context:
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>x-development.247.n4.nabble.com%2FKotlinjs-has-solved-the-circular-dep
>endency-problem-Flexjs-do-you-have-any-plans-tp63965p63988.html=02%7C
>01%7C%7C65c9af8331fe4ab91abb08d4ee029b54%7Cfa7b1b5a7b34438794aed2c178decee
>1%7C0%7C0%7C636395142342198166=G56iFB7kKU4DScOrPchf39bDt3gpVovhXTRUr
>UtFHXQ%3D=0
>Sent from the Apache Flex Development mailing list archive at Nabble.com.



Re: [Flex JS] Flex SDK Installer always get stuck at "Finish uncompressing"

2017-08-28 Thread piotrz
Hi Josh,

I think that would a good change if you could do this.

I just tried installer.xml file and it asked for Adobe Air - failed when I
choose "n". - If we could change it for non required.

Thanks,
Piotr



-
Apache Flex PMC
piotrzarzyck...@gmail.com
--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/Flex-JS-Flex-SDK-Installer-always-get-stuck-at-Finish-uncompressing-tp63989p63999.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [Flex JS] Flex SDK Installer always get stuck at "Finish uncompressing"

2017-08-28 Thread Josh Tynjala
VSCode checks if an SDK contains two directories named "bin" and
"frameworks", and it requires either "flex-sdk-description.xml" or
"air-sdk-description.xml" in the root of the SDK.

One change that I could make is to allow "bin" to be missing if "js/bin"
exists instead.

The parts of Moonshine that I've worked on should have these same
requirements, but there may be some other requirements elsewhere in the
codebase.

- Josh

On Mon, Aug 28, 2017 at 8:31 AM, Alex Harui 
wrote:

> AIR and Flash are already technically prerequisites, but folks found it so
> inconvenient compared to the old Adobe distributions that Om and others
> created the Installer to automate fetching the Flash/AIR bits.
>
> Flash Builder, and maybe some other IDEs, expect AIR and Flash files in
> the SDK folder.  Anyone using Maven and only using an IDE as a text editor
> without much code intelligence can just use Maven to get the things they
> need.
>
> Using Ant to install the SDK worked the last time I tried it.
>
> I'm not sure what dependencies VSCode Extensions and Moonshine expect, but
> if they can live without Flash/AIR then it is possible to put together a
> JS-only package.
>
> And anyone who wants to become an authorized Adobe distributor can sign up
> with Adobe to distribute the Flash/AIR SDKs and make packages like Adobe
> did.  But Apache probably shouldn't since that is distributing stuff that
> isn't open source.
>
> -Alex
>
> On 8/28/17, 7:23 AM, "Olaf Krueger"  wrote:
>
> >Hmm... if we just would like to target JS, do we still need AIR and
> >playerglobal.swc?
> >If not, maybe we could provide a FlexJS "JS only" version?
> >
> >Maybe another approach could be to declare AIR as a prerequisite?
> >
> >Thanks,
> >Olaf
> >
> >
> >
> >
> >--
> >View this message in context:
> >https://na01.safelinks.protection.outlook.com/?url=
> http%3A%2F%2Fapache-fle
> >x-development.247.n4.nabble.com%2FFlex-JS-Flex-SDK-
> Installer-always-ge
> >t-stuck-at-Finish-uncompressing-tp63989p63994.
> html=02%7C01%7C%7Cd392a
> >411c104483719ef08d4ee206ef6%7Cfa7b1b5a7b34438794aed2c178de
> cee1%7C0%7C0%7C6
> >36395270455882491=J%2F2HjEqxGEGjfgJRS9Z8HgNEkabQ6k
> 3%2BfghmAssykVc%3D
> >=0
> >Sent from the Apache Flex Development mailing list archive at Nabble.com.
>
>


Re: [Flex JS] Flex SDK Installer always get stuck at "Finish uncompressing"

2017-08-28 Thread Alex Harui
AIR and Flash are already technically prerequisites, but folks found it so
inconvenient compared to the old Adobe distributions that Om and others
created the Installer to automate fetching the Flash/AIR bits.

Flash Builder, and maybe some other IDEs, expect AIR and Flash files in
the SDK folder.  Anyone using Maven and only using an IDE as a text editor
without much code intelligence can just use Maven to get the things they
need.

Using Ant to install the SDK worked the last time I tried it.

I'm not sure what dependencies VSCode Extensions and Moonshine expect, but
if they can live without Flash/AIR then it is possible to put together a
JS-only package.

And anyone who wants to become an authorized Adobe distributor can sign up
with Adobe to distribute the Flash/AIR SDKs and make packages like Adobe
did.  But Apache probably shouldn't since that is distributing stuff that
isn't open source.

-Alex

On 8/28/17, 7:23 AM, "Olaf Krueger"  wrote:

>Hmm... if we just would like to target JS, do we still need AIR and
>playerglobal.swc?
>If not, maybe we could provide a FlexJS "JS only" version?
>
>Maybe another approach could be to declare AIR as a prerequisite?
>
>Thanks,
>Olaf 
>
>
>
>
>--
>View this message in context:
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>x-development.247.n4.nabble.com%2FFlex-JS-Flex-SDK-Installer-always-ge
>t-stuck-at-Finish-uncompressing-tp63989p63994.html=02%7C01%7C%7Cd392a
>411c104483719ef08d4ee206ef6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6
>36395270455882491=J%2F2HjEqxGEGjfgJRS9Z8HgNEkabQ6k3%2BfghmAssykVc%3D
>=0
>Sent from the Apache Flex Development mailing list archive at Nabble.com.



Re: [Flex JS] Flex SDK Installer always get stuck at "Finish uncompressing"

2017-08-28 Thread Alex Harui
I just tried it and it worked for me.

Do you have any restricted access rights to parts of your file system?  I
thought we'd gotten rid of "spaces in path" bugs, but maybe try installing
to a folder without spaces in it.

Thanks,
-Alex

On 8/28/17, 4:10 AM, "m_awais"  wrote:

>Hi,
>
>I am trying to install Apache Flex JS 0.8.0 from
>apache-flex-sdk-installer-3.2.0-bin. I have already installed Apache Flex
>SDK 4.16.0 + AIR 23.0 + Flash Player 23 from same installer and there was
>no
>issue.
>
>I tried to install the Apache Flex JS 0.8.0 from the same installer, and
>it
>get stuck at "Finish Uncompressing". It stuck there for while, i thought
>the
>installation was completed successfully. But when i check installer log it
>states :
>
>
>#Installer version 3.2.0 (windows)
>#Using Locale: en_US
>#Fetched the SDK download mirror URL from the CGI.
>#SDK version Apache FlexJS 0.8.0
>#AIR version 23.0
>#Flash Player version 23.0
>#Creating Apache FlexJS home
>#Creating temporary directory
>#Downloading Apache FlexJS
>from:http://www-us.apache.org/dist/flex/flexjs/0.8.0/binaries/apache-flex-
>flexjs-0.8.0-bin.zip
>#Verifying Apache FlexJS MD5 Signature
>#The Apache FlexJS MD5 Signature of the downloaded files matches the
>reference. The file is valid.
>#Uncompressing: C:\Flex Js\temp\apache-flex-flexjs-0.8.0-bin.zip
>#Finished uncompressing: C:\Flex Js\temp\apache-flex-flexjs-0.8.0-bin.zip
>#Error #1009
>
>#Installation aborted
>
>
>I changed the internet connection, to see if there was some issue with
>connection. But even after changing the connection, still no success. I
>tried fresh installation several times, every times it get stuck at
>"Finish
>Uncompressing".
>
>Thanks in advance!
>
>Regards
>
>
>
>
>
>
>--
>View this message in context:
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>x-development.247.n4.nabble.com%2FFlex-JS-Flex-SDK-Installer-always-ge
>t-stuck-at-Finish-uncompressing-tp63989.html=02%7C01%7C%7Cd9ae698daab
>641cf95c008d4ee1c758a%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6363952
>53379390795=karWIDoLwZ5Dlbojv2uUSPH5aGvvK1OYmfwVlxGcW2M%3D=
>0
>Sent from the Apache Flex Development mailing list archive at Nabble.com.



Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-08-28 Thread Harbs
What version are you using?

> On Aug 28, 2017, at 1:50 PM, lizhi  wrote:
> 
> get  this error with the option. -remove-circulars
> 
> 
> java.lang.NullPointerException
> org.apache.flex.compiler.internal.graph.GoogDepsWriter.getListOfFiles(GoogDepsWriter.java:100)org.apache.flex.compiler.internal.codegen.mxml.flexjs.MXMLFlexJSPublisher.publish(MXMLFlexJSPublisher.java:311)org.apache.flex.compiler.clients.MXMLJSCFlex.compile(MXMLJSCFlex.java:381)org.apache.flex.compiler.clients.MXMLJSCFlex._mainNoExit(MXMLJSCFlex.java:239)org.apache.flex.compiler.clients.MXMLJSCFlex.mainNoExit(MXMLJSCFlex.java:196)org.apache.flex.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:341)org.apache.flex.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:276)org.apache.flex.compiler.clients.MXMLJSC.staticMainNoExit(MXMLJSC.java:236)org.apache.flex.compiler.clients.MXMLJSC.main(MXMLJSC.java:218)
> 
> 
> 
> 
> -
> spriteflexjs.com 
> --
> View this message in context: 
> http://apache-flex-development.247.n4.nabble.com/Kotlinjs-has-solved-the-circular-dependency-problem-Flexjs-do-you-have-any-plans-tp63965p63988.html
> Sent from the Apache Flex Development mailing list archive at Nabble.com.



Re: [Flex JS] Flex SDK Installer always get stuck at "Finish uncompressing"

2017-08-28 Thread Olaf Krueger
Hmm... if we just would like to target JS, do we still need AIR and
playerglobal.swc?
If not, maybe we could provide a FlexJS "JS only" version?

Maybe another approach could be to declare AIR as a prerequisite?

Thanks,
Olaf 




--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/Flex-JS-Flex-SDK-Installer-always-get-stuck-at-Finish-uncompressing-tp63989p63994.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [Flex JS] Flex SDK Installer always get stuck at "Finish uncompressing"

2017-08-28 Thread piotrz
I doubt that we can hold somewhere on the Apache server Adobe Air SDK or
playerglobal.swc.

That is why installer was created I think. 

Thanks,
Piotr



-
Apache Flex PMC
piotrzarzyck...@gmail.com
--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/Flex-JS-Flex-SDK-Installer-always-get-stuck-at-Finish-uncompressing-tp63989p63993.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


[Flex JS] Flex SDK Installer always get stuck at "Finish uncompressing"

2017-08-28 Thread m_awais
Hi,

I am trying to install Apache Flex JS 0.8.0 from
apache-flex-sdk-installer-3.2.0-bin. I have already installed Apache Flex
SDK 4.16.0 + AIR 23.0 + Flash Player 23 from same installer and there was no
issue.

I tried to install the Apache Flex JS 0.8.0 from the same installer, and it
get stuck at "Finish Uncompressing". It stuck there for while, i thought the
installation was completed successfully. But when i check installer log it
states :


#Installer version 3.2.0 (windows)
#Using Locale: en_US
#Fetched the SDK download mirror URL from the CGI.
#SDK version Apache FlexJS 0.8.0
#AIR version 23.0
#Flash Player version 23.0
#Creating Apache FlexJS home
#Creating temporary directory
#Downloading Apache FlexJS
from:http://www-us.apache.org/dist/flex/flexjs/0.8.0/binaries/apache-flex-flexjs-0.8.0-bin.zip
#Verifying Apache FlexJS MD5 Signature
#The Apache FlexJS MD5 Signature of the downloaded files matches the
reference. The file is valid.
#Uncompressing: C:\Flex Js\temp\apache-flex-flexjs-0.8.0-bin.zip
#Finished uncompressing: C:\Flex Js\temp\apache-flex-flexjs-0.8.0-bin.zip
#Error #1009

#Installation aborted


I changed the internet connection, to see if there was some issue with
connection. But even after changing the connection, still no success. I
tried fresh installation several times, every times it get stuck at "Finish
Uncompressing".

Thanks in advance!

Regards






--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/Flex-JS-Flex-SDK-Installer-always-get-stuck-at-Finish-uncompressing-tp63989.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [Flex JS] Flex SDK Installer always get stuck at "Finish uncompressing"

2017-08-28 Thread Olaf Krueger
Hi,
is there any chance to pre-build the various FlexJS releases including the
nightly (maybe also for different platforms) at server side in order to just
provide an URL to make it downloadable?
So the question is, could we replace the installer by manual SDK downloads
for FlexJS?

And if not, is the show stopper a technical or legal issue?

Thanks,
Olaf



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/Flex-JS-Flex-SDK-Installer-always-get-stuck-at-Finish-uncompressing-tp63989p63992.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [Flex JS] Flex SDK Installer always get stuck at "Finish uncompressing"

2017-08-28 Thread piotrz
Om,

Can we install using npm also nightly build (0.9.0) ?

Thanks,
Piotr



-
Apache Flex PMC
piotrzarzyck...@gmail.com
--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/Flex-JS-Flex-SDK-Installer-always-get-stuck-at-Finish-uncompressing-tp63989p63991.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [Flex JS] Flex SDK Installer always get stuck at "Finish uncompressing"

2017-08-28 Thread piotrz
Hi,

I haven't tried it, but anyone from PMC know whether we can install FlexJS
by ant script ? 

As for the issue - if script doesn't work for you - You can try to install
FlexJS using npm [1]

[1] https://www.npmjs.com/package/flexjs

Thanks,
Piotr



-
Apache Flex PMC
piotrzarzyck...@gmail.com
--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/Flex-JS-Flex-SDK-Installer-always-get-stuck-at-Finish-uncompressing-tp63989p63990.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: FlexJS XML problem

2017-08-28 Thread Harbs
I figured it out and committed a fix.

> On Aug 28, 2017, at 12:07 PM, Harbs  wrote:
> 
> Given the following XML in Flash:
> var xml:XML = ;
> xml.bar.foo.baz = "baz";
> 
> You get an XML structure like so:
> 
>  
>
>  
>baz
>  
>
>  
> 
> 
> In JS, this compiles to the following:
> 
>  var /** @type {XML} */ xml = new XML( '');
>  xml.child('bar').child('foo').setChild('baz', "baz");
> 
> .child() returns an empty XMLList
> .setChild() tries to add a child to that empty list and does not create the 
> structure.
> 
> I’m not sure how to best solve this problem.
> 
> One idea would be to add a new function called getChild() which would return 
> an existing element if it exists and create a new one if not. Then we could 
> have the compiler rewrite the output to:
> 
>  xml.getChild('bar').getChild('foo').setChild('baz', "baz");
> 
> I’d prefer to try and figure out how to have setChild walk up the reference 
> tree and create the correct elements automatically. I’m having trouble 
> figuring out how to do that though.
> 
> Harbs



FlexJS XML problem

2017-08-28 Thread Harbs
Given the following XML in Flash:
var xml:XML = ;
xml.bar.foo.baz = "baz";

You get an XML structure like so:

  

  
baz
  

  


In JS, this compiles to the following:

  var /** @type {XML} */ xml = new XML( '');
  xml.child('bar').child('foo').setChild('baz', "baz");

.child() returns an empty XMLList
.setChild() tries to add a child to that empty list and does not create the 
structure.

I’m not sure how to best solve this problem.

One idea would be to add a new function called getChild() which would return an 
existing element if it exists and create a new one if not. Then we could have 
the compiler rewrite the output to:

  xml.getChild('bar').getChild('foo').setChild('baz', "baz");

I’d prefer to try and figure out how to have setChild walk up the reference 
tree and create the correct elements automatically. I’m having trouble figuring 
out how to do that though.

Harbs

Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-08-28 Thread Harbs
static variables which are native types should work fine.

If they are custom types, you need to use getters (or better functions) instead 
of variables or consts.

> On Aug 28, 2017, at 9:03 AM, lizhi  wrote:
> 
> Moreover, initialization of flexjs static variables needs to be optimized.
> 
> 
> 
> 
> 
> 
> 
> -
> spriteflexjs.com 
> --
> View this message in context: 
> http://apache-flex-development.247.n4.nabble.com/Kotlinjs-has-solved-the-circular-dependency-problem-Flexjs-do-you-have-any-plans-tp63965p63983.html
> Sent from the Apache Flex Development mailing list archive at Nabble.com.



Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-08-28 Thread Harbs
-remove-circulars should fix this.

> On Aug 28, 2017, at 9:01 AM, lizhi  wrote:
> 
> I'm not sure now. I'm porting a AS3 UI library. But a lot of serious mistakes
> were reported. I'm checking out why this error happened
> 
> 八月 28, 2017 1:59:13 下午 com.google.javascript.jscomp.LoggerErrorManager
> println
> 严重: D:/proj/git/spriteflexjs/test/bin/js-debug/XML.js:14: ERROR - required
> "XMLList" namespace not provided yet
> goog.require('XMLList');
> ^^^
> 
> 八月 28, 2017 1:59:13 下午 com.google.javascript.jscomp.LoggerErrorManager
> println
> 严重: D:/proj/git/spriteflexjs/test/bin/js-debug/fairygui/GButton.js:13: ERROR
> - required "fairygui.GComponent" namespace not provided yet
> goog.require('fairygui.GComponent');
> ^^^
> 
> 八月 28, 2017 1:59:13 下午 com.google.javascript.jscomp.LoggerErrorManager
> println
> 严重: D:/proj/git/spriteflexjs/test/bin/js-debug/fairygui/GComboBox.js:12:
> ERROR - required "fairygui.GButton" namespace not provided yet
> goog.require('fairygui.GButton');
> 
> 
> 八月 28, 2017 1:59:13 下午 com.google.javascript.jscomp.LoggerErrorManager
> println
> 严重: D:/proj/git/spriteflexjs/test/bin/js-debug/fairygui/GComboBox.js:13:
> ERROR - required "fairygui.GComponent" namespace not provided yet
> goog.require('fairygui.GComponent');
> ^^^
> 
> 八月 28, 2017 1:59:13 下午 com.google.javascript.jscomp.LoggerErrorManager
> println
> 严重: D:/proj/git/spriteflexjs/test/bin/js-debug/fairygui/GComboBox.js:14:
> ERROR - required "fairygui.GLabel" namespace not provided yet
> goog.require('fairygui.GLabel');
> ^^^
> 
> 
> 
> 
> -
> spriteflexjs.com 
> --
> View this message in context: 
> http://apache-flex-development.247.n4.nabble.com/Kotlinjs-has-solved-the-circular-dependency-problem-Flexjs-do-you-have-any-plans-tp63965p63982.html
> Sent from the Apache Flex Development mailing list archive at Nabble.com.



Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-08-28 Thread lizhi
Moreover, initialization of flexjs static variables needs to be optimized.







-
spriteflexjs.com 
--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/Kotlinjs-has-solved-the-circular-dependency-problem-Flexjs-do-you-have-any-plans-tp63965p63983.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: Kotlinjs has solved the circular dependency problem. Flexjs, do you have any plans?

2017-08-28 Thread lizhi
I'm not sure now. I'm porting a AS3 UI library. But a lot of serious mistakes
were reported. I'm checking out why this error happened

八月 28, 2017 1:59:13 下午 com.google.javascript.jscomp.LoggerErrorManager
println
严重: D:/proj/git/spriteflexjs/test/bin/js-debug/XML.js:14: ERROR - required
"XMLList" namespace not provided yet
goog.require('XMLList');
^^^

八月 28, 2017 1:59:13 下午 com.google.javascript.jscomp.LoggerErrorManager
println
严重: D:/proj/git/spriteflexjs/test/bin/js-debug/fairygui/GButton.js:13: ERROR
- required "fairygui.GComponent" namespace not provided yet
goog.require('fairygui.GComponent');
^^^

八月 28, 2017 1:59:13 下午 com.google.javascript.jscomp.LoggerErrorManager
println
严重: D:/proj/git/spriteflexjs/test/bin/js-debug/fairygui/GComboBox.js:12:
ERROR - required "fairygui.GButton" namespace not provided yet
goog.require('fairygui.GButton');


八月 28, 2017 1:59:13 下午 com.google.javascript.jscomp.LoggerErrorManager
println
严重: D:/proj/git/spriteflexjs/test/bin/js-debug/fairygui/GComboBox.js:13:
ERROR - required "fairygui.GComponent" namespace not provided yet
goog.require('fairygui.GComponent');
^^^

八月 28, 2017 1:59:13 下午 com.google.javascript.jscomp.LoggerErrorManager
println
严重: D:/proj/git/spriteflexjs/test/bin/js-debug/fairygui/GComboBox.js:14:
ERROR - required "fairygui.GLabel" namespace not provided yet
goog.require('fairygui.GLabel');
^^^




-
spriteflexjs.com 
--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/Kotlinjs-has-solved-the-circular-dependency-problem-Flexjs-do-you-have-any-plans-tp63965p63982.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.