RE: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-05-21 Thread Frédéric THOMAS
waoo, you have been a bit fast for me :-) , I didn't get your answer, there are 
few points here:

1- The SDK is not automatically set in IntelliJ
2- The swf is not generated, but we need it too
3- The js-release folder is empty, it supposed to contain the index.html I use 
to launch and debug the JS part
4- I've got things like mx-4.14.1-de_DE2de_AT.rb.swc in my repo !!?? What is it 
?

Frédéric THOMAS

> From: christofer.d...@c-ware.de
> To: dev@flex.apache.org
> Subject: AW: AW: AW: [FlexJS] IntelliJ Integration
> Date: Thu, 21 May 2015 14:39:50 +
> 
> That's a result of the Resource Bundle Chaining of Flexmojos.
> Don't wory about that.
> 
> Actually I have setup Falcon and ASJS to publish maven artifacts. I am 
> planning on releasing these the normal Maven way so there is no need to 
> mavenize them.
> 
> Chris
> 
> 
> 
> -Ursprüngliche Nachricht-
> Von: Frédéric THOMAS [mailto:webdoubl...@hotmail.com] 
> Gesendet: Donnerstag, 21. Mai 2015 14:35
> An: dev@flex.apache.org
> Betreff: RE: AW: AW: [FlexJS] IntelliJ Integration
> 
> I meant the .swf is not generated.
> 
> And I've got things like mx-4.14.1-de_DE2de_AT.rb.swc in my repo !!??
> 
> Frédéric THOMAS
> 
> > From: webdoubl...@hotmail.com
> > To: dev@flex.apache.org
> > Subject: RE: AW: AW: [FlexJS] IntelliJ Integration
> > Date: Thu, 21 May 2015 13:24:18 +0100
> > 
> > I noticed few things too using the 
> > maven-flex-plugin\examples\flexjs\flexjs-hello-world in more than the 
> > general integration issues we have:
> > 
> > 1- The SDK is not automatically set
> > 2- The swc is not generated
> > 3- The js-release folder is empty
> > 
> > Frédéric THOMAS
> > 
> > > From: christofer.d...@c-ware.de
> > > To: dev@flex.apache.org
> > > Subject: AW: AW: [FlexJS] IntelliJ Integration
> > > Date: Wed, 20 May 2015 17:43:51 +
> > > 
> > > Well just have a look at this:
> > > 
> > > https://youtrack.jetbrains.com/issue/IDEA-140467
> > > 
> > > It seems the changes I did for supporting newer versions of Maven have 
> > > broken the integration in IntelliJ, so usually it would have auto created 
> > > lots of config.xml in the ".idea/flexmojos/" directory.
> > > 
> > > So as soon as that's fixed, I think supporting falcon shouldn't be 
> > > that hard (actually I would assume there shouldn't be any effort at 
> > > all except if there are class-version clashes)
> > > 
> > > The next thing I noticed today was that IntelliJ doesn't seem to 
> > > auto-detect the air config file created by flexmojos in the "target/air" 
> > > directory. But as soon as I point IntelliJ there it works like a charm 
> > > and I can test my mobile app in any environment (At least it worked in 
> > > the Android and IOs emulator on my mac). 
> > > 
> > > Another thing I noticed with Air was that IntelliJ won't work with one of 
> > > the auto-detected Flexmojo SDKs, you need to provide a normal FDK .. 
> > > would be really cool if you could use that.
> > > 
> > > Well for now this is more a Flexmojos 7.1.0 Support in IntelliJ, but 
> > > as Flexmojos 7.1 supports Falcon and FlexJS as I said, FlexJS 
> > > support in IntelliJ should come for free :-)
> > > 
> > > Chris
> > > 
> > > 
> > > 
> > > -Ursprüngliche Nachricht-
> > > Von: Frédéric THOMAS [mailto:webdoubl...@hotmail.com]
> > > Gesendet: Mittwoch, 20. Mai 2015 17:09
> > > An: dev@flex.apache.org
> > > Betreff: RE: AW: [FlexJS] IntelliJ Integration
> > > 
> > > 
> > > 
> > > 
> > > Chris,
> > > 
> > > What issues do you have with FM and Falcon regarding IntelliJ ?
> > > 
> > > > could you get me up to speed what problems you are currently working on?
> > > 
> > > Well, except of an opened issue [1] for Flex JS full integration, I 
> > > guess nothing :-)
> > > 
> > > For instance, to be able t use FlexJS, I create a Flex Project and add  
> > > FlexJS as a Lib, use as an external tool, the compilers.
> > > Doing so, we have IntelliJ to autocomplete, compile and recognize the the 
> > > debugger.
> > > 
> > > We would have like to be able to use FlexJS as an SDK but until now it 
> > > didn't work, it seems Kevin found a way but I wasn't able to reproduce.
> > > 
> > > Frédéric THOMAS
> > > 
> > > [1] https://youtrack.jetbrains.com/issue/IDEA-116986
> > > 
> > > > From: christofer.d...@c-ware.de
> > > > To: dev@flex.apache.org
> > > > Subject: AW: [FlexJS] IntelliJ Integration
> > > > Date: Wed, 20 May 2015 14:13:19 +
> > > > 
> > > > Hi Guys,
> > > > 
> > > > as I am currently opening issues regarding flexmojos 7.1.0 support 
> > > > in IntelliJ (Especially regarding Falcon support using Flexmojos) ...
> > > > could you get me up to speed what problems you are currently 
> > > > working on? I am currently unable to fully expand this 
> > > > discussion-thread as it is so long that my outlook web interface 
> > > > sort of screws up every time I go back in time and I have to admit 
> > > > the velocity in which posts initially came sort of prevented me 
> > > > from digging in a few days ago ;-)
> 

RE: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-05-21 Thread Frédéric THOMAS
@Alex,

I've been playing a bit with the flex-compiler-oem that intellij can use, I 
started to add the functions it expects but I had to stop and ask you, why it 
doesn't contains things like Mxmlc anymore, that IntelliJ uses ?

Thanks,
Frédéric THOMAS

> From: webdoubl...@hotmail.com
> To: dev@flex.apache.org
> Subject: RE: AW: AW: AW: [FlexJS] IntelliJ Integration
> Date: Thu, 21 May 2015 16:02:25 +0100
> 
> waoo, you have been a bit fast for me :-) , I didn't get your answer, there 
> are few points here:
> 
> 1- The SDK is not automatically set in IntelliJ
> 2- The swf is not generated, but we need it too
> 3- The js-release folder is empty, it supposed to contain the index.html I 
> use to launch and debug the JS part
> 4- I've got things like mx-4.14.1-de_DE2de_AT.rb.swc in my repo !!?? What is 
> it ?
> 
> Frédéric THOMAS
> 
> > From: christofer.d...@c-ware.de
> > To: dev@flex.apache.org
> > Subject: AW: AW: AW: [FlexJS] IntelliJ Integration
> > Date: Thu, 21 May 2015 14:39:50 +
> > 
> > That's a result of the Resource Bundle Chaining of Flexmojos.
> > Don't wory about that.
> > 
> > Actually I have setup Falcon and ASJS to publish maven artifacts. I am 
> > planning on releasing these the normal Maven way so there is no need to 
> > mavenize them.
> > 
> > Chris
> > 
> > 
> > 
> > -Ursprüngliche Nachricht-
> > Von: Frédéric THOMAS [mailto:webdoubl...@hotmail.com] 
> > Gesendet: Donnerstag, 21. Mai 2015 14:35
> > An: dev@flex.apache.org
> > Betreff: RE: AW: AW: [FlexJS] IntelliJ Integration
> > 
> > I meant the .swf is not generated.
> > 
> > And I've got things like mx-4.14.1-de_DE2de_AT.rb.swc in my repo !!??
> > 
> > Frédéric THOMAS
> > 
> > > From: webdoubl...@hotmail.com
> > > To: dev@flex.apache.org
> > > Subject: RE: AW: AW: [FlexJS] IntelliJ Integration
> > > Date: Thu, 21 May 2015 13:24:18 +0100
> > > 
> > > I noticed few things too using the 
> > > maven-flex-plugin\examples\flexjs\flexjs-hello-world in more than the 
> > > general integration issues we have:
> > > 
> > > 1- The SDK is not automatically set
> > > 2- The swc is not generated
> > > 3- The js-release folder is empty
> > > 
> > > Frédéric THOMAS
> > > 
> > > > From: christofer.d...@c-ware.de
> > > > To: dev@flex.apache.org
> > > > Subject: AW: AW: [FlexJS] IntelliJ Integration
> > > > Date: Wed, 20 May 2015 17:43:51 +
> > > > 
> > > > Well just have a look at this:
> > > > 
> > > > https://youtrack.jetbrains.com/issue/IDEA-140467
> > > > 
> > > > It seems the changes I did for supporting newer versions of Maven have 
> > > > broken the integration in IntelliJ, so usually it would have auto 
> > > > created lots of config.xml in the ".idea/flexmojos/" directory.
> > > > 
> > > > So as soon as that's fixed, I think supporting falcon shouldn't be 
> > > > that hard (actually I would assume there shouldn't be any effort at 
> > > > all except if there are class-version clashes)
> > > > 
> > > > The next thing I noticed today was that IntelliJ doesn't seem to 
> > > > auto-detect the air config file created by flexmojos in the 
> > > > "target/air" directory. But as soon as I point IntelliJ there it works 
> > > > like a charm and I can test my mobile app in any environment (At least 
> > > > it worked in the Android and IOs emulator on my mac). 
> > > > 
> > > > Another thing I noticed with Air was that IntelliJ won't work with one 
> > > > of the auto-detected Flexmojo SDKs, you need to provide a normal FDK .. 
> > > > would be really cool if you could use that.
> > > > 
> > > > Well for now this is more a Flexmojos 7.1.0 Support in IntelliJ, but 
> > > > as Flexmojos 7.1 supports Falcon and FlexJS as I said, FlexJS 
> > > > support in IntelliJ should come for free :-)
> > > > 
> > > > Chris
> > > > 
> > > > 
> > > > 
> > > > -Ursprüngliche Nachricht-
> > > > Von: Frédéric THOMAS [mailto:webdoubl...@hotmail.com]
> > > > Gesendet: Mittwoch, 20. Mai 2015 17:09
> > > > An: dev@flex.apache.org
> > > > Betreff: RE: AW: [FlexJS] IntelliJ Integration
> > > > 
> > > > 
> > > > 

Re: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-05-21 Thread Alex Harui


On 5/21/15, 9:58 AM, "Frédéric THOMAS"  wrote:

>@Alex,
>
>I've been playing a bit with the flex-compiler-oem that intellij can use,
>I started to add the functions it expects but I had to stop and ask you,
>why it doesn't contains things like Mxmlc anymore, that IntelliJ uses ?

Well, Falcon is supposed to replace Mxmlc.  My goal with Falcon’s
flex-compiler-oem was to use as few classes from the SDK’s MXMLC as
possible so we don’t have to maintain them going forward in Falcon and
make the APIs call what was needed in Falcon to get Flash Builder to work.

It sounds like IntelliJ decided to use other APIs in flex-compiler-oem.
Hopefully you can implement what it needs by calling Falcon code without
dragging too much more of the old MXMLC into the Falcon code-base.

-Alex
  



RE: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-05-22 Thread Frédéric THOMAS
Hi Alex,

Well, as per [1], I thought we would have keep the same feature for Falcon.

And In IntelliJ, as per their doc, you can select which of the available Flex 
compilers should be used:

1- Built-in compiler shell. An 
IntelliJ IDEA compiler shell which uses the Flex SDK 
compiler API.



This compiler shell can perform incremental 
  compilations. As a multithreaded shell, it is capable of 
  running a number of compilations simultaneously, in 
  parallel.


2- Mxmlc/compc: Compiler 
available in Flex SDK

This compiler cannot compile incrementally. However, it 
  can run several independent compilation processes 
  simultaneously which significantly improves the 
  compilation performance.


Whichever of the compiler options you use, IntelliJ IDEA 
  keeps track of the modules where nothing has changed since 
  the previous compilation. Consequently, the SWF and SWC 
  files that are up-to-date are not compiled.



  
Selecting the 2nd option and trying to build a project, I can see all the 
failed calls to the flex-compiler-oem and it uses CompilerAPI, Mxmlc and I 
guess Compc for libs.

Will try to do my best with the low knowlegde I've got on the Compiler.

Thanks,

  

Frédéric THOMAS

[1] http://help.adobe.com/en_US/Flex/4.0/CompilerAPI/flex_4.0_compilerapi.pdf

> From: aha...@adobe.com
> To: dev@flex.apache.org
> Subject: Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> Date: Thu, 21 May 2015 17:18:26 +
> 
> 
> 
> On 5/21/15, 9:58 AM, "Frédéric THOMAS"  wrote:
> 
> >@Alex,
> >
> >I've been playing a bit with the flex-compiler-oem that intellij can use,
> >I started to add the functions it expects but I had to stop and ask you,
> >why it doesn't contains things like Mxmlc anymore, that IntelliJ uses ?
> 
> Well, Falcon is supposed to replace Mxmlc.  My goal with Falcon’s
> flex-compiler-oem was to use as few classes from the SDK’s MXMLC as
> possible so we don’t have to maintain them going forward in Falcon and
> make the APIs call what was needed in Falcon to get Flash Builder to work.
> 
> It sounds like IntelliJ decided to use other APIs in flex-compiler-oem.
> Hopefully you can implement what it needs by calling Falcon code without
> dragging too much more of the old MXMLC into the Falcon code-base.
> 
> -Alex
> 
> 
  

Re: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-05-22 Thread Alex Harui
FWIW, in the FlashBuilder/Falcon integration, I’ve blocked incremental
compiles, at least for now.  Besides there were plenty of bugs in the
incremental compilation.

It looks like (in the flex-sdk repo)
modules/compiler/src/java/flex2/tools/Mxmlc.java is a command-line entry
point for the compiler.  When I was hacking flex-oem-compiler for Falcon,
I would take a class like that from the flex-sdk repo, add it to Falcon’s
flex-oem-compiler and comment out the bodies of the methods and then try
to figure out what FB was really looking for and then make the required
calls to Falcon to make it happen.  The problem is that some imports in
some of these files bring in a ton of other files that we don’t want to
support in Falcon since they do similar things in MXMLC.

If we’re lucky, IJ just uses an Mxmlc class to call its main() or mxmlc()
method with command-line args and you can just pass them to the Falcon
Mxmlc class.

Thanks,
-Alex

BTW, I finally got a new Windows computer and have plans to install IJ,
FlashDevelop and FDT on it, but other things are currently taking higher
priority.



On 5/22/15, 6:39 AM, "Frédéric THOMAS"  wrote:

>Hi Alex,
>
>Well, as per [1], I thought we would have keep the same feature for
>Falcon.
>
>And In IntelliJ, as per their doc, you can select which of the available
>Flex compilers should be used:
>
>1- Built-in compiler shell. An
>IntelliJ IDEA compiler shell which uses the Flex SDK
>compiler API.
>
>  
>
>This compiler shell can perform incremental
>  compilations. As a multithreaded shell, it is
>capable of 
>  running a number of compilations simultaneously, in
>  parallel.
>  
>
>2- Mxmlc/compc: Compiler
>available in Flex SDK
>
>This compiler cannot compile incrementally. However, it
>  can run several independent compilation processes
>  simultaneously which significantly improves the
>  compilation performance.
>  
>
>Whichever of the compiler options you use, IntelliJ IDEA
>  keeps track of the modules where nothing has changed
>since 
>  the previous compilation. Consequently, the SWF and SWC
>  files that are up-to-date are not compiled.
>
>
>
>  
>Selecting the 2nd option and trying to build a project, I can see all the
>failed calls to the flex-compiler-oem and it uses CompilerAPI, Mxmlc and
>I guess Compc for libs.
>
>Will try to do my best with the low knowlegde I've got on the Compiler.
>
>Thanks,
>
>  
>
>Frédéric THOMAS
>
>[1] 
>http://help.adobe.com/en_US/Flex/4.0/CompilerAPI/flex_4.0_compilerapi.pdf
>
>> From: aha...@adobe.com
>> To: dev@flex.apache.org
>> Subject: Re: AW: AW: AW: [FlexJS] IntelliJ Integration
>> Date: Thu, 21 May 2015 17:18:26 +
>> 
>> 
>> 
>> On 5/21/15, 9:58 AM, "Frédéric THOMAS"  wrote:
>> 
>> >@Alex,
>> >
>> >I've been playing a bit with the flex-compiler-oem that intellij can
>>use,
>> >I started to add the functions it expects but I had to stop and ask
>>you,
>> >why it doesn't contains things like Mxmlc anymore, that IntelliJ uses ?
>> 
>> Well, Falcon is supposed to replace Mxmlc.  My goal with Falcon’s
>> flex-compiler-oem was to use as few classes from the SDK’s MXMLC as
>> possible so we don’t have to maintain them going forward in Falcon and
>> make the APIs call what was needed in Falcon to get Flash Builder to
>>work.
>> 
>> It sounds like IntelliJ decided to use other APIs in flex-compiler-oem.
>> Hopefully you can implement what it needs by calling Falcon code without
>> dragging too much more of the old MXMLC into the Falcon code-base.
>> 
>> -Alex
>>
>> 
> 



RE: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-05-22 Thread Frédéric THOMAS
So, I've been able to use the flex-compiler-oem instead of the external tools 
feature provided by IntelliJ.

The all thing is not finished, I still need:

1- Figure out why IntelliJ auto-switch to its internal compiler, that's really 
not handy !!
2- See, if it is FM or IJ which remove the .swf at the end of the output file
3- Find a way to plug the IJ logger to the compiler (Alex, any idea ? ho does 
it work for FB ?)
4- Cleanup and commit.

Still, that's a big progress :-)

Frédéric THOMAS

> From: aha...@adobe.com
> To: dev@flex.apache.org
> Subject: Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> Date: Fri, 22 May 2015 15:00:52 +
> 
> FWIW, in the FlashBuilder/Falcon integration, I’ve blocked incremental
> compiles, at least for now.  Besides there were plenty of bugs in the
> incremental compilation.
> 
> It looks like (in the flex-sdk repo)
> modules/compiler/src/java/flex2/tools/Mxmlc.java is a command-line entry
> point for the compiler.  When I was hacking flex-oem-compiler for Falcon,
> I would take a class like that from the flex-sdk repo, add it to Falcon’s
> flex-oem-compiler and comment out the bodies of the methods and then try
> to figure out what FB was really looking for and then make the required
> calls to Falcon to make it happen.  The problem is that some imports in
> some of these files bring in a ton of other files that we don’t want to
> support in Falcon since they do similar things in MXMLC.
> 
> If we’re lucky, IJ just uses an Mxmlc class to call its main() or mxmlc()
> method with command-line args and you can just pass them to the Falcon
> Mxmlc class.
> 
> Thanks,
> -Alex
> 
> BTW, I finally got a new Windows computer and have plans to install IJ,
> FlashDevelop and FDT on it, but other things are currently taking higher
> priority.
> 
> 
> 
> On 5/22/15, 6:39 AM, "Frédéric THOMAS"  wrote:
> 
> >Hi Alex,
> >
> >Well, as per [1], I thought we would have keep the same feature for
> >Falcon.
> >
> >And In IntelliJ, as per their doc, you can select which of the available
> >Flex compilers should be used:
> >
> >1- Built-in compiler shell. An
> >IntelliJ IDEA compiler shell which uses the Flex SDK
> >compiler API.
> >
> >  
> >
> >This compiler shell can perform incremental
> >  compilations. As a multithreaded shell, it is
> >capable of 
> >  running a number of compilations simultaneously, in
> >  parallel.
> >  
> >
> >2- Mxmlc/compc: Compiler
> >available in Flex SDK
> >
> >This compiler cannot compile incrementally. However, it
> >  can run several independent compilation processes
> >  simultaneously which significantly improves the
> >  compilation performance.
> >  
> >
> >Whichever of the compiler options you use, IntelliJ IDEA
> >  keeps track of the modules where nothing has changed
> >since 
> >  the previous compilation. Consequently, the SWF and SWC
> >  files that are up-to-date are not compiled.
> >
> >
> >
> >  
> >Selecting the 2nd option and trying to build a project, I can see all the
> >failed calls to the flex-compiler-oem and it uses CompilerAPI, Mxmlc and
> >I guess Compc for libs.
> >
> >Will try to do my best with the low knowlegde I've got on the Compiler.
> >
> >Thanks,
> >
> >  
> >
> >Frédéric THOMAS
> >
> >[1] 
> >http://help.adobe.com/en_US/Flex/4.0/CompilerAPI/flex_4.0_compilerapi.pdf
> >
> >> From: aha...@adobe.com
> >> To: dev@flex.apache.org
> >> Subject: Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> >> Date: Thu, 21 May 2015 17:18:26 +
> >> 
> >> 
> >> 
> >> On 5/21/15, 9:58 AM, "Frédéric THOMAS"  wrote:
> >> 
> >> >@Alex,
> >> >
> >> >I've been playing a bit with the flex-compiler-oem that intellij can
> >>use,
> >> >I started to add the functions it expects but I had to stop and ask
> >>you,
> >> >why it doesn't contains things like Mxmlc anymore, that IntelliJ uses ?
> >> 
> >> Well, Falcon is supposed to replace Mxmlc.  My goal with Falcon’s
> >> flex-compiler-oem was to use as few classes from the SDK’s MXMLC as
> >> possible so we don’t have to maintain them going forward in Falcon and
> >> make the APIs call what was needed in Falcon to get Flash Builder to
> >>work.
> >> 
> >> It sounds like IntelliJ decided to use other APIs in flex-compiler-oem.
> >> Hopefully you can implement what it needs by calling Falcon code without
> >> dragging too much more of the old MXMLC into the Falcon code-base.
> >> 
> >> -Alex
> >>  
> >> 
> >   
> 
  

RE: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-05-22 Thread Frédéric THOMAS
I forgot to mentioned in my tasks, to do the same with the COMPC.
Also, to mention, I've been able to compile a Standard FlexJS project and one 
build from FlexMojos

Frédéric THOMAS

> From: webdoubl...@hotmail.com
> To: dev@flex.apache.org
> Subject: RE: AW: AW: AW: [FlexJS] IntelliJ Integration
> Date: Fri, 22 May 2015 18:19:21 +0100
> 
> So, I've been able to use the flex-compiler-oem instead of the external tools 
> feature provided by IntelliJ.
> 
> The all thing is not finished, I still need:
> 
> 1- Figure out why IntelliJ auto-switch to its internal compiler, that's 
> really not handy !!
> 2- See, if it is FM or IJ which remove the .swf at the end of the output file
> 3- Find a way to plug the IJ logger to the compiler (Alex, any idea ? ho does 
> it work for FB ?)
> 4- Cleanup and commit.
> 
> Still, that's a big progress :-)
> 
> Frédéric THOMAS
> 
> > From: aha...@adobe.com
> > To: dev@flex.apache.org
> > Subject: Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> > Date: Fri, 22 May 2015 15:00:52 +
> > 
> > FWIW, in the FlashBuilder/Falcon integration, I’ve blocked incremental
> > compiles, at least for now.  Besides there were plenty of bugs in the
> > incremental compilation.
> > 
> > It looks like (in the flex-sdk repo)
> > modules/compiler/src/java/flex2/tools/Mxmlc.java is a command-line entry
> > point for the compiler.  When I was hacking flex-oem-compiler for Falcon,
> > I would take a class like that from the flex-sdk repo, add it to Falcon’s
> > flex-oem-compiler and comment out the bodies of the methods and then try
> > to figure out what FB was really looking for and then make the required
> > calls to Falcon to make it happen.  The problem is that some imports in
> > some of these files bring in a ton of other files that we don’t want to
> > support in Falcon since they do similar things in MXMLC.
> > 
> > If we’re lucky, IJ just uses an Mxmlc class to call its main() or mxmlc()
> > method with command-line args and you can just pass them to the Falcon
> > Mxmlc class.
> > 
> > Thanks,
> > -Alex
> > 
> > BTW, I finally got a new Windows computer and have plans to install IJ,
> > FlashDevelop and FDT on it, but other things are currently taking higher
> > priority.
> > 
> > 
> > 
> > On 5/22/15, 6:39 AM, "Frédéric THOMAS"  wrote:
> > 
> > >Hi Alex,
> > >
> > >Well, as per [1], I thought we would have keep the same feature for
> > >Falcon.
> > >
> > >And In IntelliJ, as per their doc, you can select which of the available
> > >Flex compilers should be used:
> > >
> > >1- Built-in compiler shell. An
> > >IntelliJ IDEA compiler shell which uses the Flex SDK
> > >compiler API.
> > >
> > >  
> > >
> > >This compiler shell can perform incremental
> > >  compilations. As a multithreaded shell, it is
> > >capable of 
> > >  running a number of compilations simultaneously, in
> > >  parallel.
> > >  
> > >
> > >2- Mxmlc/compc: Compiler
> > >available in Flex SDK
> > >
> > >This compiler cannot compile incrementally. However, it
> > >  can run several independent compilation processes
> > >  simultaneously which significantly improves the
> > >  compilation performance.
> > >  
> > >
> > >Whichever of the compiler options you use, IntelliJ IDEA
> > >  keeps track of the modules where nothing has changed
> > >since 
> > >  the previous compilation. Consequently, the SWF and SWC
> > >                  files that are up-to-date are not compiled.
> > >
> > >
> > >
> > >  
> > >Selecting the 2nd option and trying to build a project, I can see all the
> > >failed calls to the flex-compiler-oem and it uses CompilerAPI, Mxmlc and
> > >I guess Compc for libs.
> > >
> > >Will try to do my best with the low knowlegde I've got on the Compiler.
> > >
> > >Thanks,
> > >
> > >  
> > >
> > >Frédéric THOMAS
> > >
> > >[1] 
> > >http://help.adobe.com/en_US/Flex/4.0/CompilerAPI/flex_4.0_compilerapi.pdf
> > >
> > >> From: aha...@adobe.com
> >

RE: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-05-22 Thread Frédéric THOMAS
> FWIW, in the FlashBuilder/Falcon integration, I’ve blocked incremental
> compiles, at least for now.  Besides there were plenty of bugs in the
> incremental compilation.

With randori, I've was passing only the files to recompile, I won't be able to 
do that here at least for now but maybe @Mike remember if he did something 
particular for this in the Randori compiler ?

> If we’re lucky, IJ just uses an Mxmlc class to call its main() or mxmlc()
> method with command-line args and you can just pass them to the Falcon
> Mxmlc class.

Ii is also calling processConfiguration before to call Mxmlc, I know it is not 
done by the same Classes now but add to accept the call and at the moment I 
return null but don't know if I do well.

Thanks,
Frédéric THOMAS

> From: aha...@adobe.com
> To: dev@flex.apache.org
> Subject: Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> Date: Fri, 22 May 2015 15:00:52 +
> 
> FWIW, in the FlashBuilder/Falcon integration, I’ve blocked incremental
> compiles, at least for now.  Besides there were plenty of bugs in the
> incremental compilation.
> 
> It looks like (in the flex-sdk repo)
> modules/compiler/src/java/flex2/tools/Mxmlc.java is a command-line entry
> point for the compiler.  When I was hacking flex-oem-compiler for Falcon,
> I would take a class like that from the flex-sdk repo, add it to Falcon’s
> flex-oem-compiler and comment out the bodies of the methods and then try
> to figure out what FB was really looking for and then make the required
> calls to Falcon to make it happen.  The problem is that some imports in
> some of these files bring in a ton of other files that we don’t want to
> support in Falcon since they do similar things in MXMLC.
> 
> If we’re lucky, IJ just uses an Mxmlc class to call its main() or mxmlc()
> method with command-line args and you can just pass them to the Falcon
> Mxmlc class.
> 
> Thanks,
> -Alex
> 
> BTW, I finally got a new Windows computer and have plans to install IJ,
> FlashDevelop and FDT on it, but other things are currently taking higher
> priority.
> 
> 
> 
> On 5/22/15, 6:39 AM, "Frédéric THOMAS"  wrote:
> 
> >Hi Alex,
> >
> >Well, as per [1], I thought we would have keep the same feature for
> >Falcon.
> >
> >And In IntelliJ, as per their doc, you can select which of the available
> >Flex compilers should be used:
> >
> >1- Built-in compiler shell. An
> >IntelliJ IDEA compiler shell which uses the Flex SDK
> >compiler API.
> >
> >  
> >
> >This compiler shell can perform incremental
> >  compilations. As a multithreaded shell, it is
> >capable of 
> >  running a number of compilations simultaneously, in
> >  parallel.
> >  
> >
> >2- Mxmlc/compc: Compiler
> >available in Flex SDK
> >
> >This compiler cannot compile incrementally. However, it
> >  can run several independent compilation processes
> >  simultaneously which significantly improves the
> >  compilation performance.
> >  
> >
> >Whichever of the compiler options you use, IntelliJ IDEA
> >  keeps track of the modules where nothing has changed
> >since 
> >  the previous compilation. Consequently, the SWF and SWC
> >  files that are up-to-date are not compiled.
> >
> >
> >
> >  
> >Selecting the 2nd option and trying to build a project, I can see all the
> >failed calls to the flex-compiler-oem and it uses CompilerAPI, Mxmlc and
> >I guess Compc for libs.
> >
> >Will try to do my best with the low knowlegde I've got on the Compiler.
> >
> >Thanks,
> >
> >  
> >
> >Frédéric THOMAS
> >
> >[1] 
> >http://help.adobe.com/en_US/Flex/4.0/CompilerAPI/flex_4.0_compilerapi.pdf
> >
> >> From: aha...@adobe.com
> >> To: dev@flex.apache.org
> >> Subject: Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> >> Date: Thu, 21 May 2015 17:18:26 +
> >> 
> >> 
> >> 
> >> On 5/21/15, 9:58 AM, "Frédéric THOMAS"  wrote:
> >> 
> >> >@Alex,
> >> >
> >> >I've been playing a bit with the flex-compiler-oem that intellij can
> >>use,
> >> >I started to add the functions it expects but I had to stop and ask
> >>you,
> >> >why it doesn't contains things like Mxmlc anymore, that IntelliJ uses ?
> >> 
> >> Well, Falcon is supposed to replace Mxmlc.  My goal with Falcon’s
> >> flex-compiler-oem was to use as few classes from the SDK’s MXMLC as
> >> possible so we don’t have to maintain them going forward in Falcon and
> >> make the APIs call what was needed in Falcon to get Flash Builder to
> >>work.
> >> 
> >> It sounds like IntelliJ decided to use other APIs in flex-compiler-oem.
> >> Hopefully you can implement what it needs by calling Falcon code without
> >> dragging too much more of the old MXMLC into the Falcon code-base.
> >> 
> >> -Alex
> >>  
> >> 
> >   
> 
  

Re: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-05-22 Thread Michael Schmalle
On Fri, May 22, 2015 at 1:32 PM, Frédéric THOMAS 
wrote:

> > FWIW, in the FlashBuilder/Falcon integration, I’ve blocked incremental
> > compiles, at least for now.  Besides there were plenty of bugs in the
> > incremental compilation.
>
> With randori, I've was passing only the files to recompile, I won't be
> able to do that here at least for now but maybe @Mike remember if he did
> something particular for this in the Randori compiler ?
>
>
Yeah, I was running a dependency scan, that is how we implemented
incremental compiles. I would have to look at the code again but we also
generated one monolithic file in dependency order or individual files.

The randori compiler was a lot simpler in a sense that we were just
emitting javascript, FlexJS emitter does a whole lot more with the gcc and
I haven't had time to look into what Alex is doing.

I still can't even commit with Apache repos on Windows still.



> > If we’re lucky, IJ just uses an Mxmlc class to call its main() or mxmlc()
> > method with command-line args and you can just pass them to the Falcon
> > Mxmlc class.
>
> Ii is also calling processConfiguration before to call Mxmlc, I know it is
> not done by the same Classes now but add to accept the call and at the
> moment I return null but don't know if I do well.
>
> Thanks,
> Frédéric THOMAS
>
> > From: aha...@adobe.com
> > To: dev@flex.apache.org
> > Subject: Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> > Date: Fri, 22 May 2015 15:00:52 +
> >
> > FWIW, in the FlashBuilder/Falcon integration, I’ve blocked incremental
> > compiles, at least for now.  Besides there were plenty of bugs in the
> > incremental compilation.
> >
> > It looks like (in the flex-sdk repo)
> > modules/compiler/src/java/flex2/tools/Mxmlc.java is a command-line entry
> > point for the compiler.  When I was hacking flex-oem-compiler for Falcon,
> > I would take a class like that from the flex-sdk repo, add it to Falcon’s
> > flex-oem-compiler and comment out the bodies of the methods and then try
> > to figure out what FB was really looking for and then make the required
> > calls to Falcon to make it happen.  The problem is that some imports in
> > some of these files bring in a ton of other files that we don’t want to
> > support in Falcon since they do similar things in MXMLC.
> >
> > If we’re lucky, IJ just uses an Mxmlc class to call its main() or mxmlc()
> > method with command-line args and you can just pass them to the Falcon
> > Mxmlc class.
> >
> > Thanks,
> > -Alex
> >
> > BTW, I finally got a new Windows computer and have plans to install IJ,
> > FlashDevelop and FDT on it, but other things are currently taking higher
> > priority.
> >
> >
> >
> > On 5/22/15, 6:39 AM, "Frédéric THOMAS"  wrote:
> >
> > >Hi Alex,
> > >
> > >Well, as per [1], I thought we would have keep the same feature for
> > >Falcon.
> > >
> > >And In IntelliJ, as per their doc, you can select which of the available
> > >Flex compilers should be used:
> > >
> > >1- Built-in compiler shell. An
> > >IntelliJ IDEA compiler shell which uses the Flex SDK
> > >compiler API.
> > >
> > >
> > >
> > >This compiler shell can perform incremental
> > >  compilations. As a multithreaded shell, it is
> > >capable of
> > >  running a number of compilations simultaneously,
> in
> > >  parallel.
> > >
> > >
> > >2- Mxmlc/compc: Compiler
> > >available in Flex SDK
> > >
> > >This compiler cannot compile incrementally. However, it
> > >  can run several independent compilation processes
> > >  simultaneously which significantly improves the
> > >  compilation performance.
> > >
> > >
> > >Whichever of the compiler options you use, IntelliJ IDEA
> > >  keeps track of the modules where nothing has changed
> > >since
> > >  the previous compilation. Consequently, the SWF and
> SWC
> > >  files that are up-to-date are not compiled.
> > >
> > >
> > >
> > >
> > >Selecting the 2nd option and trying to build a project, I can see all
> the
> > >failed calls to the flex-compiler-oem and it uses CompilerAPI, Mxmlc and
> > >I guess Compc for libs.
> 

Re: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-05-22 Thread Alex Harui
Fred, this is great progress!

IIRC, the FB compiler calls flex2/tools/oem/Application.java.  You can see
how this class builds up an OEMReport with messages.  It also does some
Configuration stuff as well.  Hopefully you can grab pieces of this and
connect it up with IJ’s entry point.

-Alex

On 5/22/15, 10:25 AM, "Frédéric THOMAS"  wrote:

