Another little problem with Falcon and Flexmojos

2014-10-04 Thread Christofer Dutz
Hi, another thing I just stumbled upon ist hat Falcon probably needs the ASDoc templates from the SDK. Am I correct with this? I am currently trying to bundle everything up that you can use falcon by adding a dependency to the falcon compiler artifact or the old one by referencing that. Now I w

How to handle the groupIds of the default and falcon compiler

2014-10-04 Thread Christofer Dutz
Hi guys, sorry for all the flexmojos & maven spam recently, but I'm trying to get some things finished ;-| Usually we had all the compiler artifacts deployed with the group-id "org.apache.flex:compiler" and all oft he artifacts it needed were in "org.apache.flex.compiler:xxx" (The root artifac

RE: How to handle the groupIds of the default and falcon compiler

2014-10-04 Thread Frédéric THOMAS
The 2 solution seems more logical to me, can you see a drawback ? > Another thing I will probalby change in the mavenizer is not to generate a pom-typed compiler artifact, but to have the jar containing the compiler become the root and I add all the dependencies tot hat. Do you mean its pom.xml

AW: How to handle the groupIds of the default and falcon compiler

2014-10-04 Thread Christofer Dutz
No ... not exactly. Currently the org.apache.flex:compiler artifact is of type "pom" and hereby doesn't have any library behind it. All it does is to transitively pull in all the jars in the lib dir of the FDK. In Falcon there is actually only one jar containing the entire compiler so I created

[Falcon] Constructor NS (was: [Falcon] starting up)

2014-10-04 Thread Frédéric THOMAS
Hi, I started to check if it was possible to have private and protected constructor in Falcon and I have to admit it was tricky especially because I never seen a compiler from inside before but it is apparently possible, I've been able to compile successfully: package myLib { public class CTORT

Re: [Falcon] Constructor NS (was: [Falcon] starting up)

2014-10-04 Thread OmPrakash Muppirala
On Oct 4, 2014 12:55 PM, "Frédéric THOMAS" wrote: > > Hi, > > I started to check if it was possible to have private and protected constructor in Falcon and I have to admit it was tricky especially because I never seen a compiler from inside before but it is apparently possible, I've been able to c

Re: [Falcon] Constructor NS (was: [Falcon] starting up)

2014-10-04 Thread Gordon Smith
In general the ActionScript Virtual Machine enforces access modifiers (so that, for example, something marked private is truly inaccessible by any means outside the class) but I don't think the AVM enforces non-public constructors. I'm guessing that a constructor in the ABC is public regardless

Re: Another little problem with Falcon and Flexmojos

2014-10-04 Thread Alex Harui
On 10/4/14, 8:59 AM, "Christofer Dutz" wrote: >Hi, > >another thing I just stumbled upon ist hat Falcon probably needs the >ASDoc templates from the SDK. Am I correct with this? I¹m not sure what you mean by templates. I don¹t know the ASDoc compiler that well. I do think I discovered that Fa

RE: [Falcon] Constructor NS (was: [Falcon] starting up)

2014-10-04 Thread Frédéric THOMAS
@Om, Didn't mentioned it because I guess the implementation for "new" and the relative checks are almost the same than for the extends and now I understand better FP, even though I mentioned method overloading implementation, actually, I guess it could be even done without but would be cleaner w

RE: [Falcon] Constructor NS (was: [Falcon] starting up)

2014-10-04 Thread Frédéric THOMAS
@Om, sorry, I misreading but yes, singleton means also some static methods and I tried it having some trouble with but don't think it will be for a long time. Frédéric THOMAS > From: webdoubl...@hotmail.com > To: dev@flex.apache.org > Subject: RE: [Falcon] Constructor NS (was: [Falcon] starting

RE: [Falcon] Constructor NS (was: [Falcon] starting up)

2014-10-04 Thread Frédéric THOMAS
Gorgon, sorry as well, I didn't mean FB but FP, I use to write faster than I think :P Frédéric THOMAS > From: webdoubl...@hotmail.com > To: dev@flex.apache.org > Subject: RE: [Falcon] Constructor NS (was: [Falcon] starting up) > Date: Sun, 5 Oct 2014 06:31:26 +0100 > > @Om, sorry, I misreading