> BTW, assuming we’ll have Mike’s AS to JS compiler, the JS files will soon
> be generated by running a CompC like tool.  I had thoughts of teaching
> CompJSC to stuff the JS files into the same swc specified by the -output
> option, but ran out of time.

I would like to see that happening.

1- I didn't follow totally the thread relative to what mike what doing, do you 
mean it will do all the job that the COMPJSC does when converting AS to JS ?

2- I'm chaining the compiler calls and I'm about to generate the JS (first 
compilation phase) to the sub-output folder and include those JS files into the 
SWC on the second compilation phase.

Doing so, with what I already did, it would result in IntelliJ that the user 
will have the same kind of configuration than today except he will have to set 
the custom intellij-config.xml preferabily at project level and set 
-js-output-type=FLEXJS_DUAL in additional compiler arguments.


Frédéric THOMAS

> From: aha...@adobe.com
> To: dev@flex.apache.org
> Subject: Re: [Falcon.jx] -library-path
> Date: Mon, 1 Jun 2015 20:47:33 +0000
> 
> BTW, assuming we’ll have Mike’s AS to JS compiler, the JS files will soon
> be generated by running a CompC like tool.  I had thoughts of teaching
> CompJSC to stuff the JS files into the same swc specified by the -output
> option, but ran out of time.
> 
> -Alex
> 
> On 6/1/15, 11:46 AM, "Frédéric THOMAS" <webdoubl...@hotmail.com> wrote:
> 
> >
> >> The drawback is there are too much build confs and args too
> >pass, I guess it can refrain the users, I would like to make it more
> >friendly:
> >> 
> >> - compile both swc + js or swf + js if -js-output-type=FLEXJS_DUAL,
> > calling chained both of the compiler having generated the include-file
> >first
> >> - add a include-all-classes and exclude-classes
> >
> >It seems I won't have to do the second item.
> >Instead I created a /ide/IntelliJ/flex-config.xml that overrides as
> >needed the intelliJ one, doing so, we benefit of the IntelliJ
> >configuration too, the override can be done, per module or per project,
> >this one is more convenient when the project contains only FlexJS
> >relative stuffs.
> >
> >I would have liked its option to include files into the swc be as smart
> >as the include-files but it is not, it doesn't remap the entry, it only
> >includes the file with the same path.
> >
> >So, I still need to implement the first item.
> >
> >Frédéric THOMAS
> >
> >> From: aha...@adobe.com
> >> To: webdoubl...@hotmail.com; dev@flex.apache.org
> >> Subject: Re: [Falcon.jx] -library-path
> >> Date: Sat, 30 May 2015 20:30:45 +0000
> >> 
> >> I'm in favor of automating any repetitive process. Things are the way
> >>they are due to lack of time.
> >> 
> >> 
> >> Sent from my LG G3, an AT&T 4G LTE smartphone
> >> 
> >> 
> >> ------ Original message------
> >> 
> >> From: Frédéric THOMAS
> >> 
> >> Date: Sat, May 30, 2015 1:24 PM
> >> 
> >> To: dev@flex.apache.org;
> >> 
> >> Subject:RE: [Falcon.jx] -library-path
> >> 
> >> 
> >> It worked better but compilation failed with one error but the problem
> >>hasn't been reported, I will have to dig into.
> >> 
> >> The drawback is there are too much build confs and args too pass, I
> >>guess it can refrain the users, I would like to make it more friendly:
> >> 
> >> - compile both swc + js or swf + js if -js-output-type=FLEXJS_DUAL,
> >>calling chained both of the compiler having generated the include-file
> >>first
> >> - add a include-all-classes and exclude-classes
> >> 
> >> Thought ?
> >> 
> >> Frédéric THOMAS
> >> 
> >> > From: aha...@adobe.com
> >> > To: webdoubl...@hotmail.com; dev@flex.apache.org
> >> > Subject: Re: [Falcon.jx] -library-path
> >> > Date: Sat, 30 May 2015 19:33:04 +0000
> >> >
> >> > The swcs we build use include-file in compile-config.xml. we
> >>currently run compc after compjsc.
> >> >
> >> >
> >> > Sent from my LG G3, an AT&T 4G LTE smartphone
> >> >
> >> >
> >> > ------ Original message------
> >> >
> >> > From: Frédéric THOMAS
> >> >
> >> > Date: Sat, May 30, 2015 12:28 PM
> >> >
> >> > To: dev@flex.apache.org;
> >> >
> >> > Subject:RE: [Falcon.jx] -library-path
> >> >
> >> >
> >> > > Is this with ij or ant as well?
> >> >
> >> > I build the lib with IJ using the default flex-config.xml and no
> >>other argument, it results in a swc without the JS, adding
> >>-js-output-type=FLEXJS, I get the js, my question was, is there already
> >>something to build the swc included the js (and catalog updated I guess)
> >>?
> >> >
> >> > >From ant we build framework swc and compile apps
> >> >
> >> > I didn't get that !?
> >> >
> >> > Frédéric THOMAS
> >> >
> >> > > From: aha...@adobe.com
> >> > > To: webdoubl...@hotmail.com; dev@flex.apache.org
> >> > > Subject: Re: [Falcon.jx] -library-path
> >> > > Date: Sat, 30 May 2015 19:21:22 +0000
> >> > >
> >> > > Is this with ij or ant as well? From ant we build framework swc and
> >>compile apps
> >> > >
> >> > >
> >> > > Sent from my LG G3, an AT&T 4G LTE smartphone
> >> > >
> >> > >
> >> > > ------ Original message------
> >> > >
> >> > > From: Frédéric THOMAS
> >> > >
> >> > > Date: Sat, May 30, 2015 11:58 AM
> >> > >
> >> > > To: dev@flex.apache.org<mailto:dev@flex.apache.org>;
> >> > >
> >> > > Subject:[Falcon.jx] -library-path
> >> > >
> >> > >
> >> > > Hi,
> >> > >
> >> > > I was trying to compile an App with a Lib in FlexJS and seen few
> >>things:
> >> > >
> >> > > - The MXMLFlexJSPublisher doesn't pass the the ProblemQuery to
> >>GoogDepsWriter.getListOfFile, we end up with a NPE (easy to fix)
> >> > > - The addDeps() throws a RTE instead of a Problem, what do we want
> >>as Problem here ?
> >> > >
> >> > > Adding models/MyModel.js to the swc didn't work for me, I didn't
> >>check but my guess is because it was not added to the catalog ?
> >> > >
> >> > > How am I suppose to proceed to compile in the same time my swc / js
> >>and having it included ?
> >> > >
> >> > > Frédéric THOMAS
> >> >
> >> 
> >                                       
> 
                                          

Reply via email to