>I forgot to mentioned in my tasks, to do the same with the COMPC.
>Also, to mention, I've been able to compile a Standard FlexJS project and
>one build from FlexMojos
>
>Frédéric THOMAS
>
>> From: webdoubl...@hotmail.com
>> To: dev@flex.apache.org
>> Subject: RE: AW: AW: AW: [FlexJS] IntelliJ Integration
>> Date: Fri, 22 May 2015 18:19:21 +0100
>> 
>> So, I've been able to use the flex-compiler-oem instead of the external
>>tools feature provided by IntelliJ.
>> 
>> The all thing is not finished, I still need:
>> 
>> 1- Figure out why IntelliJ auto-switch to its internal compiler, that's
>>really not handy !!
>> 2- See, if it is FM or IJ which remove the .swf at the end of the
>>output file
>> 3- Find a way to plug the IJ logger to the compiler (Alex, any idea ?
>>ho does it work for FB ?)
>> 4- Cleanup and commit.
>> 
>> Still, that's a big progress :-)
>> 
>> Frédéric THOMAS
>> 
>> > From: aha...@adobe.com
>> > To: dev@flex.apache.org
>> > Subject: Re: AW: AW: AW: [FlexJS] IntelliJ Integration
>> > Date: Fri, 22 May 2015 15:00:52 +
>> > 
>> > FWIW, in the FlashBuilder/Falcon integration, I’ve blocked incremental
>> > compiles, at least for now.  Besides there were plenty of bugs in the
>> > incremental compilation.
>> > 
>> > It looks like (in the flex-sdk repo)
>> > modules/compiler/src/java/flex2/tools/Mxmlc.java is a command-line
>>entry
>> > point for the compiler.  When I was hacking flex-oem-compiler for
>>Falcon,
>> > I would take a class like that from the flex-sdk repo, add it to
>>Falcon’s
>> > flex-oem-compiler and comment out the bodies of the methods and then
>>try
>> > to figure out what FB was really looking for and then make the
>>required
>> > calls to Falcon to make it happen.  The problem is that some imports
>>in
>> > some of these files bring in a ton of other files that we don’t want
>>to
>> > support in Falcon since they do similar things in MXMLC.
>> > 
>> > If we’re lucky, IJ just uses an Mxmlc class to call its main() or
>>mxmlc()
>> > method with command-line args and you can just pass them to the Falcon
>> > Mxmlc class.
>> > 
>> > Thanks,
>> > -Alex
>> > 
>> > BTW, I finally got a new Windows computer and have plans to install
>>IJ,
>> > FlashDevelop and FDT on it, but other things are currently taking
>>higher
>> > priority.
>> > 
>> > 
>> > 
>> > On 5/22/15, 6:39 AM, "Frédéric THOMAS" 
>>wrote:
>> > 
>> > >Hi Alex,
>> > >
>> > >Well, as per [1], I thought we would have keep the same feature for
>> > >Falcon.
>> > >
>> > >And In IntelliJ, as per their doc, you can select which of the
>>available
>> > >Flex compilers should be used:
>> > >
>> > >1- Built-in compiler shell. An
>> > >IntelliJ IDEA compiler shell which uses the Flex
>>SDK
>> > >compiler API.
>> > >
>> > > 
>> > >
>> > >This compiler shell can perform incremental
>> > >  compilations. As a multithreaded shell, it is
>> > >capable of 
>> > >  running a number of compilations
>>simultaneously, in
>> > >  parallel.
>> > > 
>> > >
>> > >2- Mxmlc/compc: Compiler
>> > >available in Flex SDK
>> > >
>> > >This compiler cannot compile incrementally. However, it
>> > >  can run several independent compilation
>>processes
>> > >  simultaneously which significantly improves the
>> > >  compilation performance.
>> > >     
>> > >
>> > >Whichever of the compiler options you use, IntelliJ IDEA
>> > >  keeps track of the modules where nothing has
>>changed
>> > >since 
>> > >  

RE: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-05-24 Thread Frédéric THOMAS
Hi Alex,

> IIRC, the FB compiler calls flex2/tools/oem/Application.java.  You can see
> how this class builds up an OEMReport with messages.

Thanks, I've been able to create and OEMReport based on that.

So, at the moment, using the Mxml entry point they use, plug into the MCMLC and 
sending old report (logs), I can compile and have reports on success, info, 
warnings and errors, I did the same with COMPC but didn't test it yet.

I re-introduce the proccessConfiguration too to make IJ happy, maybe I could 
mock it but I need to determinate first what they do exactly with the 
flex2.compiler.common.Configuration, it seems they get and use the 
CompilerConfiguration class though, so, I would probably need to mock it.

There are some limitations though:

1- They patched the FileConfigurator class and now, there's a UnkownError which 
has an Info level and then doesn't avoid the compilation at all using their 
MXMLX / COMPC compile choice option .

2- The most anoying thing is their build-in compiler option, it seems they 
totally revamped the CompilerAPI, create a process based on the Mxmlc and it 
doesn't work anymore indeed, but the worst is that for some reason I didn't get 
yet, their code path is switching all the time between those 2 compilers 
creating a very bad user experience:

If I choose the Mcmlc, I can compile once, after no changes, it wont try to 
compile again, if there is at least one file changed, it will automatically try 
to compile with the build-in compiler and fail indeed, the user has to manualy 
select their build-in compiler again, try and fail again, switch back to the 
Mxmlc one to make it build.

Thats where I am now.

Frédéric THOMAS

> From: aha...@adobe.com
> To: dev@flex.apache.org
> Subject: Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> Date: Fri, 22 May 2015 18:13:15 +
> 
> Fred, this is great progress!
> 
> IIRC, the FB compiler calls flex2/tools/oem/Application.java.  You can see
> how this class builds up an OEMReport with messages.  It also does some
> Configuration stuff as well.  Hopefully you can grab pieces of this and
> connect it up with IJ’s entry point.
> 
> -Alex
> 
> On 5/22/15, 10:25 AM, "Frédéric THOMAS"  wrote:
> 
> >I forgot to mentioned in my tasks, to do the same with the COMPC.
> >Also, to mention, I've been able to compile a Standard FlexJS project and
> >one build from FlexMojos
> >
> >Frédéric THOMAS
> >
> >> From: webdoubl...@hotmail.com
> >> To: dev@flex.apache.org
> >> Subject: RE: AW: AW: AW: [FlexJS] IntelliJ Integration
> >> Date: Fri, 22 May 2015 18:19:21 +0100
> >> 
> >> So, I've been able to use the flex-compiler-oem instead of the external
> >>tools feature provided by IntelliJ.
> >> 
> >> The all thing is not finished, I still need:
> >> 
> >> 1- Figure out why IntelliJ auto-switch to its internal compiler, that's
> >>really not handy !!
> >> 2- See, if it is FM or IJ which remove the .swf at the end of the
> >>output file
> >> 3- Find a way to plug the IJ logger to the compiler (Alex, any idea ?
> >>ho does it work for FB ?)
> >> 4- Cleanup and commit.
> >> 
> >> Still, that's a big progress :-)
> >> 
> >> Frédéric THOMAS
> >> 
> >> > From: aha...@adobe.com
> >> > To: dev@flex.apache.org
> >> > Subject: Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> >> > Date: Fri, 22 May 2015 15:00:52 +
> >> > 
> >> > FWIW, in the FlashBuilder/Falcon integration, I’ve blocked incremental
> >> > compiles, at least for now.  Besides there were plenty of bugs in the
> >> > incremental compilation.
> >> > 
> >> > It looks like (in the flex-sdk repo)
> >> > modules/compiler/src/java/flex2/tools/Mxmlc.java is a command-line
> >>entry
> >> > point for the compiler.  When I was hacking flex-oem-compiler for
> >>Falcon,
> >> > I would take a class like that from the flex-sdk repo, add it to
> >>Falcon’s
> >> > flex-oem-compiler and comment out the bodies of the methods and then
> >>try
> >> > to figure out what FB was really looking for and then make the
> >>required
> >> > calls to Falcon to make it happen.  The problem is that some imports
> >>in
> >> > some of these files bring in a ton of other files that we don’t want
> >>to
> >> > support in Falcon since they do similar things in MXMLC.
> >> > 
> >> > If we’re lucky, IJ just uses an Mxmlc class to call its main() or
> >>mxmlc()
> 

Re: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-05-24 Thread Alex Harui


On 5/24/15, 8:09 AM, "Frédéric THOMAS"  wrote:

>Hi Alex,
>
>> IIRC, the FB compiler calls flex2/tools/oem/Application.java.  You can
>>see
>> how this class builds up an OEMReport with messages.
>
>Thanks, I've been able to create and OEMReport based on that.
>
>So, at the moment, using the Mxml entry point they use, plug into the
>MCMLC and sending old report (logs), I can compile and have reports on
>success, info, warnings and errors, I did the same with COMPC but didn't
>test it yet.

Excellent!  I assume that COMPC uses flex2/tools/oem/Library.java

>
>I re-introduce the proccessConfiguration too to make IJ happy, maybe I
>could mock it but I need to determinate first what they do exactly with
>the flex2.compiler.common.Configuration, it seems they get and use the
>CompilerConfiguration class though, so, I would probably need to mock it.

I seem to recall messing around with CompilerConfiguration when
integrating with FB.  So there may already be code that maps it to the
Falcon configurations.

>
>There are some limitations though:
>
>1- They patched the FileConfigurator class and now, there's a UnkownError
>which has an Info level and then doesn't avoid the compilation at all
>using their MXMLX / COMPC compile choice option .
>
>2- The most anoying thing is their build-in compiler option, it seems
>they totally revamped the CompilerAPI, create a process based on the
>Mxmlc and it doesn't work anymore indeed, but the worst is that for some
>reason I didn't get yet, their code path is switching all the time
>between those 2 compilers creating a very bad user experience:
>
>If I choose the Mcmlc, I can compile once, after no changes, it wont try
>to compile again, if there is at least one file changed, it will
>automatically try to compile with the build-in compiler and fail indeed,
>the user has to manualy select their build-in compiler again, try and
>fail again, switch back to the Mxmlc one to make it build.

I would assume that, if you are using an Apache Flex 4.14.1 SDK and choose
the Mxmlc option the above scenarios work correctly?  If so, that still
implies to me that IJ has some assumption about flex-oem-compiler.jar that
isn’t mocked up correctly.  Otherwise IJ hasn’t implemented that option.
I ended up putting breakpoints or console logging most of the public APIs
in flex-oem-compiler to see what FB was doing and then guessed correctly a
few times and it started to work.

Feel free to check in what you have.  I’m hoping to work on the packaging
of FDB so that the nightly builds get closer and closer to working in IJ.

Thanks for working on this.
-Alex



RE: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-05-24 Thread Frédéric THOMAS
> Excellent!  I assume that COMPC uses flex2/tools/oem/Library.java

Nope, I don't if I do well but I mapped what was before, a call to COMPC as I 
do for Mxmlc which is what IJ expect.

> I seem to recall messing around with CompilerConfiguration when
> integrating with FB.  So there may already be code that maps it to the
> Falcon configurations.

Yes (well if I get you correctly) but with other package which then don't work, 
the Falcon conf classes are not the ones IJ expect, I had to rely on the legacy 
ones and I will have to tweak them at some point, at least, I guess, when I 
will have to make them validate the new element in the flex-config.xml

> I would assume that, if you are using an Apache Flex 4.14.1 SDK and choose
> the Mxmlc option the above scenarios work correctly?  If so, that still
> implies to me that IJ has some assumption about flex-oem-compiler.jar that
> isn’t mocked up correctly.  Otherwise IJ hasn’t implemented that option.
> I ended up putting breakpoints or console logging most of the public APIs
> in flex-oem-compiler to see what FB was doing and then guessed correctly a
> few times and it started to work.

I didn't try with 4.14.1 but amongst few other things, I had to generate a new 
compc.jar to make IJ happy, now, it works well with the 2 IJ compiler options.

http://snag.gy/3o0SH.jpg

> Feel free to check in what you have.  I’m hoping to work on the packaging
> of FDB so that the nightly builds get closer and closer to working in IJ.

Cool, it would be nice I could debug in IJ without to rely on the Flex SDK :-)

> Thanks for working on this.

Welcome !!

Also, my work is not clean and once clean, I will require your help with Ant or 
better, will commit anyway in a branch and if you can make the Ant build 
working, it would be nice, never been able to complete it with the 
flex-oem-compiler and not only because of the tests but some dependencies, I 
will come back to you with more detail when it will be the time, in between, I 
build it with IJ.

Thanks.
Frédéric THOMAS

> From: aha...@adobe.com
> To: dev@flex.apache.org
> Subject: Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> Date: Mon, 25 May 2015 04:47:13 +
> 
> 
> 
> On 5/24/15, 8:09 AM, "Frédéric THOMAS"  wrote:
> 
> >Hi Alex,
> >
> >> IIRC, the FB compiler calls flex2/tools/oem/Application.java.  You can
> >>see
> >> how this class builds up an OEMReport with messages.
> >
> >Thanks, I've been able to create and OEMReport based on that.
> >
> >So, at the moment, using the Mxml entry point they use, plug into the
> >MCMLC and sending old report (logs), I can compile and have reports on
> >success, info, warnings and errors, I did the same with COMPC but didn't
> >test it yet.
> 
> Excellent!  I assume that COMPC uses flex2/tools/oem/Library.java
> 
> >
> >I re-introduce the proccessConfiguration too to make IJ happy, maybe I
> >could mock it but I need to determinate first what they do exactly with
> >the flex2.compiler.common.Configuration, it seems they get and use the
> >CompilerConfiguration class though, so, I would probably need to mock it.
> 
> I seem to recall messing around with CompilerConfiguration when
> integrating with FB.  So there may already be code that maps it to the
> Falcon configurations.
> 
> >
> >There are some limitations though:
> >
> >1- They patched the FileConfigurator class and now, there's a UnkownError
> >which has an Info level and then doesn't avoid the compilation at all
> >using their MXMLX / COMPC compile choice option .
> >
> >2- The most anoying thing is their build-in compiler option, it seems
> >they totally revamped the CompilerAPI, create a process based on the
> >Mxmlc and it doesn't work anymore indeed, but the worst is that for some
> >reason I didn't get yet, their code path is switching all the time
> >between those 2 compilers creating a very bad user experience:
> >
> >If I choose the Mcmlc, I can compile once, after no changes, it wont try
> >to compile again, if there is at least one file changed, it will
> >automatically try to compile with the build-in compiler and fail indeed,
> >the user has to manualy select their build-in compiler again, try and
> >fail again, switch back to the Mxmlc one to make it build.
> 
> I would assume that, if you are using an Apache Flex 4.14.1 SDK and choose
> the Mxmlc option the above scenarios work correctly?  If so, that still
> implies to me that IJ has some assumption about flex-oem-compiler.jar that
> isn’t mocked up correctly.  Otherwise IJ hasn’t implemented that option.
> I ended up putting breakpoints or console logging most of the public APIs
> in flex-oem-compiler to see what FB was doing and then guessed correctly a
> few times and it started to work.
> 
> Feel free to check in what you have.  I’m hoping to work on the packaging
> of FDB so that the nightly builds get closer and closer to working in IJ.
> 
> Thanks for working on this.
> -Alex
> 
  

Re: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-05-24 Thread Alex Harui


On 5/24/15, 11:21 PM, "Frédéric THOMAS"  wrote:
>
>> I seem to recall messing around with CompilerConfiguration when
>> integrating with FB.  So there may already be code that maps it to the
>> Falcon configurations.
>
>Yes (well if I get you correctly) but with other package which then don't
>work, the Falcon conf classes are not the ones IJ expect, I had to rely
>on the legacy ones and I will have to tweak them at some point, at least,
>I guess, when I will have to make them validate the new element in the
>flex-config.xml

I may not be understanding the issue, but if you look at
flex2/tools/oem/internal/OEMUtil.java I believe there is code in there
that calls Falcon’s MXMLC to get Falcon’s config, then populates
CompilerConfiguration from the Falcon config.

>
>Also, my work is not clean and once clean, I will require your help with
>Ant or better, will commit anyway in a branch and if you can make the Ant
>build working, it would be nice, never been able to complete it with the
>flex-oem-compiler and not only because of the tests but some
>dependencies, I will come back to you with more detail when it will be
>the time, in between, I build it with IJ.

OK, I will help out with the Ant part when you are ready.  Using a branch
should work well.

I’m done for tonight, I will check email in the morning.  Sounds like you
are making great progress.

Thanks again,
-Alex 



Re: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-05-26 Thread Alex Harui


On 5/24/15, 9:47 PM, "Alex Harui"  wrote:
>I’m hoping to work on the packaging
>of FDB so that the nightly builds get closer and closer to working in IJ.
>
I started in on this and discovered that the current SDK’s FDB has a
dependency on MXMLC.  Fred says that the FDB donation in the FDBWorkers
branch is already set up for Falcon, so I am going to copy that code over
to the flex-falcon repo and try to get it working.

-Alex



RE: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-05-26 Thread Frédéric THOMAS
Yes, but be warned that except maybe if you take what you checked in when it 
was donated, after I switched the falcon classes to the legacy ones, re-applied 
the fixes did on the legacy fdb, fixed the CLI for the workers.

Frédéric THOMAS

> From: aha...@adobe.com
> To: dev@flex.apache.org
> Subject: Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> Date: Tue, 26 May 2015 22:40:57 +
> 
> 
> 
> On 5/24/15, 9:47 PM, "Alex Harui"  wrote:
> >I’m hoping to work on the packaging
> >of FDB so that the nightly builds get closer and closer to working in IJ.
> >
> I started in on this and discovered that the current SDK’s FDB has a
> dependency on MXMLC.  Fred says that the FDB donation in the FDBWorkers
> branch is already set up for Falcon, so I am going to copy that code over
> to the flex-falcon repo and try to get it working.
> 
> -Alex
> 
  

RE: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-05-26 Thread Frédéric THOMAS
Yes, but be warned that except maybe if you take what you checked in when it 
was donated, after I switched the falcon classes to the legacy ones, re-applied 
the fixes did on the legacy fdb, fixed the CLI for the workers.

Frédéric THOMAS

> From: aha...@adobe.com
> To: dev@flex.apache.org
> Subject: Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> Date: Tue, 26 May 2015 22:40:57 +
> 
> 
> 
> On 5/24/15, 9:47 PM, "Alex Harui"  wrote:
> >I’m hoping to work on the packaging
> >of FDB so that the nightly builds get closer and closer to working in IJ.
> >
> I started in on this and discovered that the current SDK’s FDB has a
> dependency on MXMLC.  Fred says that the FDB donation in the FDBWorkers
> branch is already set up for Falcon, so I am going to copy that code over
> to the flex-falcon repo and try to get it working.
> 
> -Alex
> 
  

RE: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-05-26 Thread Frédéric THOMAS
> I may not be understanding the issue, but if you look at
> flex2/tools/oem/internal/OEMUtil.java I believe there is code in there
> that calls Falcon’s MXMLC to get Falcon’s config, then populates
> CompilerConfiguration from the Falcon config.

IJ calls the proccessConfiguration which returns a legacy Configuration nd from 
there IJ getCompilerConfiguration(), so, IFAIK, I can't use OEMUtil to give it 
directly.

Anyway, good news, I can now make / build / compile from IntelliJ to .swf / .js

It is too late for me to try to adapt and make it build with Ant tonight 
though, I'll keep you in touch.

Thanks,
Frédéric THOMAS

> From: aha...@adobe.com
> To: dev@flex.apache.org
> Subject: Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> Date: Mon, 25 May 2015 06:41:54 +
> 
> 
> 
> On 5/24/15, 11:21 PM, "Frédéric THOMAS"  wrote:
> >
> >> I seem to recall messing around with CompilerConfiguration when
> >> integrating with FB.  So there may already be code that maps it to the
> >> Falcon configurations.
> >
> >Yes (well if I get you correctly) but with other package which then don't
> >work, the Falcon conf classes are not the ones IJ expect, I had to rely
> >on the legacy ones and I will have to tweak them at some point, at least,
> >I guess, when I will have to make them validate the new element in the
> >flex-config.xml
> 
> I may not be understanding the issue, but if you look at
> flex2/tools/oem/internal/OEMUtil.java I believe there is code in there
> that calls Falcon’s MXMLC to get Falcon’s config, then populates
> CompilerConfiguration from the Falcon config.
> 
> >
> >Also, my work is not clean and once clean, I will require your help with
> >Ant or better, will commit anyway in a branch and if you can make the Ant
> >build working, it would be nice, never been able to complete it with the
> >flex-oem-compiler and not only because of the tests but some
> >dependencies, I will come back to you with more detail when it will be
> >the time, in between, I build it with IJ.
> 
> OK, I will help out with the Ant part when you are ready.  Using a branch
> should work well.
> 
> I’m done for tonight, I will check email in the morning.  Sounds like you
> are making great progress.
> 
> Thanks again,
> -Alex   
> 
  

Re: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-05-26 Thread Michael Schmalle
Fred that's awesome, this should help get some more people motivated to try
and work and test the components and such.

Mike

On Tue, May 26, 2015 at 7:41 PM, Frédéric THOMAS 
wrote:

> > I may not be understanding the issue, but if you look at
> > flex2/tools/oem/internal/OEMUtil.java I believe there is code in there
> > that calls Falcon’s MXMLC to get Falcon’s config, then populates
> > CompilerConfiguration from the Falcon config.
>
> IJ calls the proccessConfiguration which returns a legacy Configuration nd
> from there IJ getCompilerConfiguration(), so, IFAIK, I can't use OEMUtil to
> give it directly.
>
> Anyway, good news, I can now make / build / compile from IntelliJ to .swf
> / .js
>
> It is too late for me to try to adapt and make it build with Ant tonight
> though, I'll keep you in touch.
>
> Thanks,
> Frédéric THOMAS
>
> > From: aha...@adobe.com
> > To: dev@flex.apache.org
> > Subject: Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> > Date: Mon, 25 May 2015 06:41:54 +
> >
> >
> >
> > On 5/24/15, 11:21 PM, "Frédéric THOMAS"  wrote:
> > >
> > >> I seem to recall messing around with CompilerConfiguration when
> > >> integrating with FB.  So there may already be code that maps it to the
> > >> Falcon configurations.
> > >
> > >Yes (well if I get you correctly) but with other package which then
> don't
> > >work, the Falcon conf classes are not the ones IJ expect, I had to rely
> > >on the legacy ones and I will have to tweak them at some point, at
> least,
> > >I guess, when I will have to make them validate the new element in the
> > >flex-config.xml
> >
> > I may not be understanding the issue, but if you look at
> > flex2/tools/oem/internal/OEMUtil.java I believe there is code in there
> > that calls Falcon’s MXMLC to get Falcon’s config, then populates
> > CompilerConfiguration from the Falcon config.
> >
> > >
> > >Also, my work is not clean and once clean, I will require your help with
> > >Ant or better, will commit anyway in a branch and if you can make the
> Ant
> > >build working, it would be nice, never been able to complete it with the
> > >flex-oem-compiler and not only because of the tests but some
> > >dependencies, I will come back to you with more detail when it will be
> > >the time, in between, I build it with IJ.
> >
> > OK, I will help out with the Ant part when you are ready.  Using a branch
> > should work well.
> >
> > I’m done for tonight, I will check email in the morning.  Sounds like you
> > are making great progress.
> >
> > Thanks again,
> > -Alex
> >
>
>


RE: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-05-26 Thread Frédéric THOMAS
Yes, myself even, first :-)

Frédéric THOMAS

> Date: Tue, 26 May 2015 19:44:26 -0400
> Subject: Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> From: teotigraphix...@gmail.com
> To: dev@flex.apache.org
> 
> Fred that's awesome, this should help get some more people motivated to try
> and work and test the components and such.
> 
> Mike
> 
> On Tue, May 26, 2015 at 7:41 PM, Frédéric THOMAS 
> wrote:
> 
> > > I may not be understanding the issue, but if you look at
> > > flex2/tools/oem/internal/OEMUtil.java I believe there is code in there
> > > that calls Falcon’s MXMLC to get Falcon’s config, then populates
> > > CompilerConfiguration from the Falcon config.
> >
> > IJ calls the proccessConfiguration which returns a legacy Configuration nd
> > from there IJ getCompilerConfiguration(), so, IFAIK, I can't use OEMUtil to
> > give it directly.
> >
> > Anyway, good news, I can now make / build / compile from IntelliJ to .swf
> > / .js
> >
> > It is too late for me to try to adapt and make it build with Ant tonight
> > though, I'll keep you in touch.
> >
> > Thanks,
> > Frédéric THOMAS
> >
> > > From: aha...@adobe.com
> > > To: dev@flex.apache.org
> > > Subject: Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> > > Date: Mon, 25 May 2015 06:41:54 +
> > >
> > >
> > >
> > > On 5/24/15, 11:21 PM, "Frédéric THOMAS"  wrote:
> > > >
> > > >> I seem to recall messing around with CompilerConfiguration when
> > > >> integrating with FB.  So there may already be code that maps it to the
> > > >> Falcon configurations.
> > > >
> > > >Yes (well if I get you correctly) but with other package which then
> > don't
> > > >work, the Falcon conf classes are not the ones IJ expect, I had to rely
> > > >on the legacy ones and I will have to tweak them at some point, at
> > least,
> > > >I guess, when I will have to make them validate the new element in the
> > > >flex-config.xml
> > >
> > > I may not be understanding the issue, but if you look at
> > > flex2/tools/oem/internal/OEMUtil.java I believe there is code in there
> > > that calls Falcon’s MXMLC to get Falcon’s config, then populates
> > > CompilerConfiguration from the Falcon config.
> > >
> > > >
> > > >Also, my work is not clean and once clean, I will require your help with
> > > >Ant or better, will commit anyway in a branch and if you can make the
> > Ant
> > > >build working, it would be nice, never been able to complete it with the
> > > >flex-oem-compiler and not only because of the tests but some
> > > >dependencies, I will come back to you with more detail when it will be
> > > >the time, in between, I build it with IJ.
> > >
> > > OK, I will help out with the Ant part when you are ready.  Using a branch
> > > should work well.
> > >
> > > I’m done for tonight, I will check email in the morning.  Sounds like you
> > > are making great progress.
> > >
> > > Thanks again,
> > > -Alex
> > >
> >
> >
  

Re: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-05-26 Thread Michael Schmalle
Well I finally got to be able to commit to apache after a couple weeks of
not being able to. :)

I am going to work on the compiler and see if I can start writing some
simple components for FlexJS just to get to know what Alex and Peter have
been doing.

Mike

On Tue, May 26, 2015 at 7:47 PM, Frédéric THOMAS 
wrote:

> Yes, myself even, first :-)
>
> Frédéric THOMAS
>
> > Date: Tue, 26 May 2015 19:44:26 -0400
> > Subject: Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> > From: teotigraphix...@gmail.com
> > To: dev@flex.apache.org
> >
> > Fred that's awesome, this should help get some more people motivated to
> try
> > and work and test the components and such.
> >
> > Mike
> >
> > On Tue, May 26, 2015 at 7:41 PM, Frédéric THOMAS <
> webdoubl...@hotmail.com>
> > wrote:
> >
> > > > I may not be understanding the issue, but if you look at
> > > > flex2/tools/oem/internal/OEMUtil.java I believe there is code in
> there
> > > > that calls Falcon’s MXMLC to get Falcon’s config, then populates
> > > > CompilerConfiguration from the Falcon config.
> > >
> > > IJ calls the proccessConfiguration which returns a legacy
> Configuration nd
> > > from there IJ getCompilerConfiguration(), so, IFAIK, I can't use
> OEMUtil to
> > > give it directly.
> > >
> > > Anyway, good news, I can now make / build / compile from IntelliJ to
> .swf
> > > / .js
> > >
> > > It is too late for me to try to adapt and make it build with Ant
> tonight
> > > though, I'll keep you in touch.
> > >
> > > Thanks,
> > > Frédéric THOMAS
> > >
> > > > From: aha...@adobe.com
> > > > To: dev@flex.apache.org
> > > > Subject: Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> > > > Date: Mon, 25 May 2015 06:41:54 +
> > > >
> > > >
> > > >
> > > > On 5/24/15, 11:21 PM, "Frédéric THOMAS" 
> wrote:
> > > > >
> > > > >> I seem to recall messing around with CompilerConfiguration when
> > > > >> integrating with FB.  So there may already be code that maps it
> to the
> > > > >> Falcon configurations.
> > > > >
> > > > >Yes (well if I get you correctly) but with other package which then
> > > don't
> > > > >work, the Falcon conf classes are not the ones IJ expect, I had to
> rely
> > > > >on the legacy ones and I will have to tweak them at some point, at
> > > least,
> > > > >I guess, when I will have to make them validate the new element in
> the
> > > > >flex-config.xml
> > > >
> > > > I may not be understanding the issue, but if you look at
> > > > flex2/tools/oem/internal/OEMUtil.java I believe there is code in
> there
> > > > that calls Falcon’s MXMLC to get Falcon’s config, then populates
> > > > CompilerConfiguration from the Falcon config.
> > > >
> > > > >
> > > > >Also, my work is not clean and once clean, I will require your help
> with
> > > > >Ant or better, will commit anyway in a branch and if you can make
> the
> > > Ant
> > > > >build working, it would be nice, never been able to complete it
> with the
> > > > >flex-oem-compiler and not only because of the tests but some
> > > > >dependencies, I will come back to you with more detail when it will
> be
> > > > >the time, in between, I build it with IJ.
> > > >
> > > > OK, I will help out with the Ant part when you are ready.  Using a
> branch
> > > > should work well.
> > > >
> > > > I’m done for tonight, I will check email in the morning.  Sounds
> like you
> > > > are making great progress.
> > > >
> > > > Thanks again,
> > > > -Alex
> > > >
> > >
> > >
>
>


Re: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-05-26 Thread Alex Harui


On 5/26/15, 4:41 PM, "Frédéric THOMAS"  wrote:

>> I may not be understanding the issue, but if you look at
>> flex2/tools/oem/internal/OEMUtil.java I believe there is code in there
>> that calls Falcon’s MXMLC to get Falcon’s config, then populates
>> CompilerConfiguration from the Falcon config.
>
>IJ calls the proccessConfiguration which returns a legacy Configuration
>nd from there IJ getCompilerConfiguration(), so, IFAIK, I can't use
>OEMUtil to give it directly.

If you modify the Configuration class in flex-oem-compiler does it get
used or does IJ have its own version?  If you can use a modified
Configuration, you might be able to change getCompilerConfiguration to
call OEMUtil, or maybe some earlier call can call OEMUtil and store the
config someplace.

>
>Anyway, good news, I can now make / build / compile from IntelliJ to .swf
>/ .js

Just so I understand: does this mean the FlexJS SDK can do these things in
IJ without overlaying a regular Flex SDK or being a library within a
regular Flex SDK?

>
>It is too late for me to try to adapt and make it build with Ant tonight
>though, I'll keep you in touch.

Hey, this is great progress.  I’m going to be a while on the FDB for
Falcon so no hurry.

-Alex 



RE: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-05-26 Thread Frédéric THOMAS
> If you modify the Configuration class in flex-oem-compiler does it get
> used or does IJ have its own version?  If you can use a modified
> Configuration, you might be able to change getCompilerConfiguration to
> call OEMUtil, or maybe some earlier call can call OEMUtil and store the
> config someplace.

Yeah, I was thinking to stub most of the legacy config and still make IJ happy.

> Just so I understand: does this mean the FlexJS SDK can do these things in
> IJ without overlaying a regular Flex SDK or being a library within a
> regular Flex SDK?

For some reasons I didn't get yet (didn't dug into either, we still need to add 
the FlexJS Lib  + FlexJS SDK

Frédéric THOMAS

> From: aha...@adobe.com
> To: dev@flex.apache.org
> Subject: Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> Date: Tue, 26 May 2015 23:58:16 +
> 
> 
> 
> On 5/26/15, 4:41 PM, "Frédéric THOMAS"  wrote:
> 
> >> I may not be understanding the issue, but if you look at
> >> flex2/tools/oem/internal/OEMUtil.java I believe there is code in there
> >> that calls Falcon’s MXMLC to get Falcon’s config, then populates
> >> CompilerConfiguration from the Falcon config.
> >
> >IJ calls the proccessConfiguration which returns a legacy Configuration
> >nd from there IJ getCompilerConfiguration(), so, IFAIK, I can't use
> >OEMUtil to give it directly.
> 
> If you modify the Configuration class in flex-oem-compiler does it get
> used or does IJ have its own version?  If you can use a modified
> Configuration, you might be able to change getCompilerConfiguration to
> call OEMUtil, or maybe some earlier call can call OEMUtil and store the
> config someplace.
> 
> >
> >Anyway, good news, I can now make / build / compile from IntelliJ to .swf
> >/ .js
> 
> Just so I understand: does this mean the FlexJS SDK can do these things in
> IJ without overlaying a regular Flex SDK or being a library within a
> regular Flex SDK?
> 
> >
> >It is too late for me to try to adapt and make it build with Ant tonight
> >though, I'll keep you in touch.
> 
> Hey, this is great progress.  I’m going to be a while on the FDB for
> Falcon so no hurry.
> 
> -Alex   
> 
  

RE: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-05-28 Thread Frédéric THOMAS
Hi,

Adding support for Comp C / JSC, I've been able to compile swc and js files 
from IntelliJ.

In IntelliJ, I still have to add the FlexJS as a Lib to have things green 
though, also, despite, it passes a correct config.xml, the MXMLC compiler can't 
find the classe in the lib (the class is in the lib and the lib is well 
referenced, I tried with both include path and external and had the same 
result), did someone already tried this kind of config ?

Thanks,
Frédéric THOMAS

> From: webdoubl...@hotmail.com
> To: dev@flex.apache.org
> Subject: RE: AW: AW: AW: [FlexJS] IntelliJ Integration
> Date: Wed, 27 May 2015 01:12:22 +0100
> 
> > If you modify the Configuration class in flex-oem-compiler does it get
> > used or does IJ have its own version?  If you can use a modified
> > Configuration, you might be able to change getCompilerConfiguration to
> > call OEMUtil, or maybe some earlier call can call OEMUtil and store the
> > config someplace.
> 
> Yeah, I was thinking to stub most of the legacy config and still make IJ 
> happy.
> 
> > Just so I understand: does this mean the FlexJS SDK can do these things in
> > IJ without overlaying a regular Flex SDK or being a library within a
> > regular Flex SDK?
> 
> For some reasons I didn't get yet (didn't dug into either, we still need to 
> add the FlexJS Lib  + FlexJS SDK
> 
> Frédéric THOMAS
> 
> > From: aha...@adobe.com
> > To: dev@flex.apache.org
> > Subject: Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> > Date: Tue, 26 May 2015 23:58:16 +
> > 
> > 
> > 
> > On 5/26/15, 4:41 PM, "Frédéric THOMAS"  wrote:
> > 
> > >> I may not be understanding the issue, but if you look at
> > >> flex2/tools/oem/internal/OEMUtil.java I believe there is code in there
> > >> that calls Falcon’s MXMLC to get Falcon’s config, then populates
> > >> CompilerConfiguration from the Falcon config.
> > >
> > >IJ calls the proccessConfiguration which returns a legacy Configuration
> > >nd from there IJ getCompilerConfiguration(), so, IFAIK, I can't use
> > >OEMUtil to give it directly.
> > 
> > If you modify the Configuration class in flex-oem-compiler does it get
> > used or does IJ have its own version?  If you can use a modified
> > Configuration, you might be able to change getCompilerConfiguration to
> > call OEMUtil, or maybe some earlier call can call OEMUtil and store the
> > config someplace.
> > 
> > >
> > >Anyway, good news, I can now make / build / compile from IntelliJ to .swf
> > >/ .js
> > 
> > Just so I understand: does this mean the FlexJS SDK can do these things in
> > IJ without overlaying a regular Flex SDK or being a library within a
> > regular Flex SDK?
> > 
> > >
> > >It is too late for me to try to adapt and make it build with Ant tonight
> > >though, I'll keep you in touch.
> > 
> > Hey, this is great progress.  I’m going to be a while on the FDB for
> > Falcon so no hurry.
> > 
> > -Alex 
> > 
> 
  

