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:[email protected]] Sent: Thursday, April 4, 2019 7:36 PM To: [email protected] Subject: Re: Flash builder error when compile royale project Hi, Did you follow these instructions? https://github.com/apache/royale-asjs/wiki/Flash-Builder-4.7 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" <[email protected]> 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%7C199b0066604a48eae16708d6b8f6fa6a%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C636899768244118864&sdata=hVKmn2YKJJjAZ3DyrjWA2fLe%2BJ43BXJUV9DdgVnX4mw%3D&reserved=0" ^ Spiros
