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

[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

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 was

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 fra

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 jus

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 commente

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: wher

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

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

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 tha

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.

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 t

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.

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.233

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-Fl

[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

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

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

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.c

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

2017-08-28 Thread lizhi
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

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 fol

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"); .c

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. > > >

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 >