Done. Thanks for spotting this.
________________________________ From: Alex Harui <aha...@adobe.com.INVALID> Sent: Friday, April 5, 2019 7:16:17 PM To: dev@royale.apache.org Subject: Re: Flash builder error when compile royale project Hi Spiros, Thank you for finding that problem. Looks like Yishay accidentally commited that file in change 8016941c9708e8a110a928657d4652fa60e622a2. Yishay, please revert the changes to that one file. That is one of the risks of converting your repo to an FB SDK. You can change asjsc.bat if you want, but that is really intended for non-MXML (ActionScript-Only) projects whereas mxmlc.bat is intended to build MXML projects. HTH, -Alex On 4/5/19, 1:43 AM, "spiros" <agg...@novusnet.gr> wrote: Hi Alex, I follow the steps in doc again to make sure that there is no any error. 1. download the last NB SDK 2. Extract in a folder and run the ant -f antscripts.xml setup 3. point flashBuilder --> windows preferences -->installed Flex SDK to new SDK/royale-asjs 4. from flash builder --> file-->inport -->run/debug --Launch Configution point to SDK/royale-asjs/ide/flashbuilder import the external tools 5. create a flex project 6. Try to Convert New Project to Royale Project. This Step produce Error in FB console. The problem is this line <stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="C:/dev/flexjs/royale-asjs/ide/flashbuilder/antscripts.xml"/> In the file Convert New Flex Project to Royale Project.launch under the royale-asjs/ide/flashbuilder folder. This point to a default location instead of $ROYALE_HOME 7. the compilation work fine for me when I change this parameters in the file asjsc.bat under the folder SDK\royale-asjs\js\bin -js-output-type=RSRoyale for this parameter when I set to from external tools configuration --> arguments I get the message : command line Error: configuration variable 'js-output-type' must only be set once. And +configname=flex This parameters works if I set to from from external tools configuration --> arguments and override this in the batch file For my config I set the tho params to asjsc.bat and the scripts run fine. Spiros. -----Original Message----- From: Alex Harui [mailto:aha...@adobe.com.INVALID] Sent: Thursday, April 4, 2019 7:36 PM To: dev@royale.apache.org Subject: Re: Flash builder error when compile royale project Hi, Did you follow these instructions? https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fwiki%2FFlash-Builder-4.7&data=02%7C01%7Caharui%40adobe.com%7Cce9c06c9ea804ad8c08908d6b9a2d3c3%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C636900506326002439&sdata=0iCfY7%2FnBBI%2FoP0uVYT8KEJYbzfBriwECV2aZtfuIRo%3D&reserved=0 It looks like you are trying to compile an MXML file as a low-level ActionScript project. You will want to start with a Flex Project, and convert it. The js-output-type should be "JSRoyale" if you get it configured correctly. If you plan to use the MXRoyale components you may need to set +configname=flex in the project's additional compiler options. HTH, -Alex On 4/4/19, 5:13 AM, "spiros" <agg...@novusnet.gr> wrote: I use the flash builder 4.7 to test a basic royale js project. When compile the project with ASJSC an error appear to console but the project seens to be compiled. The console log is : using FlashBuilder Project Files FlashBuilder settings: -source-path+=C:\DevelopmentWorkspace\FlashBuilder_Royale\CFcommunication/sr c -compiler.accessible=true -output=C:\DevelopmentWorkspace\FlashBuilder_Royale\CFcommunication/bin-debu g/CFcommunication.swf -library-path+=C:\DevelopmentWorkspace\FlashBuilder_Royale\CFcommunication/l ibs -locale en_US -js-output-type=jsc +configname=js -debug=true -fb C:\DevelopmentWorkspace\FlashBuilder_Royale\CFcommunication/src/CFcommunicat ion.mxml C:\DevelopmentWorkspace\FlashBuilder_Royale\CFcommunication\src\CFcommunicat ion.mxml(2): col: 1 Error: This tag could not be resolved to an ActionScript class. It will be ignored. <js:Application xmlns:fx="https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.adobe.com%2Fmxml%2F2009&data=02%7C01%7Caharui%40adobe.com%7Cce9c06c9ea804ad8c08908d6b9a2d3c3%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636900506326012444&sdata=SFK3L9hlc4v%2FuOITzlOojsUBaDCWX6ZCYDy%2FlWPXcXs%3D&reserved=0" ^ Spiros