My mistake, I can see it. Thanks, Carlos and Hiedra. From: Maria Jose Esteve<mailto:mjest...@iest.com> Sent: Wednesday, August 19, 2020 1:47 PM To: dev@royale.apache.org<mailto:dev@royale.apache.org> Subject: RE: Example integration Royale - JS Apache ECharts [Royale Echarts (was Re: Charts)]
Hello good day!!!! Yishay, develop branch, here I show you: https://github.com/mjesteve/Royale-ECharts/tree/develop Can't you see the other branches? Maybe I need to give permissions or something like that ... Hiedra. -----Mensaje original----- De: Yishay Weiss <yishayj...@hotmail.com> Enviado el: miércoles, 19 de agosto de 2020 9:55 Para: dev@royale.apache.org Asunto: RE: Example integration Royale - JS Apache ECharts [Royale Echarts (was Re: Charts)] I'm talking about Hiedra's repo [1]. There's only one branch there. [1] https://github.com/mjesteve/Royale-ECharts From: Carlos Rovira<mailto:carlosrov...@apache.org> Sent: Wednesday, August 19, 2020 10:20 AM To: Apache Royale Development<mailto:dev@royale.apache.org> Subject: Re: Example integration Royale - JS Apache ECharts [Royale Echarts (was Re: Charts)] Hi Yishay, maybe you need to switch to "develop" branch? El mié., 19 ago. 2020 a las 9:04, Yishay Weiss (<yishayj...@hotmail.com>) escribió: > I tried looking at the repo [2], but there are no .as files there. Are > you sure you pushed everything? > > From: Maria Jose Esteve<mailto:mjest...@iest.com> > Sent: Tuesday, August 18, 2020 11:19 PM > To: dev@royale.apache.org<mailto:dev@royale.apache.org> > Subject: Example integration Royale - JS Apache ECharts [Royale > Echarts (was Re: Charts)] > > Hello, > I keep moving forward with the JS Apache ECharts library [1] > integration sample project. The project repo is available at [2]. > I have separated the project into 2 sub-projects: royale-echarts > (library) and royale-echarts-example (implementation example) > > Royale-echarts exposes the echarts class (integration with @externs) > and "intended" to include the Royale EChartsComponent as well, but I > can't build. > I have no problems when I build only "echarts" but when I try to > build, including EChartsComponent, either in ECHARTSClasses.as or in > echarts-manifest.xml it returns an error. > If I include the reference in ECHARTSClasses.as: > > internal class ECHARTSClasses > { > COMPILE::JS > { > import echarts; echarts; > import EChartsComponent; EChartsComponent; > } > } > > Loading configuration: > D:\Desarrollo_Royale\Proyectos\WPNetSuitePlus\Royale-echarts\royale-ec > harts\target\compile-extern-config.xml > > D:\Desarrollo_Royale\Proyectos\WPNetSuitePlus\Royale-echarts\royale-echarts\src\main\royale\EChartsComponent.as(3): > col: 9 Warning: Definition org.apache.royale.html.Container could not > be found. > > import org.apache.royale.html.Container; > > I have modified the component to extend from UIBase and the error is > the same. > > If I include it in echarts-manifest.xml: > > <componentPackage> > > <component id="EChartsComponent" class="EChartsComponent"/> > > </componentPackage> > > > Loading configuration: > D:\Desarrollo_Royale\Proyectos\WPNetSuitePlus\Royale-echarts\royale-ec > harts\target\compile-swf-config.xml > > Error: Could not find source for class EChartsComponent in namespace > library://ns.apache.org/royale/echarts. > Could not find source for class EChartsComponent in namespace > library:// ns.apache.org/royale/echarts. > > I've looked at samples from the SDK but I get lost with all this ... > any ideas? > To work, I have moved the EChartsComponent component to > royale-echarts-example (it works fine) and I have created > EChartsContainer to add it as a tag in mxml (it works fine too) > > If anyone has time ... as always any help is appreciated. > Thx. > Hiedra. > > [1] https://echarts.apache.org/en/index.html > [2] https://github.com/mjesteve/Royale-ECharts > > -- Carlos Rovira http://about.me/carlosrovira