RE: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-05-28 Thread Frédéric THOMAS
Actually, it is more complicated.

This is what it is generated by IJ:

https://gist.github.com/doublefx/ae135f1886cc2800c08d

And I added the flex-config.xml from the framework, this one overrides the one 
of IJ apparently

it results:

Information:28/05/2015 11:16 - Compilation completed with 7 errors and 11 
warnings
U:\sources\flexJsProjects\DataBindingTest\src\DataBindingTest.mxml
Error:(26, 19) [DataBindingTest]: Call to a possibly undefined method MyModel.
Warning:(30, 15) [DataBindingTest]: Definition models.MyModel could not be 
found.
Error:(40, 8) [DataBindingTest]: This tag could not be resolved to an 
ActionScript class. It will be ignored.
U:\sources\flexJsProjects\DataBindingTest\src\MyInitialView.mxml
Warning:(26, 10) [DataBindingTest]: Definition models.MyModel could not be 
found.
Error:(53, 24) [DataBindingTest]: Call to a possibly undefined method MyModel.
Error:(54, 27) [DataBindingTest]: Call to a possibly undefined method MyModel.
Warning:(119, 50) [DataBindingTest]: Data binding will not be able to detect 
assignments to 'MyModel'.
Warning:(119, 76) [DataBindingTest]: Data binding will not be able to detect 
assignments to 'stockSymbol'.
Warning:(123, 63) [DataBindingTest]: Data binding will not be able to detect 
assignments to 'MyModel'.
Warning:(123, 89) [DataBindingTest]: Data binding will not be able to detect 
assignments to 'responseText'.
Warning:(131, 50) [DataBindingTest]: Data binding will not be able to detect 
assignments to 'MyModel'.
Warning:(131, 76) [DataBindingTest]: Data binding will not be able to detect 
assignments to 'strings'.
Warning:(143, 30) [DataBindingTest]: Data binding will not be able to detect 
assignments to 'MyModel'.
Warning:(143, 56) [DataBindingTest]: Data binding will not be able to detect 
assignments to 'allData'.
U:\sources\flexJsProjects\DataBindingTest\src\controllers\MyController.as
Warning:(26, 11) [DataBindingTest]: Definition models.MyModel could not be 
found.
Error:(61, 3) [DataBindingTest]: Call to a possibly undefined method MyModel.
Error:(66, 3) [DataBindingTest]: Call to a possibly undefined method MyModel.
Error:(71, 12) [DataBindingTest]: Call to a possibly undefined method MyModel.

But if I pass directly to Mxmlc :

-load-config="D:\SDKs\FlexJS\0.0.3_FP16.0_AIR16.0_en_US\frameworks\flex-config.xml"
-output=U:\sources\flexJsProjects\DataBindingTest\bin\DataBindingTest.swf
-library-path+=U:/sources/flexJsProjects/DataBindingTest/libs/libTest.swc
U:\sources\flexJsProjects\DataBindingTest\src\DataBindingTest.mxml

It builds.

And if I ommit the flex-config.xml from the framework, it results in 
compilation error because it can't find mxml-2009-manifest.xml neither the 
bundle resources, actually, the locale folder in my FlexJS SDK is empty, it I 
fill it with the locales of my Flex SDK, the compilation fails because the 
it can't find the components from the 
D:\SDKs\FlexJS\0.0.3_FP16.0_AIR16.0_en_US\frameworks\themes\Spark\spark.css 

Frédéric THOMAS

> From: webdoubl...@hotmail.com
> To: dev@flex.apache.org
> Subject: RE: AW: AW: AW: [FlexJS] IntelliJ Integration
> Date: Thu, 28 May 2015 08:47:26 +0100
> 
> Hi,
> 
> Adding support for Comp C / JSC, I've been able to compile swc and js files 
> from IntelliJ.
> 
> In IntelliJ, I still have to add the FlexJS as a Lib to have things green 
> though, also, despite, it passes a correct config.xml, the MXMLC compiler 
> can't find the classe in the lib (the class is in the lib and the lib is well 
> referenced, I tried with both include path and external and had the same 
> result), did someone already tried this kind of config ?
> 
> Thanks,
> Frédéric THOMAS
> 
> > From: webdoubl...@hotmail.com
> > To: dev@flex.apache.org
> > Subject: RE: AW: AW: AW: [FlexJS] IntelliJ Integration
> > Date: Wed, 27 May 2015 01:12:22 +0100
> > 
> > > If you modify the Configuration class in flex-oem-compiler does it get
> > > used or does IJ have its own version?  If you can use a modified
> > > Configuration, you might be able to change getCompilerConfiguration to
> > > call OEMUtil, or maybe some earlier call can call OEMUtil and store the
> > > config someplace.
> > 
> > Yeah, I was thinking to stub most of the legacy config and still make IJ 
> > happy.
> > 
> > > Just so I understand: does this mean the FlexJS SDK can do these things in
> > > IJ without overlaying a regular Flex SDK or being a library within a
> > > regular Flex SDK?
> > 
> > For some reasons I didn't get yet (didn't dug into either, we still need to 
> > add the FlexJS Lib  + FlexJS SDK
> > 
> > Frédéric THOMAS
> > 
> > > From: aha...@adobe.com
> > > To: dev@flex.apach

Re: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-05-28 Thread Alex Harui
Hi Fred,

Just quickly, I noticed the gist contains a different set of namespaces,
therefore excluding all of our new components, and still had a theme
pointing at spark.css.  The flex-config.xml in a FlexJS SDK has a
different set of manifest.xml files and nothing in the theme tag.

I wonder if leaving a basic-manifest.xml in the SDK folder will convince
IJ to use that, or if we have to copy basic-manifest into mxml-manifest.

And for the theme, maybe an empty Spark.css will work.

Thanks for digging into this,
-Alex

On 5/28/15, 3:57 AM, "Frédéric THOMAS"  wrote:

>Actually, it is more complicated.
>
>This is what it is generated by IJ:
>
>https://gist.github.com/doublefx/ae135f1886cc2800c08d
>
>And I added the flex-config.xml from the framework, this one overrides
>the one of IJ apparently
>
>it results:
>
>Information:28/05/2015 11:16 - Compilation completed with 7 errors and 11
>warnings
>U:\sources\flexJsProjects\DataBindingTest\src\DataBindingTest.mxml
>Error:(26, 19) [DataBindingTest]: Call to a possibly undefined method
>MyModel.
>Warning:(30, 15) [DataBindingTest]: Definition models.MyModel could not
>be found.
>Error:(40, 8) [DataBindingTest]: This tag could not be resolved to an
>ActionScript class. It will be ignored.
>U:\sources\flexJsProjects\DataBindingTest\src\MyInitialView.mxml
>Warning:(26, 10) [DataBindingTest]: Definition models.MyModel could not
>be found.
>Error:(53, 24) [DataBindingTest]: Call to a possibly undefined method
>MyModel.
>Error:(54, 27) [DataBindingTest]: Call to a possibly undefined method
>MyModel.
>Warning:(119, 50) [DataBindingTest]: Data binding will not be able to
>detect assignments to 'MyModel'.
>Warning:(119, 76) [DataBindingTest]: Data binding will not be able to
>detect assignments to 'stockSymbol'.
>Warning:(123, 63) [DataBindingTest]: Data binding will not be able to
>detect assignments to 'MyModel'.
>Warning:(123, 89) [DataBindingTest]: Data binding will not be able to
>detect assignments to 'responseText'.
>Warning:(131, 50) [DataBindingTest]: Data binding will not be able to
>detect assignments to 'MyModel'.
>Warning:(131, 76) [DataBindingTest]: Data binding will not be able to
>detect assignments to 'strings'.
>Warning:(143, 30) [DataBindingTest]: Data binding will not be able to
>detect assignments to 'MyModel'.
>Warning:(143, 56) [DataBindingTest]: Data binding will not be able to
>detect assignments to 'allData'.
>U:\sources\flexJsProjects\DataBindingTest\src\controllers\MyController.as
>Warning:(26, 11) [DataBindingTest]: Definition models.MyModel could not
>be found.
>Error:(61, 3) [DataBindingTest]: Call to a possibly undefined method
>MyModel.
>Error:(66, 3) [DataBindingTest]: Call to a possibly undefined method
>MyModel.
>Error:(71, 12) [DataBindingTest]: Call to a possibly undefined method
>MyModel.
>
>But if I pass directly to Mxmlc :
>
>-load-config="D:\SDKs\FlexJS\0.0.3_FP16.0_AIR16.0_en_US\frameworks\flex-co
>nfig.xml"
>-output=U:\sources\flexJsProjects\DataBindingTest\bin\DataBindingTest.swf
>-library-path+=U:/sources/flexJsProjects/DataBindingTest/libs/libTest.swc
>U:\sources\flexJsProjects\DataBindingTest\src\DataBindingTest.mxml
>
>It builds.
>
>And if I ommit the flex-config.xml from the framework, it results in
>compilation error because it can't find mxml-2009-manifest.xml neither
>the bundle resources, actually, the locale folder in my FlexJS SDK is
>empty, it I fill it with the locales of my Flex SDK, the compilation
>fails because the 
>it can't find the components from the
>D:\SDKs\FlexJS\0.0.3_FP16.0_AIR16.0_en_US\frameworks\themes\Spark\spark.cs
>s 
>
>Frédéric THOMAS
>
>> From: webdoubl...@hotmail.com
>> To: dev@flex.apache.org
>> Subject: RE: AW: AW: AW: [FlexJS] IntelliJ Integration
>> Date: Thu, 28 May 2015 08:47:26 +0100
>> 
>> Hi,
>> 
>> Adding support for Comp C / JSC, I've been able to compile swc and js
>>files from IntelliJ.
>> 
>> In IntelliJ, I still have to add the FlexJS as a Lib to have things
>>green though, also, despite, it passes a correct config.xml, the MXMLC
>>compiler can't find the classe in the lib (the class is in the lib and
>>the lib is well referenced, I tried with both include path and external
>>and had the same result), did someone already tried this kind of config ?
>> 
>> Thanks,
>> Frédéric THOMAS
>> 
>> > From: webdoubl...@hotmail.com
>> > To: dev@flex.apache.org
>> > Subject: RE: AW: AW: AW: [FlexJS] IntelliJ Integration
>> > Date: Wed, 27 May 2015 01:12:22 +0100
>> > 
>> > > If you mod

RE: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-05-28 Thread Frédéric THOMAS
So, coming back on this, it seems, the only solution at the moment, it is to 
pass the arguments directly or maybe a better write a specific plugin, once 
again

Frédéric THOMAS

> From: webdoubl...@hotmail.com
> To: dev@flex.apache.org
> Subject: RE: AW: AW: AW: [FlexJS] IntelliJ Integration
> Date: Thu, 28 May 2015 11:57:09 +0100
> 
> Actually, it is more complicated.
> 
> This is what it is generated by IJ:
> 
> https://gist.github.com/doublefx/ae135f1886cc2800c08d
> 
> And I added the flex-config.xml from the framework, this one overrides the 
> one of IJ apparently
> 
> it results:
> 
> Information:28/05/2015 11:16 - Compilation completed with 7 errors and 11 
> warnings
> U:\sources\flexJsProjects\DataBindingTest\src\DataBindingTest.mxml
> Error:(26, 19) [DataBindingTest]: Call to a possibly undefined method MyModel.
> Warning:(30, 15) [DataBindingTest]: Definition models.MyModel could not be 
> found.
> Error:(40, 8) [DataBindingTest]: This tag could not be resolved to an 
> ActionScript class. It will be ignored.
> U:\sources\flexJsProjects\DataBindingTest\src\MyInitialView.mxml
> Warning:(26, 10) [DataBindingTest]: Definition models.MyModel could not be 
> found.
> Error:(53, 24) [DataBindingTest]: Call to a possibly undefined method MyModel.
> Error:(54, 27) [DataBindingTest]: Call to a possibly undefined method MyModel.
> Warning:(119, 50) [DataBindingTest]: Data binding will not be able to detect 
> assignments to 'MyModel'.
> Warning:(119, 76) [DataBindingTest]: Data binding will not be able to detect 
> assignments to 'stockSymbol'.
> Warning:(123, 63) [DataBindingTest]: Data binding will not be able to detect 
> assignments to 'MyModel'.
> Warning:(123, 89) [DataBindingTest]: Data binding will not be able to detect 
> assignments to 'responseText'.
> Warning:(131, 50) [DataBindingTest]: Data binding will not be able to detect 
> assignments to 'MyModel'.
> Warning:(131, 76) [DataBindingTest]: Data binding will not be able to detect 
> assignments to 'strings'.
> Warning:(143, 30) [DataBindingTest]: Data binding will not be able to detect 
> assignments to 'MyModel'.
> Warning:(143, 56) [DataBindingTest]: Data binding will not be able to detect 
> assignments to 'allData'.
> U:\sources\flexJsProjects\DataBindingTest\src\controllers\MyController.as
> Warning:(26, 11) [DataBindingTest]: Definition models.MyModel could not be 
> found.
> Error:(61, 3) [DataBindingTest]: Call to a possibly undefined method MyModel.
> Error:(66, 3) [DataBindingTest]: Call to a possibly undefined method MyModel.
> Error:(71, 12) [DataBindingTest]: Call to a possibly undefined method MyModel.
> 
> But if I pass directly to Mxmlc :
> 
> -load-config="D:\SDKs\FlexJS\0.0.3_FP16.0_AIR16.0_en_US\frameworks\flex-config.xml"
> -output=U:\sources\flexJsProjects\DataBindingTest\bin\DataBindingTest.swf
> -library-path+=U:/sources/flexJsProjects/DataBindingTest/libs/libTest.swc
> U:\sources\flexJsProjects\DataBindingTest\src\DataBindingTest.mxml
> 
> It builds.
> 
> And if I ommit the flex-config.xml from the framework, it results in 
> compilation error because it can't find mxml-2009-manifest.xml neither the 
> bundle resources, actually, the locale folder in my FlexJS SDK is empty, it I 
> fill it with the locales of my Flex SDK, the compilation fails because the 
> it can't find the components from the 
> D:\SDKs\FlexJS\0.0.3_FP16.0_AIR16.0_en_US\frameworks\themes\Spark\spark.css 
> 
> Frédéric THOMAS
> 
> > From: webdoubl...@hotmail.com
> > To: dev@flex.apache.org
> > Subject: RE: AW: AW: AW: [FlexJS] IntelliJ Integration
> > Date: Thu, 28 May 2015 08:47:26 +0100
> > 
> > Hi,
> > 
> > Adding support for Comp C / JSC, I've been able to compile swc and js files 
> > from IntelliJ.
> > 
> > In IntelliJ, I still have to add the FlexJS as a Lib to have things green 
> > though, also, despite, it passes a correct config.xml, the MXMLC compiler 
> > can't find the classe in the lib (the class is in the lib and the lib is 
> > well referenced, I tried with both include path and external and had the 
> > same result), did someone already tried this kind of config ?
> > 
> > Thanks,
> > Frédéric THOMAS
> > 
> > > From: webdoubl...@hotmail.com
> > > To: dev@flex.apache.org
> > > Subject: RE: AW: AW: AW: [FlexJS] IntelliJ Integration
> > > Date: Wed, 27 May 2015 01:12:22 +0100
> > > 
> > > > If you modify the Configuration class in flex-oem-compiler does it get
> > > > used or does IJ have its own version?  If you can use a modified
> 

RE: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-05-28 Thread Frédéric THOMAS
> Just quickly, I noticed the gist contains a different set of namespaces,
> therefore excluding all of our new components, and still had a theme
> pointing at spark.css.  The flex-config.xml in a FlexJS SDK has a
> different set of manifest.xml files and nothing in the theme tag.

Not sure at all it would help, my guess is that it has its own rule to write 
its config.xml, the only way I guess would be a plugin to override its 
behaviour.

> And for the theme, maybe an empty Spark.css will work.

I can try that

Frédéric THOMAS

> From: aha...@adobe.com
> To: dev@flex.apache.org
> Subject: Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> Date: Thu, 28 May 2015 12:58:45 +
> 
> Hi Fred,
> 
> Just quickly, I noticed the gist contains a different set of namespaces,
> therefore excluding all of our new components, and still had a theme
> pointing at spark.css.  The flex-config.xml in a FlexJS SDK has a
> different set of manifest.xml files and nothing in the theme tag.
> 
> I wonder if leaving a basic-manifest.xml in the SDK folder will convince
> IJ to use that, or if we have to copy basic-manifest into mxml-manifest.
> 
> And for the theme, maybe an empty Spark.css will work.
> 
> Thanks for digging into this,
> -Alex
> 
> On 5/28/15, 3:57 AM, "Frédéric THOMAS"  wrote:
> 
> >Actually, it is more complicated.
> >
> >This is what it is generated by IJ:
> >
> >https://gist.github.com/doublefx/ae135f1886cc2800c08d
> >
> >And I added the flex-config.xml from the framework, this one overrides
> >the one of IJ apparently
> >
> >it results:
> >
> >Information:28/05/2015 11:16 - Compilation completed with 7 errors and 11
> >warnings
> >U:\sources\flexJsProjects\DataBindingTest\src\DataBindingTest.mxml
> >Error:(26, 19) [DataBindingTest]: Call to a possibly undefined method
> >MyModel.
> >Warning:(30, 15) [DataBindingTest]: Definition models.MyModel could not
> >be found.
> >Error:(40, 8) [DataBindingTest]: This tag could not be resolved to an
> >ActionScript class. It will be ignored.
> >U:\sources\flexJsProjects\DataBindingTest\src\MyInitialView.mxml
> >Warning:(26, 10) [DataBindingTest]: Definition models.MyModel could not
> >be found.
> >Error:(53, 24) [DataBindingTest]: Call to a possibly undefined method
> >MyModel.
> >Error:(54, 27) [DataBindingTest]: Call to a possibly undefined method
> >MyModel.
> >Warning:(119, 50) [DataBindingTest]: Data binding will not be able to
> >detect assignments to 'MyModel'.
> >Warning:(119, 76) [DataBindingTest]: Data binding will not be able to
> >detect assignments to 'stockSymbol'.
> >Warning:(123, 63) [DataBindingTest]: Data binding will not be able to
> >detect assignments to 'MyModel'.
> >Warning:(123, 89) [DataBindingTest]: Data binding will not be able to
> >detect assignments to 'responseText'.
> >Warning:(131, 50) [DataBindingTest]: Data binding will not be able to
> >detect assignments to 'MyModel'.
> >Warning:(131, 76) [DataBindingTest]: Data binding will not be able to
> >detect assignments to 'strings'.
> >Warning:(143, 30) [DataBindingTest]: Data binding will not be able to
> >detect assignments to 'MyModel'.
> >Warning:(143, 56) [DataBindingTest]: Data binding will not be able to
> >detect assignments to 'allData'.
> >U:\sources\flexJsProjects\DataBindingTest\src\controllers\MyController.as
> >Warning:(26, 11) [DataBindingTest]: Definition models.MyModel could not
> >be found.
> >Error:(61, 3) [DataBindingTest]: Call to a possibly undefined method
> >MyModel.
> >Error:(66, 3) [DataBindingTest]: Call to a possibly undefined method
> >MyModel.
> >Error:(71, 12) [DataBindingTest]: Call to a possibly undefined method
> >MyModel.
> >
> >But if I pass directly to Mxmlc :
> >
> >-load-config="D:\SDKs\FlexJS\0.0.3_FP16.0_AIR16.0_en_US\frameworks\flex-co
> >nfig.xml"
> >-output=U:\sources\flexJsProjects\DataBindingTest\bin\DataBindingTest.swf
> >-library-path+=U:/sources/flexJsProjects/DataBindingTest/libs/libTest.swc
> >U:\sources\flexJsProjects\DataBindingTest\src\DataBindingTest.mxml
> >
> >It builds.
> >
> >And if I ommit the flex-config.xml from the framework, it results in
> >compilation error because it can't find mxml-2009-manifest.xml neither
> >the bundle resources, actually, the locale folder in my FlexJS SDK is
> >empty, it I fill it with the locales of my Flex SDK, the compilation
> >fails because the 
> >it can't find the components from the
> >D:\SDKs\F

Re: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-05-28 Thread Alex Harui
The mxml-manifest in a FlexJS SDK is empty because FB/Falcon didn’t seem
to care.  If IJ is counting on it containing certain things we can
certainly provide one.  But it might also scan the frameworks folder
looking for -manifest.xml files.

Thanks,
-Alex

On 5/28/15, 6:09 AM, "Frédéric THOMAS"  wrote:

>> Just quickly, I noticed the gist contains a different set of namespaces,
>> therefore excluding all of our new components, and still had a theme
>> pointing at spark.css.  The flex-config.xml in a FlexJS SDK has a
>> different set of manifest.xml files and nothing in the theme tag.
>
>Not sure at all it would help, my guess is that it has its own rule to
>write its config.xml, the only way I guess would be a plugin to override
>its behaviour.
>
>> And for the theme, maybe an empty Spark.css will work.
>
>I can try that
>
>Frédéric THOMAS
>
>> From: aha...@adobe.com
>> To: dev@flex.apache.org
>> Subject: Re: AW: AW: AW: [FlexJS] IntelliJ Integration
>> Date: Thu, 28 May 2015 12:58:45 +
>> 
>> Hi Fred,
>> 
>> Just quickly, I noticed the gist contains a different set of namespaces,
>> therefore excluding all of our new components, and still had a theme
>> pointing at spark.css.  The flex-config.xml in a FlexJS SDK has a
>> different set of manifest.xml files and nothing in the theme tag.
>> 
>> I wonder if leaving a basic-manifest.xml in the SDK folder will convince
>> IJ to use that, or if we have to copy basic-manifest into mxml-manifest.
>> 
>> And for the theme, maybe an empty Spark.css will work.
>> 
>> Thanks for digging into this,
>> -Alex
>> 
>> On 5/28/15, 3:57 AM, "Frédéric THOMAS"  wrote:
>> 
>> >Actually, it is more complicated.
>> >
>> >This is what it is generated by IJ:
>> >
>> >https://gist.github.com/doublefx/ae135f1886cc2800c08d
>> >
>> >And I added the flex-config.xml from the framework, this one overrides
>> >the one of IJ apparently
>> >
>> >it results:
>> >
>> >Information:28/05/2015 11:16 - Compilation completed with 7 errors and
>>11
>> >warnings
>> >U:\sources\flexJsProjects\DataBindingTest\src\DataBindingTest.mxml
>> >Error:(26, 19) [DataBindingTest]: Call to a possibly undefined method
>> >MyModel.
>> >Warning:(30, 15) [DataBindingTest]: Definition models.MyModel could not
>> >be found.
>> >Error:(40, 8) [DataBindingTest]: This tag could not be resolved to an
>> >ActionScript class. It will be ignored.
>> >U:\sources\flexJsProjects\DataBindingTest\src\MyInitialView.mxml
>> >Warning:(26, 10) [DataBindingTest]: Definition models.MyModel could not
>> >be found.
>> >Error:(53, 24) [DataBindingTest]: Call to a possibly undefined method
>> >MyModel.
>> >Error:(54, 27) [DataBindingTest]: Call to a possibly undefined method
>> >MyModel.
>> >Warning:(119, 50) [DataBindingTest]: Data binding will not be able to
>> >detect assignments to 'MyModel'.
>> >Warning:(119, 76) [DataBindingTest]: Data binding will not be able to
>> >detect assignments to 'stockSymbol'.
>> >Warning:(123, 63) [DataBindingTest]: Data binding will not be able to
>> >detect assignments to 'MyModel'.
>> >Warning:(123, 89) [DataBindingTest]: Data binding will not be able to
>> >detect assignments to 'responseText'.
>> >Warning:(131, 50) [DataBindingTest]: Data binding will not be able to
>> >detect assignments to 'MyModel'.
>> >Warning:(131, 76) [DataBindingTest]: Data binding will not be able to
>> >detect assignments to 'strings'.
>> >Warning:(143, 30) [DataBindingTest]: Data binding will not be able to
>> >detect assignments to 'MyModel'.
>> >Warning:(143, 56) [DataBindingTest]: Data binding will not be able to
>> >detect assignments to 'allData'.
>> 
>>>U:\sources\flexJsProjects\DataBindingTest\src\controllers\MyController.a
>>>s
>> >Warning:(26, 11) [DataBindingTest]: Definition models.MyModel could not
>> >be found.
>> >Error:(61, 3) [DataBindingTest]: Call to a possibly undefined method
>> >MyModel.
>> >Error:(66, 3) [DataBindingTest]: Call to a possibly undefined method
>> >MyModel.
>> >Error:(71, 12) [DataBindingTest]: Call to a possibly undefined method
>> >MyModel.
>> >
>> >But if I pass directly to Mxmlc :
>> >
>> 
>>>-load-config="D:\SDKs\FlexJS\0.0.3_FP16.0_AIR16.0_en_US\framew

RE: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-05-28 Thread Frédéric THOMAS
The result of the empty spark.css [1] :-)

If I let only the NS, it creates the swf but crashes because it can't find 
IStateClient2

Frédéric THOMAS

[1]
Error:[DataBindingTest]: : java.lang.NullPointerException  at 
org.antlr.runtime.tree.BaseTreeAdaptor.isNil(BaseTreeAdaptor.java:73)  at 
org.antlr.runtime.tree.CommonTreeNodeStream.nextElement(CommonTreeNodeStream.java:104)
  at org.antlr.runtime.misc.LookaheadStream.fill(LookaheadStream.java:113)  
at 
org.antlr.runtime.misc.LookaheadStream.syncAhead(LookaheadStream.java:107)  
at org.antlr.runtime.misc.LookaheadStream.LT(LookaheadStream.java:129)  at 
org.apache.flex.compiler.internal.css.CSSTree.stylesheet(CSSTree.java:200)  
at org.apache.flex.compiler.internal.css.CSSDocument.parse(CSSDocument.java:81) 
 at 
org.apache.flex.compiler.internal.caches.CSSDocumentCache$CSSDocumentCacheKey2.parse(CSSDocumentCache.java:280)
  at 
org.apache.flex.compiler.internal.caches.CSSDocumentCache.createEntryValue(CSSDocumentCache.java:323)
  at 
org.apache.flex.compiler.internal.caches.CSSDocumentCache.createEntryValue(CSSDocumentCache.java:54)
  at 
org.apache.flex.compiler.internal.caches.ConcurrentCacheStoreBase.get(ConcurrentCacheStoreBase.java:69)
  at 
org.apache.flex.compiler.internal.css.CSSManager.getCSSFromThemes(CSSManager.java:251)
  at 
org.apache.flex.compiler.internal.targets.FlexAppSWFTarget.collectThemes(FlexAppSWFTarget.java:553)
  at 
org.apache.flex.compiler.internal.targets.FlexAppSWFTarget.findAllCompilationUnitsToLink(FlexAppSWFTarget.java:493)
  at 
org.apache.flex.compiler.internal.targets.Target.buildAllCompilationUnits(Target.java:297)
  at 
org.apache.flex.compiler.internal.targets.Target.getBuiltCompilationUnitSet(Target.java:306)
  at 
org.apache.flex.compiler.internal.targets.SWFTarget.build(SWFTarget.java:228)   
   at org.apache.flex.compiler.clients.MXMLC.buildSWFModel(MXMLC.java:760)  
at org.apache.flex.compiler.clients.MXMLC.buildArtifact(MXMLC.java:746)  at 
org.apache.flex.compiler.clients.MXMLC.compile(MXMLC.java:625)  at 
org.apache.flex.compiler.clients.MXMLC.compile(MXMLC.java:611)  at 
org.apache.flex.compiler.clients.MXMLC.mainNoExit(MXMLC.java:230)  at 
org.apache.flex.compiler.clients.MXMLC.mainNoExit(MXMLC.java:198)  at 
org.apache.flex.compiler.clients.MXMLC.execute(MXMLC.java:185)  at 
flex2.tools.Tool.compile(Tool.java:62)  at 
flex2.tools.Mxmlc.mxmlc(Mxmlc.java:72)  at 
com.intellij.flex.compiler.flex4.Flex4Handler.compileSwf(Flex4Handler.java:81)  
at 
com.intellij.flex.compiler.CompilationThread.run(CompilationThread.java:48)

> From: webdoubl...@hotmail.com
> To: dev@flex.apache.org
> Subject: RE: AW: AW: AW: [FlexJS] IntelliJ Integration
> Date: Thu, 28 May 2015 14:09:29 +0100
> 
> > Just quickly, I noticed the gist contains a different set of namespaces,
> > therefore excluding all of our new components, and still had a theme
> > pointing at spark.css.  The flex-config.xml in a FlexJS SDK has a
> > different set of manifest.xml files and nothing in the theme tag.
> 
> Not sure at all it would help, my guess is that it has its own rule to write 
> its config.xml, the only way I guess would be a plugin to override its 
> behaviour.
> 
> > And for the theme, maybe an empty Spark.css will work.
> 
> I can try that
> 
> Frédéric THOMAS
> 
> > From: aha...@adobe.com
> > To: dev@flex.apache.org
> > Subject: Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> > Date: Thu, 28 May 2015 12:58:45 +
> > 
> > Hi Fred,
> > 
> > Just quickly, I noticed the gist contains a different set of namespaces,
> > therefore excluding all of our new components, and still had a theme
> > pointing at spark.css.  The flex-config.xml in a FlexJS SDK has a
> > different set of manifest.xml files and nothing in the theme tag.
> > 
> > I wonder if leaving a basic-manifest.xml in the SDK folder will convince
> > IJ to use that, or if we have to copy basic-manifest into mxml-manifest.
> > 
> > And for the theme, maybe an empty Spark.css will work.
> > 
> > Thanks for digging into this,
> > -Alex
> > 
> > On 5/28/15, 3:57 AM, "Frédéric THOMAS"  wrote:
> > 
> > >Actually, it is more complicated.
> > >
> > >This is what it is generated by IJ:
> > >
> > >https://gist.github.com/doublefx/ae135f1886cc2800c08d
> > >
> > >And I added the flex-config.xml from the framework, this one overrides
> > >the one of IJ apparently
> > >
> > >it results:
> > >
> > >Information:28/05/2015 11:16 - Compilation completed with 7 errors and 11
> > >warnings
> > >U:\sources\flexJsProjects\DataBindingTest\src\Data

RE: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-05-28 Thread Frédéric THOMAS
Almost the end.

So, to come back on this, at the moment with my current implementation, we can 
compile Applications and Libraries and link them together overriding the 
IntelliJ configuration as show here http://snag.gy/5SzuG.jpg the second build 
configuarion suffixed by _JS guess what, is to compile to JS, to create it, 
it's enough to copy the first build configuration and add the -js-output-type 
to any of the current valid output type.

Not perfect and not what I was hoping but still, that's much more better than 
using external tools and it is per build configuration, not one for all of your 
projects.

A better integration could happen if I find time to code an IntelliJ plugin for 
FlexJS though, let see first how it will be adopted, the current integration 
seems still pretty descent.

So, I would like better compiler expert to review my code as it was my first 
compiler contribution, the branch is IDEA_JS_COMPILER (sorry, I forgot to 
prefix with ticket ID)

Maybe it would be opportune to create a binary kit for people would want to 
test it and return feedback, maybe we can also wait for the Alex work about FDB 
and see how to deal better with swfutils.jar as at the moment I'm using the one 
of the Flex SDK.

thought ?

Thanks,
Frédéric THOMAS


> From: webdoubl...@hotmail.com
> To: dev@flex.apache.org
> Subject: RE: AW: AW: AW: [FlexJS] IntelliJ Integration
> Date: Thu, 28 May 2015 14:41:03 +0100
> 
> The result of the empty spark.css [1] :-)
> 
> If I let only the NS, it creates the swf but crashes because it can't find 
> IStateClient2
> 
> Frédéric THOMAS
> 
> [1]
> Error:[DataBindingTest]: : java.lang.NullPointerException  at 
> org.antlr.runtime.tree.BaseTreeAdaptor.isNil(BaseTreeAdaptor.java:73)  at 
> org.antlr.runtime.tree.CommonTreeNodeStream.nextElement(CommonTreeNodeStream.java:104)
>   at 
> org.antlr.runtime.misc.LookaheadStream.fill(LookaheadStream.java:113)  at 
> org.antlr.runtime.misc.LookaheadStream.syncAhead(LookaheadStream.java:107)
>   at org.antlr.runtime.misc.LookaheadStream.LT(LookaheadStream.java:129)  
> at org.apache.flex.compiler.internal.css.CSSTree.stylesheet(CSSTree.java:200) 
>  at 
> org.apache.flex.compiler.internal.css.CSSDocument.parse(CSSDocument.java:81)  
> at 
> org.apache.flex.compiler.internal.caches.CSSDocumentCache$CSSDocumentCacheKey2.parse(CSSDocumentCache.java:280)
>   at 
> org.apache.flex.compiler.internal.caches.CSSDocumentCache.createEntryValue(CSSDocumentCache.java:323)
>   at 
> org.apache.flex.compiler.internal.caches.CSSDocumentCache.createEntryValue(CSSDocumentCache.java:54)
>   at 
> org.apache.flex.compiler.internal.caches.ConcurrentCacheStoreBase.get(ConcurrentCacheStoreBase.java:69)
>   at 
> org.apache.flex.compiler.internal.css.CSSManager.getCSSFromThemes(CSSManager.java:251)
>   at 
> org.apache.flex.compiler.internal.targets.FlexAppSWFTarget.collectThemes(FlexAppSWFTarget.java:553)
>   at 
> org.apache.flex.compiler.internal.targets.FlexAppSWFTarget.findAllCompilationUnitsToLink(FlexAppSWFTarget.java:493)
>   at 
> org.apache.flex.compiler.internal.targets.Target.buildAllCompilationUnits(Target.java:297)
>   at 
> org.apache.flex.compiler.internal.targets.Target.getBuiltCompilationUnitSet(Target.java:306)
>   at 
> org.apache.flex.compiler.internal.targets.SWFTarget.build(SWFTarget.java:228) 
>  at org.apache.flex.compiler.clients.MXMLC.buildSWFModel(MXMLC.java:760)  
> at org.apache.flex.compiler.clients.MXMLC.buildArtifact(MXMLC.java:746)   
>at org.apache.flex.compiler.clients.MXMLC.compile(MXMLC.java:625)  at 
> org.apache.flex.compiler.clients.MXMLC.compile(MXMLC.java:611)  at 
> org.apache.flex.compiler.clients.MXMLC.mainNoExit(MXMLC.java:230)  at 
> org.apache.flex.compiler.clients.MXMLC.mainNoExit(MXMLC.java:198)  at 
> org.apache.flex.compiler.clients.MXMLC.execute(MXMLC.java:185)  at 
> flex2.tools.Tool.compile(Tool.java:62)  at 
> flex2.tools.Mxmlc.mxmlc(Mxmlc.java:72)  at 
> com.intellij.flex.compiler.flex4.Flex4Handler.compileSwf(Flex4Handler.java:81)
>   at 
> com.intellij.flex.compiler.CompilationThread.run(CompilationThread.java:48)
> 
> > From: webdoubl...@hotmail.com
> > To: dev@flex.apache.org
> > Subject: RE: AW: AW: AW: [FlexJS] IntelliJ Integration
> > Date: Thu, 28 May 2015 14:09:29 +0100
> > 
> > > Just quickly, I noticed the gist contains a different set of namespaces,
> > > therefore excluding all of our new components, and still had a theme
> > > pointing at spark.css.  The flex-config.xml in a FlexJS SDK has a
> > > different set of manifest.xml files and nothing in the theme tag.
> > 
> > Not sure at all it would help, my gues

