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 <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 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\nyemi\git\RoyaleCRM\RoyaleCRM\client_service\src\main\royale\com\spacio\mdx\generic\dto\ResponseDTO.as(69): >> >> col: 41 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 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 Definition mx.collections.ArrayCollection could not be found. >> >> import mx.collections.ArrayCollection; >> >> >> I have added the required dependencies >> >> <dependency> >> <groupId>org.apache.royale.framework</groupId> >> <artifactId>MXRoyale</artifactId> >> <version>0.9.7</version> >> <type>swc</type> >> <classifier>js</classifier> >> </dependency> >> <dependency> >> <groupId>org.apache.royale.framework</groupId> >> <artifactId>MXRoyale</artifactId> >> <version>0.9.7</version> >> <type>swc</type> >> <classifier>swf</classifier> >> </dependency> >> >> >> I have also registered the classes in the myLibClasses.as >> >> >> >> >> import com.spacio.crm.service.ServiceWAO; ServiceWAO; >> import com.spacio.mdx.generic.dto.Attribute; Attribute; >> import com.spacio.mdx.generic.dto.Record; Record; >> import com.spacio.mdx.generic.dto.ResponseDTO; ResponseDTO; >> import com.spacio.mdx.generic.dto.ShortType; ShortType; >> import com.spacio.mdx.generic.dto.StringType; StringType; >> import com.spacio.mdx.generic.util.MDXUtil; MDXUtil; >> import com.spacio.mdx.generic.dao.ServiceDAO; ServiceDAO; >> >> Registered them in the manifest file as well >> >> <component id="ServiceWAO" class="com.spacio.crm.service.ServiceWAO"/> >> <component id="ServiceDAO" class= >> "com.spacio.mdx.generic.dao.ServiceDAO"/> >> <component id="MDXUtil" class="com.spacio.mdx.generic.util.MDXUtil"/> >> <component id="Attribute" class= >> "com.spacio.mdx.generic.dto.Attribute"/> >> <component id="Record" class="com.spacio.mdx.generic.dto.Record"/> >> <component id="ResponseDTO" class= >> "com.spacio.mdx.generic.dto.ResponseDTO"/> >> <component id="ShortType" class= >> "com.spacio.mdx.generic.dto.ShortType"/> >> <component id="StringType" class= >> "com.spacio.mdx.generic.dto.StringType"/> >> >> >> Regards, >> >> >> -- > > Piotr Zarzycki >