Sorry, sorry, sorry, I got confused, I compiled the "old" SampleLib project without my changes. I have tested it again and although the compilation of the SDK works fine, the project still has the same errors.
Hiedra. -----Mensaje original----- De: Maria Jose Esteve <mjest...@iest.com> Enviado el: domingo, 28 de febrero de 2021 17:58 Para: dev@royale.apache.org Asunto: RE: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned Hello, Chris, I have compiled the SDK from your branches "ASF_Git _-_ royale-asjs / feature / destirbution-allignment" (asjs, compiler, typedefs) and I HAVE PERFECTLY BUILT SimpleLib. Now I'll test the build from develop, with Carlos's changes [Commit: 524dfd33f695ba2fef8dcd3380b40b17b0b77bef [524dfd3]] (which don't have your changes included) I hope that much thread does not confuse us ... Now I tell you. Hiedra -----Mensaje original----- De: Christofer Dutz <christofer.d...@c-ware.de> Enviado el: domingo, 28 de febrero de 2021 15:27 Para: dev@royale.apache.org Asunto: Re: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned You can just checkout the branch and give it a try Chris Holen Sie sich Outlook für Android<https://aka.ms/ghei36> ________________________________ From: Maria Jose Esteve <mjest...@iest.com> Sent: Sunday, February 28, 2021 2:33:55 PM To: dev@royale.apache.org <dev@royale.apache.org> Subject: RE: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned Hi Chris, do you want me to try some compilation or could I help you with something? Hiedra -----Mensaje original----- De: Christofer Dutz <christofer.d...@c-ware.de> Enviado el: domingo, 28 de febrero de 2021 14:09 Para: dev@royale.apache.org Asunto: AW: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned So I'm currently comparing the Maven and the Ant distributions and looking for differences. I do have some questions: - the "framework" directory contains a log of tupples: xyz-config-template.xml and xyz-config.xml: Where does the xyz-config.xml get generated from the template in the ANT build? (I assume it generates them from the templates as part of the build)... could we possibly omit the "templates"? It seems as if they are only needed to generate the configs for a given set of configured properties. If that's the case, we don't need them in the distribution. - I noticed the externs seem to have completely different names (in js/libs) (royale-typedefs-js.swc in Maven and js.swc in Ant) ... unfortunately the case seems to be sort of random: js for the js extern, but GCL for the gcl one) - I noticed in the maven version the tag is called "swf-external-library-path" and in the Ant version it's "external-library-path". Same with swf-libary-path, which is called "library-path" in the Ant version. - The Ant version seems to be missing a number of manifests which the Maven version has: - manifests/svg-manifest-graphics.xml - manifests/html-manifest.xml - manifests/mdl-manifest.xml - manifests/express-manifest.xml - manifests/fa-manifest.xml - manifests/jewel-manifest.xml - manifests/crux-manifest.xml - manifests/icons-manifest.xml - The Maven version was missing an entry in "theme" which points to <filename>themes/Basic/src/basic.css</filename> in the Ant version - In the most xyz-config.xml files the library path references the JS version instead of the SWF version of Languages lib. - The root element of the flex-config.xml was named "roayale-config" in the Maven distribution and "flex-config" in the Ant distribution and it contained a reference to the mxml-2009-manifest.xml. Also did the Ant version contain a lot more implicit imports as well as a fxg-base-class element - The Maven version of the royale-config.xml adds a path entry to the library-path and js-library-path while the Ant version adds each file manually. So far the changes I found ... I updated the distribution in the "features/distribution-allignment" branch. But I guess I'll keep working on this and try to get the maven distribution to have the same directory structure as the Ant one (but excluding all the unnecessary stuff). Chris -----Ursprüngliche Nachricht----- Von: Christofer Dutz <christofer.d...@c-ware.de> Gesendet: Sonntag, 28. Februar 2021 12:28 An: dev@royale.apache.org Betreff: AW: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned Ok ... regarding the Array problem ... I have found the "Array.as" file in "compiler-externc" and "royale-typedefs/js" ... both are identical ... I'm not quite sure which one is used (I'm a bit rusty regarding how all of these externs and stuff work together) I did check and the royale-config.xml lists the mxml-2009-manifest.xml (in both the non-swf as well as the with-swf version) so not quite sure why adding that to the configuration changes anything. Chris -----Ursprüngliche Nachricht----- Von: Christofer Dutz <christofer.d...@c-ware.de> Gesendet: Sonntag, 28. Februar 2021 12:08 An: dev@royale.apache.org Betreff: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned Hi all, so thankfully Carlos re-sent me this link: flex-sdk/README_integration_with_Adobe_FlashBuilder.txt at master * apache/flex-sdk (github.com)<https://github.com/apache/flex-sdk/blob/master/ide/flashbuilder/README_integration_with_Adobe_FlashBuilder.txt> So it seems as if we don't have a ide/flashbuilder/flashbuilder-config.xml with a "express-install-swf" element in it (we don't have the entire file) ... do we need this? Besides that, it seems all is setup as expected. Will continue looking into other things that could be wrong. Chris