Re: [FlexJS] Reaching out to IDE developers to support FlexJS

2015-05-11 Thread kevin.godell
I did have to tweak the mxmlc file in /js/bin because the build would immediately fail with the Error: Unable to access jarfile /../lib/mxmlc.jar. I changed SCRIPT_HOME and removed the "/". Maybe that broke something? All of the files I have were installed using the flex sdk installer with the flex

Re: [FlexJS] Reaching out to IDE developers to support FlexJS

2015-05-11 Thread Alex Harui
OK, I pushed an update to FalconJX to show the list of SWCS it found. Give it about 20 minutes to build Falcon and maybe try installing FlexJS nightly build again. I have to stop for tonight. Thanks again for trying it out. -Alex On 5/11/15, 10:50 PM, "Alex Harui" wrote: >Hi Kevin, > >Did you

Re: [FlexJS] Reaching out to IDE developers to support FlexJS

2015-05-11 Thread Alex Harui
Hi Kevin, Did you look inside Core.swc to see if the files were in there? It feels like the compiler can’t find the files in the SWCs. Maybe you have an older build of the compiler somehow, or maybe something else is broken. I’ll see if I can add some more output info to the compiler. -Alex O

Re: [FlexJS] Reaching out to IDE developers to support FlexJS

2015-05-11 Thread kevin.godell
@Piotrz, I found the FilePath when I was playing with the insert macros button. @Alex, the new message is slightly different, now complaining about a different file: /Users/kevinGodell/Documents/flexjs-0.0.3nightly_air-17/js/bin/mxmlc /Users/kevinGodell/IdeaProjects/flexJS/DataBindingTest/src/Dat

Re: [FlexJS] Reaching out to IDE developers to support FlexJS

2015-05-11 Thread piotrz
Wow Kevin! Great I didn't know about that option with $FilePath$ - Thank you! :) So we have almost successful build on two OS. :) Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Reaching-out-to-

Re: [FlexJS] Reaching out to IDE developers to support FlexJS

2015-05-11 Thread Alex Harui
Hmm, not sure what’s wrong. In /Users/kevinGodell/Documents/flexjs-0.0.3nightly_air-17/frameworks/libs should be a Core.swc. All SWC files are just zip files so open it as a zip file and see if EffectTimer.js is in there (under js/src/org/apache/flex/utils) Create a folder at /Users/kevinGodell

Re: [FlexJS] Reaching out to IDE developers to support FlexJS

2015-05-11 Thread kevin.godell
I changed it to /js/bin/mxmlc and got this response: /Users/kevinGodell/Documents/flexjs-0.0.3nightly_air-17/js/bin/mxmlc /Users/kevinGodell/IdeaProjects/flexJS/DataBindingTest/src/DataBindingTest.mxml Using Falcon codebase: /Users/kevinGodell/Documents/flexjs-0.0.3nightly_air-17 Using Flex SDK: /

Re: [FlexJS] Reaching out to IDE developers to support FlexJS

2015-05-11 Thread kevin.godell
And about the intellij external tools settings, you can use $FilePath$ in the parameters box instead of hard coding the individual app's .mxml file. Just make sure you have the main .mxml file open and it is focused, so that the tool will target it's FilePath when launching. That way you can reuse

Re: [FlexJS] Reaching out to IDE developers to support FlexJS

2015-05-11 Thread Alex Harui
And now, you should be able to run the mxmlc in js/bin and get a “bin” folder in the DataBindingTest folder that contains the HTML/JS/CSS equivalent. -Alex On 5/11/15, 9:23 PM, "OmPrakash Muppirala" wrote: >On Mon, May 11, 2015 at 9:05 PM, kevin.godell >wrote: > >> I was able to get the extern

Re: [FlexJS] Reaching out to IDE developers to support FlexJS

