Re: [FlexJS] Examples
Thanks. I'll take a look. —peter On 4/21/17, 12:36 PM, "Alex Harui" wrote: >It appears the format changed. I got it working for DataBindingExample in >the dual branch. > >-Alex > >On 4/17/17, 9:47 AM, "Alex Harui" wrote: > >>I think the service may have been temporarily down or the format changed. >>See this, for example: >> >>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fquery.ya >>h >>ooapis.com%2Fv1%2Fpublic%2Fyql%3Fq%3Dselect%2520*%2520from%2520yahoo.fina >>n >>&data=02%7C01%7C%7Ca55b41534c114adcef4808d485b18254%7Cfa7b1b5a7b34438794a >>e >>d2c178decee1%7C0%7C0%7C636280444823641555&sdata=PSX2eoGfTUEG4Uhag8Cheala7 >>a >>tUJquzmxnt1jPygo8%3D&reserved=0 >>ce.quotes%20where%20symbol%20in%20(%22YHOO%22)&format=json&env=store%3A%2 >>F >>% >>2Fdatatables.org%2Falltableswithkeys&callback= >> >> >>-Alex >> >>On 4/17/17, 6:07 AM, "Peter Ent" wrote: >> >>>Thanks for the note about the US Census data. Census data, coupled with >>>maps, always provides interesting information. It does however, take a >>>bit >>>of time to figure out what to query, how to query it, and how to present >>>it. I think we could work this into a very nice example at some point. >>> >>>Does anyone know of something more real-time? >>> >>>‹peter >>> >>>On 4/15/17, 10:48 AM, "1600...@gmail.com on behalf of Douglas McCarroll" >>><1600...@gmail.com on behalf of list.apache-flex@brightworks.com> >>>wrote: >>> IIRC, James Ward's benchmarking app... https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ja m e s ward.com%2F2007%2F04%2F30%2Fajax-and-flex-data-loading-benchmarks%2F&da t a = 02%7C01%7C%7C685b06dde1ce4c6a215f08d484546721%7Cfa7b1b5a7b34438794aed2c 1 7 8 decee1%7C0%7C0%7C636278945430535468&sdata=jAuct%2B8oS4FnFAX9WC3xFvxZFpG C L G UvWvKgzJMPe2s%3D&reserved=0 ... used US Census data. Sadly, the benchmark app doesn't seem to work any more, but I found this via google: https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ce n s u s.gov%2Fdata%2Fdevelopers%2Fdata-sets.html&data=02%7C01%7C%7C685b06dde1 c e 4 c6a215f08d484546721%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636278 9 4 5 430535468&sdata=S1AMDnRVAKtdy0QGfKv24JZ%2FEj5CghHZvx991%2Ff1UxE%3D&rese r v e d=0 Douglas On Sat, Apr 15, 2017 at 9:30 AM, Christofer Dutz wrote: > We should ask Apache Infra Š they have several streams of publically > available data. Not financial data, but stuff we could display. > > Chris > > Am 15.04.17, 14:36 schrieb "Peter Ent" : > > Hi, > > A couple of examples no longer work: DataBinding et al and > MobileTrader et al. These examples depend on an API URL from Yahoo > Financial which seems to no longer be working. > > Does anyone know of a free, Apache license compatible, API to >query > financial data? This data does not have to be current, just something >we > can use for examples of HTTPService. > > Barring that, if anyone knows another source of data (Apache >license > compatible) that would be interesting in an example, please share and > perhaps we can make an example around it. > > Thanks, > Peter Ent > Adobe Systems/Apache Flex Project. > > > >>> >> >
Re: [FlexJS] Examples
It appears the format changed. I got it working for DataBindingExample in the dual branch. -Alex On 4/17/17, 9:47 AM, "Alex Harui" wrote: >I think the service may have been temporarily down or the format changed. >See this, for example: > >https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fquery.yah >ooapis.com%2Fv1%2Fpublic%2Fyql%3Fq%3Dselect%2520*%2520from%2520yahoo.finan >&data=02%7C01%7C%7Ca55b41534c114adcef4808d485b18254%7Cfa7b1b5a7b34438794ae >d2c178decee1%7C0%7C0%7C636280444823641555&sdata=PSX2eoGfTUEG4Uhag8Cheala7a >tUJquzmxnt1jPygo8%3D&reserved=0 >ce.quotes%20where%20symbol%20in%20(%22YHOO%22)&format=json&env=store%3A%2F >% >2Fdatatables.org%2Falltableswithkeys&callback= > > >-Alex > >On 4/17/17, 6:07 AM, "Peter Ent" wrote: > >>Thanks for the note about the US Census data. Census data, coupled with >>maps, always provides interesting information. It does however, take a >>bit >>of time to figure out what to query, how to query it, and how to present >>it. I think we could work this into a very nice example at some point. >> >>Does anyone know of something more real-time? >> >>‹peter >> >>On 4/15/17, 10:48 AM, "1600...@gmail.com on behalf of Douglas McCarroll" >><1600...@gmail.com on behalf of list.apache-flex@brightworks.com> >>wrote: >> >>>IIRC, James Ward's benchmarking app... >>> >>>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.jam >>>e >>>s >>>ward.com%2F2007%2F04%2F30%2Fajax-and-flex-data-loading-benchmarks%2F&dat >>>a >>>= >>>02%7C01%7C%7C685b06dde1ce4c6a215f08d484546721%7Cfa7b1b5a7b34438794aed2c1 >>>7 >>>8 >>>decee1%7C0%7C0%7C636278945430535468&sdata=jAuct%2B8oS4FnFAX9WC3xFvxZFpGC >>>L >>>G >>>UvWvKgzJMPe2s%3D&reserved=0 >>> >>>... used US Census data. >>> >>>Sadly, the benchmark app doesn't seem to work any more, but I found this >>>via google: >>> >>>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.cen >>>s >>>u >>>s.gov%2Fdata%2Fdevelopers%2Fdata-sets.html&data=02%7C01%7C%7C685b06dde1c >>>e >>>4 >>>c6a215f08d484546721%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6362789 >>>4 >>>5 >>>430535468&sdata=S1AMDnRVAKtdy0QGfKv24JZ%2FEj5CghHZvx991%2Ff1UxE%3D&reser >>>v >>>e >>>d=0 >>> >>>Douglas >>> >>>On Sat, Apr 15, 2017 at 9:30 AM, Christofer Dutz >>> >>>wrote: >>> We should ask Apache Infra Š they have several streams of publically available data. Not financial data, but stuff we could display. Chris Am 15.04.17, 14:36 schrieb "Peter Ent" : Hi, A couple of examples no longer work: DataBinding et al and MobileTrader et al. These examples depend on an API URL from Yahoo Financial which seems to no longer be working. Does anyone know of a free, Apache license compatible, API to query financial data? This data does not have to be current, just something we can use for examples of HTTPService. Barring that, if anyone knows another source of data (Apache license compatible) that would be interesting in an example, please share and perhaps we can make an example around it. Thanks, Peter Ent Adobe Systems/Apache Flex Project. >> >
Re: [FlexJS] Examples
I think the service may have been temporarily down or the format changed. See this, for example: https://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20yahoo.finan ce.quotes%20where%20symbol%20in%20(%22YHOO%22)&format=json&env=store%3A%2F% 2Fdatatables.org%2Falltableswithkeys&callback= -Alex On 4/17/17, 6:07 AM, "Peter Ent" wrote: >Thanks for the note about the US Census data. Census data, coupled with >maps, always provides interesting information. It does however, take a bit >of time to figure out what to query, how to query it, and how to present >it. I think we could work this into a very nice example at some point. > >Does anyone know of something more real-time? > >‹peter > >On 4/15/17, 10:48 AM, "1600...@gmail.com on behalf of Douglas McCarroll" ><1600...@gmail.com on behalf of list.apache-flex@brightworks.com> >wrote: > >>IIRC, James Ward's benchmarking app... >> >>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.jame >>s >>ward.com%2F2007%2F04%2F30%2Fajax-and-flex-data-loading-benchmarks%2F&data >>= >>02%7C01%7C%7C685b06dde1ce4c6a215f08d484546721%7Cfa7b1b5a7b34438794aed2c17 >>8 >>decee1%7C0%7C0%7C636278945430535468&sdata=jAuct%2B8oS4FnFAX9WC3xFvxZFpGCL >>G >>UvWvKgzJMPe2s%3D&reserved=0 >> >>... used US Census data. >> >>Sadly, the benchmark app doesn't seem to work any more, but I found this >>via google: >> >>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.cens >>u >>s.gov%2Fdata%2Fdevelopers%2Fdata-sets.html&data=02%7C01%7C%7C685b06dde1ce >>4 >>c6a215f08d484546721%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C63627894 >>5 >>430535468&sdata=S1AMDnRVAKtdy0QGfKv24JZ%2FEj5CghHZvx991%2Ff1UxE%3D&reserv >>e >>d=0 >> >>Douglas >> >>On Sat, Apr 15, 2017 at 9:30 AM, Christofer Dutz >> >>wrote: >> >>> We should ask Apache Infra Š they have several streams of publically >>> available data. Not financial data, but stuff we could display. >>> >>> Chris >>> >>> Am 15.04.17, 14:36 schrieb "Peter Ent" : >>> >>> Hi, >>> >>> A couple of examples no longer work: DataBinding et al and >>> MobileTrader et al. These examples depend on an API URL from Yahoo >>> Financial which seems to no longer be working. >>> >>> Does anyone know of a free, Apache license compatible, API to query >>> financial data? This data does not have to be current, just something >>>we >>> can use for examples of HTTPService. >>> >>> Barring that, if anyone knows another source of data (Apache >>>license >>> compatible) that would be interesting in an example, please share and >>> perhaps we can make an example around it. >>> >>> Thanks, >>> Peter Ent >>> Adobe Systems/Apache Flex Project. >>> >>> >>> >
Re: [FlexJS] Examples
Thanks for the note about the US Census data. Census data, coupled with maps, always provides interesting information. It does however, take a bit of time to figure out what to query, how to query it, and how to present it. I think we could work this into a very nice example at some point. Does anyone know of something more real-time? ‹peter On 4/15/17, 10:48 AM, "1600...@gmail.com on behalf of Douglas McCarroll" <1600...@gmail.com on behalf of list.apache-flex@brightworks.com> wrote: >IIRC, James Ward's benchmarking app... > >https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.james >ward.com%2F2007%2F04%2F30%2Fajax-and-flex-data-loading-benchmarks%2F&data= >02%7C01%7C%7C685b06dde1ce4c6a215f08d484546721%7Cfa7b1b5a7b34438794aed2c178 >decee1%7C0%7C0%7C636278945430535468&sdata=jAuct%2B8oS4FnFAX9WC3xFvxZFpGCLG >UvWvKgzJMPe2s%3D&reserved=0 > >... used US Census data. > >Sadly, the benchmark app doesn't seem to work any more, but I found this >via google: > >https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.censu >s.gov%2Fdata%2Fdevelopers%2Fdata-sets.html&data=02%7C01%7C%7C685b06dde1ce4 >c6a215f08d484546721%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636278945 >430535468&sdata=S1AMDnRVAKtdy0QGfKv24JZ%2FEj5CghHZvx991%2Ff1UxE%3D&reserve >d=0 > >Douglas > >On Sat, Apr 15, 2017 at 9:30 AM, Christofer Dutz > >wrote: > >> We should ask Apache Infra Š they have several streams of publically >> available data. Not financial data, but stuff we could display. >> >> Chris >> >> Am 15.04.17, 14:36 schrieb "Peter Ent" : >> >> Hi, >> >> A couple of examples no longer work: DataBinding et al and >> MobileTrader et al. These examples depend on an API URL from Yahoo >> Financial which seems to no longer be working. >> >> Does anyone know of a free, Apache license compatible, API to query >> financial data? This data does not have to be current, just something we >> can use for examples of HTTPService. >> >> Barring that, if anyone knows another source of data (Apache license >> compatible) that would be interesting in an example, please share and >> perhaps we can make an example around it. >> >> Thanks, >> Peter Ent >> Adobe Systems/Apache Flex Project. >> >> >>
Re: [FlexJS] Examples
IIRC, James Ward's benchmarking app... https://www.jamesward.com/2007/04/30/ajax-and-flex-data-loading-benchmarks/ ... used US Census data. Sadly, the benchmark app doesn't seem to work any more, but I found this via google: https://www.census.gov/data/developers/data-sets.html Douglas On Sat, Apr 15, 2017 at 9:30 AM, Christofer Dutz wrote: > We should ask Apache Infra … they have several streams of publically > available data. Not financial data, but stuff we could display. > > Chris > > Am 15.04.17, 14:36 schrieb "Peter Ent" : > > Hi, > > A couple of examples no longer work: DataBinding et al and > MobileTrader et al. These examples depend on an API URL from Yahoo > Financial which seems to no longer be working. > > Does anyone know of a free, Apache license compatible, API to query > financial data? This data does not have to be current, just something we > can use for examples of HTTPService. > > Barring that, if anyone knows another source of data (Apache license > compatible) that would be interesting in an example, please share and > perhaps we can make an example around it. > > Thanks, > Peter Ent > Adobe Systems/Apache Flex Project. > > >
Re: [FlexJS] Examples
We should ask Apache Infra … they have several streams of publically available data. Not financial data, but stuff we could display. Chris Am 15.04.17, 14:36 schrieb "Peter Ent" : Hi, A couple of examples no longer work: DataBinding et al and MobileTrader et al. These examples depend on an API URL from Yahoo Financial which seems to no longer be working. Does anyone know of a free, Apache license compatible, API to query financial data? This data does not have to be current, just something we can use for examples of HTTPService. Barring that, if anyone knows another source of data (Apache license compatible) that would be interesting in an example, please share and perhaps we can make an example around it. Thanks, Peter Ent Adobe Systems/Apache Flex Project.
[FlexJS] Examples
Hi, A couple of examples no longer work: DataBinding et al and MobileTrader et al. These examples depend on an API URL from Yahoo Financial which seems to no longer be working. Does anyone know of a free, Apache license compatible, API to query financial data? This data does not have to be current, just something we can use for examples of HTTPService. Barring that, if anyone knows another source of data (Apache license compatible) that would be interesting in an example, please share and perhaps we can make an example around it. Thanks, Peter Ent Adobe Systems/Apache Flex Project.
Re: [FlexJS] Running FlexJS examples in Tomcat
Good idea, Chris! - Josh On Feb 18, 2017 9:59 AM, "Christofer Dutz" wrote: > Hi, > > I just committed a little change to the examples maven configuration, that > makes it possible to automatically run a tomcat server in the examples > directories. > So if you want to run MDLExample, all you need to do, is to change to the > MDLExample directory and run: > > mvn tomcat7:run > > It should start tomcat and make the application available at > http://localhost:8081/MDLExample > > I haven’t tried it, but if you started the server and simply run “mvn > package” (notice without a “clean”) the application should be automatically > updated without having to re-start or re-deploy the server. A simple > page-refresh in the browser should do. > > Chris >
[FlexJS] Running FlexJS examples in Tomcat
Hi, I just committed a little change to the examples maven configuration, that makes it possible to automatically run a tomcat server in the examples directories. So if you want to run MDLExample, all you need to do, is to change to the MDLExample directory and run: mvn tomcat7:run It should start tomcat and make the application available at http://localhost:8081/MDLExample I haven’t tried it, but if you started the server and simply run “mvn package” (notice without a “clean”) the application should be automatically updated without having to re-start or re-deploy the server. A simple page-refresh in the browser should do. Chris
[FlexJS] Examples Ready
Hi, I've gone through a list about the examples Chris made while he was doing the Maven work. I've improved them and they are ready to be tested. Both JS and SWF versions should work nearly identically except perhaps some styling differences. Let us know what your results are and thanks for the feedback. Regards, Peter Ent Adobe Systems/Apache Flex Project
Re: [FLEXJS] Examples/Templates
This sounds very good. I’m probably not going to have time to try this today, but I will definitely do that early next week. I hope other IDE vendors pick up on this as well. For example, it should be really easy to convert starting points into FDT project templates. On Jun 17, 2016, at 8:24 AM, Alex Harui wrote: > Hi, > > I just finished a first attempt at another way of trying to make it easier > for folks to get started with FlexJS. As you may know, in Flash Builder > doesn't know how to make a new FlexJS project. We've been instructing > folks to create a new Flex project, then copy an existing FlexJS example > into the project folder and rename it and some variables in the example. > I just put together some new launch configs that do the copy and rename > for you, so you can now 1) create a new Flex project, then 2) choose Run, > External Tools, then Convert New Flex Project to FlexJS Project and it > will copy a "Hello World" example into the project. > > I also created a config called Convert New Flex Project to FlexJS MVC > Project that copies DataBindingExample, then I got to thinking that we > should have some other more template like example (sort of what I think > Carlos was asking about) that serves as more of a starting point than a > mini-example. It would have more comments in the code about where to put > things, for example. These could then be used outside of FlashBuilder as > well. > > Anyway, please try out the configs to make sure they work and suggest or > implement improvements to the workflow. To install the configs, install > the nightly build, choose File, Import, Run/Debug, Launch Configurations, > then choose the launch configs from under ide/flashbuilder. > > Thanks, > -Alex >
[FLEXJS] Examples/Templates
Hi, I just finished a first attempt at another way of trying to make it easier for folks to get started with FlexJS. As you may know, in Flash Builder doesn't know how to make a new FlexJS project. We've been instructing folks to create a new Flex project, then copy an existing FlexJS example into the project folder and rename it and some variables in the example. I just put together some new launch configs that do the copy and rename for you, so you can now 1) create a new Flex project, then 2) choose Run, External Tools, then Convert New Flex Project to FlexJS Project and it will copy a "Hello World" example into the project. I also created a config called Convert New Flex Project to FlexJS MVC Project that copies DataBindingExample, then I got to thinking that we should have some other more template like example (sort of what I think Carlos was asking about) that serves as more of a starting point than a mini-example. It would have more comments in the code about where to put things, for example. These could then be used outside of FlashBuilder as well. Anyway, please try out the configs to make sure they work and suggest or implement improvements to the workflow. To install the configs, install the nightly build, choose File, Import, Run/Debug, Launch Configurations, then choose the launch configs from under ide/flashbuilder. Thanks, -Alex
AW: AW: AW: Working FlexJS examples?
Another question ... would it be possible to add a call "ant -f maven.xml deploy" to the nightly build? This would make sure the maven nightly builds are also updated and our users can work with them by simply referencing 0.5.0-SNAPSHOT? Currently I manually do that from my computer, but I think it should be automated. Chris Von: Christofer Dutz Gesendet: Sonntag, 20. September 2015 12:51 An: dev@flex.apache.org Betreff: AW: AW: AW: Working FlexJS examples? Hi, so I think I got a pretty good overview over the Examples now. And I would like to give a compliment to all the people working on them and the tools behind them. They really look nice and give a good impression on what's going to come :-) Currently Flexmojos generates a config file during the preparation of a build. Even if this does have a great similarity to the one bundled in the framework directory, it's still quite different. unfortunately this part of Flexmojos gives me the creeps ... every time I see Mocking Framework code in the production code I get really upset ... will have to dig a little deeper in that parts. At least I do have some examples working so in the worst case I'll have enough for the Conference ;-) Chris Von: Alex Harui Gesendet: Freitag, 18. September 2015 19:37 An: dev@flex.apache.org Betreff: Re: AW: AW: Working FlexJS examples? Hi Chris, I haven’t run the Maven stuff so I don’t know how it gets its flex-config.xml. A flex-config.xml is generated by the Ant build and is shipped in the binary packages. If you have an account on builds.a.o, you can grab a very recent one from the ProductDashboard workspace [1] -Alex [1] flex-config.xml <https://builds.apache.org/view/E-G/view/Flex/job/flex-productdashboard/ws/ ProductDashboard/ApacheFlexJSSDK/frameworks/flex-config.xml> On 9/18/15, 10:23 AM, "Christofer Dutz" wrote: >Hi Alex, > >what changes does the flex-config.xml require for successfull FlexJS >compilation? I didn't change anything in the way the flex-config is >generated by flexmojos so if there are changes, I should get them done as >soon as possible. That was actually the reason for me asking if FlexJS >needed any changes a few days ago. Till now I was expecting nothing had >changed. > >Chris > > > >-Ursprüngliche Nachricht- >Von: Alex Harui [mailto:aha...@adobe.com] >Gesendet: Freitag, 18. September 2015 16:55 >An: dev@flex.apache.org >Betreff: Re: AW: Working FlexJS examples? > > > >On 9/18/15, 7:26 AM, "Christofer Dutz" wrote: >> >>Most of the applications produce runnable JavaScript versions. The >>DataGrid examples results in an empty screen. However not a single SWF >>is runnable. >> >>The module DataBindingExample_Flat produces this error in JavaScript >>mode: >>This tag could not be resolved to an ActionScript class. It >>will be ignored. >>http://ns.adobe.com/mxml/2009"; > >Is the flat.swc built after the HTML.swc? It is supposed to be using the >“lookup” in the flat-manifest.xml to pull in components from HTML. > >> >>The modules FlexJSStore_jquery and FlexJSStore produce: >>Ambiguous reference to MouseEvent >> >>The module MobileTrader produces: >>Implicit coercion of a value with static type Event to a >>possibly unrelated type Event. >> >height="100%" x="0" y="0" viewChanged="tabbedViewChanged(event)"> > >These two imply a potential issue with the default imports. In the >standard flex-asjs flex-config.xml, there should be some “implicit-import” >tags. > >> >>I did notice that you seem to be setting some compiler options in the >>ant script that I haven't seen before. >> >>>value="-compiler.binding-value-change-event=org.apache.flex.events.Valu >>eCh >>angeEvent" /> >>>value="-compiler.binding-value-change-event-kind=org.apache.flex.events >>.Va >>lueChangeEvent" /> >>>value="-compiler.binding-value-change-event-type=valueChange" /> >> >>Are these required for successfully building? > >These can probably be removed. They should be in the default >flex-config.xml for flex-asjs. Maybe the maven build is not creating the >right flex-config.xml? > >-Alex >
AW: AW: AW: Working FlexJS examples?
Hi, so I think I got a pretty good overview over the Examples now. And I would like to give a compliment to all the people working on them and the tools behind them. They really look nice and give a good impression on what's going to come :-) Currently Flexmojos generates a config file during the preparation of a build. Even if this does have a great similarity to the one bundled in the framework directory, it's still quite different. unfortunately this part of Flexmojos gives me the creeps ... every time I see Mocking Framework code in the production code I get really upset ... will have to dig a little deeper in that parts. At least I do have some examples working so in the worst case I'll have enough for the Conference ;-) Chris Von: Alex Harui Gesendet: Freitag, 18. September 2015 19:37 An: dev@flex.apache.org Betreff: Re: AW: AW: Working FlexJS examples? Hi Chris, I haven’t run the Maven stuff so I don’t know how it gets its flex-config.xml. A flex-config.xml is generated by the Ant build and is shipped in the binary packages. If you have an account on builds.a.o, you can grab a very recent one from the ProductDashboard workspace [1] -Alex [1] flex-config.xml <https://builds.apache.org/view/E-G/view/Flex/job/flex-productdashboard/ws/ ProductDashboard/ApacheFlexJSSDK/frameworks/flex-config.xml> On 9/18/15, 10:23 AM, "Christofer Dutz" wrote: >Hi Alex, > >what changes does the flex-config.xml require for successfull FlexJS >compilation? I didn't change anything in the way the flex-config is >generated by flexmojos so if there are changes, I should get them done as >soon as possible. That was actually the reason for me asking if FlexJS >needed any changes a few days ago. Till now I was expecting nothing had >changed. > >Chris > > > >-Ursprüngliche Nachricht- >Von: Alex Harui [mailto:aha...@adobe.com] >Gesendet: Freitag, 18. September 2015 16:55 >An: dev@flex.apache.org >Betreff: Re: AW: Working FlexJS examples? > > > >On 9/18/15, 7:26 AM, "Christofer Dutz" wrote: >> >>Most of the applications produce runnable JavaScript versions. The >>DataGrid examples results in an empty screen. However not a single SWF >>is runnable. >> >>The module DataBindingExample_Flat produces this error in JavaScript >>mode: >>This tag could not be resolved to an ActionScript class. It >>will be ignored. >>http://ns.adobe.com/mxml/2009"; > >Is the flat.swc built after the HTML.swc? It is supposed to be using the >“lookup” in the flat-manifest.xml to pull in components from HTML. > >> >>The modules FlexJSStore_jquery and FlexJSStore produce: >>Ambiguous reference to MouseEvent >> >>The module MobileTrader produces: >>Implicit coercion of a value with static type Event to a >>possibly unrelated type Event. >> >height="100%" x="0" y="0" viewChanged="tabbedViewChanged(event)"> > >These two imply a potential issue with the default imports. In the >standard flex-asjs flex-config.xml, there should be some “implicit-import” >tags. > >> >>I did notice that you seem to be setting some compiler options in the >>ant script that I haven't seen before. >> >>>value="-compiler.binding-value-change-event=org.apache.flex.events.Valu >>eCh >>angeEvent" /> >>>value="-compiler.binding-value-change-event-kind=org.apache.flex.events >>.Va >>lueChangeEvent" /> >>>value="-compiler.binding-value-change-event-type=valueChange" /> >> >>Are these required for successfully building? > >These can probably be removed. They should be in the default >flex-config.xml for flex-asjs. Maybe the maven build is not creating the >right flex-config.xml? > >-Alex >
Re: AW: AW: Working FlexJS examples?
Hi Chris, I haven’t run the Maven stuff so I don’t know how it gets its flex-config.xml. A flex-config.xml is generated by the Ant build and is shipped in the binary packages. If you have an account on builds.a.o, you can grab a very recent one from the ProductDashboard workspace [1] -Alex [1] flex-config.xml <https://builds.apache.org/view/E-G/view/Flex/job/flex-productdashboard/ws/ ProductDashboard/ApacheFlexJSSDK/frameworks/flex-config.xml> On 9/18/15, 10:23 AM, "Christofer Dutz" wrote: >Hi Alex, > >what changes does the flex-config.xml require for successfull FlexJS >compilation? I didn't change anything in the way the flex-config is >generated by flexmojos so if there are changes, I should get them done as >soon as possible. That was actually the reason for me asking if FlexJS >needed any changes a few days ago. Till now I was expecting nothing had >changed. > >Chris > > > >-Ursprüngliche Nachricht- >Von: Alex Harui [mailto:aha...@adobe.com] >Gesendet: Freitag, 18. September 2015 16:55 >An: dev@flex.apache.org >Betreff: Re: AW: Working FlexJS examples? > > > >On 9/18/15, 7:26 AM, "Christofer Dutz" wrote: >> >>Most of the applications produce runnable JavaScript versions. The >>DataGrid examples results in an empty screen. However not a single SWF >>is runnable. >> >>The module DataBindingExample_Flat produces this error in JavaScript >>mode: >>This tag could not be resolved to an ActionScript class. It >>will be ignored. >>http://ns.adobe.com/mxml/2009"; > >Is the flat.swc built after the HTML.swc? It is supposed to be using the >“lookup” in the flat-manifest.xml to pull in components from HTML. > >> >>The modules FlexJSStore_jquery and FlexJSStore produce: >>Ambiguous reference to MouseEvent >> >>The module MobileTrader produces: >>Implicit coercion of a value with static type Event to a >>possibly unrelated type Event. >> >height="100%" x="0" y="0" viewChanged="tabbedViewChanged(event)"> > >These two imply a potential issue with the default imports. In the >standard flex-asjs flex-config.xml, there should be some “implicit-import” >tags. > >> >>I did notice that you seem to be setting some compiler options in the >>ant script that I haven't seen before. >> >>>value="-compiler.binding-value-change-event=org.apache.flex.events.Valu >>eCh >>angeEvent" /> >>>value="-compiler.binding-value-change-event-kind=org.apache.flex.events >>.Va >>lueChangeEvent" /> >>>value="-compiler.binding-value-change-event-type=valueChange" /> >> >>Are these required for successfully building? > >These can probably be removed. They should be in the default >flex-config.xml for flex-asjs. Maybe the maven build is not creating the >right flex-config.xml? > >-Alex >
RE: AW: AW: Working FlexJS examples?
> what changes does the flex-config.xml require for successfull FlexJS compilation? I didn't change anything in the way the flex-config is generated by flexmojos so if there are changes, I should get them done as soon as possible. That was actually the reason for me asking if FlexJS needed any changes a few days ago. Till now I was expecting nothing had changed. Ah ok, so, you can have a look either at the \frameworks\flex-config.xml for the full config file or \ide\IDEA\intellij-config.xml for the differences with a Flex Sdk, also, the locale should be empty. Frédéric THOMAS > From: christofer.d...@c-ware.de > To: dev@flex.apache.org > Subject: AW: AW: Working FlexJS examples? > Date: Fri, 18 Sep 2015 17:23:48 + > > Hi Alex, > > what changes does the flex-config.xml require for successfull FlexJS > compilation? I didn't change anything in the way the flex-config is generated > by flexmojos so if there are changes, I should get them done as soon as > possible. That was actually the reason for me asking if FlexJS needed any > changes a few days ago. Till now I was expecting nothing had changed. > > Chris > > > > -Ursprüngliche Nachricht- > Von: Alex Harui [mailto:aha...@adobe.com] > Gesendet: Freitag, 18. September 2015 16:55 > An: dev@flex.apache.org > Betreff: Re: AW: Working FlexJS examples? > > > > On 9/18/15, 7:26 AM, "Christofer Dutz" wrote: > > > >Most of the applications produce runnable JavaScript versions. The > >DataGrid examples results in an empty screen. However not a single SWF > >is runnable. > > > >The module DataBindingExample_Flat produces this error in JavaScript mode: > >This tag could not be resolved to an ActionScript class. It > >will be ignored. > >http://ns.adobe.com/mxml/2009"; > > Is the flat.swc built after the HTML.swc? It is supposed to be using the > “lookup” in the flat-manifest.xml to pull in components from HTML. > > > > >The modules FlexJSStore_jquery and FlexJSStore produce: > >Ambiguous reference to MouseEvent > > > >The module MobileTrader produces: > >Implicit coercion of a value with static type Event to a > >possibly unrelated type Event. > > >height="100%" x="0" y="0" viewChanged="tabbedViewChanged(event)"> > > These two imply a potential issue with the default imports. In the standard > flex-asjs flex-config.xml, there should be some “implicit-import” > tags. > > > > >I did notice that you seem to be setting some compiler options in the > >ant script that I haven't seen before. > > > > >value="-compiler.binding-value-change-event=org.apache.flex.events.Valu > >eCh > >angeEvent" /> > > >value="-compiler.binding-value-change-event-kind=org.apache.flex.events > >.Va > >lueChangeEvent" /> > > >value="-compiler.binding-value-change-event-type=valueChange" /> > > > >Are these required for successfully building? > > These can probably be removed. They should be in the default flex-config.xml > for flex-asjs. Maybe the maven build is not creating the right > flex-config.xml? > > -Alex >
AW: AW: Working FlexJS examples?
Hi Alex, what changes does the flex-config.xml require for successfull FlexJS compilation? I didn't change anything in the way the flex-config is generated by flexmojos so if there are changes, I should get them done as soon as possible. That was actually the reason for me asking if FlexJS needed any changes a few days ago. Till now I was expecting nothing had changed. Chris -Ursprüngliche Nachricht- Von: Alex Harui [mailto:aha...@adobe.com] Gesendet: Freitag, 18. September 2015 16:55 An: dev@flex.apache.org Betreff: Re: AW: Working FlexJS examples? On 9/18/15, 7:26 AM, "Christofer Dutz" wrote: > >Most of the applications produce runnable JavaScript versions. The >DataGrid examples results in an empty screen. However not a single SWF >is runnable. > >The module DataBindingExample_Flat produces this error in JavaScript mode: >This tag could not be resolved to an ActionScript class. It >will be ignored. >http://ns.adobe.com/mxml/2009"; Is the flat.swc built after the HTML.swc? It is supposed to be using the “lookup” in the flat-manifest.xml to pull in components from HTML. > >The modules FlexJSStore_jquery and FlexJSStore produce: >Ambiguous reference to MouseEvent > >The module MobileTrader produces: >Implicit coercion of a value with static type Event to a >possibly unrelated type Event. > height="100%" x="0" y="0" viewChanged="tabbedViewChanged(event)"> These two imply a potential issue with the default imports. In the standard flex-asjs flex-config.xml, there should be some “implicit-import” tags. > >I did notice that you seem to be setting some compiler options in the >ant script that I haven't seen before. > >value="-compiler.binding-value-change-event=org.apache.flex.events.Valu >eCh >angeEvent" /> >value="-compiler.binding-value-change-event-kind=org.apache.flex.events >.Va >lueChangeEvent" /> >value="-compiler.binding-value-change-event-type=valueChange" /> > >Are these required for successfully building? These can probably be removed. They should be in the default flex-config.xml for flex-asjs. Maybe the maven build is not creating the right flex-config.xml? -Alex
Re: AW: Working FlexJS examples?
On 9/18/15, 7:26 AM, "Christofer Dutz" wrote: > >Most of the applications produce runnable JavaScript versions. The >DataGrid examples results in an empty screen. However not a single SWF is >runnable. > >The module DataBindingExample_Flat produces this error in JavaScript mode: >This tag could not be resolved to an ActionScript class. It >will be ignored. >http://ns.adobe.com/mxml/2009"; Is the flat.swc built after the HTML.swc? It is supposed to be using the “lookup” in the flat-manifest.xml to pull in components from HTML. > >The modules FlexJSStore_jquery and FlexJSStore produce: >Ambiguous reference to MouseEvent > >The module MobileTrader produces: >Implicit coercion of a value with static type Event to a >possibly unrelated type Event. > height="100%" x="0" y="0" viewChanged="tabbedViewChanged(event)"> These two imply a potential issue with the default imports. In the standard flex-asjs flex-config.xml, there should be some “implicit-import” tags. > >I did notice that you seem to be setting some compiler options in the ant >script that I haven't seen before. > >value="-compiler.binding-value-change-event=org.apache.flex.events.ValueCh >angeEvent" /> >value="-compiler.binding-value-change-event-kind=org.apache.flex.events.Va >lueChangeEvent" /> >value="-compiler.binding-value-change-event-type=valueChange" /> > >Are these required for successfully building? These can probably be removed. They should be in the default flex-config.xml for flex-asjs. Maybe the maven build is not creating the right flex-config.xml? -Alex
AW: Working FlexJS examples?
Ok ... so as I said, I added some poms to the examples. Additionally I published a new SNAPSHOT version of Falcon + ASJS to the apache snapshot repo. With the poms I added I am able to build Both the JavaScript versions as well as the Flash versions of these modules: - ChartExample - CordovaCameraExample - DataBindingExample - DataBindingExample_as - DataGridExample - DesktopMap - MapSearch - TodoListSampleApp Most of the applications produce runnable JavaScript versions. The DataGrid examples results in an empty screen. However not a single SWF is runnable. The module DataBindingExample_Flat produces this error in JavaScript mode: This tag could not be resolved to an ActionScript class. It will be ignored. http://ns.adobe.com/mxml/2009"; The modules FlexJSStore_jquery and FlexJSStore produce: Ambiguous reference to MouseEvent The module MobileTrader produces: Implicit coercion of a value with static type Event to a possibly unrelated type Event. I did notice that you seem to be setting some compiler options in the ant script that I haven't seen before. Are these required for successfully building? You could pull the flex-asjs modules and run "mvn clean install" in the examples/fexjs directory and it should work, however I currently have a dependency on the playerglobal 18.0 in there, so if you don't have this, it could still fail. Chris Von: Christofer Dutz Gesendet: Freitag, 18. September 2015 15:52 An: dev@flex.apache.org Betreff: AW: Working FlexJS examples? Ok ... so currently I'm adding a pom.xml to each of the examples. So it shouldn't change the way the projects are built with Ant, but should make it possible to build the same examples with Maven (Flexmojos) ... hope that's ok with you guys :-) Chris Von: Peter Ent Gesendet: Freitag, 18. September 2015 15:18 An: dev@flex.apache.org Betreff: Re: Working FlexJS examples? Hi, In addition to what Alex wrote, I¹ve tested DataGridExample, MapSearch, MobileTrader, and TodoListSampleApp. I still need to go into the native/ folder and test those. I¹m in the middle of make an API change for the Container classes and will do a full test once that¹s complete. I will post that information and I will need to make some adjustments to the FlexJS wiki page concerning layouts and containers after that. ‹Peter On 9/18/15, 9:09 AM, "Alex Harui" wrote: >Good question. For sure, DataBindingExample, DataBindingExample_Flat, >FlexJSStore, ChartExample. > >Peter tests the others so he can tell you which other ones he¹s seen work >recently. > >-Alex > >On 9/18/15, 3:19 AM, "Christofer Dutz" wrote: > >>Hi, >> >> >>before I start and try to get some of the examples working with flexmojos >>I would like to ask here which of the examples are actually maintained >>and should work in general? I remember last time I invested a lot of time >>building examples that didn't work even if built with Ant :-) >> >> >>Chris >
AW: Working FlexJS examples?
Ok ... so currently I'm adding a pom.xml to each of the examples. So it shouldn't change the way the projects are built with Ant, but should make it possible to build the same examples with Maven (Flexmojos) ... hope that's ok with you guys :-) Chris Von: Peter Ent Gesendet: Freitag, 18. September 2015 15:18 An: dev@flex.apache.org Betreff: Re: Working FlexJS examples? Hi, In addition to what Alex wrote, I¹ve tested DataGridExample, MapSearch, MobileTrader, and TodoListSampleApp. I still need to go into the native/ folder and test those. I¹m in the middle of make an API change for the Container classes and will do a full test once that¹s complete. I will post that information and I will need to make some adjustments to the FlexJS wiki page concerning layouts and containers after that. ‹Peter On 9/18/15, 9:09 AM, "Alex Harui" wrote: >Good question. For sure, DataBindingExample, DataBindingExample_Flat, >FlexJSStore, ChartExample. > >Peter tests the others so he can tell you which other ones he¹s seen work >recently. > >-Alex > >On 9/18/15, 3:19 AM, "Christofer Dutz" wrote: > >>Hi, >> >> >>before I start and try to get some of the examples working with flexmojos >>I would like to ask here which of the examples are actually maintained >>and should work in general? I remember last time I invested a lot of time >>building examples that didn't work even if built with Ant :-) >> >> >>Chris >
Re: Working FlexJS examples?
Hi, In addition to what Alex wrote, I¹ve tested DataGridExample, MapSearch, MobileTrader, and TodoListSampleApp. I still need to go into the native/ folder and test those. I¹m in the middle of make an API change for the Container classes and will do a full test once that¹s complete. I will post that information and I will need to make some adjustments to the FlexJS wiki page concerning layouts and containers after that. ‹Peter On 9/18/15, 9:09 AM, "Alex Harui" wrote: >Good question. For sure, DataBindingExample, DataBindingExample_Flat, >FlexJSStore, ChartExample. > >Peter tests the others so he can tell you which other ones he¹s seen work >recently. > >-Alex > >On 9/18/15, 3:19 AM, "Christofer Dutz" wrote: > >>Hi, >> >> >>before I start and try to get some of the examples working with flexmojos >>I would like to ask here which of the examples are actually maintained >>and should work in general? I remember last time I invested a lot of time >>building examples that didn't work even if built with Ant :-) >> >> >>Chris >
Re: Working FlexJS examples?
Good question. For sure, DataBindingExample, DataBindingExample_Flat, FlexJSStore, ChartExample. Peter tests the others so he can tell you which other ones he’s seen work recently. -Alex On 9/18/15, 3:19 AM, "Christofer Dutz" wrote: >Hi, > > >before I start and try to get some of the examples working with flexmojos >I would like to ask here which of the examples are actually maintained >and should work in general? I remember last time I invested a lot of time >building examples that didn't work even if built with Ant :-) > > >Chris
Working FlexJS examples?
Hi, before I start and try to get some of the examples working with flexmojos I would like to ask here which of the examples are actually maintained and should work in general? I remember last time I invested a lot of time building examples that didn't work even if built with Ant :-) Chris
Re: [FlexJS] Examples not compiling
Thanks Peter! That seems to have fixed the ChartExample app. (The build was broken for some other reason. It seems to be working fine now) Regards, Om On Mon, Dec 1, 2014 at 12:50 PM, Peter Ent wrote: > Hi, > > I re-sync¹d to the lastest dev branch of everything and rebuilt it all > (this on the Mac - will start Windows now). I built the ChartExample and > ran into 1 issue: I was not using the ChartBase.js constructor correctly > so I fixed that and checked it in. After that, ChartExample compiled > cleanly and runs on Flash and JavaScript. > > ‹peter > > On 11/25/14, 8:38 PM, "Peter Ent" wrote: > > >I am traveling and do not have my computer with me but I'll look as soon > >as I return. > > > >Peter > > > > > >> On Nov 25, 2014, at 5:38 PM, OmPrakash Muppirala > >>wrote: > >> > >>> On Tue, Nov 25, 2014 at 2:19 PM, Alex Harui wrote: > >>> > >>> > >>> > On 11/25/14, 12:19 PM, "OmPrakash Muppirala" > wrote: > > I can confirm that the release version of the FlexJS (0.0.2) can > compile > this project fine and run without errors. Whereas the latest code > from > develop branch, has the runtime error below: > > (I din't realize that I had sent this message went to Alex alone) > >>> > >>> Maybe answering from my phone messed up reply headers. Sounds like > >>>Peter > >>> might have forgotten to check in something. He¹s on vacation this > >>>week. > >>> If is is blocking let me know and I¹ll try to figure it out. > >> No, its not blocking me. I just wanted to make sure that this issue is > >> known so that someone can work on it. > >> > >> I am planning on concentrating on the skinning part (I owe you a > >>response > >> to your last email about SVG skinning as well) > >> > >> Thanks, > >> Om > >> > >> > >>> -Alex > >>> > >>> > >
Re: [FlexJS] Examples not compiling
Hi, I re-sync¹d to the lastest dev branch of everything and rebuilt it all (this on the Mac - will start Windows now). I built the ChartExample and ran into 1 issue: I was not using the ChartBase.js constructor correctly so I fixed that and checked it in. After that, ChartExample compiled cleanly and runs on Flash and JavaScript. ‹peter On 11/25/14, 8:38 PM, "Peter Ent" wrote: >I am traveling and do not have my computer with me but I'll look as soon >as I return. > >Peter > > >> On Nov 25, 2014, at 5:38 PM, OmPrakash Muppirala >>wrote: >> >>> On Tue, Nov 25, 2014 at 2:19 PM, Alex Harui wrote: >>> >>> >>> On 11/25/14, 12:19 PM, "OmPrakash Muppirala" wrote: I can confirm that the release version of the FlexJS (0.0.2) can compile this project fine and run without errors. Whereas the latest code from develop branch, has the runtime error below: (I din't realize that I had sent this message went to Alex alone) >>> >>> Maybe answering from my phone messed up reply headers. Sounds like >>>Peter >>> might have forgotten to check in something. He¹s on vacation this >>>week. >>> If is is blocking let me know and I¹ll try to figure it out. >> No, its not blocking me. I just wanted to make sure that this issue is >> known so that someone can work on it. >> >> I am planning on concentrating on the skinning part (I owe you a >>response >> to your last email about SVG skinning as well) >> >> Thanks, >> Om >> >> >>> -Alex >>> >>>
Re: [FlexJS] Examples not compiling
I am traveling and do not have my computer with me but I'll look as soon as I return. Peter > On Nov 25, 2014, at 5:38 PM, OmPrakash Muppirala wrote: > >> On Tue, Nov 25, 2014 at 2:19 PM, Alex Harui wrote: >> >> >> >>> On 11/25/14, 12:19 PM, "OmPrakash Muppirala" wrote: >>> >>> I can confirm that the release version of the FlexJS (0.0.2) can compile >>> this project fine and run without errors. Whereas the latest code from >>> develop branch, has the runtime error below: >>> >>> (I din't realize that I had sent this message went to Alex alone) >> >> Maybe answering from my phone messed up reply headers. Sounds like Peter >> might have forgotten to check in something. He’s on vacation this week. >> If is is blocking let me know and I’ll try to figure it out. > No, its not blocking me. I just wanted to make sure that this issue is > known so that someone can work on it. > > I am planning on concentrating on the skinning part (I owe you a response > to your last email about SVG skinning as well) > > Thanks, > Om > > >> -Alex >> >>
Re: [FlexJS] Examples not compiling
On Tue, Nov 25, 2014 at 2:19 PM, Alex Harui wrote: > > > On 11/25/14, 12:19 PM, "OmPrakash Muppirala" wrote: > > >I can confirm that the release version of the FlexJS (0.0.2) can compile > >this project fine and run without errors. Whereas the latest code from > >develop branch, has the runtime error below: > > > >(I din't realize that I had sent this message went to Alex alone) > > Maybe answering from my phone messed up reply headers. Sounds like Peter > might have forgotten to check in something. He’s on vacation this week. > If is is blocking let me know and I’ll try to figure it out. > > No, its not blocking me. I just wanted to make sure that this issue is known so that someone can work on it. I am planning on concentrating on the skinning part (I owe you a response to your last email about SVG skinning as well) Thanks, Om > -Alex > >
Re: [FlexJS] Examples not compiling
On 11/25/14, 12:19 PM, "OmPrakash Muppirala" wrote: >I can confirm that the release version of the FlexJS (0.0.2) can compile >this project fine and run without errors. Whereas the latest code from >develop branch, has the runtime error below: > >(I din't realize that I had sent this message went to Alex alone) Maybe answering from my phone messed up reply headers. Sounds like Peter might have forgotten to check in something. He’s on vacation this week. If is is blocking let me know and I’ll try to figure it out. -Alex
Fwd: [FlexJS] Examples not compiling
I can confirm that the release version of the FlexJS (0.0.2) can compile this project fine and run without errors. Whereas the latest code from develop branch, has the runtime error below: (I din't realize that I had sent this message went to Alex alone) -- Forwarded message -- From: OmPrakash Muppirala Date: Mon, Nov 24, 2014 at 5:44 PM Subject: Re: [FlexJS] Examples not compiling To: Alex Harui I realized that my flex-falcon repo was not uptodate. So, I synced and rebuilt everything. Now, I am able to compile the ChartExample fine. The swf version works fine, but the JS version throws a runtime error with nothing showing up in the screen: Uncaught TypeError: Cannot read property 'apply' of undefined base.js:2028 childCtor.baseChartBase.js:35 org.apache.flex.charts.core.ChartBasebase.js:2028 childCtor.baseColumnChart.js:27 org.apache.flex.charts.ColumnChartMXMLDataInterpreter.js:122 org.apache.flex.utils.MXMLDataInterpreter.generateMXMLArrayMXMLDataInterpreter.js:312 org.apache.flex.utils.MXMLDataInterpreter.generateMXMLInstancesViewBase.js:98 org.apache.flex.core.ViewBase.addedToParentApplication.js:107 org.apache.flex.core.Application.addElementApplication.js:86 org.apache.flex.core.Application.startindex.html:14 (anonymous function) A quick test shows that the other examples are compiling and running okay. So, it must be an app specific issue. Build process seems to be okay. Thanks, Om On Mon, Nov 24, 2014 at 5:38 PM, Alex Harui wrote: > The output can be misleading. Find the "could not find file for class" and > check those first. > Sent via the PANTECH Discover, an AT&T 4G LTE smartphone. > > OmPrakash Muppirala wrote: > > > Sorry, I din't provide some obvious details. > - Yes, I have the latest code > - I do see the file C:\p\flexroot\git\flex-asjs\ > examples\ChartExample\bin\js-debug\products\Product.js in the file system. > Not sure why the java.io.FileNotFoundException for that file. > > Thanks, > Om > > On Mon, Nov 24, 2014 at 4:55 PM, OmPrakash Muppirala > > wrote: > > > I am back in FlexJS after a while and I notice that the examples dont > > compile anymore. What am I missing? > > > > Here is the stack trace from the ChartExample compilation via build.xml > > > > Buildfile: C:\p\flexroot\git\flex-asjs\examples\ChartExample\build.xml > > > > clean: > >[delete] Deleting directory > > C:\p\flexroot\git\flex-asjs\examples\ChartExample\bin > >[delete] Deleting directory > > C:\p\flexroot\git\flex-asjs\examples\ChartExample\bin-debug > > > > build_example.compile: > > [echo] Compiling ChartExample.swf > > [echo] FLEX_HOME: C:\p\flexroot\git\flex-asjs > > [mxmlc] Loading configuration: > > C:\p\flexroot\git\flex-asjs\frameworks\flex-config.xml > > [mxmlc] > > [mxmlc] 85000 bytes written to > > > C:\p\flexroot\git\flex-asjs\examples\ChartExample\bin-debug\ChartExample.swf > > in 1.966 seconds > > [copy] Copying 1 file to > > C:\p\flexroot\git\flex-asjs\examples\ChartExample\bin-debug > > [copy] Copied 1 empty directory to 1 empty directory under > > C:\p\flexroot\git\flex-asjs\examples\ChartExample\bin-debug\history > > [copy] Copying 2 files to > > C:\p\flexroot\git\flex-asjs\examples\ChartExample\bin-debug > > > > build_example.compilejs: > > [echo] Compiling ChartExample.js > > [echo] FLEX_HOME: C:\p\flexroot\git\flex-asjs > > [echo] FALCONJX_HOME: C:\p\flexroot\git\flex-falcon\compiler.jx > > [echo] GOOG_HOME: C:\p\flexroot\FlexJS\js\lib\google\closure-library > > [java] Compiling file: > > > C:\p\flexroot\git\flex-asjs\examples\ChartExample\bin\js-debug\ChartExample.js > > [java] Compiling file: > > > C:\p\flexroot\git\flex-asjs\examples\ChartExample\bin\js-debug\models\ProductsModel.js > > [java] Compiling file: > > > C:\p\flexroot\git\flex-asjs\examples\ChartExample\bin\js-debug\MyInitialView.js > > [java] Compiling file: > > > C:\p\flexroot\git\flex-asjs\examples\ChartExample\bin\js-debug\products\Product.js > > [java] java.io.FileNotFoundException: > > [java] at java.io.FileInputStream.open(Native Method) > > [java] at java.io.FileInputStream.(FileInputStream.java:138) > > [java] at java.io.FileInputStream.(FileInputStream.java:93) > > [java] at > > > org.apache.flex.compiler.internal.graph.GoogDepsWriter.getDirectDependencies(GoogDepsWriter.java:319) > > [java] at > > > org.apache.flex.compiler.internal.graph.GoogDepsWriter.addDeps(GoogDepsWriter.java:149) > > [java] at > > > org.apache.flex.compile
Re: [FlexJS] Examples not compiling
The output can be misleading. Find the "could not find file for class" and check those first. Sent via the PANTECH Discover, an AT&T 4G LTE smartphone. OmPrakash Muppirala wrote: Sorry, I din't provide some obvious details. - Yes, I have the latest code - I do see the file C:\p\flexroot\git\flex-asjs\ examples\ChartExample\bin\js-debug\products\Product.js in the file system. Not sure why the java.io.FileNotFoundException for that file. Thanks, Om On Mon, Nov 24, 2014 at 4:55 PM, OmPrakash Muppirala wrote: > I am back in FlexJS after a while and I notice that the examples dont > compile anymore. What am I missing? > > Here is the stack trace from the ChartExample compilation via build.xml > > Buildfile: C:\p\flexroot\git\flex-asjs\examples\ChartExample\build.xml > > clean: >[delete] Deleting directory > C:\p\flexroot\git\flex-asjs\examples\ChartExample\bin >[delete] Deleting directory > C:\p\flexroot\git\flex-asjs\examples\ChartExample\bin-debug > > build_example.compile: > [echo] Compiling ChartExample.swf > [echo] FLEX_HOME: C:\p\flexroot\git\flex-asjs > [mxmlc] Loading configuration: > C:\p\flexroot\git\flex-asjs\frameworks\flex-config.xml > [mxmlc] > [mxmlc] 85000 bytes written to > C:\p\flexroot\git\flex-asjs\examples\ChartExample\bin-debug\ChartExample.swf > in 1.966 seconds > [copy] Copying 1 file to > C:\p\flexroot\git\flex-asjs\examples\ChartExample\bin-debug > [copy] Copied 1 empty directory to 1 empty directory under > C:\p\flexroot\git\flex-asjs\examples\ChartExample\bin-debug\history > [copy] Copying 2 files to > C:\p\flexroot\git\flex-asjs\examples\ChartExample\bin-debug > > build_example.compilejs: > [echo] Compiling ChartExample.js > [echo] FLEX_HOME: C:\p\flexroot\git\flex-asjs > [echo] FALCONJX_HOME: C:\p\flexroot\git\flex-falcon\compiler.jx > [echo] GOOG_HOME: C:\p\flexroot\FlexJS\js\lib\google\closure-library > [java] Compiling file: > C:\p\flexroot\git\flex-asjs\examples\ChartExample\bin\js-debug\ChartExample.js > [java] Compiling file: > C:\p\flexroot\git\flex-asjs\examples\ChartExample\bin\js-debug\models\ProductsModel.js > [java] Compiling file: > C:\p\flexroot\git\flex-asjs\examples\ChartExample\bin\js-debug\MyInitialView.js > [java] Compiling file: > C:\p\flexroot\git\flex-asjs\examples\ChartExample\bin\js-debug\products\Product.js > [java] java.io.FileNotFoundException: > [java] at java.io.FileInputStream.open(Native Method) > [java] at java.io.FileInputStream.(FileInputStream.java:138) > [java] at java.io.FileInputStream.(FileInputStream.java:93) > [java] at > org.apache.flex.compiler.internal.graph.GoogDepsWriter.getDirectDependencies(GoogDepsWriter.java:319) > [java] at > org.apache.flex.compiler.internal.graph.GoogDepsWriter.addDeps(GoogDepsWriter.java:149) > [java] at > org.apache.flex.compiler.internal.graph.GoogDepsWriter.addDeps(GoogDepsWriter.java:164) > [java] at > org.apache.flex.compiler.internal.graph.GoogDepsWriter.buildDB(GoogDepsWriter.java:103) > [java] at > org.apache.flex.compiler.internal.graph.GoogDepsWriter.generateDeps(GoogDepsWriter.java:73) > [java] at > org.apache.flex.compiler.internal.codegen.mxml.flexjs.MXMLFlexJSPublisher.publish(MXMLFlexJSPublisher.java:191) > [java] at > org.apache.flex.compiler.clients.MXMLJSC.compile(MXMLJSC.java:476) > [java] at > org.apache.flex.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:298) > [java] at > org.apache.flex.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:229) > [java] at > org.apache.flex.compiler.clients.MXMLJSC.main(MXMLJSC.java:190) > [java] java.io.FileNotFoundException: (The system cannot find the > file specified) > [java] at java.io.FileInputStream.open(Native Method) > [java] at java.io.FileInputStream.(FileInputStream.java:138) > [java] at java.io.FileInputStream.(FileInputStream.java:93) > [java] at > org.apache.flex.compiler.internal.graph.GoogDepsWriter.getDirectDependencies(GoogDepsWriter.java:319) > [java] at > org.apache.flex.compiler.internal.graph.GoogDepsWriter.addDeps(GoogDepsWriter.java:149) > [java] at > org.apache.flex.compiler.internal.graph.GoogDepsWriter.addDeps(GoogDepsWriter.java:164) > [java] at > org.apache.flex.compiler.internal.graph.GoogDepsWriter.buildDB(GoogDepsWriter.java:103) > [java] at > org.apache.flex.compiler.internal.graph.GoogDepsWriter.generateDeps(GoogDepsWriter.java:73) > [java] at > org.apache.flex.compiler.internal.codegen.mxml.flexjs.MXMLFlexJSPublisher.publish(MXMLFlexJSPublisher.java:191) > [java] at > org.apache.flex.compiler.clients.MXMLJSC.compile(MXMLJSC.java:476) > [java] at > org.apache.flex.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:298) > [java] at > org.apache.flex.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:229) > [java] at > org.apache.flex.compiler.clients.MXMLJSC.main(MXMLJSC.java:190) > [java]
Re: [FlexJS] Examples not compiling
Sorry, I din't provide some obvious details. - Yes, I have the latest code - I do see the file C:\p\flexroot\git\flex-asjs\ examples\ChartExample\bin\js-debug\products\Product.js in the file system. Not sure why the java.io.FileNotFoundException for that file. Thanks, Om On Mon, Nov 24, 2014 at 4:55 PM, OmPrakash Muppirala wrote: > I am back in FlexJS after a while and I notice that the examples dont > compile anymore. What am I missing? > > Here is the stack trace from the ChartExample compilation via build.xml > > Buildfile: C:\p\flexroot\git\flex-asjs\examples\ChartExample\build.xml > > clean: >[delete] Deleting directory > C:\p\flexroot\git\flex-asjs\examples\ChartExample\bin >[delete] Deleting directory > C:\p\flexroot\git\flex-asjs\examples\ChartExample\bin-debug > > build_example.compile: > [echo] Compiling ChartExample.swf > [echo] FLEX_HOME: C:\p\flexroot\git\flex-asjs > [mxmlc] Loading configuration: > C:\p\flexroot\git\flex-asjs\frameworks\flex-config.xml > [mxmlc] > [mxmlc] 85000 bytes written to > C:\p\flexroot\git\flex-asjs\examples\ChartExample\bin-debug\ChartExample.swf > in 1.966 seconds > [copy] Copying 1 file to > C:\p\flexroot\git\flex-asjs\examples\ChartExample\bin-debug > [copy] Copied 1 empty directory to 1 empty directory under > C:\p\flexroot\git\flex-asjs\examples\ChartExample\bin-debug\history > [copy] Copying 2 files to > C:\p\flexroot\git\flex-asjs\examples\ChartExample\bin-debug > > build_example.compilejs: > [echo] Compiling ChartExample.js > [echo] FLEX_HOME: C:\p\flexroot\git\flex-asjs > [echo] FALCONJX_HOME: C:\p\flexroot\git\flex-falcon\compiler.jx > [echo] GOOG_HOME: C:\p\flexroot\FlexJS\js\lib\google\closure-library > [java] Compiling file: > C:\p\flexroot\git\flex-asjs\examples\ChartExample\bin\js-debug\ChartExample.js > [java] Compiling file: > C:\p\flexroot\git\flex-asjs\examples\ChartExample\bin\js-debug\models\ProductsModel.js > [java] Compiling file: > C:\p\flexroot\git\flex-asjs\examples\ChartExample\bin\js-debug\MyInitialView.js > [java] Compiling file: > C:\p\flexroot\git\flex-asjs\examples\ChartExample\bin\js-debug\products\Product.js > [java] java.io.FileNotFoundException: > [java] at java.io.FileInputStream.open(Native Method) > [java] at java.io.FileInputStream.(FileInputStream.java:138) > [java] at java.io.FileInputStream.(FileInputStream.java:93) > [java] at > org.apache.flex.compiler.internal.graph.GoogDepsWriter.getDirectDependencies(GoogDepsWriter.java:319) > [java] at > org.apache.flex.compiler.internal.graph.GoogDepsWriter.addDeps(GoogDepsWriter.java:149) > [java] at > org.apache.flex.compiler.internal.graph.GoogDepsWriter.addDeps(GoogDepsWriter.java:164) > [java] at > org.apache.flex.compiler.internal.graph.GoogDepsWriter.buildDB(GoogDepsWriter.java:103) > [java] at > org.apache.flex.compiler.internal.graph.GoogDepsWriter.generateDeps(GoogDepsWriter.java:73) > [java] at > org.apache.flex.compiler.internal.codegen.mxml.flexjs.MXMLFlexJSPublisher.publish(MXMLFlexJSPublisher.java:191) > [java] at > org.apache.flex.compiler.clients.MXMLJSC.compile(MXMLJSC.java:476) > [java] at > org.apache.flex.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:298) > [java] at > org.apache.flex.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:229) > [java] at > org.apache.flex.compiler.clients.MXMLJSC.main(MXMLJSC.java:190) > [java] java.io.FileNotFoundException: (The system cannot find the > file specified) > [java] at java.io.FileInputStream.open(Native Method) > [java] at java.io.FileInputStream.(FileInputStream.java:138) > [java] at java.io.FileInputStream.(FileInputStream.java:93) > [java] at > org.apache.flex.compiler.internal.graph.GoogDepsWriter.getDirectDependencies(GoogDepsWriter.java:319) > [java] at > org.apache.flex.compiler.internal.graph.GoogDepsWriter.addDeps(GoogDepsWriter.java:149) > [java] at > org.apache.flex.compiler.internal.graph.GoogDepsWriter.addDeps(GoogDepsWriter.java:164) > [java] at > org.apache.flex.compiler.internal.graph.GoogDepsWriter.buildDB(GoogDepsWriter.java:103) > [java] at > org.apache.flex.compiler.internal.graph.GoogDepsWriter.generateDeps(GoogDepsWriter.java:73) > [java] at > org.apache.flex.compiler.internal.codegen.mxml.flexjs.MXMLFlexJSPublisher.publish(MXMLFlexJSPublisher.java:191) > [java] at > org.apache.flex.compiler.clients.MXMLJSC.compile(MXMLJSC.java:476) > [java] at > org.apache.flex.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:298) > [java] at > org.apache.flex.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:229) > [java] at > org.apache.flex.compiler.clients.MXMLJSC.main(MXMLJSC.java:190) > [java] java.io.FileNotFoundException: (The system cannot find the > file specified) > [java] at java.io.FileInputStream.open(Native Method) > [java] at java.io.FileInputStream.(Fil
[FlexJS] Examples not compiling
I am back in FlexJS after a while and I notice that the examples dont compile anymore. What am I missing? Here is the stack trace from the ChartExample compilation via build.xml Buildfile: C:\p\flexroot\git\flex-asjs\examples\ChartExample\build.xml clean: [delete] Deleting directory C:\p\flexroot\git\flex-asjs\examples\ChartExample\bin [delete] Deleting directory C:\p\flexroot\git\flex-asjs\examples\ChartExample\bin-debug build_example.compile: [echo] Compiling ChartExample.swf [echo] FLEX_HOME: C:\p\flexroot\git\flex-asjs [mxmlc] Loading configuration: C:\p\flexroot\git\flex-asjs\frameworks\flex-config.xml [mxmlc] [mxmlc] 85000 bytes written to C:\p\flexroot\git\flex-asjs\examples\ChartExample\bin-debug\ChartExample.swf in 1.966 seconds [copy] Copying 1 file to C:\p\flexroot\git\flex-asjs\examples\ChartExample\bin-debug [copy] Copied 1 empty directory to 1 empty directory under C:\p\flexroot\git\flex-asjs\examples\ChartExample\bin-debug\history [copy] Copying 2 files to C:\p\flexroot\git\flex-asjs\examples\ChartExample\bin-debug build_example.compilejs: [echo] Compiling ChartExample.js [echo] FLEX_HOME: C:\p\flexroot\git\flex-asjs [echo] FALCONJX_HOME: C:\p\flexroot\git\flex-falcon\compiler.jx [echo] GOOG_HOME: C:\p\flexroot\FlexJS\js\lib\google\closure-library [java] Compiling file: C:\p\flexroot\git\flex-asjs\examples\ChartExample\bin\js-debug\ChartExample.js [java] Compiling file: C:\p\flexroot\git\flex-asjs\examples\ChartExample\bin\js-debug\models\ProductsModel.js [java] Compiling file: C:\p\flexroot\git\flex-asjs\examples\ChartExample\bin\js-debug\MyInitialView.js [java] Compiling file: C:\p\flexroot\git\flex-asjs\examples\ChartExample\bin\js-debug\products\Product.js [java] java.io.FileNotFoundException: [java] at java.io.FileInputStream.open(Native Method) [java] at java.io.FileInputStream.(FileInputStream.java:138) [java] at java.io.FileInputStream.(FileInputStream.java:93) [java] at org.apache.flex.compiler.internal.graph.GoogDepsWriter.getDirectDependencies(GoogDepsWriter.java:319) [java] at org.apache.flex.compiler.internal.graph.GoogDepsWriter.addDeps(GoogDepsWriter.java:149) [java] at org.apache.flex.compiler.internal.graph.GoogDepsWriter.addDeps(GoogDepsWriter.java:164) [java] at org.apache.flex.compiler.internal.graph.GoogDepsWriter.buildDB(GoogDepsWriter.java:103) [java] at org.apache.flex.compiler.internal.graph.GoogDepsWriter.generateDeps(GoogDepsWriter.java:73) [java] at org.apache.flex.compiler.internal.codegen.mxml.flexjs.MXMLFlexJSPublisher.publish(MXMLFlexJSPublisher.java:191) [java] at org.apache.flex.compiler.clients.MXMLJSC.compile(MXMLJSC.java:476) [java] at org.apache.flex.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:298) [java] at org.apache.flex.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:229) [java] at org.apache.flex.compiler.clients.MXMLJSC.main(MXMLJSC.java:190) [java] java.io.FileNotFoundException: (The system cannot find the file specified) [java] at java.io.FileInputStream.open(Native Method) [java] at java.io.FileInputStream.(FileInputStream.java:138) [java] at java.io.FileInputStream.(FileInputStream.java:93) [java] at org.apache.flex.compiler.internal.graph.GoogDepsWriter.getDirectDependencies(GoogDepsWriter.java:319) [java] at org.apache.flex.compiler.internal.graph.GoogDepsWriter.addDeps(GoogDepsWriter.java:149) [java] at org.apache.flex.compiler.internal.graph.GoogDepsWriter.addDeps(GoogDepsWriter.java:164) [java] at org.apache.flex.compiler.internal.graph.GoogDepsWriter.buildDB(GoogDepsWriter.java:103) [java] at org.apache.flex.compiler.internal.graph.GoogDepsWriter.generateDeps(GoogDepsWriter.java:73) [java] at org.apache.flex.compiler.internal.codegen.mxml.flexjs.MXMLFlexJSPublisher.publish(MXMLFlexJSPublisher.java:191) [java] at org.apache.flex.compiler.clients.MXMLJSC.compile(MXMLJSC.java:476) [java] at org.apache.flex.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:298) [java] at org.apache.flex.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:229) [java] at org.apache.flex.compiler.clients.MXMLJSC.main(MXMLJSC.java:190) [java] java.io.FileNotFoundException: (The system cannot find the file specified) [java] at java.io.FileInputStream.open(Native Method) [java] at java.io.FileInputStream.(FileInputStream.java:138) [java] at java.io.FileInputStream.(FileInputStream.java:93) [java] at org.apache.flex.compiler.internal.graph.GoogDepsWriter.getDirectDependencies(GoogDepsWriter.java:319) [java] at org.apache.flex.compiler.internal.graph.GoogDepsWriter.addDeps(GoogDepsWriter.java:149) [java] at org.apache.flex.compiler.internal.graph.GoogDepsWriter.addDeps(GoogDepsWriter.java:164) [java] at org.apache.flex.compiler.internal.graph.GoogDepsWriter.buildDB(GoogDepsWriter.java:103) [j