Re: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-05-28 Thread Alex Harui
Awesome!  I hope to finish up FDB this week and then work on packaging.
I’ll try integrating your stuff then.  I looked at your changes a few days
ago and it looked reasonable.

Just to be sure, does this still require some parts of a regular Flex SDK
or is a FlexJS SDK now working on its own?

-Alex

On 5/28/15, 11:22 AM, "Frédéric THOMAS"  wrote:

>Almost the end.
>
>So, to come back on this, at the moment with my current implementation,
>we can compile Applications and Libraries and link them together
>overriding the IntelliJ configuration as show here
>http://snag.gy/5SzuG.jpg the second build configuarion suffixed by _JS
>guess what, is to compile to JS, to create it, it's enough to copy the
>first build configuration and add the -js-output-type to any of the
>current valid output type.
>
>Not perfect and not what I was hoping but still, that's much more better
>than using external tools and it is per build configuration, not one for
>all of your projects.
>
>A better integration could happen if I find time to code an IntelliJ
>plugin for FlexJS though, let see first how it will be adopted, the
>current integration seems still pretty descent.
>
>So, I would like better compiler expert to review my code as it was my
>first compiler contribution, the branch is IDEA_JS_COMPILER (sorry, I
>forgot to prefix with ticket ID)
>
>Maybe it would be opportune to create a binary kit for people would want
>to test it and return feedback, maybe we can also wait for the Alex work
>about FDB and see how to deal better with swfutils.jar as at the moment
>I'm using the one of the Flex SDK.
>
>thought ?
>
>Thanks,
>Frédéric THOMAS
>
>
>> From: webdoubl...@hotmail.com
>> To: dev@flex.apache.org
>> Subject: RE: AW: AW: AW: [FlexJS] IntelliJ Integration
>> Date: Thu, 28 May 2015 14:41:03 +0100
>> 
>> The result of the empty spark.css [1] :-)
>> 
>> If I let only the NS, it creates the swf but crashes because it can't
>>find IStateClient2
>> 
>> Frédéric THOMAS
>> 
>> [1]
>> Error:[DataBindingTest]: : java.lang.NullPointerException  at
>>org.antlr.runtime.tree.BaseTreeAdaptor.isNil(BaseTreeAdaptor.java:73)
>>  at 
>>org.antlr.runtime.tree.CommonTreeNodeStream.nextElement(CommonTreeNodeStr
>>eam.java:104)  at
>>org.antlr.runtime.misc.LookaheadStream.fill(LookaheadStream.java:113)
>>  at 
>>org.antlr.runtime.misc.LookaheadStream.syncAhead(LookaheadStream.java:107
>>)  at 
>>org.antlr.runtime.misc.LookaheadStream.LT(LookaheadStream.java:129)
>>at 
>>org.apache.flex.compiler.internal.css.CSSTree.stylesheet(CSSTree.java:200
>>)  at 
>>org.apache.flex.compiler.internal.css.CSSDocument.parse(CSSDocument.java:
>>81)  at 
>>org.apache.flex.compiler.internal.caches.CSSDocumentCache$CSSDocumentCach
>>eKey2.parse(CSSDocumentCache.java:280)  at
>>org.apache.flex.compiler.internal.caches.CSSDocumentCache.createEntryValu
>>e(CSSDocumentCache.java:323)  at
>>org.apache.flex.compiler.internal.caches.CSSDocumentCache.createEntryValu
>>e(CSSDocumentCache.java:54)  at
>>org.apache.flex.compiler.internal.caches.ConcurrentCacheStoreBase.get(Con
>>currentCacheStoreBase.java:69)  at
>>org.apache.flex.compiler.internal.css.CSSManager.getCSSFromThemes(CSSMana
>>ger.java:251)  at
>>org.apache.flex.compiler.internal.targets.FlexAppSWFTarget.collectThemes(
>>FlexAppSWFTarget.java:553)  at
>>org.apache.flex.compiler.internal.targets.FlexAppSWFTarget.findAllCompila
>>tionUnitsToLink(FlexAppSWFTarget.java:493)  at
>>org.apache.flex.compiler.internal.targets.Target.buildAllCompilationUnits
>>(Target.java:297)  at
>>org.apache.flex.compiler.internal.targets.Target.getBuiltCompilationUnitS
>>et(Target.java:306)  at
>>org.apache.flex.compiler.internal.targets.SWFTarget.build(SWFTarget.java:
>>228)  at 
>>org.apache.flex.compiler.clients.MXMLC.buildSWFModel(MXMLC.java:760)
>> at org.apache.flex.compiler.clients.MXMLC.buildArtifact(MXMLC.java:746)
>> at org.apache.flex.compiler.clients.MXMLC.compile(MXMLC.java:625)
>>   at org.apache.flex.compiler.clients.MXMLC.compile(MXMLC.java:611)
>> at org.apache.flex.compiler.clients.MXMLC.mainNoExit(MXMLC.java:230)
>>  at org.apache.flex.compiler.clients.MXMLC.mainNoExit(MXMLC.java:198)
>>   at org.apache.flex.compiler.clients.MXMLC.execute(MXMLC.java:185)
>> at flex2.tools.Tool.compile(Tool.java:62)  at
>>flex2.tools.Mxmlc.mxmlc(Mxmlc.java:72)  at
>>com.intellij.flex.compiler.flex4.Flex4Handler.compileSwf(Flex4Handler.jav
>>a:81)  at 
>>com.intellij.flex.com

RE: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-05-28 Thread Frédéric THOMAS
> I’ll try integrating your stuff then.  I looked at your changes a few days
> ago and it looked reasonable.

Thanks for that but I pushed force my branch changing some code (in better I 
hope) and the build too.

> Just to be sure, does this still require some parts of a regular Flex SDK
> or is a FlexJS SDK now working on its own?

Yes, the swfutils.jar but I've seen something in the build.xml that didn't work 
for me, it was a copy of the required classes to falcon/swfutils, maybe you can 
fix that along with your FDB work as If IIUC, you was about to do it for FDB ?

Aso, the user still has to add the FlexJS lib as dependency in IJ otherwise 
everything is red.

Thanks,
Frédéric THOMAS

> From: aha...@adobe.com
> To: dev@flex.apache.org
> Subject: Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> Date: Thu, 28 May 2015 18:39:58 +
> 
> Awesome!  I hope to finish up FDB this week and then work on packaging.
> I’ll try integrating your stuff then.  I looked at your changes a few days
> ago and it looked reasonable.
> 
> Just to be sure, does this still require some parts of a regular Flex SDK
> or is a FlexJS SDK now working on its own?
> 
> -Alex
> 
> On 5/28/15, 11:22 AM, "Frédéric THOMAS"  wrote:
> 
> >Almost the end.
> >
> >So, to come back on this, at the moment with my current implementation,
> >we can compile Applications and Libraries and link them together
> >overriding the IntelliJ configuration as show here
> >http://snag.gy/5SzuG.jpg the second build configuarion suffixed by _JS
> >guess what, is to compile to JS, to create it, it's enough to copy the
> >first build configuration and add the -js-output-type to any of the
> >current valid output type.
> >
> >Not perfect and not what I was hoping but still, that's much more better
> >than using external tools and it is per build configuration, not one for
> >all of your projects.
> >
> >A better integration could happen if I find time to code an IntelliJ
> >plugin for FlexJS though, let see first how it will be adopted, the
> >current integration seems still pretty descent.
> >
> >So, I would like better compiler expert to review my code as it was my
> >first compiler contribution, the branch is IDEA_JS_COMPILER (sorry, I
> >forgot to prefix with ticket ID)
> >
> >Maybe it would be opportune to create a binary kit for people would want
> >to test it and return feedback, maybe we can also wait for the Alex work
> >about FDB and see how to deal better with swfutils.jar as at the moment
> >I'm using the one of the Flex SDK.
> >
> >thought ?
> >
> >Thanks,
> >Frédéric THOMAS
> >
> >
> >> From: webdoubl...@hotmail.com
> >> To: dev@flex.apache.org
> >> Subject: RE: AW: AW: AW: [FlexJS] IntelliJ Integration
> >> Date: Thu, 28 May 2015 14:41:03 +0100
> >> 
> >> The result of the empty spark.css [1] :-)
> >> 
> >> If I let only the NS, it creates the swf but crashes because it can't
> >>find IStateClient2
> >> 
> >> Frédéric THOMAS
> >> 
> >> [1]
> >> Error:[DataBindingTest]: : java.lang.NullPointerException  at
> >>org.antlr.runtime.tree.BaseTreeAdaptor.isNil(BaseTreeAdaptor.java:73)
> >>  at 
> >>org.antlr.runtime.tree.CommonTreeNodeStream.nextElement(CommonTreeNodeStr
> >>eam.java:104)  at
> >>org.antlr.runtime.misc.LookaheadStream.fill(LookaheadStream.java:113)
> >>  at 
> >>org.antlr.runtime.misc.LookaheadStream.syncAhead(LookaheadStream.java:107
> >>)  at 
> >>org.antlr.runtime.misc.LookaheadStream.LT(LookaheadStream.java:129)
> >>at 
> >>org.apache.flex.compiler.internal.css.CSSTree.stylesheet(CSSTree.java:200
> >>)  at 
> >>org.apache.flex.compiler.internal.css.CSSDocument.parse(CSSDocument.java:
> >>81)  at 
> >>org.apache.flex.compiler.internal.caches.CSSDocumentCache$CSSDocumentCach
> >>eKey2.parse(CSSDocumentCache.java:280)  at
> >>org.apache.flex.compiler.internal.caches.CSSDocumentCache.createEntryValu
> >>e(CSSDocumentCache.java:323)  at
> >>org.apache.flex.compiler.internal.caches.CSSDocumentCache.createEntryValu
> >>e(CSSDocumentCache.java:54)  at
> >>org.apache.flex.compiler.internal.caches.ConcurrentCacheStoreBase.get(Con
> >>currentCacheStoreBase.java:69)  at
> >>org.apache.flex.compiler.internal.css.CSSManager.getCSSFromThemes(CSSMana
> >>ger.java:251)  at
> >>org.apache.flex.compiler.internal.targets.FlexAppSWFTarget.collectThemes

RE: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-05-28 Thread Frédéric THOMAS
Ah yes, you make me think I didn't stub the things I could have probably avoid 
some classes from the swfutils, will do that in the week end

Frédéric THOMAS

> From: webdoubl...@hotmail.com
> To: dev@flex.apache.org
> Subject: RE: AW: AW: AW: [FlexJS] IntelliJ Integration
> Date: Thu, 28 May 2015 19:48:43 +0100
> 
> > I’ll try integrating your stuff then.  I looked at your changes a few days
> > ago and it looked reasonable.
> 
> Thanks for that but I pushed force my branch changing some code (in better I 
> hope) and the build too.
> 
> > Just to be sure, does this still require some parts of a regular Flex SDK
> > or is a FlexJS SDK now working on its own?
> 
> Yes, the swfutils.jar but I've seen something in the build.xml that didn't 
> work for me, it was a copy of the required classes to falcon/swfutils, maybe 
> you can fix that along with your FDB work as If IIUC, you was about to do it 
> for FDB ?
> 
> Aso, the user still has to add the FlexJS lib as dependency in IJ otherwise 
> everything is red.
> 
> Thanks,
> Frédéric THOMAS
> 
> > From: aha...@adobe.com
> > To: dev@flex.apache.org
> > Subject: Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> > Date: Thu, 28 May 2015 18:39:58 +
> > 
> > Awesome!  I hope to finish up FDB this week and then work on packaging.
> > I’ll try integrating your stuff then.  I looked at your changes a few days
> > ago and it looked reasonable.
> > 
> > Just to be sure, does this still require some parts of a regular Flex SDK
> > or is a FlexJS SDK now working on its own?
> > 
> > -Alex
> > 
> > On 5/28/15, 11:22 AM, "Frédéric THOMAS"  wrote:
> > 
> > >Almost the end.
> > >
> > >So, to come back on this, at the moment with my current implementation,
> > >we can compile Applications and Libraries and link them together
> > >overriding the IntelliJ configuration as show here
> > >http://snag.gy/5SzuG.jpg the second build configuarion suffixed by _JS
> > >guess what, is to compile to JS, to create it, it's enough to copy the
> > >first build configuration and add the -js-output-type to any of the
> > >current valid output type.
> > >
> > >Not perfect and not what I was hoping but still, that's much more better
> > >than using external tools and it is per build configuration, not one for
> > >all of your projects.
> > >
> > >A better integration could happen if I find time to code an IntelliJ
> > >plugin for FlexJS though, let see first how it will be adopted, the
> > >current integration seems still pretty descent.
> > >
> > >So, I would like better compiler expert to review my code as it was my
> > >first compiler contribution, the branch is IDEA_JS_COMPILER (sorry, I
> > >forgot to prefix with ticket ID)
> > >
> > >Maybe it would be opportune to create a binary kit for people would want
> > >to test it and return feedback, maybe we can also wait for the Alex work
> > >about FDB and see how to deal better with swfutils.jar as at the moment
> > >I'm using the one of the Flex SDK.
> > >
> > >thought ?
> > >
> > >Thanks,
> > >Frédéric THOMAS
> > >
> > >
> > >> From: webdoubl...@hotmail.com
> > >> To: dev@flex.apache.org
> > >> Subject: RE: AW: AW: AW: [FlexJS] IntelliJ Integration
> > >> Date: Thu, 28 May 2015 14:41:03 +0100
> > >> 
> > >> The result of the empty spark.css [1] :-)
> > >> 
> > >> If I let only the NS, it creates the swf but crashes because it can't
> > >>find IStateClient2
> > >> 
> > >> Frédéric THOMAS
> > >> 
> > >> [1]
> > >> Error:[DataBindingTest]: : java.lang.NullPointerException  at
> > >>org.antlr.runtime.tree.BaseTreeAdaptor.isNil(BaseTreeAdaptor.java:73)
> > >>  at 
> > >>org.antlr.runtime.tree.CommonTreeNodeStream.nextElement(CommonTreeNodeStr
> > >>eam.java:104)  at
> > >>org.antlr.runtime.misc.LookaheadStream.fill(LookaheadStream.java:113)
> > >>  at 
> > >>org.antlr.runtime.misc.LookaheadStream.syncAhead(LookaheadStream.java:107
> > >>)  at 
> > >>org.antlr.runtime.misc.LookaheadStream.LT(LookaheadStream.java:129)
> > >>at 
> > >>org.apache.flex.compiler.internal.css.CSSTree.stylesheet(CSSTree.java:200
> > >>)  at 
> > >>org.apache.flex.compiler.internal.css.CSSDocument.parse

RE: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-05-29 Thread Frédéric THOMAS
Hi Alex,

I spent some time checking if it is was possible to let the minimum of classes 
to make IJ happy, it turns out that or at least seems to be the minimum already.
The only thing I committed and not yet pushed is the factorisation of the 
fixArg function, it was on my way and I don't like duplicated, confusing or 
even not used code :-)

So, I guess I will do a push by tomorrow, feel free to review / fix / rebase on 
it for FDB

Frédéric THOMAS

> From: webdoubl...@hotmail.com
> To: dev@flex.apache.org
> Subject: RE: AW: AW: AW: [FlexJS] IntelliJ Integration
> Date: Thu, 28 May 2015 19:51:10 +0100
> 
> Ah yes, you make me think I didn't stub the things I could have probably 
> avoid some classes from the swfutils, will do that in the week end
> 
> Frédéric THOMAS
> 
> > From: webdoubl...@hotmail.com
> > To: dev@flex.apache.org
> > Subject: RE: AW: AW: AW: [FlexJS] IntelliJ Integration
> > Date: Thu, 28 May 2015 19:48:43 +0100
> > 
> > > I’ll try integrating your stuff then.  I looked at your changes a few days
> > > ago and it looked reasonable.
> > 
> > Thanks for that but I pushed force my branch changing some code (in better 
> > I hope) and the build too.
> > 
> > > Just to be sure, does this still require some parts of a regular Flex SDK
> > > or is a FlexJS SDK now working on its own?
> > 
> > Yes, the swfutils.jar but I've seen something in the build.xml that didn't 
> > work for me, it was a copy of the required classes to falcon/swfutils, 
> > maybe you can fix that along with your FDB work as If IIUC, you was about 
> > to do it for FDB ?
> > 
> > Aso, the user still has to add the FlexJS lib as dependency in IJ otherwise 
> > everything is red.
> > 
> > Thanks,
> > Frédéric THOMAS
> > 
> > > From: aha...@adobe.com
> > > To: dev@flex.apache.org
> > > Subject: Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> > > Date: Thu, 28 May 2015 18:39:58 +
> > > 
> > > Awesome!  I hope to finish up FDB this week and then work on packaging.
> > > I’ll try integrating your stuff then.  I looked at your changes a few days
> > > ago and it looked reasonable.
> > > 
> > > Just to be sure, does this still require some parts of a regular Flex SDK
> > > or is a FlexJS SDK now working on its own?
> > > 
> > > -Alex
> > > 
> > > On 5/28/15, 11:22 AM, "Frédéric THOMAS"  wrote:
> > > 
> > > >Almost the end.
> > > >
> > > >So, to come back on this, at the moment with my current implementation,
> > > >we can compile Applications and Libraries and link them together
> > > >overriding the IntelliJ configuration as show here
> > > >http://snag.gy/5SzuG.jpg the second build configuarion suffixed by _JS
> > > >guess what, is to compile to JS, to create it, it's enough to copy the
> > > >first build configuration and add the -js-output-type to any of the
> > > >current valid output type.
> > > >
> > > >Not perfect and not what I was hoping but still, that's much more better
> > > >than using external tools and it is per build configuration, not one for
> > > >all of your projects.
> > > >
> > > >A better integration could happen if I find time to code an IntelliJ
> > > >plugin for FlexJS though, let see first how it will be adopted, the
> > > >current integration seems still pretty descent.
> > > >
> > > >So, I would like better compiler expert to review my code as it was my
> > > >first compiler contribution, the branch is IDEA_JS_COMPILER (sorry, I
> > > >forgot to prefix with ticket ID)
> > > >
> > > >Maybe it would be opportune to create a binary kit for people would want
> > > >to test it and return feedback, maybe we can also wait for the Alex work
> > > >about FDB and see how to deal better with swfutils.jar as at the moment
> > > >I'm using the one of the Flex SDK.
> > > >
> > > >thought ?
> > > >
> > > >Thanks,
> > > >Frédéric THOMAS
> > > >
> > > >
> > > >> From: webdoubl...@hotmail.com
> > > >> To: dev@flex.apache.org
> > > >> Subject: RE: AW: AW: AW: [FlexJS] IntelliJ Integration
> > > >> Date: Thu, 28 May 2015 14:41:03 +0100
> > > >> 
> > > >> The result of the empty spark.css [1] :-)
> > > >> 
> > > >> If I let only the NS

Re: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-05-29 Thread Alex Harui
OK, I’m still working out the kinks of FDB calling Falcon to evaluate
expressions.  That’s in the BURM code so who knows how long that will take.

-Alex

On 5/29/15, 10:20 AM, "Frédéric THOMAS"  wrote:

>Hi Alex,
>
>I spent some time checking if it is was possible to let the minimum of
>classes to make IJ happy, it turns out that or at least seems to be the
>minimum already.
>The only thing I committed and not yet pushed is the factorisation of the
>fixArg function, it was on my way and I don't like duplicated, confusing
>or even not used code :-)
>
>So, I guess I will do a push by tomorrow, feel free to review / fix /
>rebase on it for FDB
>
>Frédéric THOMAS
>
>> From: webdoubl...@hotmail.com
>> To: dev@flex.apache.org
>> Subject: RE: AW: AW: AW: [FlexJS] IntelliJ Integration
>> Date: Thu, 28 May 2015 19:51:10 +0100
>> 
>> Ah yes, you make me think I didn't stub the things I could have
>>probably avoid some classes from the swfutils, will do that in the week
>>end
>> 
>> Frédéric THOMAS
>> 
>> > From: webdoubl...@hotmail.com
>> > To: dev@flex.apache.org
>> > Subject: RE: AW: AW: AW: [FlexJS] IntelliJ Integration
>> > Date: Thu, 28 May 2015 19:48:43 +0100
>> > 
>> > > I’ll try integrating your stuff then.  I looked at your changes a
>>few days
>> > > ago and it looked reasonable.
>> > 
>> > Thanks for that but I pushed force my branch changing some code (in
>>better I hope) and the build too.
>> > 
>> > > Just to be sure, does this still require some parts of a regular
>>Flex SDK
>> > > or is a FlexJS SDK now working on its own?
>> > 
>> > Yes, the swfutils.jar but I've seen something in the build.xml that
>>didn't work for me, it was a copy of the required classes to
>>falcon/swfutils, maybe you can fix that along with your FDB work as If
>>IIUC, you was about to do it for FDB ?
>> > 
>> > Aso, the user still has to add the FlexJS lib as dependency in IJ
>>otherwise everything is red.
>> > 
>> > Thanks,
>> > Frédéric THOMAS
>> > 
>> > > From: aha...@adobe.com
>> > > To: dev@flex.apache.org
>> > > Subject: Re: AW: AW: AW: [FlexJS] IntelliJ Integration
>> > > Date: Thu, 28 May 2015 18:39:58 +
>> > > 
>> > > Awesome!  I hope to finish up FDB this week and then work on
>>packaging.
>> > > I’ll try integrating your stuff then.  I looked at your changes a
>>few days
>> > > ago and it looked reasonable.
>> > > 
>> > > Just to be sure, does this still require some parts of a regular
>>Flex SDK
>> > > or is a FlexJS SDK now working on its own?
>> > > 
>> > > -Alex
>> > > 
>> > > On 5/28/15, 11:22 AM, "Frédéric THOMAS" 
>>wrote:
>> > > 
>> > > >Almost the end.
>> > > >
>> > > >So, to come back on this, at the moment with my current
>>implementation,
>> > > >we can compile Applications and Libraries and link them together
>> > > >overriding the IntelliJ configuration as show here
>> > > >http://snag.gy/5SzuG.jpg the second build configuarion suffixed by
>>_JS
>> > > >guess what, is to compile to JS, to create it, it's enough to copy
>>the
>> > > >first build configuration and add the -js-output-type to any of the
>> > > >current valid output type.
>> > > >
>> > > >Not perfect and not what I was hoping but still, that's much more
>>better
>> > > >than using external tools and it is per build configuration, not
>>one for
>> > > >all of your projects.
>> > > >
>> > > >A better integration could happen if I find time to code an
>>IntelliJ
>> > > >plugin for FlexJS though, let see first how it will be adopted, the
>> > > >current integration seems still pretty descent.
>> > > >
>> > > >So, I would like better compiler expert to review my code as it
>>was my
>> > > >first compiler contribution, the branch is IDEA_JS_COMPILER
>>(sorry, I
>> > > >forgot to prefix with ticket ID)
>> > > >
>> > > >Maybe it would be opportune to create a binary kit for people
>>would want
>> > > >to test it and return feedback, maybe we can also wait for the
>>Alex work
>> > 

Re: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-05-29 Thread Michael Schmalle
On Fri, May 29, 2015 at 2:09 PM, Alex Harui  wrote:

> OK, I’m still working out the kinks of FDB calling Falcon to evaluate
> expressions.  That’s in the BURM code so who knows how long that will take.
>

I have this image of a huge pile of garbage and you digging around trying
to find a receipt.

Mike


>
> -Alex
>
> On 5/29/15, 10:20 AM, "Frédéric THOMAS"  wrote:
>
> >Hi Alex,
> >
> >I spent some time checking if it is was possible to let the minimum of
> >classes to make IJ happy, it turns out that or at least seems to be the
> >minimum already.
> >The only thing I committed and not yet pushed is the factorisation of the
> >fixArg function, it was on my way and I don't like duplicated, confusing
> >or even not used code :-)
> >
> >So, I guess I will do a push by tomorrow, feel free to review / fix /
> >rebase on it for FDB
> >
> >Frédéric THOMAS
> >
> >> From: webdoubl...@hotmail.com
> >> To: dev@flex.apache.org
> >> Subject: RE: AW: AW: AW: [FlexJS] IntelliJ Integration
> >> Date: Thu, 28 May 2015 19:51:10 +0100
> >>
> >> Ah yes, you make me think I didn't stub the things I could have
> >>probably avoid some classes from the swfutils, will do that in the week
> >>end
> >>
> >> Frédéric THOMAS
> >>
> >> > From: webdoubl...@hotmail.com
> >> > To: dev@flex.apache.org
> >> > Subject: RE: AW: AW: AW: [FlexJS] IntelliJ Integration
> >> > Date: Thu, 28 May 2015 19:48:43 +0100
> >> >
> >> > > I’ll try integrating your stuff then.  I looked at your changes a
> >>few days
> >> > > ago and it looked reasonable.
> >> >
> >> > Thanks for that but I pushed force my branch changing some code (in
> >>better I hope) and the build too.
> >> >
> >> > > Just to be sure, does this still require some parts of a regular
> >>Flex SDK
> >> > > or is a FlexJS SDK now working on its own?
> >> >
> >> > Yes, the swfutils.jar but I've seen something in the build.xml that
> >>didn't work for me, it was a copy of the required classes to
> >>falcon/swfutils, maybe you can fix that along with your FDB work as If
> >>IIUC, you was about to do it for FDB ?
> >> >
> >> > Aso, the user still has to add the FlexJS lib as dependency in IJ
> >>otherwise everything is red.
> >> >
> >> > Thanks,
> >> > Frédéric THOMAS
> >> >
> >> > > From: aha...@adobe.com
> >> > > To: dev@flex.apache.org
> >> > > Subject: Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> >> > > Date: Thu, 28 May 2015 18:39:58 +
> >> > >
> >> > > Awesome!  I hope to finish up FDB this week and then work on
> >>packaging.
> >> > > I’ll try integrating your stuff then.  I looked at your changes a
> >>few days
> >> > > ago and it looked reasonable.
> >> > >
> >> > > Just to be sure, does this still require some parts of a regular
> >>Flex SDK
> >> > > or is a FlexJS SDK now working on its own?
> >> > >
> >> > > -Alex
> >> > >
> >> > > On 5/28/15, 11:22 AM, "Frédéric THOMAS" 
> >>wrote:
> >> > >
> >> > > >Almost the end.
> >> > > >
> >> > > >So, to come back on this, at the moment with my current
> >>implementation,
> >> > > >we can compile Applications and Libraries and link them together
> >> > > >overriding the IntelliJ configuration as show here
> >> > > >http://snag.gy/5SzuG.jpg the second build configuarion suffixed by
> >>_JS
> >> > > >guess what, is to compile to JS, to create it, it's enough to copy
> >>the
> >> > > >first build configuration and add the -js-output-type to any of the
> >> > > >current valid output type.
> >> > > >
> >> > > >Not perfect and not what I was hoping but still, that's much more
> >>better
> >> > > >than using external tools and it is per build configuration, not
> >>one for
> >> > > >all of your projects.
> >> > > >
> >> > > >A better integration could happen if I find time to code an
> >>IntelliJ
> >> > > >plugin for FlexJS though, let see first how it will be ad

RE: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-05-30 Thread Frédéric THOMAS
Hi Alex,

Are you saying the AS3DebuggerReducer doesn't work ?

Frédéric THOMAS

> From: aha...@adobe.com
> To: dev@flex.apache.org
> Subject: Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> Date: Fri, 29 May 2015 18:09:10 +
> 
> OK, I’m still working out the kinks of FDB calling Falcon to evaluate
> expressions.  That’s in the BURM code so who knows how long that will take.
> 
> -Alex
> 
> On 5/29/15, 10:20 AM, "Frédéric THOMAS"  wrote:
> 
> >Hi Alex,
> >
> >I spent some time checking if it is was possible to let the minimum of
> >classes to make IJ happy, it turns out that or at least seems to be the
> >minimum already.
> >The only thing I committed and not yet pushed is the factorisation of the
> >fixArg function, it was on my way and I don't like duplicated, confusing
> >or even not used code :-)
> >
> >So, I guess I will do a push by tomorrow, feel free to review / fix /
> >rebase on it for FDB
> >
> >Frédéric THOMAS
> >
> >> From: webdoubl...@hotmail.com
> >> To: dev@flex.apache.org
> >> Subject: RE: AW: AW: AW: [FlexJS] IntelliJ Integration
> >> Date: Thu, 28 May 2015 19:51:10 +0100
> >> 
> >> Ah yes, you make me think I didn't stub the things I could have
> >>probably avoid some classes from the swfutils, will do that in the week
> >>end
> >> 
> >> Frédéric THOMAS
> >> 
> >> > From: webdoubl...@hotmail.com
> >> > To: dev@flex.apache.org
> >> > Subject: RE: AW: AW: AW: [FlexJS] IntelliJ Integration
> >> > Date: Thu, 28 May 2015 19:48:43 +0100
> >> > 
> >> > > I’ll try integrating your stuff then.  I looked at your changes a
> >>few days
> >> > > ago and it looked reasonable.
> >> > 
> >> > Thanks for that but I pushed force my branch changing some code (in
> >>better I hope) and the build too.
> >> > 
> >> > > Just to be sure, does this still require some parts of a regular
> >>Flex SDK
> >> > > or is a FlexJS SDK now working on its own?
> >> > 
> >> > Yes, the swfutils.jar but I've seen something in the build.xml that
> >>didn't work for me, it was a copy of the required classes to
> >>falcon/swfutils, maybe you can fix that along with your FDB work as If
> >>IIUC, you was about to do it for FDB ?
> >> > 
> >> > Aso, the user still has to add the FlexJS lib as dependency in IJ
> >>otherwise everything is red.
> >> > 
> >> > Thanks,
> >> > Frédéric THOMAS
> >> > 
> >> > > From: aha...@adobe.com
> >> > > To: dev@flex.apache.org
> >> > > Subject: Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> >> > > Date: Thu, 28 May 2015 18:39:58 +
> >> > > 
> >> > > Awesome!  I hope to finish up FDB this week and then work on
> >>packaging.
> >> > > I’ll try integrating your stuff then.  I looked at your changes a
> >>few days
> >> > > ago and it looked reasonable.
> >> > > 
> >> > > Just to be sure, does this still require some parts of a regular
> >>Flex SDK
> >> > > or is a FlexJS SDK now working on its own?
> >> > > 
> >> > > -Alex
> >> > > 
> >> > > On 5/28/15, 11:22 AM, "Frédéric THOMAS" 
> >>wrote:
> >> > > 
> >> > > >Almost the end.
> >> > > >
> >> > > >So, to come back on this, at the moment with my current
> >>implementation,
> >> > > >we can compile Applications and Libraries and link them together
> >> > > >overriding the IntelliJ configuration as show here
> >> > > >http://snag.gy/5SzuG.jpg the second build configuarion suffixed by
> >>_JS
> >> > > >guess what, is to compile to JS, to create it, it's enough to copy
> >>the
> >> > > >first build configuration and add the -js-output-type to any of the
> >> > > >current valid output type.
> >> > > >
> >> > > >Not perfect and not what I was hoping but still, that's much more
> >>better
> >> > > >than using external tools and it is per build configuration, not
> >>one for
> >> > > >all of your projects.
> >> > > >
> >> > > >A better integration could happen if I find time to code an
> &

Re: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-05-30 Thread Alex Harui
There was a class missing from the donation that looked like it abstracted as4 
and as3. I've been trying to figure out what it does. I think I'll get it done 
tonight. I was passing the burm the top of the ast. I think it wants a child 
node.


Sent from my LG G3, an AT&T 4G LTE smartphone


-- Original message--

From: Frédéric THOMAS

Date: Sat, May 30, 2015 7:42 AM

To: dev@flex.apache.org<mailto:dev@flex.apache.org>;

Subject:RE: AW: AW: AW: [FlexJS] IntelliJ Integration


Hi Alex,

Are you saying the AS3DebuggerReducer doesn't work ?

Frédéric THOMAS

> From: aha...@adobe.com
> To: dev@flex.apache.org
> Subject: Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> Date: Fri, 29 May 2015 18:09:10 +
>
> OK, I’m still working out the kinks of FDB calling Falcon to evaluate
> expressions.  That’s in the BURM code so who knows how long that will take.
>
> -Alex
>
> On 5/29/15, 10:20 AM, "Frédéric THOMAS"  wrote:
>
> >Hi Alex,
> >
> >I spent some time checking if it is was possible to let the minimum of
> >classes to make IJ happy, it turns out that or at least seems to be the
> >minimum already.
> >The only thing I committed and not yet pushed is the factorisation of the
> >fixArg function, it was on my way and I don't like duplicated, confusing
> >or even not used code :-)
> >
> >So, I guess I will do a push by tomorrow, feel free to review / fix /
> >rebase on it for FDB
> >
> >Frédéric THOMAS
> >
> >> From: webdoubl...@hotmail.com
> >> To: dev@flex.apache.org
> >> Subject: RE: AW: AW: AW: [FlexJS] IntelliJ Integration
> >> Date: Thu, 28 May 2015 19:51:10 +0100
> >>
> >> Ah yes, you make me think I didn't stub the things I could have
> >>probably avoid some classes from the swfutils, will do that in the week
> >>end
> >>
> >> Frédéric THOMAS
> >>
> >> > From: webdoubl...@hotmail.com
> >> > To: dev@flex.apache.org
> >> > Subject: RE: AW: AW: AW: [FlexJS] IntelliJ Integration
> >> > Date: Thu, 28 May 2015 19:48:43 +0100
> >> >
> >> > > I’ll try integrating your stuff then.  I looked at your changes a
> >>few days
> >> > > ago and it looked reasonable.
> >> >
> >> > Thanks for that but I pushed force my branch changing some code (in
> >>better I hope) and the build too.
> >> >
> >> > > Just to be sure, does this still require some parts of a regular
> >>Flex SDK
> >> > > or is a FlexJS SDK now working on its own?
> >> >
> >> > Yes, the swfutils.jar but I've seen something in the build.xml that
> >>didn't work for me, it was a copy of the required classes to
> >>falcon/swfutils, maybe you can fix that along with your FDB work as If
> >>IIUC, you was about to do it for FDB ?
> >> >
> >> > Aso, the user still has to add the FlexJS lib as dependency in IJ
> >>otherwise everything is red.
> >> >
> >> > Thanks,
> >> > Frédéric THOMAS
> >> >
> >> > > From: aha...@adobe.com
> >> > > To: dev@flex.apache.org
> >> > > Subject: Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> >> > > Date: Thu, 28 May 2015 18:39:58 +
> >> > >
> >> > > Awesome!  I hope to finish up FDB this week and then work on
> >>packaging.
> >> > > I’ll try integrating your stuff then.  I looked at your changes a
> >>few days
> >> > > ago and it looked reasonable.
> >> > >
> >> > > Just to be sure, does this still require some parts of a regular
> >>Flex SDK
> >> > > or is a FlexJS SDK now working on its own?
> >> > >
> >> > > -Alex
> >> > >
> >> > > On 5/28/15, 11:22 AM, "Frédéric THOMAS" 
> >>wrote:
> >> > >
> >> > > >Almost the end.
> >> > > >
> >> > > >So, to come back on this, at the moment with my current
> >>implementation,
> >> > > >we can compile Applications and Libraries and link them together
> >> > > >overriding the IntelliJ configuration as show here
> >> > > >http://snag.gy/5SzuG.jpg the second build configuarion suffixed by
> >>_JS
> >> > > >guess what, is to compile to JS, to create it, it's enough to copy
> >>the
> >> > > >first build configuration and add the -js-output-type to any of the

