Hi Mandeep, Let’s focus on InstallAdobeSDKs.xml for now. The console output should have included where the script was trying to find the download. On Windows, the script will use the environment variables HOMEDRIVE and HOMEPATH. What are they set to, and what is the full path to your Downloads folder?
Thanks, -Alex From: Mandeep Sarma <[email protected]> Reply-To: "[email protected]" <[email protected]> Date: Tuesday, April 24, 2018 at 9:44 AM To: "[email protected]" <[email protected]> Subject: Re: installing royale 0.9.2 sdk in the ant script to build from source, FLEX_HOME is assigned the value of ROYAL_HOME, the script does not fail when executing the value of ROYAL_HOME, but the script fails evaluating the value of FLEX_HOME to use the binary version of the JS/SWF I tried to run the script InstallAdobeSDKs.xml, if fails to see the AdobeAIRSDK.zip even though it was in the Downloads directory. In case my eye lids were getting droopy I went so far as to copy the name of the file in the directory and do a search on the xml file. FYI previously I have downloaded the JS only version and I've had no issues with Moonshine On Tue, Apr 24, 2018 at 12:19 PM, Alex Harui <[email protected]<mailto:[email protected]>> wrote: Couple of things: Royale shouldn’t care about FLEX_HOME anymore. I think you can use ROYALE_HOME, but shouldn’t need to in most cases. What is the full path to your Downloads folder? Maybe the script doesn’t know how to find it. From: Mandeep Sarma <[email protected]<mailto:[email protected]>> Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Date: Tuesday, April 24, 2018 at 7:54 AM To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Subject: Re: installing royale 0.9.2 sdk for the benefit of others as I'm not going to look at this for a while: So you have Flex SDK downloaded somewhere ? Yes, I tried the binary, the source and even the nightly builds Setup environment variable to FLEX_HOME and AIR_HOME to flex folder: AIR_HOME = yes. AIR AIR_HOME = D:\AdobeAIRSDK. 've use AIR for a long time, that's where it's always been. FLEX_HOME = "I took a guess" I searched but I could never find what the value is, or which values it should have. I took a stab at it and set a windows environment variable to the Flex SDK directory:royale-asjs And try again point to the SDK in your IDE: Flash builder does not see directory royale-asjs as an SDK. RE for SWF output playerglobal.swc I have both 11.1 and 11.7. Adobe AIR SDK I downloaded the one without the new compiler. ant script InstallAdobeSDKs.xml: for me it never found AdobeAIRSDK.zip in the Downloads directory, even though it was there. as for moonshine 1.11 (by this time I might have messed things up trying to get ant to execute the build script) it's looking for a jar file in the wrong location. [cid:ii_jgdsgzkh1_162f823ca620b065] scripts look for it in a directory "x\0.0\" I put 11.7 there : Compiling test004 : Using Royale Compiler codebase: D:\apache-royale-0.9.2\royale-compiler\compiler-jx : Using Royale SDK: D:\apache-royale-0.9.2\royale-asjs : Error: Unable to access jarfile D:\apache-royale-0.9.2\royale-compiler\compiler-jx\js\lib\mxmlc.jar On Tue, Apr 24, 2018 at 1:08 AM, Piotr Zarzycki <[email protected]<mailto:[email protected]>> wrote: Hi Mandeep, So you have Flex SDK downloaded somewhere ? Setup environment variable to FLEX_HOME and AIR_HOME to flex folder. And try again point to the SDK in your IDE. Additionally I really recommend you to use IDE which fully supports Royale - Moonshine or VSCode. You won't loose so much time. Thanks, Piotr On Tue, Apr 24, 2018, 5:20 AM Mandeep Sarma <[email protected]<mailto:[email protected]>> wrote: the instructions to install js/swf sdk on Windows 10 in the wiki don't work nor the instructions in the readme file. maven gives errors ant gives errors -> the file AdobeAIRSDK.zip is in the Downloads directory ( FYI I tried both the binary and tried to build from source I spent my weekend + today on this, I'm tapping out. [cid:ii_jgd3fgtu0_162f5a201bcaada5] [cid:ii_jgd3ghbk1_162f5a2b91707753] [cid:ii_jgd3hadx2_162f5a34ad09fdd7] On Mon, Apr 23, 2018 at 1:43 PM, Mandeep Sarma <[email protected]<mailto:[email protected]>> wrote: thx for the replies, I have tried the instructions for the royale-asjs/wiki (Windows 10) but I get an error "FLEX_HOME bust be set to use the flex Ant Tasks" Flex_Home is this a Windows' system environment variable or is it in one of the build files? On Mon, Apr 23, 2018 at 1:36 PM, Carlos Rovira <[email protected]<mailto:[email protected]>> wrote: Along Piotr link another one for new comers is https://royale.apache.org/getting-started/<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Froyale.apache.org%2Fgetting-started%2F&data=02%7C01%7Caharui%40adobe.com%7C7872449c1d0143f4c8c208d5a9f34e10%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636601784815714305&sdata=eou%2F8TtJEj2m33GkeoE7I%2BAtnb8VPSElyGnjyJhqHsM%3D&reserved=0> best 2018-04-23 19:24 GMT+02:00 Piotr Zarzycki <[email protected]<mailto:[email protected]>>: Hi Mandeep, There is an instruction on Royale Wiki [1]. Try it out and let us know! [1] https://github.com/apache/royale-asjs/wiki/Flash-Builder-4.7<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fwiki%2FFlash-Builder-4.7&data=02%7C01%7Caharui%40adobe.com%7C7872449c1d0143f4c8c208d5a9f34e10%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636601784815714305&sdata=IPeK2BLUdjucdUiE3U3LSe4lKWAtP3i4GA2ZZYwbY4k%3D&reserved=0> Thanks, Piotr 2018-04-23 19:01 GMT+02:00 Mandeep Sarma <[email protected]<mailto:[email protected]>>: are there any current instruction on how to install apache royale 0.9.2? when I download apache royale 0.9.2 for JS and Flash Application and I try to connect the sdk to Flash Builder I get an error: Directory does not contain a Flex SDK Error! Filename not specified.<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.avg.com%2Femail-signature%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Dwebmail&data=02%7C01%7Caharui%40adobe.com%7C7872449c1d0143f4c8c208d5a9f34e10%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636601784815714305&sdata=GEXVQMH%2BwxeWZ%2FIzjMBNN%2FBLIQan9XgNxC4x%2FacE82w%3D&reserved=0> Virus-free. www.avg.com<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.avg.com%2Femail-signature%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Dwebmail&data=02%7C01%7Caharui%40adobe.com%7C7872449c1d0143f4c8c208d5a9f34e10%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636601784815714305&sdata=GEXVQMH%2BwxeWZ%2FIzjMBNN%2FBLIQan9XgNxC4x%2FacE82w%3D&reserved=0> -- Piotr Zarzycki Patreon: https://www.patreon.com/piotrzarzycki<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C7872449c1d0143f4c8c208d5a9f34e10%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636601784815714305&sdata=L%2BJrh%2FBV1FpfjgNW3j3AIWL8NYBjHLczHWq41bP7oxg%3D&reserved=0> -- Carlos Rovira http://about.me/carlosrovira<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7C7872449c1d0143f4c8c208d5a9f34e10%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636601784815714305&sdata=kcBxcLb5A546nNheWDyv4JyyrS5RFAupAbA8OKDH%2B60%3D&reserved=0>
