Re: FlexJS IDE integration

2017-08-12 Thread piotrz
Josh, I just finally tried the instruction and spend a bit of time on it to refresh screenshots. [1] Your changes were ok and I've almost didn't touch them. My build and screenshot are based on Nightly build. I was not able to build DataBindingExample using FlexJS 0.8.0 [2]. I decided do not inve

Re: FlexJS IDE integration

2017-08-09 Thread After24
Hi Josh, hi Alex, Thank you for your help, it works fine now. I was just annoyed after installing the JetBrain debugging support extension by a message triggered by chrome on a yellow bar saying that "JetBrains IDE Support is debugging this tab". For those whor are interested, there is a way to

Re: FlexJS IDE integration

2017-08-08 Thread Josh Tynjala
Okay, now we're getting somewhere! It looks like you may need to double check that you're launching the correct HTML file. - Josh On Tue, Aug 8, 2017 at 2:49 PM, After24 wrote: > Josh, > > I remove all references to /frameworks/ in the global library except > frameworks/libs. > The compilation

Re: FlexJS IDE integration

2017-08-08 Thread After24
Josh, I remove all references to /frameworks/ in the global library except frameworks/libs. The compilation seems to be ok but Intellij displays an error message Here are some screen shots -- View this message in context:

Re: FlexJS IDE integration

2017-08-08 Thread Josh Tynjala
Thanks, Piotr! For now, I updated the instructions with the changes that worked for me. Hopefully, you can verify that it's the best way to do things. - Josh On Tue, Aug 8, 2017 at 12:12 PM, piotrz wrote: > I'm using intellij for FlexJS SDK development. I will look into the > instruction once

Re: FlexJS IDE integration

2017-08-08 Thread Josh Tynjala
Alex, I was saying to remove some folders from the module's dependencies in IntelliJ IDEA. Not to delete them from the file system. In the current wiki for using FlexJS with IntelliJ IDEA, it says to add /frameworks as a dependency. I'm saying that you should add only /frameworks/libs instead (but

Re: FlexJS IDE integration

2017-08-08 Thread Alex Harui
@Josh, I thought the installer created frameworks/libs/player and frameworks/libs/air folders. In the repos and Ant and Maven builds you won't have those folders, but I think you do in IDE-compatible setups. @Vincent, please post the latest output so we can see that -allow-subclass-overrides was

Re: FlexJS IDE integration

2017-08-08 Thread Josh Tynjala
How many directories in /frameworks are stil; included after you remove those two? As I mentioned, there should only be one now: frameworks/libs. If there are any more than that, then you still have things misconfigured. - Josh On Tue, Aug 8, 2017 at 12:05 PM, After24 wrote: > Josh, > > I remov

Re: FlexJS IDE integration

2017-08-08 Thread piotrz
I'm using intellij for FlexJS SDK development. I will look into the instruction once I get back from vacation next week and reach my laptop. :) Vincent in the meantime you can try VSCode or Moonshine again. Thanks, Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in

Re: FlexJS IDE integration

2017-08-08 Thread After24
Josh, I removed both frameworks/libs/player and frameworks/libs/air (/frameworks/libs was already referenced) It still doesn't work. Alex, I tried to add -allow-subclass-overrides=true in the additional compiler options field (not sure about that) with no results. Thanks to both of you. Intelli

Re: FlexJS IDE integration

2017-08-08 Thread Alex Harui
I have not spent any time on IntelliJ after they didn't want to take Christofer's changes. The errors that are currently being output might be related to not having: true I think that needs to be set in 0.8.0 and newer. I don't know how to go about doing that in IntelliJ, but might be wor

Re: FlexJS IDE integration

2017-08-08 Thread Josh Tynjala
I just went through the instructions from here again: https://cwiki.apache.org/confluence/display/FLEX/Using+FlexJS+with+IntelliJ+IDEA It looks like this part is wrong: 1- Click on New Global Library, select \frameworks > and then remove the frameworks\libs\player. > I think there are actually

Re: FlexJS IDE integration

2017-08-08 Thread After24
Just to be sure, I re-downloaded the nightly in a separate folder and reset the project, but unfortunately, I get the same error : Information:[helloWorldFlexJS]: Starting Flex compiler: "/Applications/IntelliJ IDEA.app/Contents/jdk/Contents/Home/jre/bin/java" -Dapplication.home=/Users/vincent/dev

Re: FlexJS IDE integration

2017-08-08 Thread After24
Josh, Yes, I replaced the previous 0.8.0 with the nightly build. I corrected the -targets compiler option, and the error generated is a bit different now : Information:[helloWorldFlexJS]: Starting Flex compiler: "/Applications/IntelliJ IDEA.app/Contents/jdk/Contents/Home/jre/bin/java" -Dapplica

Re: FlexJS IDE integration

2017-08-08 Thread Josh Tynjala
You accidentally set -js-output-type=JSFlex instead of -targets=JSFlex. Also, I assume that even though your SDK path says flexjs.0.8.0, it's actually the 0.9.0 nightly build? - Josh On Tue, Aug 8, 2017 at 10:17 AM, After24 wrote: > yes, I think > > Information:[helloWorldFlexJS]: Starting Fle

Re: FlexJS IDE integration

2017-08-08 Thread After24
yes, I think Information:[helloWorldFlexJS]: Starting Flex compiler: "/Applications/IntelliJ IDEA.app/Contents/jdk/Contents/Home/jre/bin/java" -Dapplication.home=/Users/vincent/development/Apache/flexjs/sdks/flexjs.0.8.0 -Dfile.encoding=UTF-8 -Djava.awt.headless=true -Duser.language=en -Duser.regi

Re: FlexJS IDE integration

2017-08-08 Thread Josh Tynjala
Are you getting the exact same errors? - Josh On Tue, Aug 8, 2017 at 10:05 AM, After24 wrote: > Josh, > > I set the -targets to JSFlex without success. > > > > > > -- > View this message in context: http://apache-flex-users. > 246.n4.nabble.com/FlexJS-IDE-integration-tp15638p15652.html > Se

Re: FlexJS IDE integration

2017-08-08 Thread After24
Josh, I set the -targets to JSFlex without success. -- View this message in context: http://apache-flex-users.246.n4.nabble.com/FlexJS-IDE-integration-tp15638p15652.html Sent from the Apache Flex Users mailing list archive at Nabble.com.

Re: FlexJS IDE integration

2017-08-08 Thread Josh Tynjala
I noticed the following compiler option in your build: -js-output-type=FLEXJS_DUAL It probably shouldn't be used at all with FlexJS 0.8.0 or newer. Either -targets=JSFlex or -targets=JSFlex,SWF should be used instead. - Josh On Tue, Aug 8, 2017 at 9:45 AM, After24 wrote: > I just rebuild the

Re: FlexJS IDE integration

2017-08-08 Thread After24
It's the one provided by the sdk : http://ns.adobe.com/mxml/2009"; xmlns:js="library://ns.apache.org/flexjs/basic" > -- View this message in context: http://apache-flex-users.246.n4.nabble.com/FlexJS-IDE-integra

Re: FlexJS IDE integration

2017-08-08 Thread After24
I just rebuild the project from scratch and get the same error : Information:[helloWorldFlexJS]: Starting Flex compiler: "/Applications/IntelliJ IDEA.app/Contents/jdk/Contents/Home/jre/bin/java" -Dapplication.home=/Users/vincent/development/Apache/flexjs/sdks/flexjs.0.8.0 -Dfile.encoding=UTF-8 -Dj

Re: FlexJS IDE integration

2017-08-08 Thread piotrz
Could you please show code of this hello world somewhere. Thanks, Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-users.246.n4.nabble.com/FlexJS-IDE-integration-tp15638p15648.html Sent from the Apache Flex Users mailing list archive

Re: FlexJS IDE integration

2017-08-08 Thread After24
So, I downloaded the flexJS nighty build and tried to run HelloWorld but get the following error : /Information:[FlexJsTest]: Starting Flex compiler: "/Applications/IntelliJ IDEA.app/Contents/jdk/Contents/Home/jre/bin/java" -Dapplication.home=/Users/vincent/development/Apache/flexjs/sdks/flexjs.0.

Re: FlexJS IDE integration

2017-08-08 Thread After24
Hi Josh, Thank you for the solution, I will try again to run helloWorld again :-) Vincent. -- View this message in context: http://apache-flex-users.246.n4.nabble.com/FlexJS-IDE-integration-tp15638p15646.html Sent from the Apache Flex Users mailing list archive at Nabble.com.