RE: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-05-30 Thread Frédéric THOMAS
Ok good luck :)

1 question though, did you plan to re-apply all the fix from the 
sdk\modules\debugger when done ?

Btw I pushed what I hope is my last commit on my compiler branch.

Frédéric THOMAS

> From: aha...@adobe.com
> To: webdoubl...@hotmail.com; dev@flex.apache.org
> Subject: Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> Date: Sat, 30 May 2015 15:05:45 +
> 
> There was a class missing from the donation that looked like it abstracted 
> as4 and as3. I've been trying to figure out what it does. I think I'll get it 
> done tonight. I was passing the burm the top of the ast. I think it wants a 
> child node.
> 
> 
> Sent from my LG G3, an AT&T 4G LTE smartphone
> 
> 
> -- Original message--
> 
> From: Frédéric THOMAS
> 
> Date: Sat, May 30, 2015 7:42 AM
> 
> To: dev@flex.apache.org<mailto:dev@flex.apache.org>;
> 
> Subject:RE: AW: AW: AW: [FlexJS] IntelliJ Integration
> 
> 
> Hi Alex,
> 
> Are you saying the AS3DebuggerReducer doesn't work ?
> 
> Frédéric THOMAS
> 
> > From: aha...@adobe.com
> > To: dev@flex.apache.org
> > Subject: Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> > Date: Fri, 29 May 2015 18:09:10 +
> >
> > OK, I’m still working out the kinks of FDB calling Falcon to evaluate
> > expressions.  That’s in the BURM code so who knows how long that will take.
> >
> > -Alex
> >
> > On 5/29/15, 10:20 AM, "Frédéric THOMAS"  wrote:
> >
> > >Hi Alex,
> > >
> > >I spent some time checking if it is was possible to let the minimum of
> > >classes to make IJ happy, it turns out that or at least seems to be the
> > >minimum already.
> > >The only thing I committed and not yet pushed is the factorisation of the
> > >fixArg function, it was on my way and I don't like duplicated, confusing
> > >or even not used code :-)
> > >
> > >So, I guess I will do a push by tomorrow, feel free to review / fix /
> > >rebase on it for FDB
> > >
> > >Frédéric THOMAS
> > >
> > >> From: webdoubl...@hotmail.com
> > >> To: dev@flex.apache.org
> > >> Subject: RE: AW: AW: AW: [FlexJS] IntelliJ Integration
> > >> Date: Thu, 28 May 2015 19:51:10 +0100
> > >>
> > >> Ah yes, you make me think I didn't stub the things I could have
> > >>probably avoid some classes from the swfutils, will do that in the week
> > >>end
> > >>
> > >> Frédéric THOMAS
> > >>
> > >> > From: webdoubl...@hotmail.com
> > >> > To: dev@flex.apache.org
> > >> > Subject: RE: AW: AW: AW: [FlexJS] IntelliJ Integration
> > >> > Date: Thu, 28 May 2015 19:48:43 +0100
> > >> >
> > >> > > I’ll try integrating your stuff then.  I looked at your changes a
> > >>few days
> > >> > > ago and it looked reasonable.
> > >> >
> > >> > Thanks for that but I pushed force my branch changing some code (in
> > >>better I hope) and the build too.
> > >> >
> > >> > > Just to be sure, does this still require some parts of a regular
> > >>Flex SDK
> > >> > > or is a FlexJS SDK now working on its own?
> > >> >
> > >> > Yes, the swfutils.jar but I've seen something in the build.xml that
> > >>didn't work for me, it was a copy of the required classes to
> > >>falcon/swfutils, maybe you can fix that along with your FDB work as If
> > >>IIUC, you was about to do it for FDB ?
> > >> >
> > >> > Aso, the user still has to add the FlexJS lib as dependency in IJ
> > >>otherwise everything is red.
> > >> >
> > >> > Thanks,
> > >> > Frédéric THOMAS
> > >> >
> > >> > > From: aha...@adobe.com
> > >> > > To: dev@flex.apache.org
> > >> > > Subject: Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> > >> > > Date: Thu, 28 May 2015 18:39:58 +
> > >> > >
> > >> > > Awesome!  I hope to finish up FDB this week and then work on
> > >>packaging.
> > >> > > I’ll try integrating your stuff then.  I looked at your changes a
> > >>few days
> > >> > > ago and it looked reasonable.
> > >> > >
> > >> > > Just to be sure, does this still require some parts of a regular
> > >>Flex SDK
> > >> > > or is a Fl

Re: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-05-30 Thread Alex Harui


On 5/30/15, 8:58 AM, "Frédéric THOMAS"  wrote:

>Ok good luck :)
>
>1 question though, did you plan to re-apply all the fix from the
>sdk\modules\debugger when done ?

OK, I’m out of BURM hell and now heading towards Git merge hell.

I started looking into how to re-apply the fixes from
sdk\modules\debugger.  It turns out that Falcon uses a slightly different
folder structure so in the flex-sdk repo, DebugCLI.java is at:

   modules/debugger/src/java/flex/tools/debugger/cli/DebugCLI.java

but in Falcon, it is in:


   debugger/src/flex/tools/debugger/cli/DebugCLI.java


So I’m pondering how to grab all of the changes from flex-sdk (sure looks
like a lot of changes) and applying them to this different folder tree and
not have lots of merge issues.

Thoughts?  I’m done for tonight, will try again tomorrow night.

-Alex



RE: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-06-01 Thread Frédéric THOMAS
It is not mandatory to re-apply now, I can have a look later and try to find a 
way.

Frédéric THOMAS

> From: aha...@adobe.com
> To: dev@flex.apache.org
> Subject: Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> Date: Sun, 31 May 2015 06:37:25 +
> 
> 
> 
> On 5/30/15, 8:58 AM, "Frédéric THOMAS"  wrote:
> 
> >Ok good luck :)
> >
> >1 question though, did you plan to re-apply all the fix from the
> >sdk\modules\debugger when done ?
> 
> OK, I’m out of BURM hell and now heading towards Git merge hell.
> 
> I started looking into how to re-apply the fixes from
> sdk\modules\debugger.  It turns out that Falcon uses a slightly different
> folder structure so in the flex-sdk repo, DebugCLI.java is at:
> 
>modules/debugger/src/java/flex/tools/debugger/cli/DebugCLI.java
> 
> but in Falcon, it is in:
> 
> 
>debugger/src/flex/tools/debugger/cli/DebugCLI.java
> 
> 
> So I’m pondering how to grab all of the changes from flex-sdk (sure looks
> like a lot of changes) and applying them to this different folder tree and
> not have lots of merge issues.
> 
> Thoughts?  I’m done for tonight, will try again tomorrow night.
> 
> -Alex
> 
  

Re: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-06-02 Thread Alex Harui
I just pushed FDB for Falcon.

I tried various ways of merging the changes from flex-sdk and eventually
gave up.  It seems like the line numbers are off by 300 lines or so, so
the patch utilities can’t figure out what to do.  I’ve manually re-applied
the patches I saw from Fred except:

df0fceaeef45569c06aaf342fa9ba6e9c4d7efb5

which is implemented differently (in the Reducer).

I could certainly have messed things up, so give it a try.  Next step is
to try to merge your IDEA branch, although I may pause to do some
Installer stuff.

-Alex


On 6/1/15, 7:34 AM, "Frédéric THOMAS"  wrote:

>It is not mandatory to re-apply now, I can have a look later and try to
>find a way.
>
>Frédéric THOMAS
>
>> From: aha...@adobe.com
>> To: dev@flex.apache.org
>> Subject: Re: AW: AW: AW: [FlexJS] IntelliJ Integration
>> Date: Sun, 31 May 2015 06:37:25 +
>> 
>> 
>> 
>> On 5/30/15, 8:58 AM, "Frédéric THOMAS"  wrote:
>> 
>> >Ok good luck :)
>> >
>> >1 question though, did you plan to re-apply all the fix from the
>> >sdk\modules\debugger when done ?
>> 
>> OK, I’m out of BURM hell and now heading towards Git merge hell.
>> 
>> I started looking into how to re-apply the fixes from
>> sdk\modules\debugger.  It turns out that Falcon uses a slightly
>>different
>> folder structure so in the flex-sdk repo, DebugCLI.java is at:
>> 
>>modules/debugger/src/java/flex/tools/debugger/cli/DebugCLI.java
>> 
>> but in Falcon, it is in:
>> 
>> 
>>debugger/src/flex/tools/debugger/cli/DebugCLI.java
>> 
>> 
>> So I’m pondering how to grab all of the changes from flex-sdk (sure
>>looks
>> like a lot of changes) and applying them to this different folder tree
>>and
>> not have lots of merge issues.
>> 
>> Thoughts?  I’m done for tonight, will try again tomorrow night.
>> 
>> -Alex
>> 
> 



RE: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-06-02 Thread Frédéric THOMAS
Hi Alex,

Ok, thanks a lot, I will have a look as soon as I will finish the compiler part 
which should happen by tomorrow I guess.

I committed the chained compilation, it works pretty well, the only drawback 
was that the user had to set -output from the "additional compiler options" in 
IntelliJ (equivalent to the command line), I want less config as possible, so, 
I check and use the IntelliJ config too now, I'm not far to finish, eventually, 
what I could add, is the check for the alias "-o" and I will need to update the 
build file too.

Oh, btw, I appreciated the check for * in include-file :-)

I'll keep you in touch.
Frédéric THOMAS

> From: aha...@adobe.com
> To: dev@flex.apache.org
> Subject: Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> Date: Tue, 2 Jun 2015 17:08:41 +
> 
> I just pushed FDB for Falcon.
> 
> I tried various ways of merging the changes from flex-sdk and eventually
> gave up.  It seems like the line numbers are off by 300 lines or so, so
> the patch utilities can’t figure out what to do.  I’ve manually re-applied
> the patches I saw from Fred except:
> 
> df0fceaeef45569c06aaf342fa9ba6e9c4d7efb5
> 
> which is implemented differently (in the Reducer).
> 
> I could certainly have messed things up, so give it a try.  Next step is
> to try to merge your IDEA branch, although I may pause to do some
> Installer stuff.
> 
> -Alex
> 
> 
> On 6/1/15, 7:34 AM, "Frédéric THOMAS"  wrote:
> 
> >It is not mandatory to re-apply now, I can have a look later and try to
> >find a way.
> >
> >Frédéric THOMAS
> >
> >> From: aha...@adobe.com
> >> To: dev@flex.apache.org
> >> Subject: Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> >> Date: Sun, 31 May 2015 06:37:25 +
> >> 
> >> 
> >> 
> >> On 5/30/15, 8:58 AM, "Frédéric THOMAS"  wrote:
> >> 
> >> >Ok good luck :)
> >> >
> >> >1 question though, did you plan to re-apply all the fix from the
> >> >sdk\modules\debugger when done ?
> >> 
> >> OK, I’m out of BURM hell and now heading towards Git merge hell.
> >> 
> >> I started looking into how to re-apply the fixes from
> >> sdk\modules\debugger.  It turns out that Falcon uses a slightly
> >>different
> >> folder structure so in the flex-sdk repo, DebugCLI.java is at:
> >> 
> >>modules/debugger/src/java/flex/tools/debugger/cli/DebugCLI.java
> >> 
> >> but in Falcon, it is in:
> >> 
> >> 
> >>debugger/src/flex/tools/debugger/cli/DebugCLI.java
> >> 
> >> 
> >> So I’m pondering how to grab all of the changes from flex-sdk (sure
> >>looks
> >> like a lot of changes) and applying them to this different folder tree
> >>and
> >> not have lots of merge issues.
> >> 
> >> Thoughts?  I’m done for tonight, will try again tomorrow night.
> >> 
> >> -Alex
> >> 
> >   
> 
  

RE: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-06-03 Thread Frédéric THOMAS
I switched on the develop branch but have to fix the swfutils part as as I said 
before it doesn't work for me, the copy never occurs, will do that as soon as I 
can to be able to continue the FDB part.

Frédéric THOMAS

> From: webdoubl...@hotmail.com
> To: dev@flex.apache.org
> Subject: RE: AW: AW: AW: [FlexJS] IntelliJ Integration
> Date: Tue, 2 Jun 2015 18:39:10 +0100
> 
> Hi Alex,
> 
> Ok, thanks a lot, I will have a look as soon as I will finish the compiler 
> part which should happen by tomorrow I guess.
> 
> I committed the chained compilation, it works pretty well, the only drawback 
> was that the user had to set -output from the "additional compiler options" 
> in IntelliJ (equivalent to the command line), I want less config as possible, 
> so, I check and use the IntelliJ config too now, I'm not far to finish, 
> eventually, what I could add, is the check for the alias "-o" and I will need 
> to update the build file too.
> 
> Oh, btw, I appreciated the check for * in include-file :-)
> 
> I'll keep you in touch.
> Frédéric THOMAS
> 
> > From: aha...@adobe.com
> > To: dev@flex.apache.org
> > Subject: Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> > Date: Tue, 2 Jun 2015 17:08:41 +
> > 
> > I just pushed FDB for Falcon.
> > 
> > I tried various ways of merging the changes from flex-sdk and eventually
> > gave up.  It seems like the line numbers are off by 300 lines or so, so
> > the patch utilities can’t figure out what to do.  I’ve manually re-applied
> > the patches I saw from Fred except:
> > 
> > df0fceaeef45569c06aaf342fa9ba6e9c4d7efb5
> > 
> > which is implemented differently (in the Reducer).
> > 
> > I could certainly have messed things up, so give it a try.  Next step is
> > to try to merge your IDEA branch, although I may pause to do some
> > Installer stuff.
> > 
> > -Alex
> > 
> > 
> > On 6/1/15, 7:34 AM, "Frédéric THOMAS"  wrote:
> > 
> > >It is not mandatory to re-apply now, I can have a look later and try to
> > >find a way.
> > >
> > >Frédéric THOMAS
> > >
> > >> From: aha...@adobe.com
> > >> To: dev@flex.apache.org
> > >> Subject: Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> > >> Date: Sun, 31 May 2015 06:37:25 +
> > >> 
> > >> 
> > >> 
> > >> On 5/30/15, 8:58 AM, "Frédéric THOMAS"  wrote:
> > >> 
> > >> >Ok good luck :)
> > >> >
> > >> >1 question though, did you plan to re-apply all the fix from the
> > >> >sdk\modules\debugger when done ?
> > >> 
> > >> OK, I’m out of BURM hell and now heading towards Git merge hell.
> > >> 
> > >> I started looking into how to re-apply the fixes from
> > >> sdk\modules\debugger.  It turns out that Falcon uses a slightly
> > >>different
> > >> folder structure so in the flex-sdk repo, DebugCLI.java is at:
> > >> 
> > >>modules/debugger/src/java/flex/tools/debugger/cli/DebugCLI.java
> > >> 
> > >> but in Falcon, it is in:
> > >> 
> > >> 
> > >>debugger/src/flex/tools/debugger/cli/DebugCLI.java
> > >> 
> > >> 
> > >> So I’m pondering how to grab all of the changes from flex-sdk (sure
> > >>looks
> > >> like a lot of changes) and applying them to this different folder tree
> > >>and
> > >> not have lots of merge issues.
> > >> 
> > >> Thoughts?  I’m done for tonight, will try again tomorrow night.
> > >> 
> > >> -Alex
> > >> 
> > > 
> > 
> 
  

Re: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-06-03 Thread Alex Harui
I made some changes to the oem and swfutils last night.   Hopefully that
will help.

I’m going to try to multi-task this week and get the Installer to where it
can install things properly.  I just built it and the progress squares did
not fill in correctly but all the files were installed.  Then while folks
play with that, I can try to merge your IDEA branch into develop if you
haven’t already.

-Alex

On 6/3/15, 9:14 AM, "Frédéric THOMAS"  wrote:

>I switched on the develop branch but have to fix the swfutils part as as
>I said before it doesn't work for me, the copy never occurs, will do that
>as soon as I can to be able to continue the FDB part.
>
>Frédéric THOMAS
>
>> From: webdoubl...@hotmail.com
>> To: dev@flex.apache.org
>> Subject: RE: AW: AW: AW: [FlexJS] IntelliJ Integration
>> Date: Tue, 2 Jun 2015 18:39:10 +0100
>> 
>> Hi Alex,
>> 
>> Ok, thanks a lot, I will have a look as soon as I will finish the
>>compiler part which should happen by tomorrow I guess.
>> 
>> I committed the chained compilation, it works pretty well, the only
>>drawback was that the user had to set -output from the "additional
>>compiler options" in IntelliJ (equivalent to the command line), I want
>>less config as possible, so, I check and use the IntelliJ config too
>>now, I'm not far to finish, eventually, what I could add, is the check
>>for the alias "-o" and I will need to update the build file too.
>> 
>> Oh, btw, I appreciated the check for * in include-file :-)
>> 
>> I'll keep you in touch.
>> Frédéric THOMAS
>> 
>> > From: aha...@adobe.com
>> > To: dev@flex.apache.org
>> > Subject: Re: AW: AW: AW: [FlexJS] IntelliJ Integration
>> > Date: Tue, 2 Jun 2015 17:08:41 +
>> > 
>> > I just pushed FDB for Falcon.
>> > 
>> > I tried various ways of merging the changes from flex-sdk and
>>eventually
>> > gave up.  It seems like the line numbers are off by 300 lines or so,
>>so
>> > the patch utilities can’t figure out what to do.  I’ve manually
>>re-applied
>> > the patches I saw from Fred except:
>> > 
>> > df0fceaeef45569c06aaf342fa9ba6e9c4d7efb5
>> > 
>> > which is implemented differently (in the Reducer).
>> > 
>> > I could certainly have messed things up, so give it a try.  Next step
>>is
>> > to try to merge your IDEA branch, although I may pause to do some
>> > Installer stuff.
>> > 
>> > -Alex
>> > 
>> > 
>> > On 6/1/15, 7:34 AM, "Frédéric THOMAS"  wrote:
>> > 
>> > >It is not mandatory to re-apply now, I can have a look later and try
>>to
>> > >find a way.
>> > >
>> > >Frédéric THOMAS
>> > >
>> > >> From: aha...@adobe.com
>> > >> To: dev@flex.apache.org
>> > >> Subject: Re: AW: AW: AW: [FlexJS] IntelliJ Integration
>> > >> Date: Sun, 31 May 2015 06:37:25 +
>> > >> 
>> > >> 
>> > >> 
>> > >> On 5/30/15, 8:58 AM, "Frédéric THOMAS" 
>>wrote:
>> > >> 
>> > >> >Ok good luck :)
>> > >> >
>> > >> >1 question though, did you plan to re-apply all the fix from the
>> > >> >sdk\modules\debugger when done ?
>> > >> 
>> > >> OK, I’m out of BURM hell and now heading towards Git merge hell.
>> > >> 
>> > >> I started looking into how to re-apply the fixes from
>> > >> sdk\modules\debugger.  It turns out that Falcon uses a slightly
>> > >>different
>> > >> folder structure so in the flex-sdk repo, DebugCLI.java is at:
>> > >> 
>> > >>modules/debugger/src/java/flex/tools/debugger/cli/DebugCLI.java
>> > >> 
>> > >> but in Falcon, it is in:
>> > >> 
>> > >> 
>> > >>debugger/src/flex/tools/debugger/cli/DebugCLI.java
>> > >> 
>> > >> 
>> > >> So I’m pondering how to grab all of the changes from flex-sdk (sure
>> > >>looks
>> > >> like a lot of changes) and applying them to this different folder
>>tree
>> > >>and
>> > >> not have lots of merge issues.
>> > >> 
>> > >> Thoughts?  I’m done for tonight, will try again tomorrow night.
>> > >> 
>> > >> -Alex
>> > >> 
>> > >
>> > 
>>
> 



RE: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-06-03 Thread Frédéric THOMAS
I updated the dev branch 1 or 2 hours ago and had the same issue, will try to 
fix it later tonight before finishing FDB and merge the comipler part.

Frédéric THOMAS

> From: aha...@adobe.com
> To: dev@flex.apache.org
> Subject: Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> Date: Wed, 3 Jun 2015 16:45:31 +
> 
> I made some changes to the oem and swfutils last night.   Hopefully that
> will help.
> 
> I’m going to try to multi-task this week and get the Installer to where it
> can install things properly.  I just built it and the progress squares did
> not fill in correctly but all the files were installed.  Then while folks
> play with that, I can try to merge your IDEA branch into develop if you
> haven’t already.
> 
> -Alex
> 
> On 6/3/15, 9:14 AM, "Frédéric THOMAS"  wrote:
> 
> >I switched on the develop branch but have to fix the swfutils part as as
> >I said before it doesn't work for me, the copy never occurs, will do that
> >as soon as I can to be able to continue the FDB part.
> >
> >Frédéric THOMAS
> >
> >> From: webdoubl...@hotmail.com
> >> To: dev@flex.apache.org
> >> Subject: RE: AW: AW: AW: [FlexJS] IntelliJ Integration
> >> Date: Tue, 2 Jun 2015 18:39:10 +0100
> >> 
> >> Hi Alex,
> >> 
> >> Ok, thanks a lot, I will have a look as soon as I will finish the
> >>compiler part which should happen by tomorrow I guess.
> >> 
> >> I committed the chained compilation, it works pretty well, the only
> >>drawback was that the user had to set -output from the "additional
> >>compiler options" in IntelliJ (equivalent to the command line), I want
> >>less config as possible, so, I check and use the IntelliJ config too
> >>now, I'm not far to finish, eventually, what I could add, is the check
> >>for the alias "-o" and I will need to update the build file too.
> >> 
> >> Oh, btw, I appreciated the check for * in include-file :-)
> >> 
> >> I'll keep you in touch.
> >> Frédéric THOMAS
> >> 
> >> > From: aha...@adobe.com
> >> > To: dev@flex.apache.org
> >> > Subject: Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> >> > Date: Tue, 2 Jun 2015 17:08:41 +
> >> > 
> >> > I just pushed FDB for Falcon.
> >> > 
> >> > I tried various ways of merging the changes from flex-sdk and
> >>eventually
> >> > gave up.  It seems like the line numbers are off by 300 lines or so,
> >>so
> >> > the patch utilities can’t figure out what to do.  I’ve manually
> >>re-applied
> >> > the patches I saw from Fred except:
> >> > 
> >> > df0fceaeef45569c06aaf342fa9ba6e9c4d7efb5
> >> > 
> >> > which is implemented differently (in the Reducer).
> >> > 
> >> > I could certainly have messed things up, so give it a try.  Next step
> >>is
> >> > to try to merge your IDEA branch, although I may pause to do some
> >> > Installer stuff.
> >> > 
> >> > -Alex
> >> > 
> >> > 
> >> > On 6/1/15, 7:34 AM, "Frédéric THOMAS"  wrote:
> >> > 
> >> > >It is not mandatory to re-apply now, I can have a look later and try
> >>to
> >> > >find a way.
> >> > >
> >> > >Frédéric THOMAS
> >> > >
> >> > >> From: aha...@adobe.com
> >> > >> To: dev@flex.apache.org
> >> > >> Subject: Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> >> > >> Date: Sun, 31 May 2015 06:37:25 +
> >> > >> 
> >> > >> 
> >> > >> 
> >> > >> On 5/30/15, 8:58 AM, "Frédéric THOMAS" 
> >>wrote:
> >> > >> 
> >> > >> >Ok good luck :)
> >> > >> >
> >> > >> >1 question though, did you plan to re-apply all the fix from the
> >> > >> >sdk\modules\debugger when done ?
> >> > >> 
> >> > >> OK, I’m out of BURM hell and now heading towards Git merge hell.
> >> > >> 
> >> > >> I started looking into how to re-apply the fixes from
> >> > >> sdk\modules\debugger.  It turns out that Falcon uses a slightly
> >> > >>different
> >> > >> folder structure so in the flex-sdk repo, DebugCLI.java is at:
> >> > >> 
> >> > >>modules/debugger/src/java/flex/tools/debugger/cli/DebugCLI.java
> >> > >> 
> >> > >> but in Falcon, it is in:
> >> > >> 
> >> > >> 
> >> > >>debugger/src/flex/tools/debugger/cli/DebugCLI.java
> >> > >> 
> >> > >> 
> >> > >> So I’m pondering how to grab all of the changes from flex-sdk (sure
> >> > >>looks
> >> > >> like a lot of changes) and applying them to this different folder
> >>tree
> >> > >>and
> >> > >> not have lots of merge issues.
> >> > >> 
> >> > >> Thoughts?  I’m done for tonight, will try again tomorrow night.
> >> > >> 
> >> > >> -Alex
> >> > >> 
> >> > >  
> >> > 
> >>  
> >   
> 
  

Re: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-06-03 Thread Alex Harui


On 6/3/15, 9:59 AM, "Frédéric THOMAS"  wrote:

>I updated the dev branch 1 or 2 hours ago and had the same issue, will
>try to fix it later tonight before finishing FDB and merge the comipler
>part.

OK.  The CI server said the build of my changes passed.  So, when you are
ready feel free to merge or I can do it.  If build breaks after your merge
I can try to help fix it.

-Alex 



Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-06-03 Thread Frédéric THOMAS
Actually Im out so I will do that tomorrow

--- Message initial ---

De : "Alex Harui" 
Envoyé : 3 juin 2015 19:33
A : dev@flex.apache.org
Objet : Re: AW: AW: AW: [FlexJS] IntelliJ Integration



On 6/3/15, 9:59 AM, "Frédéric THOMAS"  wrote:

>I updated the dev branch 1 or 2 hours ago and had the same issue, will
>try to fix it later tonight before finishing FDB and merge the comipler
>part.

OK.  The CI server said the build of my changes passed.  So, when you are
ready feel free to merge or I can do it.  If build breaks after your merge
I can try to help fix it.

-Alex



Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-06-03 Thread Alex Harui
How about if I take a shot at merging IDEA into develop?

-Alex

On 6/3/15, 12:23 PM, "Frédéric THOMAS"  wrote:

>Actually Im out so I will do that tomorrow
>
>--- Message initial ---
>
>De : "Alex Harui" 
>Envoyé : 3 juin 2015 19:33
>A : dev@flex.apache.org
>Objet : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
>
>
>
>On 6/3/15, 9:59 AM, "Frédéric THOMAS"  wrote:
>
>>I updated the dev branch 1 or 2 hours ago and had the same issue, will
>>try to fix it later tonight before finishing FDB and merge the comipler
>>part.
>
>OK.  The CI server said the build of my changes passed.  So, when you are
>ready feel free to merge or I can do it.  If build breaks after your merge
>I can try to help fix it.
>
>-Alex
>



Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-06-03 Thread Frédéric THOMAS
You can do it if you like or want to speed up on it or any other reasons but it 
wont solve the current issue I have and potentialy the one other people will 
have but if you think you have a good reason enough to do it, please, be my 
guest.

--- Message initial ---

De : "Alex Harui" 
Envoyé : 3 juin 2015 20:25
A : dev@flex.apache.org
Objet : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

How about if I take a shot at merging IDEA into develop?

-Alex

On 6/3/15, 12:23 PM, "Frédéric THOMAS"  wrote:

>Actually Im out so I will do that tomorrow
>
>--- Message initial ---
>
>De : "Alex Harui" 
>Envoyé : 3 juin 2015 19:33
>A : dev@flex.apache.org
>Objet : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
>
>
>
>On 6/3/15, 9:59 AM, "Frédéric THOMAS"  wrote:
>
>>I updated the dev branch 1 or 2 hours ago and had the same issue, will
>>try to fix it later tonight before finishing FDB and merge the comipler
>>part.
>
>OK.  The CI server said the build of my changes passed.  So, when you are
>ready feel free to merge or I can do it.  If build breaks after your merge
>I can try to help fix it.
>
>-Alex
>



Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-06-03 Thread Alex Harui
I’m going to give it a try.  I want to get your stuff into the nightly
builds so folks can try it and the other changes we’ve been making.

On 6/3/15, 1:31 PM, "Frédéric THOMAS"  wrote:

>You can do it if you like or want to speed up on it or any other reasons
>but it wont solve the current issue I have and potentialy the one other
>people will have but if you think you have a good reason enough to do it,
>please, be my guest.
>
>--- Message initial ---
>
>De : "Alex Harui" 
>Envoyé : 3 juin 2015 20:25
>A : dev@flex.apache.org
>Objet : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
>
>How about if I take a shot at merging IDEA into develop?
>
>-Alex
>
>On 6/3/15, 12:23 PM, "Frédéric THOMAS"  wrote:
>
>>Actually Im out so I will do that tomorrow
>>
>>--- Message initial ---
>>
>>De : "Alex Harui" 
>>Envoyé : 3 juin 2015 19:33
>>A : dev@flex.apache.org
>>Objet : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
>>
>>
>>
>>On 6/3/15, 9:59 AM, "Frédéric THOMAS"  wrote:
>>
>>>I updated the dev branch 1 or 2 hours ago and had the same issue, will
>>>try to fix it later tonight before finishing FDB and merge the comipler
>>>part.
>>
>>OK.  The CI server said the build of my changes passed.  So, when you are
>>ready feel free to merge or I can do it.  If build breaks after your
>>merge
>>I can try to help fix it.
>>
>>-Alex
>>
>



Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-06-03 Thread Alex Harui
Hmm.  The merge went smoothly.  All tests pass.  I haven’t tried out
flex-oem-compiler.jar, so I’ll do that tomorrow.

-Alex

On 6/3/15, 10:47 PM, "Alex Harui"  wrote:

>I’m going to give it a try.  I want to get your stuff into the nightly
>builds so folks can try it and the other changes we’ve been making.
>
>On 6/3/15, 1:31 PM, "Frédéric THOMAS"  wrote:
>
>>You can do it if you like or want to speed up on it or any other reasons
>>but it wont solve the current issue I have and potentialy the one other
>>people will have but if you think you have a good reason enough to do it,
>>please, be my guest.
>>
>>--- Message initial ---
>>
>>De : "Alex Harui" 
>>Envoyé : 3 juin 2015 20:25
>>A : dev@flex.apache.org
>>Objet : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
>>
>>How about if I take a shot at merging IDEA into develop?
>>
>>-Alex
>>
>>On 6/3/15, 12:23 PM, "Frédéric THOMAS"  wrote:
>>
>>>Actually Im out so I will do that tomorrow
>>>
>>>--- Message initial ---
>>>
>>>De : "Alex Harui" 
>>>Envoyé : 3 juin 2015 19:33
>>>A : dev@flex.apache.org
>>>Objet : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
>>>
>>>
>>>
>>>On 6/3/15, 9:59 AM, "Frédéric THOMAS"  wrote:
>>>
>>>>I updated the dev branch 1 or 2 hours ago and had the same issue, will
>>>>try to fix it later tonight before finishing FDB and merge the comipler
>>>>part.
>>>
>>>OK.  The CI server said the build of my changes passed.  So, when you
>>>are
>>>ready feel free to merge or I can do it.  If build breaks after your
>>>merge
>>>I can try to help fix it.
>>>
>>>-Alex
>>>
>>
>



RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-06-04 Thread Frédéric THOMAS
> Hmm.  The merge went smoothly.  All tests pass.  I haven’t tried out
> flex-oem-compiler.jar, so I’ll do that tomorrow.

Cool !
Note: Before the merge, my plan was to rename my branch prefixing it 
with the ticket number (to have the modified code linked in fisheye), 
rebase from develop (git pull --rebase origin develop), test again, 
checkout develop + update it, and then merge: git merge --no-ff 
 

Oh, I cherry-picked one remaining commit from my branch and adjusted the build 
(the compiler.tests was removed from the main target and the swfutils_ckeck was 
returning fasle in the build.xml taken from my branch).
And my issue with the swfutils target was because my FLEX_HOME was still 
pointing on a installed SDK (required by FlexUnit) instead of a dev one.

Also, I had to add the manifiests to the /frameworks from the 
Flex SDK, especially mxml-2009-manifest.xml, otherwise intelliJ wasn't able to 
recognize  From: aha...@adobe.com
> To: dev@flex.apache.org
> Subject: Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> Date: Thu, 4 Jun 2015 06:07:47 +
> 
> Hmm.  The merge went smoothly.  All tests pass.  I haven’t tried out
> flex-oem-compiler.jar, so I’ll do that tomorrow.
> 
> -Alex
> 
> On 6/3/15, 10:47 PM, "Alex Harui"  wrote:
> 
> >I’m going to give it a try.  I want to get your stuff into the nightly
> >builds so folks can try it and the other changes we’ve been making.
> >
> >On 6/3/15, 1:31 PM, "Frédéric THOMAS"  wrote:
> >
> >>You can do it if you like or want to speed up on it or any other reasons
> >>but it wont solve the current issue I have and potentialy the one other
> >>people will have but if you think you have a good reason enough to do it,
> >>please, be my guest.
> >>
> >>--- Message initial ---
> >>
> >>De : "Alex Harui" 
> >>Envoyé : 3 juin 2015 20:25
> >>A : dev@flex.apache.org
> >>Objet : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> >>
> >>How about if I take a shot at merging IDEA into develop?
> >>
> >>-Alex
> >>
> >>On 6/3/15, 12:23 PM, "Frédéric THOMAS"  wrote:
> >>
> >>>Actually Im out so I will do that tomorrow
> >>>
> >>>--- Message initial ---
> >>>
> >>>De : "Alex Harui" 
> >>>Envoyé : 3 juin 2015 19:33
> >>>A : dev@flex.apache.org
> >>>Objet : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> >>>
> >>>
> >>>
> >>>On 6/3/15, 9:59 AM, "Frédéric THOMAS"  wrote:
> >>>
> >>>>I updated the dev branch 1 or 2 hours ago and had the same issue, will
> >>>>try to fix it later tonight before finishing FDB and merge the comipler
> >>>>part.
> >>>
> >>>OK.  The CI server said the build of my changes passed.  So, when you
> >>>are
> >>>ready feel free to merge or I can do it.  If build breaks after your
> >>>merge
> >>>I can try to help fix it.
> >>>
> >>>-Alex
> >>>
> >>
> >
> 
  

RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-06-04 Thread Frédéric THOMAS
> Also, I had to add the manifiests to the 
/frameworks from the Flex SDK, especially 
mxml-2009-manifest.xml, otherwise intelliJ wasn't able to recognize 
 Should we add them to the dev SDK too ?

I've seen there was in the generated\dist\sdk\frameworks, so, I wonder why they 
wasn't in the downloaded FlexJS SDK ?

Also, I added a \ide\IDEA\intellij-config.xml, what should 
I do to have it integrated in the futur FlexJS release?