2015-05-11 Thread OmPrakash Muppirala
On Mon, May 11, 2015 at 9:05 PM, kevin.godell wrote: > I was able to get the external tool setup on mac/intellij and got a .swf > using the DataBindingTest example with only 1 warning: > > /Users/kevinGodell/Documents/flexjs-0.0.3nightly_air-17/bin/mxmlc > > /Users/kevinGodell/IdeaProjects/flexJS

Re: [FlexJS] Reaching out to IDE developers to support FlexJS

2015-05-11 Thread kevin.godell
I was able to get the external tool setup on mac/intellij and got a .swf using the DataBindingTest example with only 1 warning: /Users/kevinGodell/Documents/flexjs-0.0.3nightly_air-17/bin/mxmlc /Users/kevinGodell/IdeaProjects/flexJS/DataBindingTest/src/DataBindingTest.mxml Loading configuration: /

Re: [FlexJS] Reaching out to IDE developers to support FlexJS

2015-05-11 Thread Alex Harui
On 5/11/15, 2:50 PM, "piotrz" wrote: > >If you could Alex try to put SourceLocator and we will see what will >happen. Ok, I will look into that this week. Of course, anybody else is more than welcome to try it first. -Alex

Re: [FlexJS] Reaching out to IDE developers to support FlexJS

2015-05-11 Thread piotrz
Alex, Actually this is all what I got - Intellij do not show me anything more in this stack trace. As for ambiguous reference I had probably something cached by Intellij and had some old code even after pull from git. I had additional imports in MyModel.as: import flash.events.EventDispatcher;

Re: [FlexJS] Reaching out to IDE developers to support FlexJS

2015-05-11 Thread Alex Harui
Hi Piotr, That’s great news that you found a way to get it to work. Can you explain what you had to do to remove ambiguous reference to EventDispatcher? Also, can you examine more closely the errors about not finding the SourceLocator class? If you go all the way to the top of the stack, what c

Re: [FlexJS] Reaching out to IDE developers to support FlexJS

2015-05-11 Thread piotrz
Alex, Once I removed ambiguous reference to EventDispatcher build to js [1] and swf [2] was successful. Intellij didn't manage to launch application in debug mode [3] which is ok because for this purpose I might need separate plugin. At least we know that building application is possible using e

Re: Falcon/FalconJX installation broken

2015-05-11 Thread Alex Harui
Hi Kevin, My recommended workflow for FlexJS is to build a SWF first and debug it because the Flash Player VM and the IDE’s debugger should make that a pretty fast edit/compile/debug cycle. So typically, you want to build the SWF first by either integrating bin/mxmlc into the IDE or calling it di

Re: Falcon/FalconJX installation broken

2015-05-11 Thread kevin.godell
Thanks Alex. I had already installed the flexjs nightly and was trying to setup external tools on intellij. I was trying to mimic the launch config settings found in /ide/flashbuilder which was targeting sdk/js/bin/mxmlc. When running the external tool on intellij(after updating to java 1.7) there

Re: AW: About Flexmojos 7.1.0-SNAPSHOT package adobe air qustion

2015-05-11 Thread huangteng1220
Hi Chris, Thank you very much! I can run my AIR application,but I get another error,when I generate "Package AIR Application".The error is " Failed to package AIR application HelloWorld.exe: Error: Could not find or load main class com.adobe.air.ADT [ADT command line

RE: AW: [FlexMojo] build

2015-05-11 Thread Frédéric THOMAS
Hi Chris, I updated the utility repo, re-installed and copied the extension but nothing changed, will try to find the time to dig into tonigth and eventually come back to you. Thanks, Frédéric THOMAS > From: christofer.d...@c-ware.de > To: dev@flex.apache.org > Subject: AW: [FlexMojo] build >

AW: About Flexmojos 7.1.0-SNAPSHOT package adobe air qustion

2015-05-11 Thread Christofer Dutz
As I decoupled Flexmojos, Flex, Flash and Air, in order to use the Air stuff, you need a second dependency on the air-compiler artifact. Have a look at the sources for one of the projects in the Flexmojos testsuite. I think this should provide you with all you need: https://github.com/chrisdutz/