Make sure you have for the JS config: <js-external-library-path append=“true”>
The append wil make sure you keep the default values. Here’s where I updated some of the libs I’m using: https://github.com/unhurdle/cep-royale/commit/35d45906035e3d1997d70a67893cc096307a3842 <https://github.com/unhurdle/cep-royale/commit/35d45906035e3d1997d70a67893cc096307a3842> https://github.com/unhurdle/spectrum-royale/commit/2f6e1b5ed25cc57585d6879fbcf2ccae79d57d28 <https://github.com/unhurdle/spectrum-royale/commit/2f6e1b5ed25cc57585d6879fbcf2ccae79d57d28> > On Jul 22, 2019, at 6:20 PM, Carlos Rovira <[email protected]> wrote: > > Hi Josh, > > playerglobal.swc is ok, but can you point me to some place where "js.swc" > is used? > > contents of compile-swf-config.xml are the following: > > <!-- > > Copyright (C) 2009, Codeoscopic S.A. - All Rights Reserved > Unauthorized copying of this file, via any medium is strictly prohibited > Proprietary and confidential > > Copyright (C) 2009, Codeoscopic S.A. - Todos Los Derechos Reservados > La copia no autorizada de este archivo, a través de cualquier medio está > estrictamente prohibida > Privado y confidencial > > --> > <royale-config> > > <compiler> > <accessible>false</accessible> > <!-- build both SWF and JS. --> > <targets> > <target>SWF</target> > <target>JSRoyale</target> > </targets> > <strict-xml>true</strict-xml> > > <external-library-path> > <path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</ > path-element> > <path-element>../../../../../libs/Binding.swc</path-element> > <path-element>../../../../../libs/Core.swc</path-element> > <path-element>../../../../../libs/Graphics.swc</path-element> > <path-element>../../../../../libs/Collections.swc</path-element> > <path-element>../../../../../libs/Basic.swc</path-element> > </external-library-path> > <allow-subclass-overrides>true</allow-subclass-overrides> > <mxml> > <children-as-data>true</children-as-data> > </mxml> > <binding-value-change-event> > org.apache.royale.events.ValueChangeEvent</binding-value-change-event> > <binding-value-change-event-kind> > org.apache.royale.events.ValueChangeEvent</binding-value-change-event-kind> > <binding-value-change-event-type>valueChange</ > binding-value-change-event-type> > > <define> > <name>COMPILE::SWF</name> > <value>true</value> > </define> > <define> > <name>COMPILE::JS</name> > <value>false</value> > </define> > > <keep-as3-metadata> > <name>Bindable</name> > <name>Managed</name> > <name>ChangeEvent</name> > <name>NonCommittingChangeEvent</name> > <name>Transient</name> > </keep-as3-metadata> > > <locale/> > <library-path/> > > <namespaces> > <namespace> > <uri>library://ns.apache.org/royale/basic</uri> > <manifest>../resources/icons-manifest.xml</manifest> > </namespace> > </namespaces> > <source-path> > <path-element>../royale</path-element> > </source-path> > <warn-no-constructor>false</warn-no-constructor> > </compiler> > <include-classes> > <class>IconsClasses</class> > </include-classes> > <include-namespaces> > <uri>library://ns.apache.org/royale/basic</uri> > </include-namespaces> > <target-player>${playerglobal.version}</target-player> > > </royale-config> > > > > I don't know too much about this file, have we docs about it? > the compiler generates the file itself? > it uses the global config.xml as a base? > > thanks Josh > > > El lun., 22 jul. 2019 a las 17:01, Josh Tynjala (<[email protected]>) > escribió: > >> Error: Missing builtin type Object >> >> This error usually means that either playerglobal.swc or js.swc is missing. >> >> It would be difficult to suggest anything more without seeing the contents >> of compile-swf-config.xml. >> >> -- >> Josh Tynjala >> Bowler Hat LLC <https://bowlerhat.dev> >> >> >> On Mon, Jul 22, 2019 at 7:50 AM Carlos Rovira <[email protected]> >> wrote: >> >>> Hi, >>> >>> after latest changes with "library-path" I'm trying to update my project >>> with no luck. >>> >>> Hope someone could let me know some guide since all what I tried didn't >>> work and always get this: >>> >>> [*INFO*] *--- *royale-maven-plugin:0.9.6-SNAPSHOT:compile-as >>> *(default-compile-as)* @ royalejewel* ---* >>> >>> [*INFO*] Executing COMPC in tool group Royale with args: >>> >>> >> [-load-config=/Users/carlosrovira/Dev/Codeoscopic/Source/sgc/royale/royalelibs/royalejewel/target/compile-swf-config.xml, >>> -js-default-initializers=false, -source-map=true, >>> -compiler.targets=SWF,JSRoyale, -compiler.strict-xml=true] >>> >>> args: >>> >>> >>> >> -load-config=/Users/carlosrovira/Dev/Codeoscopic/Source/sgc/royale/royalelibs/royalejewel/target/compile-swf-config.xml >>> >>> -js-default-initializers=false >>> >>> -source-map=true >>> >>> -compiler.targets=SWF,JSRoyale >>> >>> -compiler.strict-xml=true >>> >>> target:SWF >>> >>> target:JSRoyale >>> >>> COMPC >>> >>> Loading configuration: >>> >>> >> /Users/carlosrovira/Dev/Codeoscopic/Source/sgc/royale/royalelibs/royalejewel/target/compile-swf-config.xml >>> >>> >>> Error: Missing builtin type Object >>> >>> >>> >>> Missing builtin type Object >>> >>> >>> >>> 0.553372072 seconds >>> >>> this is failing when maven tries to compile the first library project >>> >>> Thanks for any light on this >>> >>> -- >>> Carlos Rovira >>> http://about.me/carlosrovira >>> >> > > > -- > Carlos Rovira > http://about.me/carlosrovira