Thanks,
Frédéric THOMAS

> From: webdoubl...@hotmail.com
> To: dev@flex.apache.org
> Subject: RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> Date: Thu, 4 Jun 2015 12:16:36 +0100
> 
> > Hmm.  The merge went smoothly.  All tests pass.  I haven’t tried out
> > flex-oem-compiler.jar, so I’ll do that tomorrow.
> 
> Cool !
> Note: Before the merge, my plan was to rename my branch prefixing it 
> with the ticket number (to have the modified code linked in fisheye), 
> rebase from develop (git pull --rebase origin develop), test again, 
> checkout develop + update it, and then merge: git merge --no-ff 
>  
> 
> Oh, I cherry-picked one remaining commit from my branch and adjusted the 
> build (the compiler.tests was removed from the main target and the 
> swfutils_ckeck was returning fasle in the build.xml taken from my branch).
> And my issue with the swfutils target was because my FLEX_HOME was still 
> pointing on a installed SDK (required by FlexUnit) instead of a dev one.
> 
> Also, I had to add the manifiests to the /frameworks from the 
> Flex SDK, especially mxml-2009-manifest.xml, otherwise intelliJ wasn't able 
> to recognize  Should we add them to the dev SDK too ?
> 
> I will focus on the debugger now.
> 
> Thanks,
> Frédéric THOMAS
> 
> > From: aha...@adobe.com
> > To: dev@flex.apache.org
> > Subject: Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> > Date: Thu, 4 Jun 2015 06:07:47 +
> > 
> > Hmm.  The merge went smoothly.  All tests pass.  I haven’t tried out
> > flex-oem-compiler.jar, so I’ll do that tomorrow.
> > 
> > -Alex
> > 
> > On 6/3/15, 10:47 PM, "Alex Harui"  wrote:
> > 
> > >I’m going to give it a try.  I want to get your stuff into the nightly
> > >builds so folks can try it and the other changes we’ve been making.
> > >
> > >On 6/3/15, 1:31 PM, "Frédéric THOMAS"  wrote:
> > >
> > >>You can do it if you like or want to speed up on it or any other reasons
> > >>but it wont solve the current issue I have and potentialy the one other
> > >>people will have but if you think you have a good reason enough to do it,
> > >>please, be my guest.
> > >>
> > >>--- Message initial ---
> > >>
> > >>De : "Alex Harui" 
> > >>Envoyé : 3 juin 2015 20:25
> > >>A : dev@flex.apache.org
> > >>Objet : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> > >>
> > >>How about if I take a shot at merging IDEA into develop?
> > >>
> > >>-Alex
> > >>
> > >>On 6/3/15, 12:23 PM, "Frédéric THOMAS"  wrote:
> > >>
> > >>>Actually Im out so I will do that tomorrow
> > >>>
> > >>>--- Message initial ---
> > >>>
> > >>>De : "Alex Harui" 
> > >>>Envoyé : 3 juin 2015 19:33
> > >>>A : dev@flex.apache.org
> > >>>Objet : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> > >>>
> > >>>
> > >>>
> > >>>On 6/3/15, 9:59 AM, "Frédéric THOMAS"  wrote:
> > >>>
> > >>>>I updated the dev branch 1 or 2 hours ago and had the same issue, will
> > >>>>try to fix it later tonight before finishing FDB and merge the comipler
> > >>>>part.
> > >>>
> > >>>OK.  The CI server said the build of my changes passed.  So, when you
> > >>>are
> > >>>ready feel free to merge or I can do it.  If build breaks after your
> > >>>merge
> > >>>I can try to help fix it.
> > >>>
> > >>>-Alex
> > >>>
> > >>
> > >
> > 
> 
  

Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-06-04 Thread Alex Harui


On 6/4/15, 4:16 AM, "Frédéric THOMAS"  wrote:
>Also, I had to add the manifiests to the /frameworks from
>the Flex SDK, especially mxml-2009-manifest.xml, otherwise intelliJ
>wasn't able to recognize Should we add them to the dev SDK too ?

Yes, if they don’t need to contain references to Spark and MX classes and
only need to reference builtins, Script, and FlexJS classes.  Otherwise
let’s revisit.  And I think this file should be auto-generated from other
manifests.

It is things like this that make me think that some fix like this will
allow IJ to work with a FlexJS SDK without mixing it with a Flex SDK.

Thanks for figuring that out.

-Alex
  



Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-06-04 Thread Alex Harui


On 6/4/15, 4:47 AM, "Frédéric THOMAS"  wrote:

>> Also, I had to add the manifiests to the
>/frameworks from the Flex SDK, especially
>mxml-2009-manifest.xml, otherwise intelliJ wasn't able to recognize
>> Should we add them to the dev SDK too ?
>
>I've seen there was in the generated\dist\sdk\frameworks, so, I wonder
>why they wasn't in the downloaded FlexJS SDK ?

That folder is generated by copying files from flex-sdk.  FlexJS SDK’s are
generated from its build.xml.

>
>Also, I added a \ide\IDEA\intellij-config.xml, what
>should I do to have it integrated in the futur FlexJS release?

Add it to the source-package target in the FlexJS build script.  But what
is in it?  Can it be auto-generated?  Does it require references to
regular Flex SDK classes?

-Alex
  



RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-06-04 Thread Frédéric THOMAS
> Add it to the source-package target in the FlexJS build script.  But what
> is in it?  Can it be auto-generated?  Does it require references to
> regular Flex SDK classes?

This is the content [1], IntelliJ creates its own config.xml, it needs to be 
overrided with the FlexJS stuffs.

So, are you saying the best way is to copy it in ide/IDEA/intellij-config.xml 
and modify the falcon build.xml to copy it to the generated folder?

Frédéric THOMAS

[1]






   
  
  true
  
  org.apache.flex.events.*
  org.apache.flex.geom.*
  
org.apache.flex.core.ClassFactory
  org.apache.flex.core.IFactory
  
  
  
org.apache.flex.events.ValueChangeEvent
  
org.apache.flex.events.ValueChangeEvent
  
valueChange
  
org.apache.flex.events.Event
  
org.apache.flex.events.EventDispatcher
  org.apache.flex.states.State
  
org.apache.flex.states.AddItems
  
org.apache.flex.states.SetProperty
  
org.apache.flex.states.SetEventHandler
  
org.apache.flex.core.ClassFactory
  
org.apache.flex.core.IFactory

  
  
  
 
library://ns.apache.org/flexjs/basic


../../frameworks/projects/Core/basic-manifest.xml
 
 
 
library://ns.apache.org/flexjs/html5


../../frameworks/projects/HTML5/html5-manifest.xml
 


library://ns.apache.org/flexjs/svg
 
../../frameworks/projects/HTML/svg-manifest.xml
   
   
  

  
  
  
  
  



> From: aha...@adobe.com
> To: dev@flex.apache.org
> Subject: Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> Date: Thu, 4 Jun 2015 12:45:51 +
> 
> 
> 
> On 6/4/15, 4:47 AM, "Frédéric THOMAS"  wrote:
> 
> >> Also, I had to add the manifiests to the
> >/frameworks from the Flex SDK, especially
> >mxml-2009-manifest.xml, otherwise intelliJ wasn't able to recognize
> > >> Should we add them to the dev SDK too ?
> >
> >I've seen there was in the generated\dist\sdk\frameworks, so, I wonder
> >why they wasn't in the downloaded FlexJS SDK ?
> 
> That folder is generated by copying files from flex-sdk.  FlexJS SDK’s are
> generated from its build.xml.
> 
> >
> >Also, I added a \ide\IDEA\intellij-config.xml, what
> >should I do to have it integrated in the futur FlexJS release?
> 
> Add it to the source-package target in the FlexJS build script.  But what
> is in it?  Can it be auto-generated?  Does it require references to
> regular Flex SDK classes?
> 
> -Alex
> 
> 
  

RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-06-04 Thread Frédéric THOMAS
I've been trying to push a fix but had that:

Push failed
 Failed with error: error: no DAV locking support on 
https://git-wip-us.apache.org/repos/asf/flex-falcon.git/
 fatal: git-http-push failed

Any clue why ?

Frédéric THOMAS

> From: webdoubl...@hotmail.com
> To: dev@flex.apache.org
> Subject: RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> Date: Thu, 4 Jun 2015 15:01:13 +0100
> 
> > Add it to the source-package target in the FlexJS build script.  But what
> > is in it?  Can it be auto-generated?  Does it require references to
> > regular Flex SDK classes?
> 
> This is the content [1], IntelliJ creates its own config.xml, it needs to be 
> overrided with the FlexJS stuffs.
> 
> So, are you saying the best way is to copy it in ide/IDEA/intellij-config.xml 
> and modify the falcon build.xml to copy it to the generated folder?
> 
> Frédéric THOMAS
> 
> [1]
> 
> 
> 
> 
> 
> 
>
>   
>   true
>   
>   org.apache.flex.events.*
>   org.apache.flex.geom.*
>   
> org.apache.flex.core.ClassFactory
>   org.apache.flex.core.IFactory
>   
>   
>   
> org.apache.flex.events.ValueChangeEvent
>   
> org.apache.flex.events.ValueChangeEvent
>   
> valueChange
>   
> org.apache.flex.events.Event
>   
> org.apache.flex.events.EventDispatcher
>   org.apache.flex.states.State
>   
> org.apache.flex.states.AddItems
>   
> org.apache.flex.states.SetProperty
>   
> org.apache.flex.states.SetEventHandler
>   
> org.apache.flex.core.ClassFactory
>   
> org.apache.flex.core.IFactory
> 
>   
>   
>   
>  
> library://ns.apache.org/flexjs/basic
> 
> 
> ../../frameworks/projects/Core/basic-manifest.xml
>  
>  
>  
> library://ns.apache.org/flexjs/html5
> 
> 
> ../../frameworks/projects/HTML5/html5-manifest.xml
>  
> 
> 
> library://ns.apache.org/flexjs/svg
>          
> ../../frameworks/projects/HTML/svg-manifest.xml
>
>
>   
> 
>   
>   
>   
>   
>   
> 
> 
> 
> > From: aha...@adobe.com
> > To: dev@flex.apache.org
> > Subject: Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> > Date: Thu, 4 Jun 2015 12:45:51 +
> > 
> > 
> > 
> > On 6/4/15, 4:47 AM, "Frédéric THOMAS"  wrote:
> > 
> > >> Also, I had to add the manifiests to the
> > >/frameworks from the Flex SDK, especially
> > >mxml-2009-manifest.xml, otherwise intelliJ wasn't able to recognize
> > > > >> Should we add them to the dev SDK too ?
> > >
> > >I've seen there was in the generated\dist\sdk\frameworks, so, I wonder
> > >why they wasn't in the downloaded FlexJS SDK ?
> > 
> > That folder is generated by copying files from flex-sdk.  FlexJS SDK’s are
> > generated from its build.xml.
> > 
> > >
> > >Also, I added a \ide\IDEA\intellij-config.xml, what
> > >should I do to have it integrated in the futur FlexJS release?
> > 
> > Add it to the source-package target in the FlexJS build script.  But what
> > is in it?  Can it be auto-generated?  Does it require references to
> > regular Flex SDK classes?
> > 
> > -Alex
> >   
> > 
> 
  

Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-06-04 Thread Alex Harui


On 6/4/15, 7:01 AM, "Frédéric THOMAS"  wrote:

>> Add it to the source-package target in the FlexJS build script.  But
>>what
>> is in it?  Can it be auto-generated?  Does it require references to
>> regular Flex SDK classes?
>
>This is the content [1], IntelliJ creates its own config.xml, it needs to
>be overrided with the FlexJS stuffs.

How do you override it?  When does IJ create this file?

>
>So, are you saying the best way is to copy it in
>ide/IDEA/intellij-config.xml and modify the falcon build.xml to copy it
>to the generated folder?

Yes, if that’s the correct timing that will result in overriding.
Although it might be better to find a way to auto-generate the contents
since it is a copy of at least some of our flex-config.xml

-Alex 



RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-06-04 Thread Frédéric THOMAS
> How do you override it?  When does IJ create this file?

The IntelliJ Flex plugin create this file based on what the user has set in the 
IntelliJ module configuration build, it generate it at each build and is 
automatically removed at the end of the compilation, I have no way to change 
this behavior, what I do instead is I override it with this intellij-config.xml 
to include what the compiler needs using load-config+=intellij-config.xml

> Yes, if that’s the correct timing that will result in overriding.
> Although it might be better to find a way to auto-generate the contents
> since it is a copy of at least some of our flex-config.xml

Have you got a example of a such auto-generation ?

Frédéric THOMAS

> From: aha...@adobe.com
> To: dev@flex.apache.org
> Subject: Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> Date: Thu, 4 Jun 2015 14:41:18 +
> 
> 
> 
> On 6/4/15, 7:01 AM, "Frédéric THOMAS"  wrote:
> 
> >> Add it to the source-package target in the FlexJS build script.  But
> >>what
> >> is in it?  Can it be auto-generated?  Does it require references to
> >> regular Flex SDK classes?
> >
> >This is the content [1], IntelliJ creates its own config.xml, it needs to
> >be overrided with the FlexJS stuffs.
> 
> How do you override it?  When does IJ create this file?
> 
> >
> >So, are you saying the best way is to copy it in
> >ide/IDEA/intellij-config.xml and modify the falcon build.xml to copy it
> >to the generated folder?
> 
> Yes, if that’s the correct timing that will result in overriding.
> Although it might be better to find a way to auto-generate the contents
> since it is a copy of at least some of our flex-config.xml
> 
> -Alex   
> 
  

Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-06-04 Thread Alex Harui


On 6/4/15, 7:55 AM, "Frédéric THOMAS"  wrote:

>> How do you override it?  When does IJ create this file?
>
>The IntelliJ Flex plugin create this file based on what the user has set
>in the IntelliJ module configuration build, it generate it at each build
>and is automatically removed at the end of the compilation, I have no way
>to change this behavior, what I do instead is I override it with this
>intellij-config.xml to include what the compiler needs using
>load-config+=intellij-config.xml

What happens if you just load-config+=/flex-config.xml?

>
>> Yes, if that’s the correct timing that will result in overriding.
>> Although it might be better to find a way to auto-generate the contents
>> since it is a copy of at least some of our flex-config.xml
>
>Have you got a example of a such auto-generation ?

Well, we use Ant to tweak flex-config-template.xml into flex-config.xml.
It would be nice to
find a way to use Ant to create mxml-manifest.xml and intellij-config.xml
so the same tags don’t have to be modified in multiple files.  I can work
on that if you don’t have the time or interest.  I’d probably just create
more -template.xml files and use copy and echo to append them together
into the 
result files we want.

Thanks,
-Alex



RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-06-04 Thread Frédéric THOMAS
ok, what I did is:

1- created the intellij-config file in 
.\compiler\dist\flex\ide\IDEA\intellij-config.xml
2- In the target copy.sdk, added:









Is that ok for you ? is there something else to do ?

I created a video to show how it will work in the FlexJS 0.0.4 
https://vimeo.com/129789415
Indeed, I haven't got the Joseph style and eloquence but it could serve as a 
base for him to do a better one.

Frédéric THOMAS

> From: webdoubl...@hotmail.com
> To: dev@flex.apache.org
> Subject: RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> Date: Thu, 4 Jun 2015 15:55:40 +0100
> 
> > How do you override it?  When does IJ create this file?
> 
> The IntelliJ Flex plugin create this file based on what the user has set in 
> the IntelliJ module configuration build, it generate it at each build and is 
> automatically removed at the end of the compilation, I have no way to change 
> this behavior, what I do instead is I override it with this 
> intellij-config.xml to include what the compiler needs using 
> load-config+=intellij-config.xml
> 
> > Yes, if that’s the correct timing that will result in overriding.
> > Although it might be better to find a way to auto-generate the contents
> > since it is a copy of at least some of our flex-config.xml
> 
> Have you got a example of a such auto-generation ?
> 
> Frédéric THOMAS
> 
> > From: aha...@adobe.com
> > To: dev@flex.apache.org
> > Subject: Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> > Date: Thu, 4 Jun 2015 14:41:18 +
> > 
> > 
> > 
> > On 6/4/15, 7:01 AM, "Frédéric THOMAS"  wrote:
> > 
> > >> Add it to the source-package target in the FlexJS build script.  But
> > >>what
> > >> is in it?  Can it be auto-generated?  Does it require references to
> > >> regular Flex SDK classes?
> > >
> > >This is the content [1], IntelliJ creates its own config.xml, it needs to
> > >be overrided with the FlexJS stuffs.
> > 
> > How do you override it?  When does IJ create this file?
> > 
> > >
> > >So, are you saying the best way is to copy it in
> > >ide/IDEA/intellij-config.xml and modify the falcon build.xml to copy it
> > >to the generated folder?
> > 
> > Yes, if that’s the correct timing that will result in overriding.
> > Although it might be better to find a way to auto-generate the contents
> > since it is a copy of at least some of our flex-config.xml
> > 
> > -Alex 
> > 
> 
  

RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-06-04 Thread Frédéric THOMAS
> >> How do you override it?  When does IJ create this file?
> >
> >The IntelliJ Flex plugin create this file based on what the user has set
> >in the IntelliJ module configuration build, it generate it at each build
> >and is automatically removed at the end of the compilation, I have no way
> >to change this behavior, what I do instead is I override it with this
> >intellij-config.xml to include what the compiler needs using
> >load-config+=intellij-config.xml
> 
> What happens if you just load-config+=/flex-config.xml?
> 

It overrides all the intellij config
> Well, we use Ant to tweak flex-config-template.xml into flex-config.xml.
> It would be nice to
> find a way to use Ant to create mxml-manifest.xml and intellij-config.xml
> so the same tags don’t have to be modified in multiple files.  I can work
> on that if you don’t have the time or interest.  I’d probably just create
> more -template.xml files and use copy and echo to append them together
> into the 
> result files we want.

See my last email, otherwise I would prefer you to do it as Ant and me, you are 
not the best friends and like that I can focus on FDB

Frédéric THOMAS

> From: aha...@adobe.com
> To: dev@flex.apache.org
> Subject: Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> Date: Thu, 4 Jun 2015 16:05:32 +
> 
> 
> 
> On 6/4/15, 7:55 AM, "Frédéric THOMAS"  wrote:
> 
> >> How do you override it?  When does IJ create this file?
> >
> >The IntelliJ Flex plugin create this file based on what the user has set
> >in the IntelliJ module configuration build, it generate it at each build
> >and is automatically removed at the end of the compilation, I have no way
> >to change this behavior, what I do instead is I override it with this
> >intellij-config.xml to include what the compiler needs using
> >load-config+=intellij-config.xml
> 
> What happens if you just load-config+=/flex-config.xml?
> 
> >
> >> Yes, if that’s the correct timing that will result in overriding.
> >> Although it might be better to find a way to auto-generate the contents
> >> since it is a copy of at least some of our flex-config.xml
> >
> >Have you got a example of a such auto-generation ?
> 
> Well, we use Ant to tweak flex-config-template.xml into flex-config.xml.
> It would be nice to
> find a way to use Ant to create mxml-manifest.xml and intellij-config.xml
> so the same tags don’t have to be modified in multiple files.  I can work
> on that if you don’t have the time or interest.  I’d probably just create
> more -template.xml files and use copy and echo to append them together
> into the 
> result files we want.
> 
> Thanks,
> -Alex
> 
  

RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-06-04 Thread piotrz
Fred this is Awesome!! <3 Thank you for this video! :) Can I share it
everywhere ? :)

Piotr



-
Apache Flex PMC
piotrzarzyck...@gmail.com
--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/Re-Re-Re-Re-AW-AW-AW-FlexJS-IntelliJ-Integration-tp47373p47410.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-06-04 Thread Alex Harui


On 6/4/15, 9:14 AM, "Frédéric THOMAS"  wrote:
>>Well, we use Ant to tweak flex-config-template.xml into flex-config.xml.
>> It would be nice to
>> find a way to use Ant to create mxml-manifest.xml and
>>intellij-config.xml
>> so the same tags don’t have to be modified in multiple files.  I can
>>work
>> on that if you don’t have the time or interest.  I’d probably just
>>create
>> more -template.xml files and use copy and echo to append them together
>> into the 
>> result files we want.
>
>See my last email, otherwise I would prefer you to do it as Ant and me,
>you are not the best friends and like that I can focus on FDB

OK.  I will be reviewing the FlexJS and Falcon packaging anyway and will
work on this.

Thanks,
-alex 



RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-06-04 Thread piotrz
One question - I have installed nightly FlexJS, but I don't see ide/IDEA
folder there. Am I doing something wrong ?

Piotr



-
Apache Flex PMC
piotrzarzyck...@gmail.com
--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/Re-Re-Re-Re-AW-AW-AW-FlexJS-IntelliJ-Integration-tp47373p47414.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-06-04 Thread Alex Harui

On 6/4/15, 9:31 AM, "piotrz"  wrote:

>One question - I have installed nightly FlexJS, but I don't see ide/IDEA
>folder there. Am I doing something wrong ?

No, I have to fix up the packaging first.  That’s on my list for today and
maybe tomorrow.

-Alex



Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-06-04 Thread piotrz
Thank you Alex and good luck. :)



-
Apache Flex PMC
piotrzarzyck...@gmail.com
--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/Re-Re-Re-Re-AW-AW-AW-FlexJS-IntelliJ-Integration-tp47373p47416.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-06-04 Thread Frédéric THOMAS
Hi Piotr,

> Fred this is Awesome!! <3 Thank you for this video! :) Can I share it
> everywhere ? :)

Happy you enjoyed it :)

Actually, I was waiting for the nightly build first and maybe ask Joseph to do 
a more appealing video maybe based on mine, I think it is a bit early as things 
can still change a bit and it would be more a teaser at the moment than 
something people could use.

I've done that for us first but it is public so, do what you like.

Thanks,
Frédéric THOMAS

> Date: Thu, 4 Jun 2015 09:09:52 -0700
> From: piotrzarzyck...@gmail.com
> To: dev@flex.apache.org
> Subject: RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> 
> Fred this is Awesome!! <3 Thank you for this video! :) Can I share it
> everywhere ? :)
> 
> Piotr
> 
> 
> 
> -
> Apache Flex PMC
> piotrzarzyck...@gmail.com
> --
> View this message in context: 
> http://apache-flex-development.247.n4.nabble.com/Re-Re-Re-Re-AW-AW-AW-FlexJS-IntelliJ-Integration-tp47373p47410.html
> Sent from the Apache Flex Development mailing list archive at Nabble.com.
  

RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-06-04 Thread Frédéric THOMAS
Great, thanks !

Frédéric THOMAS

> From: aha...@adobe.com
> To: dev@flex.apache.org
> Subject: Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> Date: Thu, 4 Jun 2015 16:49:02 +
> 
> 
> 
> On 6/4/15, 9:14 AM, "Frédéric THOMAS"  wrote:
> >>Well, we use Ant to tweak flex-config-template.xml into flex-config.xml.
> >> It would be nice to
> >> find a way to use Ant to create mxml-manifest.xml and
> >>intellij-config.xml
> >> so the same tags don’t have to be modified in multiple files.  I can
> >>work
> >> on that if you don’t have the time or interest.  I’d probably just
> >>create
> >> more -template.xml files and use copy and echo to append them together
> >> into the 
> >> result files we want.
> >
> >See my last email, otherwise I would prefer you to do it as Ant and me,
> >you are not the best friends and like that I can focus on FDB
> 
> OK.  I will be reviewing the FlexJS and Falcon packaging anyway and will
> work on this.
> 
> Thanks,
> -alex   
> 
  

Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-06-04 Thread Alex Harui


On 6/4/15, 10:00 AM, "Frédéric THOMAS"  wrote:

>Hi Piotr,
>
>> Fred this is Awesome!! <3 Thank you for this video! :) Can I share it
>> everywhere ? :)
>
>Happy you enjoyed it :)
>
>Actually, I was waiting for the nightly build first and maybe ask Joseph
>to do a more appealing video maybe based on mine, I think it is a bit
>early as things can still change a bit and it would be more a teaser at
>the moment than something people could use.

Yeah, I still would like to see a FlexJS SDK work in IJ without mixing in
Flex SDK stuff.  Once we get the packaging straightened out and
mxml-manifest and intellij-config files in the build, I may spend some
time installing IJ and trying to figure out what is missing.

-Alex



RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-06-04 Thread Frédéric THOMAS
> Yeah, I still would like to see a FlexJS SDK work in IJ without mixing in
> Flex SDK stuff.  Once we get the packaging straightened out and
> mxml-manifest and intellij-config files in the build, I may spend some
> time installing IJ and trying to figure out what is missing.

Once what you said and the last fix for FDB that still need to be applied done, 
there will be hopefully nothing else missing., it will work without any Flex 
SDK stuffs.

Frédéric THOMAS

> From: aha...@adobe.com
> To: dev@flex.apache.org
> Subject: Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> Date: Thu, 4 Jun 2015 17:26:29 +
> 
> 
> 
> On 6/4/15, 10:00 AM, "Frédéric THOMAS"  wrote:
> 
> >Hi Piotr,
> >
> >> Fred this is Awesome!! <3 Thank you for this video! :) Can I share it
> >> everywhere ? :)
> >
> >Happy you enjoyed it :)
> >
> >Actually, I was waiting for the nightly build first and maybe ask Joseph
> >to do a more appealing video maybe based on mine, I think it is a bit
> >early as things can still change a bit and it would be more a teaser at
> >the moment than something people could use.
> 
> Yeah, I still would like to see a FlexJS SDK work in IJ without mixing in
> Flex SDK stuff.  Once we get the packaging straightened out and
> mxml-manifest and intellij-config files in the build, I may spend some
> time installing IJ and trying to figure out what is missing.
> 
> -Alex
> 
  

RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-06-04 Thread piotrz
Fred,

You are right I will wait till everything will be ok with Intellij stuff. We
could later eventually ping Josh in the other thread for creating new film
which describes full path of configuration in Intellij. 

Piotr



-
Apache Flex PMC
piotrzarzyck...@gmail.com
--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/Re-Re-Re-Re-AW-AW-AW-FlexJS-IntelliJ-Integration-tp47373p47443.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-06-04 Thread OmPrakash Muppirala
On Jun 4, 2015 1:41 PM, "piotrz"  wrote:
>
> Fred,
>
> You are right I will wait till everything will be ok with Intellij stuff.
We
> could later eventually ping Josh in the other thread for creating new film
> which describes full path of configuration in Intellij.

I think you mean Joseph.

Thanks,
Om

>
> Piotr
>
>
>
> -
> Apache Flex PMC
> piotrzarzyck...@gmail.com
> --
> View this message in context:
http://apache-flex-development.247.n4.nabble.com/Re-Re-Re-Re-AW-AW-AW-FlexJS-IntelliJ-Integration-tp47373p47443.html
> Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-06-04 Thread Joseph Labrecque
Sure. Just let me know what is needed. I also have a page on the wiki for 
educational/promotional written and video requests that myself or others in the 
community can take on. It exists under “misc”.

--
Joseph Labrecque
Senior Interactive Software Engineer
University of Denver

Adobe Education Leader | Adobe Community Professional








On 6/4/15, 3:00 PM, "omup...@gmail.com on behalf of OmPrakash Muppirala" 
 wrote:

>On Jun 4, 2015 1:41 PM, "piotrz"  wrote:
>>
>> Fred,
>>
>> You are right I will wait till everything will be ok with Intellij stuff.
>We
>> could later eventually ping Josh in the other thread for creating new film
>> which describes full path of configuration in Intellij.
>
>I think you mean Joseph.
>
>Thanks,
>Om
>
>>
>> Piotr
>>
>>
>>
>> -
>> Apache Flex PMC
>> piotrzarzyck...@gmail.com
>> --
>> View this message in context:
>http://apache-flex-development.247.n4.nabble.com/Re-Re-Re-Re-AW-AW-AW-FlexJS-IntelliJ-Integration-tp47373p47443.html
>> Sent from the Apache Flex Development mailing list archive at Nabble.com.


RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-06-04 Thread Frédéric THOMAS
So, I re-applied the patches and first tests I did work pretty well, on command 
line only, in IntelliJ, I've got that:

org.apache.flex.compiler.exceptions.BURMAbortException
at 
org.apache.flex.compiler.exceptions.BURMAbortException.(BURMAbortException.java:31)
at flash.tools.debugger.expression.AS3DebuggerBURM.reduceAntecedent(Unknown 
Source)
at flash.tools.debugger.expression.AS3DebuggerBURM.reduce(Unknown Source)
at flash.tools.debugger.expression.AS3DebuggerBURM.burm(Unknown Source)
at 
flash.tools.debugger.expression.DebuggerExpressionEvaluator.evaluate(Unknown 
Source)
at flash.tools.debugger.expression.DebuggerExpression.evaluate(Unknown 
Source)
at flex.tools.debugger.cli.ExpressionCache.evaluate(Unknown Source)
at flex.tools.debugger.cli.DebugCLI.evalExpression(Unknown Source)
at flex.tools.debugger.cli.DebugCLI.evalExpression(Unknown Source)
at flex.tools.debugger.cli.DebugCLI.doPrint(Unknown Source)
at flex.tools.debugger.cli.DebugCLI.processLine(Unknown Source)
at flex.tools.debugger.cli.DebugCLI.process(Unknown Source)
at flex.tools.debugger.cli.DebugCLI.execute(Unknown Source)
at flex.tools.debugger.cli.DebugCLI.main(Unknown Source)

And I've got no idea why and to debug this, I need to hook from IntelliJ, so, 
it won't done easily.

Another thing, I guess I know why we need to add FlexJS as a lib, that's 
because IJ gives the possibility to choose between Spark and Mx and my strong 
guess is that the .swc are hard coded, I've seen that in its log:

2015-06-04 23:35:10,142 [4489041]   WARN - .intellij.flex.FlexCommonUtils - 
Unknown SWC in '/frameworks/libs' folder: html.swc 
2015-06-04 23:35:10,142 [4489041]   WARN - .intellij.flex.FlexCommonUtils - 
Unknown SWC in '/frameworks/libs' folder: html5.swc 
2015-06-04 23:35:10,143 [4489042]   WARN - .intellij.flex.FlexCommonUtils - 
Unknown SWC in '/frameworks/libs' folder: jquery.swc 
2015-06-04 23:35:10,143 [4489042]   WARN - .intellij.flex.FlexCommonUtils - 
Unknown SWC in '/frameworks/libs' folder: mobile.swc 
2015-06-04 23:35:10,143 [4489042]   WARN - .intellij.flex.FlexCommonUtils - 
Unknown SWC in '/frameworks/libs' folder: binding.swc 
2015-06-04 23:35:10,144 [4489043]   WARN - .intellij.flex.FlexCommonUtils - 
Unknown SWC in '/frameworks/libs' folder: effects.swc 
2015-06-04 23:35:10,144 [4489043]   WARN - .intellij.flex.FlexCommonUtils - 
Unknown SWC in '/frameworks/libs' folder: network.swc 
2015-06-04 23:35:10,144 [4489043]   WARN - .intellij.flex.FlexCommonUtils - 
Unknown SWC in '/frameworks/libs' folder: createjs.swc 
2015-06-04 23:35:10,145 [4489044]   WARN - .intellij.flex.FlexCommonUtils - 
Unknown SWC in '/frameworks/libs' folder: dragdrop.swc 
2015-06-04 23:35:10,145 [4489044]   WARN - .intellij.flex.FlexCommonUtils - 
Unknown SWC in '/frameworks/libs' folder: graphics.swc 
2015-06-04 23:35:10,145 [4489044]   WARN - .intellij.flex.FlexCommonUtils - 
Unknown SWC in '/frameworks/libs' folder: formatters.swc 
2015-06-04 23:35:10,145 [4489044]   WARN - .intellij.flex.FlexCommonUtils - 
Unknown SWC in '/frameworks/libs' folder: googlemaps.swc 
2015-06-04 23:35:10,146 [4489045]   WARN - .intellij.flex.FlexCommonUtils - 
Unknown SWC in '/frameworks/libs' folder: collections.swc 

Apparently, it is looking for known .swc to be able to assert that a Flex SDK 
and probably things are hard coded.

All in all, it gonna take me a long time to figure out what's happening with 
FDB, at the moment, I suggest, from IntelliJ to use the one of another 
installed Flex SDK.

Frédéric THOMAS

> Date: Thu, 4 Jun 2015 13:21:38 -0700
> From: piotrzarzyck...@gmail.com
> To: dev@flex.apache.org
> Subject: RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> 
> Fred,
> 
> You are right I will wait till everything will be ok with Intellij stuff. We
> could later eventually ping Josh in the other thread for creating new film
> which describes full path of configuration in Intellij. 
> 
> Piotr
> 
> 
> 
> -
> Apache Flex PMC
> piotrzarzyck...@gmail.com
> --
> View this message in context: 
> http://apache-flex-development.247.n4.nabble.com/Re-Re-Re-Re-AW-AW-AW-FlexJS-IntelliJ-Integration-tp47373p47443.html
> Sent from the Apache Flex Development mailing list archive at Nabble.com.
  

RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-06-04 Thread Frédéric THOMAS
I've been able to start IJ on command line and had more details:

1433459379202 #0   MyController/radioClickHandler(event=[Object 104282761, 
class='org.apache.flex.events::CustomEvent']) at MyController.as#
3:60
1433459379204 Processed by com.intellij.lang.javascript.flex.debug.FlexValue$9
1433459379257 Expression could not be evaluated.
1433459379257 Processed by com.intellij.lang.javascript.flex.debug.FlexValue$9

So, I know where to start if ever I manage to launch IJ in debug mode and debug 
this closed source.

Frédéric THOMAS

