RE: [Falcon.jx] -library-path
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 + 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 ATT 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 + The swcs we build use include-file in compile-config.xml. we currently run compc after compjsc. Sent from my LG G3, an ATT 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 + Is this with ij or ant as well? From ant we build framework swc and compile apps Sent from my LG G3, an ATT 4G LTE smartphone -- Original message-- From: Frédéric THOMAS Date: Sat, May 30, 2015 11:58 AM To: dev@flex.apache.orgmailto: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
Re: [Falcon.jx] -library-path
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 + 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 ATT 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 + The swcs we build use include-file in compile-config.xml. we currently run compc after compjsc. Sent from my LG G3, an ATT 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 + Is this with ij or ant as well? From ant we build framework swc and compile apps Sent from my LG G3, an ATT 4G LTE smartphone -- Original message-- From: Frédéric THOMAS Date: Sat, May 30, 2015 11:58 AM To: dev@flex.apache.orgmailto: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
RE: [Falcon.jx] -library-path
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 + 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 + 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 ATT 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 + The swcs we build use include-file in compile-config.xml. we currently run compc after compjsc. Sent from my LG G3, an ATT 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 + Is this with ij or ant as well? From ant we build framework swc and compile apps Sent from my LG G3, an ATT 4G LTE smartphone -- Original message-- From: Frédéric THOMAS Date: Sat, May 30, 2015 11:58 AM To: dev@flex.apache.orgmailto: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
RE: [Falcon.jx] -library-path
Thinking about it some more, I think to build, for example, the Core.swc, we would run CompJSC with one set of settings (different -js-output-type, different library paths that point to a JS.swc and HTMLNative.swc) that would product JS files, then another run with CompJSC with a different set of settings (the ones it uses today) to cross-compile some other AS code to produce more JS files. Then somehow we want to compile all of the AS into a SWC with library.swf and catalog.xml. I guess chaining will help, but I’m thinking you’ll also want to run just one of the compilers as you fix bugs in certain areas. It is exactly what allows my new implementation, you can pass any valid js-output-type or FLEXJS_DUAL, if FLEXJS_DUAL it will prepare phase1 only in case of COMPJSC for the compilation appening the output to have a js/out structure, call COMPJSC, in case of success and FLEXJS_DUAL then prepare phase2 (include the transpiled JS files, remove js-output-type) and call COMPC, for the couple MXMLJSC / MXMLC, only chain the compiler call and remove the js-output-type on phase2. Does it sound enough ? Frédéric THOMAS From: aha...@adobe.com To: dev@flex.apache.org Subject: Re: [Falcon.jx] -library-path Date: Mon, 1 Jun 2015 22:24:39 + On 6/1/15, 3:04 PM, Frédéric THOMAS webdoubl...@hotmail.com wrote: 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 ? Thinking about it some more, I think to build, for example, the Core.swc, we would run CompJSC with one set of settings (different -js-output-type, different library paths that point to a JS.swc and HTMLNative.swc) that would product JS files, then another run with CompJSC with a different set of settings (the ones it uses today) to cross-compile some other AS code to produce more JS files. Then somehow we want to compile all of the AS into a SWC with library.swf and catalog.xml. I guess chaining will help, but I’m thinking you’ll also want to run just one of the compilers as you fix bugs in certain areas. -Alex
RE: [Falcon.jx] -library-path
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. Do you mean we could compile SWC(+JS) into one compilation phase ? Frédéric THOMAS From: webdoubl...@hotmail.com To: dev@flex.apache.org Subject: RE: [Falcon.jx] -library-path Date: Mon, 1 Jun 2015 23:04:19 +0100 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 + 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 + 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 ATT 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 + The swcs we build use include-file in compile-config.xml. we currently run compc after compjsc. Sent from my LG G3, an ATT 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 + Is this with ij or ant as well
Re: [Falcon.jx] -library-path
On 6/1/15, 3:04 PM, Frédéric THOMAS webdoubl...@hotmail.com wrote: 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 ? Thinking about it some more, I think to build, for example, the Core.swc, we would run CompJSC with one set of settings (different -js-output-type, different library paths that point to a JS.swc and HTMLNative.swc) that would product JS files, then another run with CompJSC with a different set of settings (the ones it uses today) to cross-compile some other AS code to produce more JS files. Then somehow we want to compile all of the AS into a SWC with library.swf and catalog.xml. I guess chaining will help, but I’m thinking you’ll also want to run just one of the compilers as you fix bugs in certain areas. -Alex
Re: [Falcon.jx] -library-path
On 6/1/15, 3:41 PM, Frédéric THOMAS webdoubl...@hotmail.com wrote: Thinking about it some more, I think to build, for example, the Core.swc, we would run CompJSC with one set of settings (different -js-output-type, different library paths that point to a JS.swc and HTMLNative.swc) that would product JS files, then another run with CompJSC with a different set of settings (the ones it uses today) to cross-compile some other AS code to produce more JS files. Then somehow we want to compile all of the AS into a SWC with library.swf and catalog.xml. I guess chaining will help, but I’m thinking you’ll also want to run just one of the compilers as you fix bugs in certain areas. It is exactly what allows my new implementation, you can pass any valid js-output-type or FLEXJS_DUAL, if FLEXJS_DUAL it will prepare phase1 only in case of COMPJSC for the compilation appening the output to have a js/out structure, call COMPJSC, in case of success and FLEXJS_DUAL then prepare phase2 (include the transpiled JS files, remove js-output-type) and call COMPC, for the couple MXMLJSC / MXMLC, only chain the compiler call and remove the js-output-type on phase2. Does it sound enough ? I guess so. Seems worth a try. Thanks for working on it. -Alex
RE: [Falcon.jx] -library-path
Hi Mike, ant all, then copy every jar from generated\dist\sdk\lib to FlexJS SDK\lib\ and compiler.jx\lib\jsc.jar to FlexJS SDK\js\lib\ Then in IJ use compiler options / additional compiler options to override the IJ default, example: -load-config=D:\SDKs\FlexJS\0.0.3_FP16.0_AIR16.0_en_US\frameworks\flex-config.xml -output=U:\sources\flexJsProjects\DataBindingTest\out\production\DataBindingTest\ -library-path+=U:/sources/flexJsProjects/DataBindingTest/libs/libTest.swc U:\sources\flexJsProjects\DataBindingTest\src\DataBindingTest.mxml -js-output-type=FLEXJS and build. Frédéric THOMAS Date: Sat, 30 May 2015 15:03:29 -0400 Subject: Re: [Falcon.jx] -library-path From: teotigraphix...@gmail.com To: dev@flex.apache.org Fred, I was looking at your branch, can you tell me exactly what now works with your changes? What is different in Intellij now? Mike On Sat, May 30, 2015 at 2:57 PM, Frédéric THOMAS webdoubl...@hotmail.com wrote: 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
Re: [Falcon.jx] -library-path
Fred, I was looking at your branch, can you tell me exactly what now works with your changes? What is different in Intellij now? Mike On Sat, May 30, 2015 at 2:57 PM, Frédéric THOMAS webdoubl...@hotmail.com wrote: 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
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 + Is this with ij or ant as well? From ant we build framework swc and compile apps Sent from my LG G3, an ATT 4G LTE smartphone -- Original message-- From: Frédéric THOMAS Date: Sat, May 30, 2015 11:58 AM To: dev@flex.apache.orgmailto: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
[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
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 + The swcs we build use include-file in compile-config.xml. we currently run compc after compjsc. Sent from my LG G3, an ATT 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 + Is this with ij or ant as well? From ant we build framework swc and compile apps Sent from my LG G3, an ATT 4G LTE smartphone -- Original message-- From: Frédéric THOMAS Date: Sat, May 30, 2015 11:58 AM To: dev@flex.apache.orgmailto: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
Re: [Falcon.jx] -library-path
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 ATT 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 + The swcs we build use include-file in compile-config.xml. we currently run compc after compjsc. Sent from my LG G3, an ATT 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 + Is this with ij or ant as well? From ant we build framework swc and compile apps Sent from my LG G3, an ATT 4G LTE smartphone -- Original message-- From: Frédéric THOMAS Date: Sat, May 30, 2015 11:58 AM To: dev@flex.apache.orgmailto: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
Re: [Falcon.jx] -library-path
Is this with ij or ant as well? From ant we build framework swc and compile apps Sent from my LG G3, an ATT 4G LTE smartphone -- Original message-- From: Frédéric THOMAS Date: Sat, May 30, 2015 11:58 AM To: dev@flex.apache.orgmailto: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
Re: [Falcon.jx] -library-path
The swcs we build use include-file in compile-config.xml. we currently run compc after compjsc. Sent from my LG G3, an ATT 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 + Is this with ij or ant as well? From ant we build framework swc and compile apps Sent from my LG G3, an ATT 4G LTE smartphone -- Original message-- From: Frédéric THOMAS Date: Sat, May 30, 2015 11:58 AM To: dev@flex.apache.orgmailto: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