Re: FlexJS IDE integration

2017-08-08 Thread piotrz
Josh, I would be happy to help with any kind of activities for 0.8.1 release in the next week. We should get everything what we currently have in develop branch as part of it - I don't see any breaking changes. Maybe open discussion thread on Dev to see who else is +1. Thanks, Piotr - Apac

Re: FlexJS IDE integration

2017-08-08 Thread Hans Nuecke
+1 Am 08.08.2017 um 15:11 schrieb Josh Tynjala: PMC, We should consider a 0.8.1 release with some of the recent bug fixes. The IntelliJ IDEA fix, in particular, seems especially important, considering this thread. Developers want to to try FlexJS in a familiar IDE, and 0.8.0 makes that harder

Re: FlexJS IDE integration

2017-08-08 Thread Josh Tynjala
PMC, We should consider a 0.8.1 release with some of the recent bug fixes. The IntelliJ IDEA fix, in particular, seems especially important, considering this thread. Developers want to to try FlexJS in a familiar IDE, and 0.8.0 makes that harder right now. It's also like to get the MXML source ma

Re: FlexJS IDE integration

2017-08-08 Thread Josh Tynjala
Inside the Flex SDK Installer, right click and choose Show Dev Builds. That will make the nightly build appear in the list. - Josh On Aug 8, 2017 3:22 AM, "After24" wrote: > Hello Olaf, hello Piotrz, > > Thank you. > > I would prefer to use Intellij which is a fantastic IDE (I tried vscode > ma

Re: FlexJS IDE integration

2017-08-08 Thread After24
Hello Olaf, hello Piotrz, Thank you. I would prefer to use Intellij which is a fantastic IDE (I tried vscode mainly by cursiosity). I think the Intellij integration issue is fixed in the latest version of the SDK but I don't know how to get it. Vincent. -- View this message in context: ht

Re: FlexJS IDE integration

2017-08-08 Thread Olaf Krueger
>vscode prompt me that it could not locate a valid Java executable I think the "Java 8 Runtime" is required [1]. >I have java 1.6 installed on my machine in order to get flash builder running Is it not possible to install different Java versions in parallel?! >it feels a bit complicated (at

Re: FlexJS IDE integration

2017-08-08 Thread piotrz
Hi Vincent, Give a try Moonshine IDE [1] . It's more friendly when someone is starting with FlexJS. [1]http://moonshine-ide.com Thanks, Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-users.246.n4.nabble.com/FlexJS-IDE-integration