> From: webdoubl...@hotmail.com
> To: dev@flex.apache.org
> Subject: RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> Date: Thu, 4 Jun 2015 23:58:26 +0100
> 
> So, I re-applied the patches and first tests I did work pretty well, on 
> command line only, in IntelliJ, I've got that:
> 
> org.apache.flex.compiler.exceptions.BURMAbortException
> at 
> org.apache.flex.compiler.exceptions.BURMAbortException.(BURMAbortException.java:31)
> at 
> flash.tools.debugger.expression.AS3DebuggerBURM.reduceAntecedent(Unknown 
> Source)
> at flash.tools.debugger.expression.AS3DebuggerBURM.reduce(Unknown Source)
> at flash.tools.debugger.expression.AS3DebuggerBURM.burm(Unknown Source)
> at 
> flash.tools.debugger.expression.DebuggerExpressionEvaluator.evaluate(Unknown 
> Source)
> at flash.tools.debugger.expression.DebuggerExpression.evaluate(Unknown 
> Source)
> at flex.tools.debugger.cli.ExpressionCache.evaluate(Unknown Source)
> at flex.tools.debugger.cli.DebugCLI.evalExpression(Unknown Source)
> at flex.tools.debugger.cli.DebugCLI.evalExpression(Unknown Source)
> at flex.tools.debugger.cli.DebugCLI.doPrint(Unknown Source)
> at flex.tools.debugger.cli.DebugCLI.processLine(Unknown Source)
> at flex.tools.debugger.cli.DebugCLI.process(Unknown Source)
> at flex.tools.debugger.cli.DebugCLI.execute(Unknown Source)
> at flex.tools.debugger.cli.DebugCLI.main(Unknown Source)
> 
> And I've got no idea why and to debug this, I need to hook from IntelliJ, so, 
> it won't done easily.
> 
> Another thing, I guess I know why we need to add FlexJS as a lib, that's 
> because IJ gives the possibility to choose between Spark and Mx and my strong 
> guess is that the .swc are hard coded, I've seen that in its log:
> 
> 2015-06-04 23:35:10,142 [4489041]   WARN - .intellij.flex.FlexCommonUtils - 
> Unknown SWC in '/frameworks/libs' folder: html.swc 
> 2015-06-04 23:35:10,142 [4489041]   WARN - .intellij.flex.FlexCommonUtils - 
> Unknown SWC in '/frameworks/libs' folder: html5.swc 
> 2015-06-04 23:35:10,143 [4489042]   WARN - .intellij.flex.FlexCommonUtils - 
> Unknown SWC in '/frameworks/libs' folder: jquery.swc 
> 2015-06-04 23:35:10,143 [4489042]   WARN - .intellij.flex.FlexCommonUtils - 
> Unknown SWC in '/frameworks/libs' folder: mobile.swc 
> 2015-06-04 23:35:10,143 [4489042]   WARN - .intellij.flex.FlexCommonUtils - 
> Unknown SWC in '/frameworks/libs' folder: binding.swc 
> 2015-06-04 23:35:10,144 [4489043]   WARN - .intellij.flex.FlexCommonUtils - 
> Unknown SWC in '/frameworks/libs' folder: effects.swc 
> 2015-06-04 23:35:10,144 [4489043]   WARN - .intellij.flex.FlexCommonUtils - 
> Unknown SWC in '/frameworks/libs' folder: network.swc 
> 2015-06-04 23:35:10,144 [4489043]   WARN - .intellij.flex.FlexCommonUtils - 
> Unknown SWC in '/frameworks/libs' folder: createjs.swc 
> 2015-06-04 23:35:10,145 [4489044]   WARN - .intellij.flex.FlexCommonUtils - 
> Unknown SWC in '/frameworks/libs' folder: dragdrop.swc 
> 2015-06-04 23:35:10,145 [4489044]   WARN - .intellij.flex.FlexCommonUtils - 
> Unknown SWC in '/frameworks/libs' folder: graphics.swc 
> 2015-06-04 23:35:10,145 [4489044]   WARN - .intellij.flex.FlexCommonUtils - 
> Unknown SWC in '/frameworks/libs' folder: formatters.swc 
> 2015-06-04 23:35:10,145 [4489044]   WARN - .intellij.flex.FlexCommonUtils - 
> Unknown SWC in '/frameworks/libs' folder: googlemaps.swc 
> 2015-06-04 23:35:10,146 [4489045]   WARN - .intellij.flex.FlexCommonUtils - 
> Unknown SWC in '/frameworks/libs' folder: collections.swc 
> 
> Apparently, it is looking for known .swc to be able to assert that a Flex SDK 
> and probably things are hard coded.
> 
> All in all, it gonna take me a long time to figure out what's happening with 
> FDB, at the moment, I suggest, from IntelliJ to use the one of another 
> installed Flex SDK.
> 
> Frédéric THOMAS
> 
> > Date: Thu, 4 Jun 2015 13:21:38 -0700
> > From: piotrzarzyck...@gmail.com
> > To: dev@flex.apache.org
> > Subject: RE: Re : Re: Re : Re: AW: AW: AW: [F

Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-06-04 Thread piotrz

Yes Om I meant Joseph - I'm sorry.

Piotr



-
Apache Flex PMC
piotrzarzyck...@gmail.com
--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/RE-Re-Re-Re-Re-AW-AW-AW-FlexJS-IntelliJ-Integration-tp47444p47458.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-06-04 Thread Alex Harui
Cool!  Good to know we can debug IJ and see its console output.  I had to
do the same sort of thing for Flash Builder.

I would add console output to DebuggerExpressionEvaluator to dump the
expression it is being asked to evaluate.  Then try the same expression
using FDB on the command-line.  The chances are high that the BURM is not
expecting certain kinds of expressions.

Regarding IJ’s assumptions about the list of SWCs, we might have to live
with warnings, but I’m also ok adding in an mx.swc and spark.swc with no
classes in it if that will make IJ happy.  There are some dummy files I
had to create to make FB happy.  We also could put all of the swcs in a
different folder as well.  It is kind of fun to see what assumptions the
IDE makers had about Flex.

Thanks for keeping at it,
-Alex

On 6/4/15, 4:19 PM, "Frédéric THOMAS"  wrote:

>I've been able to start IJ on command line and had more details:
>
>1433459379202 #0   MyController/radioClickHandler(event=[Object
>104282761, class='org.apache.flex.events::CustomEvent']) at
>MyController.as#
>3:60
>1433459379204 Processed by
>com.intellij.lang.javascript.flex.debug.FlexValue$9
>1433459379257 Expression could not be evaluated.
>1433459379257 Processed by
>com.intellij.lang.javascript.flex.debug.FlexValue$9
>
>So, I know where to start if ever I manage to launch IJ in debug mode and
>debug this closed source.
>
>Frédéric THOMAS
>
>> From: webdoubl...@hotmail.com
>> To: dev@flex.apache.org
>> Subject: RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
>> Date: Thu, 4 Jun 2015 23:58:26 +0100
>> 
>> So, I re-applied the patches and first tests I did work pretty well, on
>>command line only, in IntelliJ, I've got that:
>> 
>> org.apache.flex.compiler.exceptions.BURMAbortException
>> at 
>>org.apache.flex.compiler.exceptions.BURMAbortException.(BURMAbort
>>Exception.java:31)
>> at 
>>flash.tools.debugger.expression.AS3DebuggerBURM.reduceAntecedent(Unknown
>>Source)
>> at flash.tools.debugger.expression.AS3DebuggerBURM.reduce(Unknown
>>Source)
>> at flash.tools.debugger.expression.AS3DebuggerBURM.burm(Unknown
>>Source)
>> at 
>>flash.tools.debugger.expression.DebuggerExpressionEvaluator.evaluate(Unkn
>>own Source)
>> at 
>>flash.tools.debugger.expression.DebuggerExpression.evaluate(Unknown
>>Source)
>> at flex.tools.debugger.cli.ExpressionCache.evaluate(Unknown Source)
>> at flex.tools.debugger.cli.DebugCLI.evalExpression(Unknown Source)
>> at flex.tools.debugger.cli.DebugCLI.evalExpression(Unknown Source)
>> at flex.tools.debugger.cli.DebugCLI.doPrint(Unknown Source)
>> at flex.tools.debugger.cli.DebugCLI.processLine(Unknown Source)
>> at flex.tools.debugger.cli.DebugCLI.process(Unknown Source)
>> at flex.tools.debugger.cli.DebugCLI.execute(Unknown Source)
>> at flex.tools.debugger.cli.DebugCLI.main(Unknown Source)
>> 
>> And I've got no idea why and to debug this, I need to hook from
>>IntelliJ, so, it won't done easily.
>> 
>> Another thing, I guess I know why we need to add FlexJS as a lib,
>>that's because IJ gives the possibility to choose between Spark and Mx
>>and my strong guess is that the .swc are hard coded, I've seen that in
>>its log:
>> 
>> 2015-06-04 23:35:10,142 [4489041]   WARN -
>>.intellij.flex.FlexCommonUtils - Unknown SWC in '>SDK>/frameworks/libs' folder: html.swc
>> 2015-06-04 23:35:10,142 [4489041]   WARN -
>>.intellij.flex.FlexCommonUtils - Unknown SWC in '>SDK>/frameworks/libs' folder: html5.swc
>> 2015-06-04 23:35:10,143 [4489042]   WARN -
>>.intellij.flex.FlexCommonUtils - Unknown SWC in '>SDK>/frameworks/libs' folder: jquery.swc
>> 2015-06-04 23:35:10,143 [4489042]   WARN -
>>.intellij.flex.FlexCommonUtils - Unknown SWC in '>SDK>/frameworks/libs' folder: mobile.swc
>> 2015-06-04 23:35:10,143 [4489042]   WARN -
>>.intellij.flex.FlexCommonUtils - Unknown SWC in '>SDK>/frameworks/libs' folder: binding.swc
>> 2015-06-04 23:35:10,144 [4489043]   WARN -
>>.intellij.flex.FlexCommonUtils - Unknown SWC in '>SDK>/frameworks/libs' folder: effects.swc
>> 2015-06-04 23:35:10,144 [4489043]   WARN -
>>.intellij.flex.FlexCommonUtils - Unknown SWC in '>SDK>/frameworks/libs' folder: network.swc
>> 2015-06-04 23:35:10,144 [4489043]   WARN -
>>.intellij.flex.FlexCommonUtils - Unknown SWC in '>SDK>/frameworks/libs' folder: createjs.swc
>> 2015-06-04 23:35:10,145 [4489044]   WARN -
>>.intellij.flex.FlexComm

RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-06-06 Thread Frédéric THOMAS
> I would add console output to DebuggerExpressionEvaluator to dump the
> expression it is being asked to evaluate. Then try the same expression
> using FDB on the command-line. The chances are high that the BURM is not
> expecting certain kinds of expressions.
I fixed few things to make IJ happy but with this one I don't know how to do:
1433596044568 Sent:info scopechain1433596044617 0 = [Object 86673441, 
class='controllers::MyController']1 = [Object 86684609, 
class='controllers::MyController$']2 = [Object 86577209, class='Object$']3 = 
[Object 86684577, class='global']1433596044618 Processed by 
com.intellij.lang.javascript.flex.debug.FlexStackFrame$414335960446201433596044624
 Processed by 
com.intellij.lang.javascript.flex.debug.FlexStackFrame$21433596044626 
Sent:frameprint #86673441.1433596044667 #0   
MyController/radioClickHandler(event=[Object 89769953, 
class='org.apache.flex.events::CustomEvent']) at 
MyController.as#3:601433596044668 Processed by 
com.intellij.lang.javascript.flex.debug.FlexValue$91433596044722 Expression 
could not be evaluated.
Basically, it seems our new reducer doesn't know what to do with 
#, the "print #86673441." fails not because of the lookup, 
it works with litterals (eg. print app.initialView.) but because of the 
reference, any idea how we can improve it ?
Thanks,
Frédéric THOMAS

> From: aha...@adobe.com
> To: dev@flex.apache.org
> Subject: Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> Date: Fri, 5 Jun 2015 05:43:18 +
> 
> Cool!  Good to know we can debug IJ and see its console output.  I had to
> do the same sort of thing for Flash Builder.
> 
> I would add console output to DebuggerExpressionEvaluator to dump the
> expression it is being asked to evaluate.  Then try the same expression
> using FDB on the command-line.  The chances are high that the BURM is not
> expecting certain kinds of expressions.
> 
> Regarding IJ’s assumptions about the list of SWCs, we might have to live
> with warnings, but I’m also ok adding in an mx.swc and spark.swc with no
> classes in it if that will make IJ happy.  There are some dummy files I
> had to create to make FB happy.  We also could put all of the swcs in a
> different folder as well.  It is kind of fun to see what assumptions the
> IDE makers had about Flex.
> 
> Thanks for keeping at it,
> -Alex
> 
> On 6/4/15, 4:19 PM, "Frédéric THOMAS"  wrote:
> 
> >I've been able to start IJ on command line and had more details:
> >
> >1433459379202 #0   MyController/radioClickHandler(event=[Object
> >104282761, class='org.apache.flex.events::CustomEvent']) at
> >MyController.as#
> >3:60
> >1433459379204 Processed by
> >com.intellij.lang.javascript.flex.debug.FlexValue$9
> >1433459379257 Expression could not be evaluated.
> >1433459379257 Processed by
> >com.intellij.lang.javascript.flex.debug.FlexValue$9
> >
> >So, I know where to start if ever I manage to launch IJ in debug mode and
> >debug this closed source.
> >
> >Frédéric THOMAS
> >
> >> From: webdoubl...@hotmail.com
> >> To: dev@flex.apache.org
> >> Subject: RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> >> Date: Thu, 4 Jun 2015 23:58:26 +0100
> >> 
> >> So, I re-applied the patches and first tests I did work pretty well, on
> >>command line only, in IntelliJ, I've got that:
> >> 
> >> org.apache.flex.compiler.exceptions.BURMAbortException
> >> at 
> >>org.apache.flex.compiler.exceptions.BURMAbortException.(BURMAbort
> >>Exception.java:31)
> >> at 
> >>flash.tools.debugger.expression.AS3DebuggerBURM.reduceAntecedent(Unknown
> >>Source)
> >> at flash.tools.debugger.expression.AS3DebuggerBURM.reduce(Unknown
> >>Source)
> >> at flash.tools.debugger.expression.AS3DebuggerBURM.burm(Unknown
> >>Source)
> >> at 
> >>flash.tools.debugger.expression.DebuggerExpressionEvaluator.evaluate(Unkn
> >>own Source)
> >> at 
> >>flash.tools.debugger.expression.DebuggerExpression.evaluate(Unknown
> >>Source)
> >> at flex.tools.debugger.cli.ExpressionCache.evaluate(Unknown Source)
> >> at flex.tools.debugger.cli.DebugCLI.evalExpression(Unknown Source)
> >> at flex.tools.debugger.cli.DebugCLI.evalExpression(Unknown Source)
> >> at flex.tools.debugger.cli.DebugCLI.doPrint(Unknown Source)
> >> at flex.tools.debugger.cli.DebugCLI.processLine(Unknown Source)
> >> at flex.tools.debugger.cli.DebugCLI.process(Unknown Source)
> >> at flex.t

RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-06-06 Thread Frédéric THOMAS

> Regarding IJ’s assumptions about the list of SWCs, we might have to live
> with warnings, but I’m also ok adding in an mx.swc and spark.swc with no
> classes in it if that will make IJ happy. There are some dummy files I
> had to create to make FB happy. We also could put all of the swcs in a
> different folder as well. It is kind of fun to see what assumptions the
> IDE makers had about Flex.

I guess it worth a try, I will do it.

Frédéric THOMAS



> From: aha...@adobe.com
> To: dev@flex.apache.org
> Subject: Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> Date: Fri, 5 Jun 2015 05:43:18 +
>
> Cool! Good to know we can debug IJ and see its console output. I had to
> do the same sort of thing for Flash Builder.
>
> I would add console output to DebuggerExpressionEvaluator to dump the
> expression it is being asked to evaluate. Then try the same expression
> using FDB on the command-line. The chances are high that the BURM is not
> expecting certain kinds of expressions.
>
> Regarding IJ’s assumptions about the list of SWCs, we might have to live
> with warnings, but I’m also ok adding in an mx.swc and spark.swc with no
> classes in it if that will make IJ happy. There are some dummy files I
> had to create to make FB happy. We also could put all of the swcs in a
> different folder as well. It is kind of fun to see what assumptions the
> IDE makers had about Flex.
>
> Thanks for keeping at it,
> -Alex
>
> On 6/4/15, 4:19 PM, "Frédéric THOMAS"  wrote:
>
>>I've been able to start IJ on command line and had more details:
>>
>>1433459379202 #0 MyController/radioClickHandler(event=[Object
>>104282761, class='org.apache.flex.events::CustomEvent']) at
>>MyController.as#
>>3:60
>>1433459379204 Processed by
>>com.intellij.lang.javascript.flex.debug.FlexValue$9
>>1433459379257 Expression could not be evaluated.
>>1433459379257 Processed by
>>com.intellij.lang.javascript.flex.debug.FlexValue$9
>>
>>So, I know where to start if ever I manage to launch IJ in debug mode and
>>debug this closed source.
>>
>>Frédéric THOMAS
>>
>>> From: webdoubl...@hotmail.com
>>> To: dev@flex.apache.org
>>> Subject: RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
>>> Date: Thu, 4 Jun 2015 23:58:26 +0100
>>>
>>> So, I re-applied the patches and first tests I did work pretty well, on
>>>command line only, in IntelliJ, I've got that:
>>>
>>> org.apache.flex.compiler.exceptions.BURMAbortException
>>> at
>>>org.apache.flex.compiler.exceptions.BURMAbortException.(BURMAbort
>>>Exception.java:31)
>>> at
>>>flash.tools.debugger.expression.AS3DebuggerBURM.reduceAntecedent(Unknown
>>>Source)
>>> at flash.tools.debugger.expression.AS3DebuggerBURM.reduce(Unknown
>>>Source)
>>> at flash.tools.debugger.expression.AS3DebuggerBURM.burm(Unknown
>>>Source)
>>> at
>>>flash.tools.debugger.expression.DebuggerExpressionEvaluator.evaluate(Unkn
>>>own Source)
>>> at
>>>flash.tools.debugger.expression.DebuggerExpression.evaluate(Unknown
>>>Source)
>>> at flex.tools.debugger.cli.ExpressionCache.evaluate(Unknown Source)
>>> at flex.tools.debugger.cli.DebugCLI.evalExpression(Unknown Source)
>>> at flex.tools.debugger.cli.DebugCLI.evalExpression(Unknown Source)
>>> at flex.tools.debugger.cli.DebugCLI.doPrint(Unknown Source)
>>> at flex.tools.debugger.cli.DebugCLI.processLine(Unknown Source)
>>> at flex.tools.debugger.cli.DebugCLI.process(Unknown Source)
>>> at flex.tools.debugger.cli.DebugCLI.execute(Unknown Source)
>>> at flex.tools.debugger.cli.DebugCLI.main(Unknown Source)
>>>
>>> And I've got no idea why and to debug this, I need to hook from
>>>IntelliJ, so, it won't done easily.
>>>
>>> Another thing, I guess I know why we need to add FlexJS as a lib,
>>>that's because IJ gives the possibility to choose between Spark and Mx
>>>and my strong guess is that the .swc are hard coded, I've seen that in
>>>its log:
>>>
>>> 2015-06-04 23:35:10,142 [4489041] WARN -
>>>.intellij.flex.FlexCommonUtils - Unknown SWC in '>>SDK>/frameworks/libs' folder: html.swc
>>> 2015-06-04 23:35:10,142 [4489041] WARN -
>>>.intellij.flex.FlexCommonUtils - Unknown SWC in '>>SDK>/frameworks/libs' folder: html5.swc
>>> 2015-06-04 23:35:10,143 [4489042] WARN -
>>>.intellij.flex.FlexCommonUtils - Unknown S

Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-06-06 Thread Alex Harui
I assume you can reproduce that from the command-line as well?  IIRC,
print # is not supposed to go to the compiler for
evaluation.  Some other code path is supposed to handle it differently.

-Alex

On 6/6/15, 7:05 AM, "Frédéric THOMAS"  wrote:

>> I would add console output to DebuggerExpressionEvaluator to dump the
>> expression it is being asked to evaluate. Then try the same expression
>> using FDB on the command-line. The chances are high that the BURM is not
>> expecting certain kinds of expressions.
>I fixed few things to make IJ happy but with this one I don't know how to
>do:
>1433596044568 Sent:info scopechain1433596044617 0 = [Object 86673441,
>class='controllers::MyController']1 = [Object 86684609,
>class='controllers::MyController$']2 = [Object 86577209,
>class='Object$']3 = [Object 86684577, class='global']1433596044618
>Processed by 
>com.intellij.lang.javascript.flex.debug.FlexStackFrame$4143359604462014335
>96044624 Processed by
>com.intellij.lang.javascript.flex.debug.FlexStackFrame$21433596044626
>Sent:frameprint #86673441.1433596044667 #0
>MyController/radioClickHandler(event=[Object 89769953,
>class='org.apache.flex.events::CustomEvent']) at
>MyController.as#3:601433596044668 Processed by
>com.intellij.lang.javascript.flex.debug.FlexValue$91433596044722
>Expression could not be evaluated.
>Basically, it seems our new reducer doesn't know what to do with
>#, the "print #86673441." fails not because of the
>lookup, it works with litterals (eg. print app.initialView.) but because
>of the reference, any idea how we can improve it ?
>Thanks,
>Frédéric THOMAS
>
>> From: aha...@adobe.com
>> To: dev@flex.apache.org
>> Subject: Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
>> Date: Fri, 5 Jun 2015 05:43:18 +
>> 
>> Cool!  Good to know we can debug IJ and see its console output.  I had
>>to
>> do the same sort of thing for Flash Builder.
>> 
>> I would add console output to DebuggerExpressionEvaluator to dump the
>> expression it is being asked to evaluate.  Then try the same expression
>> using FDB on the command-line.  The chances are high that the BURM is
>>not
>> expecting certain kinds of expressions.
>> 
>> Regarding IJ’s assumptions about the list of SWCs, we might have to live
>> with warnings, but I’m also ok adding in an mx.swc and spark.swc with no
>> classes in it if that will make IJ happy.  There are some dummy files I
>> had to create to make FB happy.  We also could put all of the swcs in a
>> different folder as well.  It is kind of fun to see what assumptions the
>> IDE makers had about Flex.
>> 
>> Thanks for keeping at it,
>> -Alex
>> 
>> On 6/4/15, 4:19 PM, "Frédéric THOMAS"  wrote:
>> 
>> >I've been able to start IJ on command line and had more details:
>> >
>> >1433459379202 #0   MyController/radioClickHandler(event=[Object
>> >104282761, class='org.apache.flex.events::CustomEvent']) at
>> >MyController.as#
>> >3:60
>> >1433459379204 Processed by
>> >com.intellij.lang.javascript.flex.debug.FlexValue$9
>> >1433459379257 Expression could not be evaluated.
>> >1433459379257 Processed by
>> >com.intellij.lang.javascript.flex.debug.FlexValue$9
>> >
>> >So, I know where to start if ever I manage to launch IJ in debug mode
>>and
>> >debug this closed source.
>> >
>> >Frédéric THOMAS
>> >
>> >> From: webdoubl...@hotmail.com
>> >> To: dev@flex.apache.org
>> >> Subject: RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ
>>Integration
>> >> Date: Thu, 4 Jun 2015 23:58:26 +0100
>> >> 
>> >> So, I re-applied the patches and first tests I did work pretty well,
>>on
>> >>command line only, in IntelliJ, I've got that:
>> >> 
>> >> org.apache.flex.compiler.exceptions.BURMAbortException
>> >> at 
>> 
>>>>org.apache.flex.compiler.exceptions.BURMAbortException.(BURMAbo
>>>>rt
>> >>Exception.java:31)
>> >> at 
>> 
>>>>flash.tools.debugger.expression.AS3DebuggerBURM.reduceAntecedent(Unknow
>>>>n
>> >>Source)
>> >> at flash.tools.debugger.expression.AS3DebuggerBURM.reduce(Unknown
>> >>Source)
>> >> at flash.tools.debugger.expression.AS3DebuggerBURM.burm(Unknown
>> >>Source)
>> >> at 
>> 
>>>>flash.tools.debugger.expression.DebuggerExpre

RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-06-06 Thread Frédéric THOMAS
> I assume you can reproduce that from the command-line as well?

Damn, I tried it thru the intellij dev tool to talk directly to the debugger 
and had the same failure, the same command in FDB works !! I'm even more lost, 
the same command sent to our legacy FDB thru this same IJ tool works too.

> print # is not supposed to go to the compiler for
> evaluation. Some other code path is supposed to handle it differently.

Interesting, 

Frédéric THOMAS



> From: aha...@adobe.com
> To: dev@flex.apache.org
> Subject: Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> Date: Sat, 6 Jun 2015 14:13:32 +
>
> I assume you can reproduce that from the command-line as well? IIRC,
> print # is not supposed to go to the compiler for
> evaluation. Some other code path is supposed to handle it differently.
>
> -Alex
>
> On 6/6/15, 7:05 AM, "Frédéric THOMAS"  wrote:
>
>>> I would add console output to DebuggerExpressionEvaluator to dump the
>>> expression it is being asked to evaluate. Then try the same expression
>>> using FDB on the command-line. The chances are high that the BURM is not
>>> expecting certain kinds of expressions.
>>I fixed few things to make IJ happy but with this one I don't know how to
>>do:
>>1433596044568 Sent:info scopechain1433596044617 0 = [Object 86673441,
>>class='controllers::MyController']1 = [Object 86684609,
>>class='controllers::MyController$']2 = [Object 86577209,
>>class='Object$']3 = [Object 86684577, class='global']1433596044618
>>Processed by
>>com.intellij.lang.javascript.flex.debug.FlexStackFrame$4143359604462014335
>>96044624 Processed by
>>com.intellij.lang.javascript.flex.debug.FlexStackFrame$21433596044626
>>Sent:frameprint #86673441.1433596044667 #0
>>MyController/radioClickHandler(event=[Object 89769953,
>>class='org.apache.flex.events::CustomEvent']) at
>>MyController.as#3:601433596044668 Processed by
>>com.intellij.lang.javascript.flex.debug.FlexValue$91433596044722
>>Expression could not be evaluated.
>>Basically, it seems our new reducer doesn't know what to do with
>>#, the "print #86673441." fails not because of the
>>lookup, it works with litterals (eg. print app.initialView.) but because
>>of the reference, any idea how we can improve it ?
>>Thanks,
>>Frédéric THOMAS
>>
>>> From: aha...@adobe.com
>>> To: dev@flex.apache.org
>>> Subject: Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
>>> Date: Fri, 5 Jun 2015 05:43:18 +
>>>
>>> Cool! Good to know we can debug IJ and see its console output. I had
>>>to
>>> do the same sort of thing for Flash Builder.
>>>
>>> I would add console output to DebuggerExpressionEvaluator to dump the
>>> expression it is being asked to evaluate. Then try the same expression
>>> using FDB on the command-line. The chances are high that the BURM is
>>>not
>>> expecting certain kinds of expressions.
>>>
>>> Regarding IJ’s assumptions about the list of SWCs, we might have to live
>>> with warnings, but I’m also ok adding in an mx.swc and spark.swc with no
>>> classes in it if that will make IJ happy. There are some dummy files I
>>> had to create to make FB happy. We also could put all of the swcs in a
>>> different folder as well. It is kind of fun to see what assumptions the
>>> IDE makers had about Flex.
>>>
>>> Thanks for keeping at it,
>>> -Alex
>>>
>>> On 6/4/15, 4:19 PM, "Frédéric THOMAS"  wrote:
>>>
>>>>I've been able to start IJ on command line and had more details:
>>>>
>>>>1433459379202 #0 MyController/radioClickHandler(event=[Object
>>>>104282761, class='org.apache.flex.events::CustomEvent']) at
>>>>MyController.as#
>>>>3:60
>>>>1433459379204 Processed by
>>>>com.intellij.lang.javascript.flex.debug.FlexValue$9
>>>>1433459379257 Expression could not be evaluated.
>>>>1433459379257 Processed by
>>>>com.intellij.lang.javascript.flex.debug.FlexValue$9
>>>>
>>>>So, I know where to start if ever I manage to launch IJ in debug mode
>>>and
>>>>debug this closed source.
>>>>
>>>>Frédéric THOMAS
>>>>
>>>>> From: webdoubl...@hotmail.com
>>>>> To: dev@flex.apache.org
>>>>> Subject: RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ
>>>Integra

Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-06-06 Thread Alex Harui


On 6/6/15, 7:35 AM, "Frédéric THOMAS"  wrote:

>> I assume you can reproduce that from the command-line as well?
>
>Damn, I tried it thru the intellij dev tool to talk directly to the
>debugger and had the same failure, the same command in FDB works !! I'm
>even more lost, the same command sent to our legacy FDB thru this same IJ
>tool works too.

Weird.  I just tried it from my Eclipse setup and reproduced the
BURMAbortException.  So I’ll debug it on my end over the weekend.

 -Alex



RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-06-06 Thread Frédéric THOMAS
And I see no difference between the old and new FDB in term of output format:

New:
(fdb) print #90372129.

$2 = [Object 90372129, class='controllers::MyController']
 app = [Object 57942081, class='DataBindingTest']
 queryBegin = 
"http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20yahoo.finance.quotes%20where%20symbol%20in%20(%22"
 queryEnd = 
"%22)%0A%09%09&env=http%3A%2F%2Fdatatables.org%2Falltables.env&format=json"

Old:
print #87636001.

$4 = [Object 87636001, class='controllers::MyController']
 app = [Object 87068737, class='DataBindingTest']
 queryBegin = 
"http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20yahoo.finance.quotes%20where%20symbol%20in%20(%22"
 queryEnd = 
"%22)%0A%09%09&env=http%3A%2F%2Fdatatables.org%2Falltables.env&format=json"


Frédéric THOMAS


--------
> From: webdoubl...@hotmail.com
> To: dev@flex.apache.org
> Subject: RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> Date: Sat, 6 Jun 2015 15:35:25 +0100
>
>> I assume you can reproduce that from the command-line as well?
>
> Damn, I tried it thru the intellij dev tool to talk directly to the debugger 
> and had the same failure, the same command in FDB works !! I'm even more 
> lost, the same command sent to our legacy FDB thru this same IJ tool works 
> too.
>
>> print # is not supposed to go to the compiler for
>> evaluation. Some other code path is supposed to handle it differently.
>
> Interesting,
>
> Frédéric THOMAS
>
>
> 
>> From: aha...@adobe.com
>> To: dev@flex.apache.org
>> Subject: Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
>> Date: Sat, 6 Jun 2015 14:13:32 +
>>
>> I assume you can reproduce that from the command-line as well? IIRC,
>> print # is not supposed to go to the compiler for
>> evaluation. Some other code path is supposed to handle it differently.
>>
>> -Alex
>>
>> On 6/6/15, 7:05 AM, "Frédéric THOMAS"  wrote:
>>
>>>> I would add console output to DebuggerExpressionEvaluator to dump the
>>>> expression it is being asked to evaluate. Then try the same expression
>>>> using FDB on the command-line. The chances are high that the BURM is not
>>>> expecting certain kinds of expressions.
>>>I fixed few things to make IJ happy but with this one I don't know how to
>>>do:
>>>1433596044568 Sent:info scopechain1433596044617 0 = [Object 86673441,
>>>class='controllers::MyController']1 = [Object 86684609,
>>>class='controllers::MyController$']2 = [Object 86577209,
>>>class='Object$']3 = [Object 86684577, class='global']1433596044618
>>>Processed by
>>>com.intellij.lang.javascript.flex.debug.FlexStackFrame$4143359604462014335
>>>96044624 Processed by
>>>com.intellij.lang.javascript.flex.debug.FlexStackFrame$21433596044626
>>>Sent:frameprint #86673441.1433596044667 #0
>>>MyController/radioClickHandler(event=[Object 89769953,
>>>class='org.apache.flex.events::CustomEvent']) at
>>>MyController.as#3:601433596044668 Processed by
>>>com.intellij.lang.javascript.flex.debug.FlexValue$91433596044722
>>>Expression could not be evaluated.
>>>Basically, it seems our new reducer doesn't know what to do with
>>>#, the "print #86673441." fails not because of the
>>>lookup, it works with litterals (eg. print app.initialView.) but because
>>>of the reference, any idea how we can improve it ?
>>>Thanks,
>>>Frédéric THOMAS
>>>
>>>> From: aha...@adobe.com
>>>> To: dev@flex.apache.org
>>>> Subject: Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
>>>> Date: Fri, 5 Jun 2015 05:43:18 +
>>>>
>>>> Cool! Good to know we can debug IJ and see its console output. I had
>>>>to
>>>> do the same sort of thing for Flash Builder.
>>>>
>>>> I would add console output to DebuggerExpressionEvaluator to dump the
>>>> expression it is being asked to evaluate. Then try the same expression
>>>> using FDB on the command-line. The chances are high that the BURM is
>>>>not
>>>> expecting certain kinds of expressions.
>>>>
>>>> Regarding IJ’s assumptions about the list of SWCs, we might have to live
>>>> with warnings, but I’m also ok adding in an mx.swc and spark.swc with no
>>>> classes in it if that will make I

RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-06-06 Thread Frédéric THOMAS
> Weird. I just tried it from my Eclipse setup and reproduced the
> BURMAbortException. So I’ll debug it on my end over the weekend.

Thanks for trying and good luck with that, I'm totally lost, I also verified 
that I receive that has been sent.

Frédéric THOMAS



> From: aha...@adobe.com
> To: dev@flex.apache.org
> Subject: Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> Date: Sat, 6 Jun 2015 14:42:38 +
>
>
>
> On 6/6/15, 7:35 AM, "Frédéric THOMAS"  wrote:
>
>>> I assume you can reproduce that from the command-line as well?
>>
>>Damn, I tried it thru the intellij dev tool to talk directly to the
>>debugger and had the same failure, the same command in FDB works !! I'm
>>even more lost, the same command sent to our legacy FDB thru this same IJ
>>tool works too.
>
> Weird. I just tried it from my Eclipse setup and reproduced the
> BURMAbortException. So I’ll debug it on my end over the weekend.
>
> -Alex
>
  

Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-06-08 Thread Alex Harui
OK, I checked in changes that support #ObjectReferenceNumber.  Hopefully
nothing else broke.

Let me know,
-Alex

On 6/6/15, 8:08 AM, "Frédéric THOMAS"  wrote:

>> Weird. I just tried it from my Eclipse setup and reproduced the
>> BURMAbortException. So I’ll debug it on my end over the weekend.
>
>Thanks for trying and good luck with that, I'm totally lost, I also
>verified that I receive that has been sent.
>
>Frédéric THOMAS
>
>
>
>> From: aha...@adobe.com
>> To: dev@flex.apache.org
>> Subject: Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
>> Date: Sat, 6 Jun 2015 14:42:38 +
>>
>>
>>
>> On 6/6/15, 7:35 AM, "Frédéric THOMAS"  wrote:
>>
>>>> I assume you can reproduce that from the command-line as well?
>>>
>>>Damn, I tried it thru the intellij dev tool to talk directly to the
>>>debugger and had the same failure, the same command in FDB works !! I'm
>>>even more lost, the same command sent to our legacy FDB thru this same
>>>IJ
>>>tool works too.
>>
>> Weird. I just tried it from my Eclipse setup and reproduced the
>> BURMAbortException. So I’ll debug it on my end over the weekend.
>>
>> -Alex
>>
> 



RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-06-09 Thread Frédéric THOMAS
Is there any special things to do at compilation time ?

