Re: Errors building stand alone actionscript library
Thanks for the confirmation. Regards, On Fri, Sep 3, 2021 at 5:01 PM Alex Harui wrote: > IMO, you have done the right thing. There are different kinds of SWCs in > Royale. You are not building an extern SWC so I think turning it off is > the right thing to do. > > > > -Alex > > > > *From: *Roman Isitua > *Reply-To: *"users@royale.apache.org" > *Date: *Thursday, September 2, 2021 at 2:34 PM > *To: *"users@royale.apache.org" > *Subject: *Re: Errors building stand alone actionscript library > > > > > > The actionscript library has compiled successfully. > > > > However I had to change the following setting in the pom.xml > > from this false to > true > > > > I have no idea the implication of doing this change. > > > > What does skipExtern do ? and have I done the right thing ? will I pay a > price later ? > > > > > > Regards, > > > > On Thu, Sep 2, 2021 at 9:58 PM Roman Isitua wrote: > > Okay Piotr. > > > > Find attached to this mail the pom for the actionscript library project. > > > > > > > > On Thu, Sep 2, 2021 at 9:51 PM Piotr Zarzycki > wrote: > > Roman, > > > > It may be helpful if you could post somehow here pom file. Maybe do not > post whole code in the email, cause it hard to analyze, but rather upload > it somewhere. If it doesn't contains any sensitive information. > > > > Thanks, > > Piotr > > > > czw., 2 wrz 2021 o 22:37 Roman Isitua napisał(a): > > Hi Everyone, > > > > Here is the latest update on this issue. > > > > I have downloaded and built version 0.9.8 from source. I created an > actionscript library using the simple library archetype. > > > > I am getting the same error as before i.e. when using 0.9.7 > > > > > > > > [INFO] Executing COMPC in tool group Royale with args: > [-load-config=C:\Users\nyemi\git\spacio_as3\spacio_as3\target\compile-extern-config.xml, > -compiler.targets=SWF] > args: > > -load-config=C:\Users\nyemi\git\spacio_as3\spacio_as3\target\compile-extern-config.xml > -compiler.targets=SWF > target:SWF > COMPC > Loading configuration: > C:\Users\nyemi\git\spacio_as3\spacio_as3\target\compile-extern-config.xml > > C:\Users\nyemi\git\spacio_as3\spacio_as3\src\main\royale\com\spacio\mdx\generic\dto\ResponseDTO.as(3): > col: 12 Warning: Definition mx.collections.ArrayCollection could not be > found. > > import mx.collections.ArrayCollection; >^ > > C:\Users\nyemi\git\spacio_as3\spacio_as3\src\main\royale\com\spacio\mdx\generic\dto\ResponseDTO.as(19): > col: 31 Error: Type was not found or was not a compile-time constant: > ArrayCollection. > > private var _errors:ArrayCollection; > ^ > > C:\Users\nyemi\git\spacio_as3\spacio_as3\src\main\royale\com\spacio\mdx\generic\dto\ResponseDTO.as(69): > col: 41 Error: Type was not found or was not a compile-time constant: > ArrayCollection. > > public function set errors(errors:ArrayCollection) : void > ^ > > C:\Users\nyemi\git\spacio_as3\spacio_as3\src\main\royale\com\spacio\mdx\generic\dto\ResponseDTO.as(74): > col: 37 Error: Type was not found or was not a compile-time constant: > ArrayCollection. > > > > > > %%% > > > > I noticed that it is failing at compile-extern-config.xml while > compile-swf-config.xml and compile-js-config.xml compile successfully. > > > > Upon looking at the generated config files. I can see that > compile-swf-config.xml and compile-js-config.xml > > > > > > C:\Users\nyemi\.m2\repository\org\apache\royale\framework\MXRoyale\0.9.8\MXRoyale-0.9.8-js.swc > > > C:\Users\nyemi\.m2\repository\org\apache\royale\framework\Binding\0.9.8\Binding-0.9.8-js.swc > > > C:\Users\nyemi\.m2\repository\org\apache\royale\framework\Basic\0.9.8\Basic-0.9.8-js.swc > > > C:\Users\nyemi\.m2\repository\org\apache\royale\framework\Graphics\0.9.8\Graphics-0.9.8-js.swc > > > C:\Users\nyemi\.m2\repository\org\apache\royale\framework\Collections\0.9.8\Collections-0.9.8-js.swc > > > C:\Users\nyemi\.m2\repository\org\apache\royale\framework\DragDrop\0.9.8\DragDrop-0.9.8-js.swc > > > C:\Users\nyemi\.m2\repository\org\apache\royale\framework\Express\0.9.8\Express-0.9.8-js.swc > > > C:\Users\nyemi\.m2\repository\org\apache\royale\framework\Effects\0.9.8\Effects-0.9.8-js.swc > > > C:\Users\nyemi\.m2\repository\org\apache\royale\framework\Formatters\0.9.8\Formatters-0.9
Re: Errors building stand alone actionscript library
IMO, you have done the right thing. There are different kinds of SWCs in Royale. You are not building an extern SWC so I think turning it off is the right thing to do. -Alex From: Roman Isitua Reply-To: "users@royale.apache.org" Date: Thursday, September 2, 2021 at 2:34 PM To: "users@royale.apache.org" Subject: Re: Errors building stand alone actionscript library The actionscript library has compiled successfully. However I had to change the following setting in the pom.xml from this false to true I have no idea the implication of doing this change. What does skipExtern do ? and have I done the right thing ? will I pay a price later ? Regards, On Thu, Sep 2, 2021 at 9:58 PM Roman Isitua mailto:romanisi...@gmail.com>> wrote: Okay Piotr. Find attached to this mail the pom for the actionscript library project. On Thu, Sep 2, 2021 at 9:51 PM Piotr Zarzycki mailto:piotrzarzyck...@gmail.com>> wrote: Roman, It may be helpful if you could post somehow here pom file. Maybe do not post whole code in the email, cause it hard to analyze, but rather upload it somewhere. If it doesn't contains any sensitive information. Thanks, Piotr czw., 2 wrz 2021 o 22:37 Roman Isitua mailto:romanisi...@gmail.com>> napisał(a): Hi Everyone, Here is the latest update on this issue. I have downloaded and built version 0.9.8 from source. I created an actionscript library using the simple library archetype. I am getting the same error as before i.e. when using 0.9.7 [INFO] Executing COMPC in tool group Royale with args: [-load-config=C:\Users\nyemi\git\spacio_as3\spacio_as3\target\compile-extern-config.xml, -compiler.targets=SWF] args: -load-config=C:\Users\nyemi\git\spacio_as3\spacio_as3\target\compile-extern-config.xml -compiler.targets=SWF target:SWF COMPC Loading configuration: C:\Users\nyemi\git\spacio_as3\spacio_as3\target\compile-extern-config.xml C:\Users\nyemi\git\spacio_as3\spacio_as3\src\main\royale\com\spacio\mdx\generic\dto\ResponseDTO.as(3): col: 12 Warning: Definition mx.collections.ArrayCollection could not be found. import mx.collections.ArrayCollection; ^ C:\Users\nyemi\git\spacio_as3\spacio_as3\src\main\royale\com\spacio\mdx\generic\dto\ResponseDTO.as(19): col: 31 Error: Type was not found or was not a compile-time constant: ArrayCollection. private var _errors:ArrayCollection; ^ C:\Users\nyemi\git\spacio_as3\spacio_as3\src\main\royale\com\spacio\mdx\generic\dto\ResponseDTO.as(69): col: 41 Error: Type was not found or was not a compile-time constant: ArrayCollection. public function set errors(errors:ArrayCollection) : void ^ C:\Users\nyemi\git\spacio_as3\spacio_as3\src\main\royale\com\spacio\mdx\generic\dto\ResponseDTO.as(74): col: 37 Error: Type was not found or was not a compile-time constant: ArrayCollection. %%% I noticed that it is failing at compile-extern-config.xml while compile-swf-config.xml and compile-js-config.xml compile successfully. Upon looking at the generated config files. I can see that compile-swf-config.xml and compile-js-config.xml C:\Users\nyemi\.m2\repository\org\apache\royale\framework\MXRoyale\0.9.8\MXRoyale-0.9.8-js.swc C:\Users\nyemi\.m2\repository\org\apache\royale\framework\Binding\0.9.8\Binding-0.9.8-js.swc C:\Users\nyemi\.m2\repository\org\apache\royale\framework\Basic\0.9.8\Basic-0.9.8-js.swc C:\Users\nyemi\.m2\repository\org\apache\royale\framework\Graphics\0.9.8\Graphics-0.9.8-js.swc C:\Users\nyemi\.m2\repository\org\apache\royale\framework\Collections\0.9.8\Collections-0.9.8-js.swc C:\Users\nyemi\.m2\repository\org\apache\royale\framework\DragDrop\0.9.8\DragDrop-0.9.8-js.swc C:\Users\nyemi\.m2\repository\org\apache\royale\framework\Express\0.9.8\Express-0.9.8-js.swc C:\Users\nyemi\.m2\repository\org\apache\royale\framework\Effects\0.9.8\Effects-0.9.8-js.swc C:\Users\nyemi\.m2\repository\org\apache\royale\framework\Formatters\0.9.8\Formatters-0.9.8-js.swc C:\Users\nyemi\.m2\repository\org\apache\royale\framework\Charts\0.9.8\Charts-0.9.8-js.swc C:\Users\nyemi\.m2\repository\org\apache\royale\framework\Network\0.9.8\Network-0.9.8-js.swc C:\Users\nyemi\.m2\repository\org\apache\royale\framework\XML\0.9.8\XML-0.9.8-js.swc C:\Users\nyemi\.m2\repository\org\apache\royale\framework\Core\0.9.7\Core-0.9.7-js.swc C:\Users\nyemi\.m2\repository\org\apache\royale\framework\Language\0.9.7\Language-0.9.7-js.swc C:\Users\nyemi\.m2\repository\org\apache\royale\framework\Reflection\0.
Re: Errors building stand alone actionscript library
You’re missing Collections (and likely others) from your pom. > On Sep 2, 2021, at 11:58 PM, Roman Isitua wrote: > >
Re: Errors building stand alone actionscript library
>>> C:\Users\nyemi\.m2\repository\org\apache\royale\framework\Network\0.9.8\Network-0.9.8-js.swc >>> >>> >>> C:\Users\nyemi\.m2\repository\org\apache\royale\framework\XML\0.9.8\XML-0.9.8-js.swc >>> >>> >>> C:\Users\nyemi\.m2\repository\org\apache\royale\framework\Core\0.9.7\Core-0.9.7-js.swc >>> >>> >>> C:\Users\nyemi\.m2\repository\org\apache\royale\framework\Language\0.9.7\Language-0.9.7-js.swc >>> >>> >>> C:\Users\nyemi\.m2\repository\org\apache\royale\framework\Reflection\0.9.7\Reflection-0.9.7-js.swc >>> >>> >>> while compile-extern-config.xml >>> >>> >>> >>> >>> C:\Users\nyemi\.m2\repository\org\apache\royale\typedefs\royale-typedefs-gcl\0.9.8\royale-typedefs-gcl-0.9.8-typedefs.swc >>> >>> >>> >>> >>> >>> C:\Users\nyemi\.m2\repository\org\apache\royale\typedefs\royale-typedefs-js\0.9.8\royale-typedefs-js-0.9.8-typedefs.swc >>> >>> >>> the royale libraries are not referenced. >>> >>> Could this be the issue ? >>> >>> This config xmls are regenerated each time "mvn clean install" is >>> executed so as result, I cannot modify compile-extern-config.xml >>> >>> Any Ideas ? >>> >>> >>> >>> On Thu, Sep 2, 2021 at 9:15 PM Yishay Weiss >>> wrote: >>> >>>> I suspect you have not added the MX dependencies. In Ant you would just >>>> set the compiler’s configuration argument to ‘flex’, but I’m not sure how >>>> that’s done in Maven . It’s a bit trickier than just adding a dependency as >>>> I recall. Let’s wait and see if someone remembers this and responds, >>>> otherwise I’ll try to find out for you. >>>> >>>> >>>> >>>> *From: *Roman Isitua >>>> *Sent: *Thursday, September 2, 2021 7:20 PM >>>> *To: *users@royale.apache.org >>>> *Subject: *Re: Errors building stand alone actionscript library >>>> >>>> >>>> >>>> I have seen the announcement for the release of version 0.9.8. I will >>>> proceed to download it. >>>> >>>> >>>> >>>> could it be that this issue is resolved in 0.9.8 ? >>>> >>>> >>>> >>>> >>>> >>>> Thanks, >>>> >>>> >>>> >>>> >>>> >>>> On Thu, Sep 2, 2021 at 5:14 PM Piotr Zarzycki < >>>> piotrzarzyck...@gmail.com> wrote: >>>> >>>> Could you please try 0.9.8 or 0.9.9-SNAPSHOT ? >>>> >>>> >>>> >>>> On Thu, 2 Sep 2021 at 18:06, Roman Isitua >>>> wrote: >>>> >>>> Hi Everyone, >>>> >>>> >>>> I created a stand alone actionscript library to implement some custom >>>> data types (DTO) to be used in different royale projects. >>>> >>>> I noticed that compilation fails at the following point. >>>> >>>> >>>> [INFO] --- royale-maven-plugin:0.9.7:compile-extern >>>> (default-compile-extern) @ client_service_lib --- >>>> [INFO] Executing COMPC in tool group Royale with args: >>>> [-load-config=C:\Users\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\target\compile-extern-config.xml, >>>> -compiler.targets=SWF] >>>> args: >>>> >>>> -load-config=C:\Users\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\target\compile-extern-config.xml >>>> -compiler.targets=SWF >>>> target:SWF >>>> COMPC >>>> Loading configuration: >>>> C:\Users\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\target\compile-extern-config.xml >>>> >>>> C:\Users\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\src\main\royale\com\spacio\mdx\generic\dto\ResponseDTO.as(3): >>>> col: 12 Warning: Definition mx.collections.ArrayCollection could not be >>>> found. >>>> >>>> import mx.collections.ArrayCollection; >>>>^ >>>> >>>> C:\Users\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\src\main\royale\com\spacio\mdx\generic\dto\ResponseDTO.as(19): >>>> >>>> col: 31 Error: Type was not found or was not a compile-time constant: >>>> ArrayCollection. >>>> >>>> private var _error
Re: Errors building stand alone actionscript library
edefs-gcl-0.9.8-typedefs.swc >> >> >> >> >> >> C:\Users\nyemi\.m2\repository\org\apache\royale\typedefs\royale-typedefs-js\0.9.8\royale-typedefs-js-0.9.8-typedefs.swc >> >> >> the royale libraries are not referenced. >> >> Could this be the issue ? >> >> This config xmls are regenerated each time "mvn clean install" is >> executed so as result, I cannot modify compile-extern-config.xml >> >> Any Ideas ? >> >> >> >> On Thu, Sep 2, 2021 at 9:15 PM Yishay Weiss >> wrote: >> >>> I suspect you have not added the MX dependencies. In Ant you would just >>> set the compiler’s configuration argument to ‘flex’, but I’m not sure how >>> that’s done in Maven . It’s a bit trickier than just adding a dependency as >>> I recall. Let’s wait and see if someone remembers this and responds, >>> otherwise I’ll try to find out for you. >>> >>> >>> >>> *From: *Roman Isitua >>> *Sent: *Thursday, September 2, 2021 7:20 PM >>> *To: *users@royale.apache.org >>> *Subject: *Re: Errors building stand alone actionscript library >>> >>> >>> >>> I have seen the announcement for the release of version 0.9.8. I will >>> proceed to download it. >>> >>> >>> >>> could it be that this issue is resolved in 0.9.8 ? >>> >>> >>> >>> >>> >>> Thanks, >>> >>> >>> >>> >>> >>> On Thu, Sep 2, 2021 at 5:14 PM Piotr Zarzycki >>> wrote: >>> >>> Could you please try 0.9.8 or 0.9.9-SNAPSHOT ? >>> >>> >>> >>> On Thu, 2 Sep 2021 at 18:06, Roman Isitua wrote: >>> >>> Hi Everyone, >>> >>> >>> I created a stand alone actionscript library to implement some custom >>> data types (DTO) to be used in different royale projects. >>> >>> I noticed that compilation fails at the following point. >>> >>> >>> [INFO] --- royale-maven-plugin:0.9.7:compile-extern >>> (default-compile-extern) @ client_service_lib --- >>> [INFO] Executing COMPC in tool group Royale with args: >>> [-load-config=C:\Users\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\target\compile-extern-config.xml, >>> -compiler.targets=SWF] >>> args: >>> >>> -load-config=C:\Users\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\target\compile-extern-config.xml >>> -compiler.targets=SWF >>> target:SWF >>> COMPC >>> Loading configuration: >>> C:\Users\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\target\compile-extern-config.xml >>> >>> C:\Users\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\src\main\royale\com\spacio\mdx\generic\dto\ResponseDTO.as(3): >>> col: 12 Warning: Definition mx.collections.ArrayCollection could not be >>> found. >>> >>> import mx.collections.ArrayCollection; >>>^ >>> >>> C:\Users\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\src\main\royale\com\spacio\mdx\generic\dto\ResponseDTO.as(19): >>> >>> col: 31 Error: Type was not found or was not a compile-time constant: >>> ArrayCollection. >>> >>> private var _errors:ArrayCollection; >>> ^ >>> >>> C:\Users\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\src\main\royale\com\spacio\mdx\generic\dto\ResponseDTO.as(69): >>> >>> col: 41 Error: Type was not found or was not a compile-time constant: >>> ArrayCollection. >>> >>> public function set errors(errors:ArrayCollection) : void >>> ^ >>> >>> C:\Users\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\src\main\royale\com\spacio\mdx\generic\dto\ResponseDTO.as(74): >>> >>> col: 37 Error: Type was not found or was not a compile-time constant: >>> ArrayCollection. >>> >>>public function get errors():ArrayCollection >>> ^ >>> >>> C:\Users\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\src\main\royale\com\spacio\mdx\generic\dto\ShortType.as(5): >>> col: 12 Warning: Definition mx.collections.ArrayCollection could not be >>> found. >>> >>> import mx.collections.ArrayCollection; >>>^ >>> >>> C:\Users\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\sr
Re: Errors building stand alone actionscript library
ld just >> set the compiler’s configuration argument to ‘flex’, but I’m not sure how >> that’s done in Maven . It’s a bit trickier than just adding a dependency as >> I recall. Let’s wait and see if someone remembers this and responds, >> otherwise I’ll try to find out for you. >> >> >> >> *From: *Roman Isitua >> *Sent: *Thursday, September 2, 2021 7:20 PM >> *To: *users@royale.apache.org >> *Subject: *Re: Errors building stand alone actionscript library >> >> >> >> I have seen the announcement for the release of version 0.9.8. I will >> proceed to download it. >> >> >> >> could it be that this issue is resolved in 0.9.8 ? >> >> >> >> >> >> Thanks, >> >> >> >> >> >> On Thu, Sep 2, 2021 at 5:14 PM Piotr Zarzycki >> wrote: >> >> Could you please try 0.9.8 or 0.9.9-SNAPSHOT ? >> >> >> >> On Thu, 2 Sep 2021 at 18:06, Roman Isitua wrote: >> >> Hi Everyone, >> >> >> I created a stand alone actionscript library to implement some custom >> data types (DTO) to be used in different royale projects. >> >> I noticed that compilation fails at the following point. >> >> >> [INFO] --- royale-maven-plugin:0.9.7:compile-extern >> (default-compile-extern) @ client_service_lib --- >> [INFO] Executing COMPC in tool group Royale with args: >> [-load-config=C:\Users\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\target\compile-extern-config.xml, >> -compiler.targets=SWF] >> args: >> >> -load-config=C:\Users\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\target\compile-extern-config.xml >> -compiler.targets=SWF >> target:SWF >> COMPC >> Loading configuration: >> C:\Users\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\target\compile-extern-config.xml >> >> C:\Users\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\src\main\royale\com\spacio\mdx\generic\dto\ResponseDTO.as(3): >> col: 12 Warning: Definition mx.collections.ArrayCollection could not be >> found. >> >> import mx.collections.ArrayCollection; >>^ >> >> C:\Users\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\src\main\royale\com\spacio\mdx\generic\dto\ResponseDTO.as(19): >> >> col: 31 Error: Type was not found or was not a compile-time constant: >> ArrayCollection. >> >> private var _errors:ArrayCollection; >> ^ >> >> C:\Users\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\src\main\royale\com\spacio\mdx\generic\dto\ResponseDTO.as(69): >> >> col: 41 Error: Type was not found or was not a compile-time constant: >> ArrayCollection. >> >> public function set errors(errors:ArrayCollection) : void >> ^ >> >> C:\Users\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\src\main\royale\com\spacio\mdx\generic\dto\ResponseDTO.as(74): >> >> col: 37 Error: Type was not found or was not a compile-time constant: >> ArrayCollection. >> >>public function get errors():ArrayCollection >> ^ >> >> C:\Users\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\src\main\royale\com\spacio\mdx\generic\dto\ShortType.as(5): >> col: 12 Warning: Definition mx.collections.ArrayCollection could not be >> found. >> >> import mx.collections.ArrayCollection; >>^ >> >> C:\Users\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\src\main\royale\com\spacio\mdx\generic\dto\ShortType.as(14): >> col: 28 Error: Type was not found or was not a compile-time constant: >> ArrayCollection. >> >>private var _values:ArrayCollection; >>^ >> >> C:\Users\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\src\main\royale\com\spacio\mdx\generic\dto\ShortType.as(44): >> col: 41 Error: Type was not found or was not a compile-time constant: >> ArrayCollection. >> >> public function set values(values:ArrayCollection) : void >> ^ >> >> C:\Users\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\src\main\royale\com\spacio\mdx\generic\dto\ShortType.as(51): >> col: 37 Error: Type was not found or was not a compile-time constant: >> ArrayCollection. >> >>public function get values():ArrayCollection >> ^ >> >> C:\Users\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\src\main\royale\com\spacio\mdx\generic\dto\StringType.as(5): >> col: 12 Warning: Definition m
Re: Errors building stand alone actionscript library
Hi Everyone, Here is the latest update on this issue. I have downloaded and built version 0.9.8 from source. I created an actionscript library using the simple library archetype. I am getting the same error as before i.e. when using 0.9.7 [INFO] Executing COMPC in tool group Royale with args: [-load-config=C:\Users\nyemi\git\spacio_as3\spacio_as3\target\compile-extern-config.xml, -compiler.targets=SWF] args: -load-config=C:\Users\nyemi\git\spacio_as3\spacio_as3\target\compile-extern-config.xml -compiler.targets=SWF target:SWF COMPC Loading configuration: C:\Users\nyemi\git\spacio_as3\spacio_as3\target\compile-extern-config.xml C:\Users\nyemi\git\spacio_as3\spacio_as3\src\main\royale\com\spacio\mdx\generic\dto\ResponseDTO.as(3): col: 12 Warning: Definition mx.collections.ArrayCollection could not be found. import mx.collections.ArrayCollection; ^ C:\Users\nyemi\git\spacio_as3\spacio_as3\src\main\royale\com\spacio\mdx\generic\dto\ResponseDTO.as(19): col: 31 Error: Type was not found or was not a compile-time constant: ArrayCollection. private var _errors:ArrayCollection; ^ C:\Users\nyemi\git\spacio_as3\spacio_as3\src\main\royale\com\spacio\mdx\generic\dto\ResponseDTO.as(69): col: 41 Error: Type was not found or was not a compile-time constant: ArrayCollection. public function set errors(errors:ArrayCollection) : void ^ C:\Users\nyemi\git\spacio_as3\spacio_as3\src\main\royale\com\spacio\mdx\generic\dto\ResponseDTO.as(74): col: 37 Error: Type was not found or was not a compile-time constant: ArrayCollection. %%% I noticed that it is failing at compile-extern-config.xml while compile-swf-config.xml and compile-js-config.xml compile successfully. Upon looking at the generated config files. I can see that compile-swf-config.xml and compile-js-config.xml C:\Users\nyemi\.m2\repository\org\apache\royale\framework\MXRoyale\0.9.8\MXRoyale-0.9.8-js.swc C:\Users\nyemi\.m2\repository\org\apache\royale\framework\Binding\0.9.8\Binding-0.9.8-js.swc C:\Users\nyemi\.m2\repository\org\apache\royale\framework\Basic\0.9.8\Basic-0.9.8-js.swc C:\Users\nyemi\.m2\repository\org\apache\royale\framework\Graphics\0.9.8\Graphics-0.9.8-js.swc C:\Users\nyemi\.m2\repository\org\apache\royale\framework\Collections\0.9.8\Collections-0.9.8-js.swc C:\Users\nyemi\.m2\repository\org\apache\royale\framework\DragDrop\0.9.8\DragDrop-0.9.8-js.swc C:\Users\nyemi\.m2\repository\org\apache\royale\framework\Express\0.9.8\Express-0.9.8-js.swc C:\Users\nyemi\.m2\repository\org\apache\royale\framework\Effects\0.9.8\Effects-0.9.8-js.swc C:\Users\nyemi\.m2\repository\org\apache\royale\framework\Formatters\0.9.8\Formatters-0.9.8-js.swc C:\Users\nyemi\.m2\repository\org\apache\royale\framework\Charts\0.9.8\Charts-0.9.8-js.swc C:\Users\nyemi\.m2\repository\org\apache\royale\framework\Network\0.9.8\Network-0.9.8-js.swc C:\Users\nyemi\.m2\repository\org\apache\royale\framework\XML\0.9.8\XML-0.9.8-js.swc C:\Users\nyemi\.m2\repository\org\apache\royale\framework\Core\0.9.7\Core-0.9.7-js.swc C:\Users\nyemi\.m2\repository\org\apache\royale\framework\Language\0.9.7\Language-0.9.7-js.swc C:\Users\nyemi\.m2\repository\org\apache\royale\framework\Reflection\0.9.7\Reflection-0.9.7-js.swc while compile-extern-config.xml C:\Users\nyemi\.m2\repository\org\apache\royale\typedefs\royale-typedefs-gcl\0.9.8\royale-typedefs-gcl-0.9.8-typedefs.swc C:\Users\nyemi\.m2\repository\org\apache\royale\typedefs\royale-typedefs-js\0.9.8\royale-typedefs-js-0.9.8-typedefs.swc the royale libraries are not referenced. Could this be the issue ? This config xmls are regenerated each time "mvn clean install" is executed so as result, I cannot modify compile-extern-config.xml Any Ideas ? On Thu, Sep 2, 2021 at 9:15 PM Yishay Weiss wrote: > I suspect you have not added the MX dependencies. In Ant you would just > set the compiler’s configuration argument to ‘flex’, but I’m not sure how > that’s done in Maven . It’s a bit trickier than just adding a dependency as > I recall. Let’s wait and see if someone remembers this and responds, > otherwise I’ll try to find out for you. > > > > *From: *Roman Isitua > *Sent: *Thursday, September 2, 2021 7:20 PM > *To: *users@royale.apache.org > *Subject: *Re: Errors building stand alone actionscript library > > > > I have seen the announcement for the release of version 0.9.8. I will > proceed to download it. > > > > could it be that this issue is resolved in 0.9.8 ? > > > > > > Thanks, > > > > > > On Thu, Sep 2, 2021 at 5:14 PM Piotr Zarzycki > wrote: > > Could you please try 0.9.8 or 0.9.9-SNAPSHOT ? > > > > On Thu, 2 Sep 2021 at 18:06, Roman
Re: Errors building stand alone actionscript library
It does look like the dependencies are added, based on the earlier screenshot. But I think it makes sense to check with the latest release or snapshot as Piotr suggested. @yishay my guess is you are thinking about the -compiler.mxml.imports directive which is useful to configure in maven, and which iirc is auto-populated with a bunch of standard automatic imports via the 'flex' config setting when using ant. On Fri, Sep 3, 2021 at 8:15 AM Yishay Weiss wrote: > I suspect you have not added the MX dependencies. In Ant you would just > set the compiler’s configuration argument to ‘flex’, but I’m not sure how > that’s done in Maven . It’s a bit trickier than just adding a dependency as > I recall. Let’s wait and see if someone remembers this and responds, > otherwise I’ll try to find out for you. > > > > *From: *Roman Isitua > *Sent: *Thursday, September 2, 2021 7:20 PM > *To: *users@royale.apache.org > *Subject: *Re: Errors building stand alone actionscript library > > > > I have seen the announcement for the release of version 0.9.8. I will > proceed to download it. > > > > could it be that this issue is resolved in 0.9.8 ? > > > > > > Thanks, > > > > > > On Thu, Sep 2, 2021 at 5:14 PM Piotr Zarzycki > wrote: > > Could you please try 0.9.8 or 0.9.9-SNAPSHOT ? > > > > On Thu, 2 Sep 2021 at 18:06, Roman Isitua wrote: > > Hi Everyone, > > > I created a stand alone actionscript library to implement some custom data > types (DTO) to be used in different royale projects. > > I noticed that compilation fails at the following point. > > > [INFO] --- royale-maven-plugin:0.9.7:compile-extern > (default-compile-extern) @ client_service_lib --- > [INFO] Executing COMPC in tool group Royale with args: > [-load-config=C:\Users\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\target\compile-extern-config.xml, > -compiler.targets=SWF] > args: > > -load-config=C:\Users\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\target\compile-extern-config.xml > -compiler.targets=SWF > target:SWF > COMPC > Loading configuration: > C:\Users\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\target\compile-extern-config.xml > > C:\Users\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\src\main\royale\com\spacio\mdx\generic\dto\ResponseDTO.as(3): > col: 12 Warning: Definition mx.collections.ArrayCollection could not be > found. > > import mx.collections.ArrayCollection; >^ > > C:\Users\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\src\main\royale\com\spacio\mdx\generic\dto\ResponseDTO.as(19): > > col: 31 Error: Type was not found or was not a compile-time constant: > ArrayCollection. > > private var _errors:ArrayCollection; > ^ > > C:\Users\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\src\main\royale\com\spacio\mdx\generic\dto\ResponseDTO.as(69): > > col: 41 Error: Type was not found or was not a compile-time constant: > ArrayCollection. > > public function set errors(errors:ArrayCollection) : void > ^ > > C:\Users\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\src\main\royale\com\spacio\mdx\generic\dto\ResponseDTO.as(74): > > col: 37 Error: Type was not found or was not a compile-time constant: > ArrayCollection. > >public function get errors():ArrayCollection > ^ > > C:\Users\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\src\main\royale\com\spacio\mdx\generic\dto\ShortType.as(5): > col: 12 Warning: Definition mx.collections.ArrayCollection could not be > found. > > import mx.collections.ArrayCollection; >^ > > C:\Users\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\src\main\royale\com\spacio\mdx\generic\dto\ShortType.as(14): > col: 28 Error: Type was not found or was not a compile-time constant: > ArrayCollection. > >private var _values:ArrayCollection; >^ > > C:\Users\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\src\main\royale\com\spacio\mdx\generic\dto\ShortType.as(44): > col: 41 Error: Type was not found or was not a compile-time constant: > ArrayCollection. > > public function set values(values:ArrayCollection) : void > ^ > > C:\Users\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\src\main\royale\com\spacio\mdx\generic\dto\ShortType.as(51): > col: 37 Error: Type was not found or was not a compile-time constant: > ArrayCollection. > >public function get values():ArrayCollection > ^ > > C:\Users\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\src\main\royale\com\spacio\mdx\ge
RE: Errors building stand alone actionscript library
I suspect you have not added the MX dependencies. In Ant you would just set the compiler’s configuration argument to ‘flex’, but I’m not sure how that’s done in Maven . It’s a bit trickier than just adding a dependency as I recall. Let’s wait and see if someone remembers this and responds, otherwise I’ll try to find out for you. From: Roman Isitua<mailto:romanisi...@gmail.com> Sent: Thursday, September 2, 2021 7:20 PM To: users@royale.apache.org<mailto:users@royale.apache.org> Subject: Re: Errors building stand alone actionscript library I have seen the announcement for the release of version 0.9.8. I will proceed to download it. could it be that this issue is resolved in 0.9.8 ? Thanks, On Thu, Sep 2, 2021 at 5:14 PM Piotr Zarzycki mailto:piotrzarzyck...@gmail.com>> wrote: Could you please try 0.9.8 or 0.9.9-SNAPSHOT ? On Thu, 2 Sep 2021 at 18:06, Roman Isitua mailto:romanisi...@gmail.com>> wrote: Hi Everyone, I created a stand alone actionscript library to implement some custom data types (DTO) to be used in different royale projects. I noticed that compilation fails at the following point. [INFO] --- royale-maven-plugin:0.9.7:compile-extern (default-compile-extern) @ client_service_lib --- [INFO] Executing COMPC in tool group Royale with args: [-load-config=C:\Users\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\target\compile-extern-config.xml, -compiler.targets=SWF] args: -load-config=C:\Users\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\target\compile-extern-config.xml -compiler.targets=SWF target:SWF COMPC Loading configuration: C:\Users\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\target\compile-extern-config.xml C:\Users\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\src\main\royale\com\spacio\mdx\generic\dto\ResponseDTO.as(3): col: 12 Warning: Definition mx.collections.ArrayCollection could not be found. import mx.collections.ArrayCollection; ^ C:\Users\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\src\main\royale\com\spacio\mdx\generic\dto\ResponseDTO.as(19): col: 31 Error: Type was not found or was not a compile-time constant: ArrayCollection. private var _errors:ArrayCollection; ^ C:\Users\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\src\main\royale\com\spacio\mdx\generic\dto\ResponseDTO.as(69): col: 41 Error: Type was not found or was not a compile-time constant: ArrayCollection. public function set errors(errors:ArrayCollection) : void ^ C:\Users\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\src\main\royale\com\spacio\mdx\generic\dto\ResponseDTO.as(74): col: 37 Error: Type was not found or was not a compile-time constant: ArrayCollection. public function get errors():ArrayCollection ^ C:\Users\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\src\main\royale\com\spacio\mdx\generic\dto\ShortType.as(5): col: 12 Warning: Definition mx.collections.ArrayCollection could not be found. import mx.collections.ArrayCollection; ^ C:\Users\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\src\main\royale\com\spacio\mdx\generic\dto\ShortType.as(14): col: 28 Error: Type was not found or was not a compile-time constant: ArrayCollection. private var _values:ArrayCollection; ^ C:\Users\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\src\main\royale\com\spacio\mdx\generic\dto\ShortType.as(44): col: 41 Error: Type was not found or was not a compile-time constant: ArrayCollection. public function set values(values:ArrayCollection) : void ^ C:\Users\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\src\main\royale\com\spacio\mdx\generic\dto\ShortType.as(51): col: 37 Error: Type was not found or was not a compile-time constant: ArrayCollection. public function get values():ArrayCollection ^ C:\Users\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\src\main\royale\com\spacio\mdx\generic\dto\StringType.as(5): col: 12 Warning: Definition mx.collections.ArrayCollection could not be found. import mx.collections.ArrayCollection; ^ C:\Users\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\src\main\royale\com\spacio\mdx\generic\dto\StringType.as(15): col: 28 Error: Type was not found or was not a compile-time constant: ArrayCollection. private var _values:ArrayCollection; ^ C:\Users\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\src\main\royale\com\spacio\mdx\generic\dto\StringType.as(40): col: 41 Error: Type was not found or was not a compile-time constant: ArrayCollection. public function set values(values:ArrayCollection) : void ^ C:\Users\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\src\main\royale\com\spacio\mdx\generic\dto\StringType.as(45): col: 37 Error: Type was not found or was not
Re: Errors building stand alone actionscript library
I have seen the announcement for the release of version 0.9.8. I will proceed to download it. could it be that this issue is resolved in 0.9.8 ? Thanks, On Thu, Sep 2, 2021 at 5:14 PM Piotr Zarzycki wrote: > Could you please try 0.9.8 or 0.9.9-SNAPSHOT ? > > On Thu, 2 Sep 2021 at 18:06, Roman Isitua wrote: > >> Hi Everyone, >> >> I created a stand alone actionscript library to implement some custom >> data types (DTO) to be used in different royale projects. >> >> I noticed that compilation fails at the following point. >> >> >> [INFO] --- royale-maven-plugin:0.9.7:compile-extern >> (default-compile-extern) @ client_service_lib --- >> [INFO] Executing COMPC in tool group Royale with args: >> [-load-config=C:\Users\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\target\compile-extern-config.xml, >> -compiler.targets=SWF] >> args: >> >> -load-config=C:\Users\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\target\compile-extern-config.xml >> -compiler.targets=SWF >> target:SWF >> COMPC >> Loading configuration: >> C:\Users\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\target\compile-extern-config.xml >> >> C:\Users\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\src\main\royale\com\spacio\mdx\generic\dto\ResponseDTO.as(3): >> col: 12 Warning: Definition mx.collections.ArrayCollection could not be >> found. >> >> import mx.collections.ArrayCollection; >>^ >> >> C:\Users\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\src\main\royale\com\spacio\mdx\generic\dto\ResponseDTO.as(19): >> >> col: 31 Error: Type was not found or was not a compile-time constant: >> ArrayCollection. >> >> private var _errors:ArrayCollection; >> ^ >> >> C:\Users\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\src\main\royale\com\spacio\mdx\generic\dto\ResponseDTO.as(69): >> >> col: 41 Error: Type was not found or was not a compile-time constant: >> ArrayCollection. >> >> public function set errors(errors:ArrayCollection) : void >> ^ >> >> C:\Users\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\src\main\royale\com\spacio\mdx\generic\dto\ResponseDTO.as(74): >> >> col: 37 Error: Type was not found or was not a compile-time constant: >> ArrayCollection. >> >>public function get errors():ArrayCollection >> ^ >> >> C:\Users\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\src\main\royale\com\spacio\mdx\generic\dto\ShortType.as(5): >> col: 12 Warning: Definition mx.collections.ArrayCollection could not be >> found. >> >> import mx.collections.ArrayCollection; >>^ >> >> C:\Users\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\src\main\royale\com\spacio\mdx\generic\dto\ShortType.as(14): >> col: 28 Error: Type was not found or was not a compile-time constant: >> ArrayCollection. >> >>private var _values:ArrayCollection; >>^ >> >> C:\Users\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\src\main\royale\com\spacio\mdx\generic\dto\ShortType.as(44): >> col: 41 Error: Type was not found or was not a compile-time constant: >> ArrayCollection. >> >> public function set values(values:ArrayCollection) : void >> ^ >> >> C:\Users\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\src\main\royale\com\spacio\mdx\generic\dto\ShortType.as(51): >> col: 37 Error: Type was not found or was not a compile-time constant: >> ArrayCollection. >> >>public function get values():ArrayCollection >> ^ >> >> C:\Users\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\src\main\royale\com\spacio\mdx\generic\dto\StringType.as(5): >> col: 12 Warning: Definition mx.collections.ArrayCollection could not be >> found. >> >> import mx.collections.ArrayCollection; >>^ >> >> C:\Users\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\src\main\royale\com\spacio\mdx\generic\dto\StringType.as(15): >> col: 28 Error: Type was not found or was not a compile-time constant: >> ArrayCollection. >> >>private var _values:ArrayCollection; >>^ >> >> C:\Users\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\src\main\royale\com\spacio\mdx\generic\dto\StringType.as(40): >> col: 41 Error: Type was not found or was not a compile-time constant: >> ArrayCollection. >> >> public function set values(values:ArrayCollection) : void >> ^ >> >> C:\Users\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\src\main\royale\com\spacio\mdx\generic\dto\StringType.as(45): >> col: 37 Error: Type was not found or was not a compile-time constant: >> ArrayCollection. >> >>public function get values():ArrayCollection >> ^ >> >> C:\Users\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\src\main\royale\com\spacio\mdx\generic\dto\ResponseDTO.as(3): >> col: 12 Definition mx.collections.ArrayCollection could not be found. >> >> import mx.collections.Array
Re: Errors building stand alone actionscript library
Could you please try 0.9.8 or 0.9.9-SNAPSHOT ? On Thu, 2 Sep 2021 at 18:06, Roman Isitua wrote: > Hi Everyone, > > I created a stand alone actionscript library to implement some custom data > types (DTO) to be used in different royale projects. > > I noticed that compilation fails at the following point. > > > [INFO] --- royale-maven-plugin:0.9.7:compile-extern > (default-compile-extern) @ client_service_lib --- > [INFO] Executing COMPC in tool group Royale with args: > [-load-config=C:\Users\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\target\compile-extern-config.xml, > -compiler.targets=SWF] > args: > > -load-config=C:\Users\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\target\compile-extern-config.xml > -compiler.targets=SWF > target:SWF > COMPC > Loading configuration: > C:\Users\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\target\compile-extern-config.xml > > C:\Users\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\src\main\royale\com\spacio\mdx\generic\dto\ResponseDTO.as(3): > col: 12 Warning: Definition mx.collections.ArrayCollection could not be > found. > > import mx.collections.ArrayCollection; >^ > > C:\Users\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\src\main\royale\com\spacio\mdx\generic\dto\ResponseDTO.as(19): > > col: 31 Error: Type was not found or was not a compile-time constant: > ArrayCollection. > > private var _errors:ArrayCollection; > ^ > > C:\Users\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\src\main\royale\com\spacio\mdx\generic\dto\ResponseDTO.as(69): > > col: 41 Error: Type was not found or was not a compile-time constant: > ArrayCollection. > > public function set errors(errors:ArrayCollection) : void > ^ > > C:\Users\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\src\main\royale\com\spacio\mdx\generic\dto\ResponseDTO.as(74): > > col: 37 Error: Type was not found or was not a compile-time constant: > ArrayCollection. > >public function get errors():ArrayCollection > ^ > > C:\Users\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\src\main\royale\com\spacio\mdx\generic\dto\ShortType.as(5): > col: 12 Warning: Definition mx.collections.ArrayCollection could not be > found. > > import mx.collections.ArrayCollection; >^ > > C:\Users\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\src\main\royale\com\spacio\mdx\generic\dto\ShortType.as(14): > col: 28 Error: Type was not found or was not a compile-time constant: > ArrayCollection. > >private var _values:ArrayCollection; >^ > > C:\Users\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\src\main\royale\com\spacio\mdx\generic\dto\ShortType.as(44): > col: 41 Error: Type was not found or was not a compile-time constant: > ArrayCollection. > > public function set values(values:ArrayCollection) : void > ^ > > C:\Users\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\src\main\royale\com\spacio\mdx\generic\dto\ShortType.as(51): > col: 37 Error: Type was not found or was not a compile-time constant: > ArrayCollection. > >public function get values():ArrayCollection > ^ > > C:\Users\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\src\main\royale\com\spacio\mdx\generic\dto\StringType.as(5): > col: 12 Warning: Definition mx.collections.ArrayCollection could not be > found. > > import mx.collections.ArrayCollection; >^ > > C:\Users\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\src\main\royale\com\spacio\mdx\generic\dto\StringType.as(15): > col: 28 Error: Type was not found or was not a compile-time constant: > ArrayCollection. > >private var _values:ArrayCollection; >^ > > C:\Users\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\src\main\royale\com\spacio\mdx\generic\dto\StringType.as(40): > col: 41 Error: Type was not found or was not a compile-time constant: > ArrayCollection. > > public function set values(values:ArrayCollection) : void > ^ > > C:\Users\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\src\main\royale\com\spacio\mdx\generic\dto\StringType.as(45): > col: 37 Error: Type was not found or was not a compile-time constant: > ArrayCollection. > >public function get values():ArrayCollection > ^ > > C:\Users\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\src\main\royale\com\spacio\mdx\generic\dto\ResponseDTO.as(3): > col: 12 Definition mx.collections.ArrayCollection could not be found. > > import mx.collections.ArrayCollection; >^ > > C:\Users\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\src\main\royale\com\spacio\mdx\generic\dto\ResponseDTO.as(19): > > col: 31 Type was not found or was not a compile-time constant: > ArrayCollection. > > private var _errors:ArrayCollection; > ^ > > C:\Users\