Piotr, It was library missing error . Fcsh.jar file was missing and I download that file and got this error:
Compiling SHMALIB : Sending to mxmlc: mxmlc -load-config+=obj/SHMALIBConfig.xml -services=src/services-config.xml -locale=en_US -debug=true -o bin-debug/SHMALib.swf : Error: Could not find or load main class flex2.tools.Fcsh : Caused by: java.lang.NoClassDefFoundError: flex2/tools/Tool SHMALib is Flex Library Project it should generate .swc file so that we can use it in Actual (Main) Project. Now the Error is: Using Royale SDK: C:\Users\aleena\AppData\Roaming\npm\node_modules\apache-royale\royale-js\royale-asjs : WARNING: An illegal reflective access operation has occurred : WARNING: Illegal reflective access by com.google.common.base.internal.Finalizer (file:/D:/apache-royale-0.9.1-bin-js-swf/royale-asjs/lib/external/guava.jar) to field java.lang.Thread.inheritableThreadLocals : WARNING: Please consider reporting this to the maintainers of com.google.common.base.internal.Finalizer : WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations : WARNING: All illegal access operations will be denied in a future release : Unknown tag:compiler.targets Tomorrow I will do that exercise “change Royale SDK to Apache Flex SDK and build project”. I will let you know. SDK version which was used to build application Flex 4.0.0 and IDE Adobe Flash Builder 4 Regards, Alina From: Piotr Zarzycki [mailto:piotrzarzyck...@gmail.com] Sent: Tuesday, February 20, 2018 4:08 PM To: users@royale.apache.org Subject: Re: Substitutes in Apache Royale Alina, The things which you are trying to do is, build your project which is written in Flex with Royale swf compiler. I'm wondering whether IDE allows you to do this. As I can see it tries to use Fcsh in Royale SDK. Try to as an exercise change Royale SDK to Apache Flex SDK and build your project. What was the SDK version originally which was used to build that application ? Thanks, Piotr 2018-02-20 11:38 GMT+01:00 Alina Kazi <alina.k...@d-bz.com>: Thanks Piotr. Successfully followed all the steps except : Maybe you will have to also download Apache Flex SDK with Adobe AIR and setup environment variables: FLEX_HOME=path to the flexsdk folder AIR_HOME=path to the flexsdk folder Error occurred: Compiling SHMALIB : Sending to mxmlc: mxmlc -load-config+=obj/SHMALIBConfig.xml -services=src/services-config.xml -locale=en_US -debug=true -o bin-debug/SHMALib.swf : Error: Could not find or load main class flex2.tools.Fcsh : Caused by: java.lang.NoClassDefFoundError: flex2/tools/Tool I will download Apache Flex SDK with Adobe AIR and set variables , then I will tell you about further progress. SWF output file is Attached. Thanks, Alina -----Original Message----- From: piotrz [mailto:pio...@apache.org] Sent: Tuesday, February 20, 2018 2:05 PM To: users@royale.apache.org Subject: RE: Substitutes in Apache Royale Hi Alina, Here I am! :) Everything what you need to setup is under right click on the project -> Settings. 1) Setup Library. Right click on the project and choose Settings. In the section Libraries choose folder libs. My screenshot: <http://apache-royale-users.20374.n8.nabble.com/file/t1/library_setup.png> 2) If you need any additional compiler options go to the Build options and specify them in the "Additional compiler options". I see that you are using service-config.xml - In my screenshot is an example how did I show compiler where that file is. Royale JS compiler version probably won't understand -service, maybe swf understand. <http://apache-royale-users.20374.n8.nabble.com/file/t1/additional_compiler_ <http://apache-royale-users.20374.n8.nabble.com/file/t1/additional_compiler_%0d%0aconfig.png> config.png> 3) I see among your errors that you are missing playerglobal.swc. Because you are using js, swf version of Royale you need to download additional dependencies. To me it is enough if you download playerglobal.swc 11.0 [1] and place it to frameworks\libs\player\11.0\playerglobal.swc - name should be as you see here. Maybe you will have to also download Apache Flex SDK with Adobe AIR and setup environment variables: FLEX_HOME=path to the flexsdk folder AIR_HOME=path to the flexsdk folder 4) Building Alex is asking you to build your project using SWF compiler - In order to do that choose "Project" -> "Build Project" - it will use SWF compiler Build to JS only "Project" -> "Build as JavaScript" [1] https://goo.gl/AQhG21 Thanks, Piotr -- Sent from: http://apache-royale-users.20374.n8.nabble.com/ -- Piotr Zarzycki Patreon: https://www.patreon.com/piotrzarzycki