I mean I pulled the code, ant all, copied all the jars in the FlexJS SDK folder 
and have the same result for the same command (print #ObjectReferenceNumber) -> 
BURMAbortException sent from IJ and the same command from the comand line FDB 
still works well as before.

Frédéric THOMAS

> From: aha...@adobe.com
> To: dev@flex.apache.org
> Subject: Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> Date: Tue, 9 Jun 2015 05:58:04 +
> 
> OK, I checked in changes that support #ObjectReferenceNumber.  Hopefully
> nothing else broke.
> 
> Let me know,
> -Alex
> 
> On 6/6/15, 8:08 AM, "Frédéric THOMAS"  wrote:
> 
> >> Weird. I just tried it from my Eclipse setup and reproduced the
> >> BURMAbortException. So I’ll debug it on my end over the weekend.
> >
> >Thanks for trying and good luck with that, I'm totally lost, I also
> >verified that I receive that has been sent.
> >
> >Frédéric THOMAS
> >
> >
> >------------------------
> >> From: aha...@adobe.com
> >> To: dev@flex.apache.org
> >> Subject: Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> >> Date: Sat, 6 Jun 2015 14:42:38 +
> >>
> >>
> >>
> >> On 6/6/15, 7:35 AM, "Frédéric THOMAS"  wrote:
> >>
> >>>> I assume you can reproduce that from the command-line as well?
> >>>
> >>>Damn, I tried it thru the intellij dev tool to talk directly to the
> >>>debugger and had the same failure, the same command in FDB works !! I'm
> >>>even more lost, the same command sent to our legacy FDB thru this same
> >>>IJ
> >>>tool works too.
> >>
> >> Weird. I just tried it from my Eclipse setup and reproduced the
> >> BURMAbortException. So I’ll debug it on my end over the weekend.
> >>
> >> -Alex
> >>
> >   
> 
  

Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-06-09 Thread Alex Harui
On 6/9/15, 1:50 AM, "Frédéric THOMAS"  wrote:

>Is there any special things to do at compilation time ?

Try deleting the folder called “generated” in the debugger project before
compiling.  It could be that the build script doesn’t handle that
correctly.  Also, I assume you re-started IJ after changing jars?

I’m still surprised it works from the command line for you.  I left some
System.out.println calls in the fixed code that should show up in the
console if you are running the right jars.

-Alex



RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-06-09 Thread Frédéric THOMAS
66 Expression could not be evaluated.
1433854825866 Processed by com.intellij.lang.javascript.flex.debug.FlexValue$9
1433855015652 Sent:continue
1433855021365 [UnloadSWF] 
U:\sources\flexJsProjects\DataBindingTest\out\production\DataBindingTest\DataBindingTest.swf
Player session terminated

1433855021370 Sent:quit

> I’m still surprised it works from the command line for you.  I left some
> System.out.println calls in the fixed code that should show up in the
> console if you are running the right jars.

Ok, I just discovered that when I set a path to a JarApplication in IJ, it 
reports it to the others and actually I was running the Flex SDK fdb.jar 
instead of the falcon one, so, at the end I've got the same exception in both.

When I run fdb.jar from the command line launched by IJ:

"C:\Program Files\Java\jdk1.7.0\bin\java" -Dsun.io.useCanonCaches=false -Xms32m 
-Xmx512m -Dflexlib=D:/SDKs/FlexJS/0.0.3_FP16.0_AIR16.0_en_US/frameworks 
-Dfile.encoding=windows-1252 -jar 
U:\sources\asf\flex\falcon\compiler\generated\dist\sdk\lib\fdb.jar 
U:\sources\flexJsProjects\DataBindingTest\out\production\DataBindingTest\DataBindingTest.swf
Apache fdb (Flash Player Debugger) [build ]
Copyright 2015 The Apache Software Foundation.
Tentative de lancement et de connexion au lecteur avec l'URL
U:\sources\flexJsProjects\DataBindingTest\out\production\DataBindingTest\DataBindingTest.swf
Lecteur connecté ; lancement de la session.
Définissez des points d'arrêt, puis tapez 'continue' pour reprendre la session.
(fdb) break MyController.as:60
[SWF] 
U:\sources\flexJsProjects\DataBindingTest\out\production\DataBindingTest\DataBindingTest.swf
 - 160 891 octets après la décompression
Point d'arrêt 1 : fichier MyController.as, ligne 60
(fdb) c
Point d'arrêt 1, radioClickHandler() sur MyController.as:60
 60var field:String = 
MyInitialView(app.initialView).requestedField;
(fdb) info scopechain
0 = [Object 53680161, class='controllers::MyController']
1 = [Object 85177697, class='controllers::MyController$']
2 = [Object 85069881, class='Object$']
3 = [Object 85177665, class='global']
(fdb) print #53680161
Impossible d'évaluer l'expression.
org.apache.flex.compiler.exceptions.BURMAbortException
(fdb) at 
org.apache.flex.compiler.exceptions.BURMAbortException.(BURMAbortException.java:31)
at flash.tools.debugger.expression.AS3DebuggerBURM.reduceAntecedent(Unknown 
Source)
at flash.tools.debugger.expression.AS3DebuggerBURM.reduce(Unknown Source)
at flash.tools.debugger.expression.AS3DebuggerBURM.burm(Unknown Source)
at 
flash.tools.debugger.expression.DebuggerExpressionEvaluator.evaluate(Unknown 
Source)
at flash.tools.debugger.expression.DebuggerExpression.evaluate(Unknown 
Source)
at flex.tools.debugger.cli.ExpressionCache.evaluate(Unknown Source)
at flex.tools.debugger.cli.DebugCLI.evalExpression(Unknown Source)
at flex.tools.debugger.cli.DebugCLI.evalExpression(Unknown Source)
at flex.tools.debugger.cli.DebugCLI.doPrint(Unknown Source)
at flex.tools.debugger.cli.DebugCLI.processLine(Unknown Source)
at flex.tools.debugger.cli.DebugCLI.process(Unknown Source)
at flex.tools.debugger.cli.DebugCLI.execute(Unknown Source)
at flex.tools.debugger.cli.DebugCLI.main(Unknown Source)

Thanks,
Frédéric THOMAS

> From: aha...@adobe.com
> To: dev@flex.apache.org
> Subject: Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> Date: Tue, 9 Jun 2015 12:43:07 +
> 
> On 6/9/15, 1:50 AM, "Frédéric THOMAS"  wrote:
> 
>>Is there any special things to do at compilation time ?
> 
> Try deleting the folder called “generated” in the debugger project before
> compiling.  It could be that the build script doesn’t handle that
> correctly.  Also, I assume you re-started IJ after changing jars?
> 
> I’m still surprised it works from the command line for you.  I left some
> System.out.println calls in the fixed code that should show up in the
> console if you are running the right jars.
> 
> -Alex
> 
  

Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-06-09 Thread Alex Harui
In my changes I added a long comment about how to debug burm issues.  Can you 
try to follow the instructions and tell me what the object trees look like?


Sent from my LG G3, an AT&T 4G LTE smartphone


-- Original message--

From: Frédéric THOMAS

Date: Tue, Jun 9, 2015 6:53 AM

To: dev@flex.apache.org;

Subject:RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration


> Try deleting the folder called “generated” in the debugger project before
> compiling.  It could be that the build script doesn’t handle that
> correctly.  Also, I assume you re-started IJ after changing jars?

Yes, was done.
Usually I set hookallreducercalls = false because IJ reads the console.

Here is the complete session when I set it to true, does it mean more for you ?

1433854821775 Apache fdb (Flash Player Debugger) [build ]
Copyright 2015 The Apache Software Foundation.
1433854821775 Processed by 
com.intellij.lang.javascript.flex.debug.FlexDebugProcess$ReadGreetingCommand
1433854821776 Sent:run
1433854821785 Waiting for Player to connect
1433854821785 Processed by 
com.intellij.lang.javascript.flex.debug.FlexDebugProcess$LaunchBrowserCommand
1433854822070 Player connected; session starting.
Set breakpoints and then type 'continue' to resume the session.
1433854822071 Processed by 
com.intellij.lang.javascript.flex.debug.FlexDebugProcess$LaunchBrowserCommand
1433854822071 Sent:break controllers.MyController.as:60
1433854822089 Breakpoint 1: file MyController.as, line 60
1433854822090 Processed by 
com.intellij.lang.javascript.flex.debug.FlexBreakpointsHandler$InsertBreakpointCommand
1433854822091 Sent:continue
1433854822393 [SWF] 
U:\sources\flexJsProjects\DataBindingTest\out\production\DataBindingTest\DataBindingTest.swf
 - 160,8
91 bytes after decompression
1433854825017 Breakpoint 1, radioClickHandler() at MyController.as:60
 60 var field:String = 
MyInitialView(app.initialView).requestedField;
1433854825022 Sent:bt
1433854825046 #0   this = [Object 57219105, 
class='controllers::MyController'].MyController/radioClickHandler(event=[Obj
ect 105228257, class='org.apache.flex.events::CustomEvent']) at 
MyController.as#3:60
#1   EventDispatcher/dispatchEventFunction() at :0
#2   this = [Object 57200865, 
class='MyInitialView'].EventDispatcher/dispatchEvent(_arg1=[Object 105228257, 
class='org.a
pache.flex.events::CustomEvent']) at :0
#3   this = [Object 57200865, 
class='MyInitialView'].MyInitialView/radioChanged(e=[Object 105228737, 
class='org.apache.f
lex.events::Event']) at MyInitialView.mxml#19:43
#4   this = [Object 57200865, 
class='MyInitialView'].MyInitialView/>4(event=[Object 105228737, 
class='org.apache.flex.ev
ents::Event']) at MyInitialView.mxml#19:127
#5   EventDispatcher/dispatchEventFunction() at :0
#6   this = [Object 105222401, 
class='org.apache.flex.html::RadioButton'].EventDispatcher/dispatchEvent(_arg1=[Object
 10
5228737, class='org.apache.flex.events::Event']) at :0
#7   this = [Object 105222401, 
class='org.apache.flex.html::RadioButton'].RadioButton/internalMouseHandler(event=[Object
 105201921, class='org.apache.flex.events::MouseEvent']) at 
RadioButton.as#37:204
#8   EventDispatcher/dispatchEventFunction() at :0
#9   this = [Object 105222401, 
class='org.apache.flex.html::RadioButton'].EventDispatcher/dispatchEvent(_arg1=[Object
 10
5201921, class='org.apache.flex.events::MouseEvent']) at :0
#10  this = [Object 85278609, 
class='org.apache.flex.events.utils::MouseEventConverter$'].MouseEventConverter$/mouseEven
tConverter(event=[Object 57291209, class='flash.events::MouseEvent']) at 
MouseEventConverter.as#12:84
1433854825048 Processed by 
com.intellij.lang.javascript.flex.debug.DumpSourceLocationCommand
1433854825050 Sent:bt
1433854825074 #0   this = [Object 57219105, 
class='controllers::MyController'].MyController/radioClickHandler(event=[Obj
ect 105228257, class='org.apache.flex.events::CustomEvent']) at 
MyController.as#3:60
#1   EventDispatcher/dispatchEventFunction() at :0
#2   this = [Object 57200865, 
class='MyInitialView'].EventDispatcher/dispatchEvent(_arg1=[Object 105228257, 
class='org.a
pache.flex.events::CustomEvent']) at :0
#3   this = [Object 57200865, 
class='MyInitialView'].MyInitialView/radioChanged(e=[Object 105228737, 
class='org.apache.f
lex.events::Event']) at MyInitialView.mxml#19:43
#4   this = [Object 57200865, 
class='MyInitialView'].MyInitialView/>4(event=[Object 105228737, 
class='org.apache.flex.ev
ents::Event']) at MyInitialView.mxml#19:127
#5   EventDispatcher/dispatchEventFunction() at :0
#6   this = [Object 105222401, 
class='org.apache.flex.html::RadioButton'].EventDispatcher/dispatchEvent(_arg1=[Object
 10
5228737, class='org.apache.flex.even

RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-06-10 Thread Frédéric THOMAS
Hi Alex,

I've been reading the instructions before but was a bit confused the same :-)

Well, the annotated tree seems to be well constructed by the label():

FunctionCallNode(FunctionCallID) "$obj" 0:1 loc: 1-15 abs: 1-15 
flash.tools.debugger
  IdentifierNode(IdentifierID) "$obj" 0:1 loc: 1-5 abs: 1-5 flash.tools.debugger
  ContainerNode(ContainerID) SYNTHESIZED 0:5 loc: 6-15 abs: 6-15 
flash.tools.debugger
    NumericLiteralNode(LiteralIntegerID) Number 88737825 0:6 loc: 6-14 abs: 
6-14 flash.tools.debugger

I've got 1 subtree for the identifier and 1 for the container, none for the 
NumericLiteralNode though, is that expected ?
Also, for sure I don't get all of this but to me what it describes is a 
function, so, I wonder, shouldn't it have a return value node ?

I didn't get either at what moment and from what, after the reduction, the 
expected result of $obj(LiteralIntegerID) is supposed to come from ?

Out of that, the exception is thrown because after the call to label(), the 
reduce()->reduceAntecedent()->getRule() fails to find a rule to apply, 
actually, it can't find the cost for rule as it seems to be no cost function 
for the goalState 1, at least in the class JBurgAnnotation_FunctionCallID_2_n.

Does it make sense ?

Frédéric THOMAS



> From: aha...@adobe.com
> To: webdoubl...@hotmail.com; dev@flex.apache.org
> Subject: Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> Date: Tue, 9 Jun 2015 16:39:11 +
>
> In my changes I added a long comment about how to debug burm issues. Can you 
> try to follow the instructions and tell me what the object trees look like?
>
>
> Sent from my LG G3, an AT&T 4G LTE smartphone
>
>
> -- Original message--
>
> From: Frédéric THOMAS
>
> Date: Tue, Jun 9, 2015 6:53 AM
>
> To: dev@flex.apache.org;
>
> Subject:RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
>
>
>> Try deleting the folder called “generated” in the debugger project before
>> compiling. It could be that the build script doesn’t handle that
>> correctly. Also, I assume you re-started IJ after changing jars?
>
> Yes, was done.
> Usually I set hookallreducercalls = false because IJ reads the console.
>
> Here is the complete session when I set it to true, does it mean more for you 
> ?
>
> 1433854821775 Apache fdb (Flash Player Debugger) [build ]
> Copyright 2015 The Apache Software Foundation.
> 1433854821775 Processed by 
> com.intellij.lang.javascript.flex.debug.FlexDebugProcess$ReadGreetingCommand
> 1433854821776 Sent:run
> 1433854821785 Waiting for Player to connect
> 1433854821785 Processed by 
> com.intellij.lang.javascript.flex.debug.FlexDebugProcess$LaunchBrowserCommand
> 1433854822070 Player connected; session starting.
> Set breakpoints and then type 'continue' to resume the session.
> 1433854822071 Processed by 
> com.intellij.lang.javascript.flex.debug.FlexDebugProcess$LaunchBrowserCommand
> 1433854822071 Sent:break controllers.MyController.as:60
> 1433854822089 Breakpoint 1: file MyController.as, line 60
> 1433854822090 Processed by 
> com.intellij.lang.javascript.flex.debug.FlexBreakpointsHandler$InsertBreakpointCommand
> 1433854822091 Sent:continue
> 1433854822393 [SWF] 
> U:\sources\flexJsProjects\DataBindingTest\out\production\DataBindingTest\DataBindingTest.swf
>  - 160,8
> 91 bytes after decompression
> 1433854825017 Breakpoint 1, radioClickHandler() at MyController.as:60
> 60 var field:String = MyInitialView(app.initialView).requestedField;
> 1433854825022 Sent:bt
> 1433854825046 #0 this = [Object 57219105, 
> class='controllers::MyController'].MyController/radioClickHandler(event=[Obj
> ect 105228257, class='org.apache.flex.events::CustomEvent']) at 
> MyController.as#3:60
> #1 EventDispatcher/dispatchEventFunction() at :0
> #2 this = [Object 57200865, 
> class='MyInitialView'].EventDispatcher/dispatchEvent(_arg1=[Object 105228257, 
> class='org.a
> pache.flex.events::CustomEvent']) at :0
> #3 this = [Object 57200865, 
> class='MyInitialView'].MyInitialView/radioChanged(e=[Object 105228737, 
> class='org.apache.f
> lex.events::Event']) at MyInitialView.mxml#19:43
> #4 this = [Object 57200865, 
> class='MyInitialView'].MyInitialView/>4(event=[Object 105228737, 
> class='org.apache.flex.ev
> ents::Event']) at MyInitialView.mxml#19:127
> #5 EventDispatcher/dispatchEventFunction() at :0
> #6 this = [Object 105222401, 
> class='org.apache.flex.html::RadioButton'].EventDispatcher/dispatchEvent(_arg1=[Object
>  10
> 5228737, class='org.apache.flex.events::Event']) at :0
> #7 this = [Objec

RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-06-10 Thread Frédéric THOMAS
> Out of that, the exception is thrown because after the call to 
label(), the reduce()->reduceAntecedent()->getRule() fails to find
 a rule to apply, actually, it can't find the cost for rule as it seems 
to be no cost function for the goalState 1, at least in the class 
JBurgAnnotation_FunctionCallID_2_n.

Actually I was wrong, there is one:

                    currentCost = getCostForRule_7be4d80b(goalState);
                    if ( ( bestCost> currentCost )  )
                    {
                        bestCost = currentCost;
                        rule = 111;
                    } 

but it can not get the rule:

    /* expression = FunctionCallID(IdentifierID(void), 
ContainerID(expression*)) */
    
    private Object action_111( IASNode __p) throws java.lang.Exception
    {
        java.util.Vector args = 
(java.util.Vector)__reducedValues.pop();
    IASNode specialName = SemanticUtils.getNthChild(__p, 0);
        return 
reducer.reduce_functionCallSpecial_to_expression(__p,specialName,args);
    }

Because if ( ( bestCost> currentCost )  ) is false, both equal 2147483647

Frédéric THOMAS



> From: webdoubl...@hotmail.com
> To: dev@flex.apache.org
> Subject: RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> Date: Wed, 10 Jun 2015 14:37:00 +0100
>
> Hi Alex,
>
> I've been reading the instructions before but was a bit confused the same :-)
>
> Well, the annotated tree seems to be well constructed by the label():
>
> FunctionCallNode(FunctionCallID) "$obj" 0:1 loc: 1-15 abs: 1-15 
> flash.tools.debugger
>   IdentifierNode(IdentifierID) "$obj" 0:1 loc: 1-5 abs: 1-5 
> flash.tools.debugger
>   ContainerNode(ContainerID) SYNTHESIZED 0:5 loc: 6-15 abs: 6-15 
> flash.tools.debugger
> NumericLiteralNode(LiteralIntegerID) Number 88737825 0:6 loc: 6-14 abs: 
> 6-14 flash.tools.debugger
>
> I've got 1 subtree for the identifier and 1 for the container, none for the 
> NumericLiteralNode though, is that expected ?
> Also, for sure I don't get all of this but to me what it describes is a 
> function, so, I wonder, shouldn't it have a return value node ?
>
> I didn't get either at what moment and from what, after the reduction, the 
> expected result of $obj(LiteralIntegerID) is supposed to come from ?
>
> Out of that, the exception is thrown because after the call to label(), the 
> reduce()->reduceAntecedent()->getRule() fails to find a rule to apply, 
> actually, it can't find the cost for rule as it seems to be no cost function 
> for the goalState 1, at least in the class JBurgAnnotation_FunctionCallID_2_n.
>
> Does it make sense ?
>
> Frédéric THOMAS
>
>
> ----
>> From: aha...@adobe.com
>> To: webdoubl...@hotmail.com; dev@flex.apache.org
>> Subject: Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
>> Date: Tue, 9 Jun 2015 16:39:11 +
>>
>> In my changes I added a long comment about how to debug burm issues. Can you 
>> try to follow the instructions and tell me what the object trees look like?
>>
>>
>> Sent from my LG G3, an AT&T 4G LTE smartphone
>>
>>
>> -- Original message--
>>
>> From: Frédéric THOMAS
>>
>> Date: Tue, Jun 9, 2015 6:53 AM
>>
>> To: dev@flex.apache.org;
>>
>> Subject:RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
>>
>>
>>> Try deleting the folder called “generated” in the debugger project before
>>> compiling. It could be that the build script doesn’t handle that
>>> correctly. Also, I assume you re-started IJ after changing jars?
>>
>> Yes, was done.
>> Usually I set hookallreducercalls = false because IJ reads the console.
>>
>> Here is the complete session when I set it to true, does it mean more for 
>> you ?
>>
>> 1433854821775 Apache fdb (Flash Player Debugger) [build ]
>> Copyright 2015 The Apache Software Foundation.
>> 1433854821775 Processed by 
>> com.intellij.lang.javascript.flex.debug.FlexDebugProcess$ReadGreetingCommand
>> 1433854821776 Sent:run
>> 1433854821785 Waiting for Player to connect
>> 1433854821785 Processed by 
>> com.intellij.lang.javascript.flex.debug.FlexDebugProcess$LaunchBrowserCommand
>> 1433854822070 Player connected; session starting.
>> Set breakpoints and then type 'continue' to resume the session.
>> 1433854822071 Processed by 
>> com.intellij.lang.javascript.flex.debug.FlexDebugProcess$LaunchBrowserCommand
>> 1433854822071 Sent:break controllers.MyController.as:60
>> 1433854822089 Breakpoint 1: file MyController

RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-06-10 Thread Frédéric THOMAS
Btw, even though I force the rule to be applied, the LiteralIntegerID falls 
into JBurgAnnotationGeneral and so, get no associated rules which will throw 
the same exception.

Frédéric THOMAS



> From: webdoubl...@hotmail.com
> To: dev@flex.apache.org
> Subject: RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> Date: Wed, 10 Jun 2015 15:58:47 +0100
>
>> Out of that, the exception is thrown because after the call to
> label(), the reduce()->reduceAntecedent()->getRule() fails to find
> a rule to apply, actually, it can't find the cost for rule as it seems
> to be no cost function for the goalState 1, at least in the class
> JBurgAnnotation_FunctionCallID_2_n.
>
> Actually I was wrong, there is one:
>
> currentCost = getCostForRule_7be4d80b(goalState);
> if ( ( bestCost> currentCost )  )
> {
> bestCost = currentCost;
> rule = 111;
> }
>
> but it can not get the rule:
>
> /* expression = FunctionCallID(IdentifierID(void), 
> ContainerID(expression*)) */
>
> private Object action_111( IASNode __p) throws java.lang.Exception
> {
> java.util.Vector args = 
> (java.util.Vector)__reducedValues.pop();
> IASNode specialName = SemanticUtils.getNthChild(__p, 0);
> return 
> reducer.reduce_functionCallSpecial_to_expression(__p,specialName,args);
> }
>
> Because if ( ( bestCost> currentCost )  ) is false, both equal 2147483647
>
> Frédéric THOMAS
>
>
> ----------------
>> From: webdoubl...@hotmail.com
>> To: dev@flex.apache.org
>> Subject: RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
>> Date: Wed, 10 Jun 2015 14:37:00 +0100
>>
>> Hi Alex,
>>
>> I've been reading the instructions before but was a bit confused the same :-)
>>
>> Well, the annotated tree seems to be well constructed by the label():
>>
>> FunctionCallNode(FunctionCallID) "$obj" 0:1 loc: 1-15 abs: 1-15 
>> flash.tools.debugger
>> IdentifierNode(IdentifierID) "$obj" 0:1 loc: 1-5 abs: 1-5 
>> flash.tools.debugger
>> ContainerNode(ContainerID) SYNTHESIZED 0:5 loc: 6-15 abs: 6-15 
>> flash.tools.debugger
>> NumericLiteralNode(LiteralIntegerID) Number 88737825 0:6 loc: 6-14 abs: 6-14 
>> flash.tools.debugger
>>
>> I've got 1 subtree for the identifier and 1 for the container, none for the 
>> NumericLiteralNode though, is that expected ?
>> Also, for sure I don't get all of this but to me what it describes is a 
>> function, so, I wonder, shouldn't it have a return value node ?
>>
>> I didn't get either at what moment and from what, after the reduction, the 
>> expected result of $obj(LiteralIntegerID) is supposed to come from ?
>>
>> Out of that, the exception is thrown because after the call to label(), the 
>> reduce()->reduceAntecedent()->getRule() fails to find a rule to apply, 
>> actually, it can't find the cost for rule as it seems to be no cost function 
>> for the goalState 1, at least in the class 
>> JBurgAnnotation_FunctionCallID_2_n.
>>
>> Does it make sense ?
>>
>> Frédéric THOMAS
>>
>>
>> 
>>> From: aha...@adobe.com
>>> To: webdoubl...@hotmail.com; dev@flex.apache.org
>>> Subject: Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
>>> Date: Tue, 9 Jun 2015 16:39:11 +
>>>
>>> In my changes I added a long comment about how to debug burm issues. Can 
>>> you try to follow the instructions and tell me what the object trees look 
>>> like?
>>>
>>>
>>> Sent from my LG G3, an AT&T 4G LTE smartphone
>>>
>>>
>>> -- Original message--
>>>
>>> From: Frédéric THOMAS
>>>
>>> Date: Tue, Jun 9, 2015 6:53 AM
>>>
>>> To: dev@flex.apache.org;
>>>
>>> Subject:RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
>>>
>>>
>>>> Try deleting the folder called “generated” in the debugger project before
>>>> compiling. It could be that the build script doesn’t handle that
>>>> correctly. Also, I assume you re-started IJ after changing jars?
>>>
>>> Yes, was done.
>>> Usually I set hookallreducercalls = false because IJ reads the console.
>>>
>>> Here is the complete session when I set it to true, does it me

Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-06-10 Thread Alex Harui


On 6/10/15, 6:37 AM, "Frédéric THOMAS"  wrote:

>Hi Alex,
>
>I've been reading the instructions before but was a bit confused the same
>:-)
>
>Well, the annotated tree seems to be well constructed by the label():
>
>FunctionCallNode(FunctionCallID) "$obj" 0:1 loc: 1-15 abs: 1-15
>flash.tools.debugger
>  IdentifierNode(IdentifierID) "$obj" 0:1 loc: 1-5 abs: 1-5
>flash.tools.debugger
>  ContainerNode(ContainerID) SYNTHESIZED 0:5 loc: 6-15 abs: 6-15
>flash.tools.debugger
>NumericLiteralNode(LiteralIntegerID) Number 88737825 0:6 loc: 6-14
>abs: 6-14 flash.tools.debugger
>
>I've got 1 subtree for the identifier and 1 for the container, none for
>the NumericLiteralNode though, is that expected ?
>Also, for sure I don't get all of this but to me what it describes is a
>function, so, I wonder, shouldn't it have a return value node ?

No, the return value is not in the expression, it is the result of
evaluation the expression, so it is the output of the reducer.  At least,
that’s how I understand it.

>
>I didn't get either at what moment and from what, after the reduction,
>the expected result of $obj(LiteralIntegerID) is supposed to come from ?
>
>Out of that, the exception is thrown because after the call to label(),
>the reduce()->reduceAntecedent()->getRule() fails to find a rule to
>apply, actually, it can't find the cost for rule as it seems to be no
>cost function for the goalState 1, at least in the class
>JBurgAnnotation_FunctionCallID_2_n.

OK, at least you are getting a JBurgAnnotation_FunctionCallID_2_n.  But I
see now that the object reference # is few enough digits to be parsed as a
LiteralInteger, where for me I end up with more digits so it gets parsed
as a LiteralDouble, so I have to add a reduction for your kind of tree.

Unless, of course, you want to try to fix it yourself.

-Alex 



RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-06-10 Thread Frédéric THOMAS

Ok will try but with no guaranty :-)

Thanks,
Frédéric THOMAS



> From: aha...@adobe.com
> To: dev@flex.apache.org
> Subject: Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> Date: Wed, 10 Jun 2015 15:25:13 +
>
>
>
> On 6/10/15, 6:37 AM, "Frédéric THOMAS"  wrote:
>
>>Hi Alex,
>>
>>I've been reading the instructions before but was a bit confused the same
>>:-)
>>
>>Well, the annotated tree seems to be well constructed by the label():
>>
>>FunctionCallNode(FunctionCallID) "$obj" 0:1 loc: 1-15 abs: 1-15
>>flash.tools.debugger
>> IdentifierNode(IdentifierID) "$obj" 0:1 loc: 1-5 abs: 1-5
>>flash.tools.debugger
>> ContainerNode(ContainerID) SYNTHESIZED 0:5 loc: 6-15 abs: 6-15
>>flash.tools.debugger
>> NumericLiteralNode(LiteralIntegerID) Number 88737825 0:6 loc: 6-14
>>abs: 6-14 flash.tools.debugger
>>
>>I've got 1 subtree for the identifier and 1 for the container, none for
>>the NumericLiteralNode though, is that expected ?
>>Also, for sure I don't get all of this but to me what it describes is a
>>function, so, I wonder, shouldn't it have a return value node ?
>
> No, the return value is not in the expression, it is the result of
> evaluation the expression, so it is the output of the reducer. At least,
> that’s how I understand it.
>
>>
>>I didn't get either at what moment and from what, after the reduction,
>>the expected result of $obj(LiteralIntegerID) is supposed to come from ?
>>
>>Out of that, the exception is thrown because after the call to label(),
>>the reduce()->reduceAntecedent()->getRule() fails to find a rule to
>>apply, actually, it can't find the cost for rule as it seems to be no
>>cost function for the goalState 1, at least in the class
>>JBurgAnnotation_FunctionCallID_2_n.
>
> OK, at least you are getting a JBurgAnnotation_FunctionCallID_2_n. But I
> see now that the object reference # is few enough digits to be parsed as a
> LiteralInteger, where for me I end up with more digits so it gets parsed
> as a LiteralDouble, so I have to add a reduction for your kind of tree.
>
> Unless, of course, you want to try to fix it yourself.
>
> -Alex
>
  

RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-06-12 Thread Frédéric THOMAS
Hi Alex,

Well, I've been trying to get why I always get a cost "not feasible" for your 
function but I'm failing to understand the logic of jBurg, maybe seing your 
solution will unligthen me but at the moment I'm totally in the dark.

Frédéric THOMAS



> From: webdoubl...@hotmail.com
> To: dev@flex.apache.org
> Subject: RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
> Date: Wed, 10 Jun 2015 16:30:27 +0100
>
>
> Ok will try but with no guaranty :-)
>
> Thanks,
> Frédéric THOMAS
>
>
> 
>> From: aha...@adobe.com
>> To: dev@flex.apache.org
>> Subject: Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
>> Date: Wed, 10 Jun 2015 15:25:13 +
>>
>>
>>
>> On 6/10/15, 6:37 AM, "Frédéric THOMAS"  wrote:
>>
>>>Hi Alex,
>>>
>>>I've been reading the instructions before but was a bit confused the same
>>>:-)
>>>
>>>Well, the annotated tree seems to be well constructed by the label():
>>>
>>>FunctionCallNode(FunctionCallID) "$obj" 0:1 loc: 1-15 abs: 1-15
>>>flash.tools.debugger
>>> IdentifierNode(IdentifierID) "$obj" 0:1 loc: 1-5 abs: 1-5
>>>flash.tools.debugger
>>> ContainerNode(ContainerID) SYNTHESIZED 0:5 loc: 6-15 abs: 6-15
>>>flash.tools.debugger
>>> NumericLiteralNode(LiteralIntegerID) Number 88737825 0:6 loc: 6-14
>>>abs: 6-14 flash.tools.debugger
>>>
>>>I've got 1 subtree for the identifier and 1 for the container, none for
>>>the NumericLiteralNode though, is that expected ?
>>>Also, for sure I don't get all of this but to me what it describes is a
>>>function, so, I wonder, shouldn't it have a return value node ?
>>
>> No, the return value is not in the expression, it is the result of
>> evaluation the expression, so it is the output of the reducer. At least,
>> that’s how I understand it.
>>
>>>
>>>I didn't get either at what moment and from what, after the reduction,
>>>the expected result of $obj(LiteralIntegerID) is supposed to come from ?
>>>
>>>Out of that, the exception is thrown because after the call to label(),
>>>the reduce()->reduceAntecedent()->getRule() fails to find a rule to
>>>apply, actually, it can't find the cost for rule as it seems to be no
>>>cost function for the goalState 1, at least in the class
>>>JBurgAnnotation_FunctionCallID_2_n.
>>
>> OK, at least you are getting a JBurgAnnotation_FunctionCallID_2_n. But I
>> see now that the object reference # is few enough digits to be parsed as a
>> LiteralInteger, where for me I end up with more digits so it gets parsed
>> as a LiteralDouble, so I have to add a reduction for your kind of tree.
>>
>> Unless, of course, you want to try to fix it yourself.
>>
>> -Alex
>>
>
  

Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-06-12 Thread Alex Harui
OK, I will work on it.  Thanks for trying, it is rather strange stuff.

On 6/12/15, 9:16 AM, "Frédéric THOMAS"  wrote:

>Hi Alex,
>
>Well, I've been trying to get why I always get a cost "not feasible" for
>your function but I'm failing to understand the logic of jBurg, maybe
>seing your solution will unligthen me but at the moment I'm totally in
>the dark.
>
>Frédéric THOMAS
>
>
>
>> From: webdoubl...@hotmail.com
>> To: dev@flex.apache.org
>> Subject: RE: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
>> Date: Wed, 10 Jun 2015 16:30:27 +0100
>>
>>
>> Ok will try but with no guaranty :-)
>>
>> Thanks,
>> Frédéric THOMAS
>>
>>
>> --------
>>> From: aha...@adobe.com
>>> To: dev@flex.apache.org
>>> Subject: Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ
>>>Integration
>>> Date: Wed, 10 Jun 2015 15:25:13 +
>>>
>>>
>>>
>>> On 6/10/15, 6:37 AM, "Frédéric THOMAS"  wrote:
>>>
>>>>Hi Alex,
>>>>
>>>>I've been reading the instructions before but was a bit confused the
>>>>same
>>>>:-)
>>>>
>>>>Well, the annotated tree seems to be well constructed by the label():
>>>>
>>>>FunctionCallNode(FunctionCallID) "$obj" 0:1 loc: 1-15 abs: 1-15
>>>>flash.tools.debugger
>>>> IdentifierNode(IdentifierID) "$obj" 0:1 loc: 1-5 abs: 1-5
>>>>flash.tools.debugger
>>>> ContainerNode(ContainerID) SYNTHESIZED 0:5 loc: 6-15 abs: 6-15
>>>>flash.tools.debugger
>>>> NumericLiteralNode(LiteralIntegerID) Number 88737825 0:6 loc: 6-14
>>>>abs: 6-14 flash.tools.debugger
>>>>
>>>>I've got 1 subtree for the identifier and 1 for the container, none for
>>>>the NumericLiteralNode though, is that expected ?
>>>>Also, for sure I don't get all of this but to me what it describes is a
>>>>function, so, I wonder, shouldn't it have a return value node ?
>>>
>>> No, the return value is not in the expression, it is the result of
>>> evaluation the expression, so it is the output of the reducer. At
>>>least,
>>> that’s how I understand it.
>>>
>>>>
>>>>I didn't get either at what moment and from what, after the reduction,
>>>>the expected result of $obj(LiteralIntegerID) is supposed to come from
>>>>?
>>>>
>>>>Out of that, the exception is thrown because after the call to label(),
>>>>the reduce()->reduceAntecedent()->getRule() fails to find a rule to
>>>>apply, actually, it can't find the cost for rule as it seems to be no
>>>>cost function for the goalState 1, at least in the class
>>>>JBurgAnnotation_FunctionCallID_2_n.
>>>
>>> OK, at least you are getting a JBurgAnnotation_FunctionCallID_2_n. But
>>>I
>>> see now that the object reference # is few enough digits to be parsed
>>>as a
>>> LiteralInteger, where for me I end up with more digits so it gets
>>>parsed
>>> as a LiteralDouble, so I have to add a reduction for your kind of tree.
>>>
>>> Unless, of course, you want to try to fix it yourself.
>>>
>>> -Alex
>>>
>>
> 



Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration

2015-06-12 Thread Alex Harui
OK, I think I got it.  Try my latest commit.

-Alex

On 6/12/15, 12:41 PM, "Alex Harui"  wrote:

>OK, I will work on it.  Thanks for trying, it is rather strange stuff.
>
>On 6/12/15, 9:16 AM, "Frédéric THOMAS"  wrote:
>
>>Hi Alex,
>>
>>Well, I've been trying to get why I always get a cost "not feasible" for
>>your function but I'm failing to understand the logic of jBurg, maybe
>>seing your solution will unligthen me but at the moment I'm totally in
>>the dark.



  1   2   3   >