Taken from build_example.xml ________________________________ From: Yishay Weiss <yishayj...@hotmail.com> Sent: Wednesday, April 8, 2020 4:25:56 PM To: dev@royale.apache.org <dev@royale.apache.org> Subject: RE: How to build users project using ANT to JS only
So it does not exist under c:\MoonshineSDKs\Royale_SDK\apache-royale-0.9.7-bin-js\royale-asjs\lib\jsc.jar ? That’s strange because this condition [1] should prevent your environment variable from being read. [1] <condition property="ROYALE_COMPILER_HOME" value="${env.ROYALE_COMPILER_HOME}"> <and> <not> <isset property="ROYALE_COMPILER_HOME" /> </not> <available file="${env.ROYALE_COMPILER_HOME}/lib/jsc.jar" type="file" /> </and> </condition> From: Piotr Zarzycki<mailto:piotrzarzyck...@gmail.com> Sent: Wednesday, April 8, 2020 4:22 PM To: Apache Royale Development<mailto:dev@royale.apache.org> Subject: Re: How to build users project using ANT to JS only It exists under c:\MoonshineSDKs\Royale_SDK\apache-royale-0.9.7-bin-js\royale-asjs\js\lib\ śr., 8 kwi 2020 o 15:20 Yishay Weiss <yishayj...@hotmail.com> napisał(a): > > > >I should not have that jsc.jar inside downloaded sdk? > > It should not exist under > > > c:\MoonshineSDKs\Royale_SDK\apache-royale-0.9.7-bin-js\royale-asjs\lib\jsc.jar > > It should exist under > > > c:\MoonshineSDKs\Royale_SDK\apache-royale-0.9.7-bin-js\royale-asjs\js\lib\jsc.jar > > wt., 7 kwi 2020 o 18:49 Yishay Weiss <yishayj...@hotmail.com> napisał(a): > > > Bumping this. I’m wondering if Moonshine accidentally injects that file > > which may cause these kinds of bugs. The script should verify your > > ROYALE_COMPILER_HOME env var by checking for > > ROYALE_COMPILER_HOME\lib\jsc.jar. It probably should not be there in your > > case. > > > > From: Yishay Weiss<mailto:yishayj...@hotmail.com> > > Sent: Monday, April 6, 2020 3:30 PM > > To: dev@royale.apache.org<mailto:dev@royale.apache.org> > > Subject: RE: How to build users project using ANT to JS only > > > > Also, see if > > > > > c:\MoonshineSDKs\Royale_SDK\apache-royale-0.9.7-bin-js\royale-asjs\lib\jsc.jar > > exists, and if it does, where it comes from. My nightly download doesn’t > > have it. > > > > From: Yishay Weiss<mailto:yishayj...@hotmail.com> > > Sent: Monday, April 6, 2020 2:57 PM > > To: dev@royale.apache.org<mailto:dev@royale.apache.org> > > Subject: RE: How to build users project using ANT to JS only > > > > ROYALE_COMPILER_HOME looks wrong. I think it should be > > c:\MoonshineSDKs\Royale_SDK\apache-royale-0.9.7-bin-js\royale-asjs\js > > Are you setting it as an env var? If so, try removing the env var. > > > > > > From: Piotr Zarzycki<mailto:piotrzarzyck...@gmail.com> > > Sent: Monday, April 6, 2020 2:08 PM > > To: Apache Royale Development<mailto:dev@royale.apache.org> > > Subject: Re: How to build users project using ANT to JS only > > > > Hi Alex, > > > > I have commented out wrapper part to move forward and I have tried to > build > > HelloWorld of mxroyale example, cause this is actually my case. I got > > following error [1] > > > > [1] https://paste.apache.org/cvenu > > > > > > > > sob., 4 kwi 2020 o 00:35 Alex Harui <aha...@adobe.com.invalid> > napisał(a): > > > > > That output doesn't show a compiler error, it shows an error after the > > > compile trying to set up the swf wrapper. I think the examples haven't > > > been tested to see if they compile in js-only. We should probably fix > > > that. The wrapper target just has to detect js-only and not run. > > > > > > For your scenario, if I understand it correctly, you can try one of the > > > other targets in build_example such as compile-js-only instead of the > > > compile target. > > > > > > HTH, > > > -Alex > > > > > > On 4/3/20, 3:13 PM, "Piotr Zarzycki" <piotrzarzyck...@gmail.com> > wrote: > > > > > > Alex, > > > > > > This is the output from attempt of building TourDeJewel. [1] - I > > don't > > > have > > > in my system sets any environment variable related to Flex or > Royale. > > > No > > > ROYALE_HOME, playerglobal, AIR_HOME etc. I would like to build that > > > example > > > to JS only using JS only SDK with build.xml file. Where is the > issue > > > here ? > > > > > > Build used from Jenkins #1196. > > > > > > [1] > > > > > > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2F9n6dl&data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&sdata=jpQZcVahyYnB1V%2FEmCBp9XoPEgYw03dL%2FE5e1fuvizs%3D&reserved=0 > > > > > > Thanks, > > > Piotr > > > > > > pt., 3 kwi 2020 o 22:32 Alex Harui <aha...@adobe.com.invalid> > > > napisał(a): > > > > > > > TourDeJewel uses a src/main/config/compile-app-config.xml that > > > specifies > > > > JSRoyale. Yes, lots of SWF params are provided but that's just > so > > > we can > > > > use the same template for all examples. From the command-line, > > you > > > > shouldn't need any of that. > > > > > > > > It looks like you did set targets=JSRoyale with <arg> tags > instead > > > of a > > > > config.xml file. But the way to see if it is working is to look > at > > > the > > > > console output. > > > > > > > > -Alex > > > > > > > > On 4/3/20, 1:19 PM, "Piotr Zarzycki" <piotrzarzyck...@gmail.com> > > > wrote: > > > > > > > > How is this work that this code is building something to JS > > only > > > ? Why > > > > we > > > > are pointing output to some swf file and pointing > playerglobal > > ? > > > - > > > > This is > > > > my question rather. > > > > > > > > > > > > > > > > pt., 3 kwi 2020 o 19:31 Alex Harui <aha...@adobe.com.invalid > > > > > > napisał(a): > > > > > > > > > I'm not sure what's wrong. The TourDeJewel example is set > up > > > to only > > > > > build for JS and not SWF. Does it work? > > > > > > > > > > Also try calling mxmlc from the command-line with the > > > > -target=JSRoyale and > > > > > see if that works. > > > > > > > > > > Post the output. The compiler should be reporting what > > > targets it is > > > > > building. > > > > > > > > > > -Alex > > > > > > > > > > On 4/3/20, 10:18 AM, "Piotr Zarzycki" < > > > piotrzarzyck...@gmail.com> > > > > wrote: > > > > > > > > > > Hi Alex, > > > > > > > > > > Thanks for the comment. It looks like I understand > > > partially > > > > where > > > > > issue > > > > > is. Let me now redirect discussion into area of how > build > > > > project using > > > > > Ant, cause this is actually what interests me. > Whenever I > > > touche > > > > > building > > > > > project trough ANT it turns out with some problems. > > > > > > > > > > Let's start from - I'm completely not interested into > > > building > > > > project > > > > > (By > > > > > project I don't mean SDK, but users project) to SWF. > I'm > > > only > > > > > interested to > > > > > build project to JS using Royale downloaded from > Jenkins > > > > (Nightly). > > > > > > > > > > I have following portion of code with some hardcoded > > value > > > taken > > > > from > > > > > build_example.xml script in Royale. I need to build > > project > > > > which has > > > > > emulation components stuff etc. [1] > > > > > > > > > > It seems to me that this portion of code building stuff > > to > > > both > > > > swf > > > > > and js > > > > > - I wanted to have only JS build - what should I > change ? > > > > > > > > > > I think having this on the list would be beneficial to > > > others. > > > > > > > > > > [1] > > > > > > > > > > > > > > > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2Fo7n5i&data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&sdata=fW1PC1yA7xnlV7IKUKuDucOb1dR0Wjwn%2BumoNVtRSZc%3D&reserved=0 > > > > > > > > > > Thanks, > > > > > Piotr > > > > > > > > > > pt., 3 kwi 2020 o 18:40 Alex Harui > > > <aha...@adobe.com.invalid> > > > > > napisał(a): > > > > > > > > > > > Download 0.9.6 and see what it has. > > > > > > > > > > > > In theory, js-only shouldn't need the > swfobject/history > > > > folder, but > > > > > js-swf > > > > > > should. > > > > > > > > > > > > -Alex > > > > > > > > > > > > On 4/3/20, 6:12 AM, "Piotr Zarzycki" < > > > > piotrzarzyck...@gmail.com> > > > > > wrote: > > > > > > > > > > > > Hi Yishay, > > > > > > > > > > > > No changes here. It doesn't build. I don't know > > why. > > > I > > > > will ask > > > > > more > > > > > > question regarding mxmlc in different thread once > > > above > > > > will be > > > > > > resolved. > > > > > > > > > > > > > > > > > > > > > > > > pt., 3 kwi 2020 o 15:04 Yishay Weiss < > > > > yishayj...@hotmail.com> > > > > > > napisał(a): > > > > > > > > > > > > > Hi Piotr, > > > > > > > > > > > > > > Is HelloWorld example building for you with > Ant? > > > > > > > > > > > > > > Yishay > > > > > > > > > > > > > > From: Piotr Zarzycki<mailto: > > > piotrzarzyck...@gmail.com> > > > > > > > Sent: Friday, April 3, 2020 3:10 PM > > > > > > > To: Apache Royale Development<mailto: > > > > dev@royale.apache.org> > > > > > > > Subject: Royale zip package of Nightly build > > > missing > > > > some empty > > > > > > folders > > > > > > > > > > > > > > Hi Guys, > > > > > > > > > > > > > > One of our project is failing - at least on my > > > machine > > > > cause > > > > > it's > > > > > > trying to > > > > > > > copy folder history > > > > "royale-asjs\templates\swfobject\history\" > > > > > <- > > > > > > This > > > > > > > folder doesn't exists in package > > > > > apache-royale-0.9.7-bin-js.zip > > > > > > > < > > > > > > > > > > > > > > > > > > > > > > > > > > > > https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci2.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs_jsonly%2F1194%2Fartifact%2Fout%2Fapache-royale-0.9.7-bin-js.zip&data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&sdata=r8eJm%2FB7Sr0FRyI4xFzRfVDe6Rq77VpdHYChONYcaYc%3D&reserved=0 > > > > > > > > > > > > > > > but > > > > > > > exists in apache-royale-0.9.7-bin-js.tar.gz > > > > > > > < > > > > > > > > > > > > > > > > > > > > > > > > > > > > https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci2.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs_jsonly%2F1194%2Fartifact%2Fout%2Fapache-royale-0.9.7-bin-js.tar.gz&data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&sdata=CxOUGKDe6GlBay4xGmvBYe3CTouVzZMHt%2FfdBMm%2Fiio%3D&reserved=0 > > > > > > > > > > > > > > > - > > > > > > > Can someone look into build.xml ? I'm lost with > > > that > > > > > completely :) > > > > > > > > > > > > > > Thanks, > > > > > > > -- > > > > > > > > > > > > > > Piotr Zarzycki > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > > > > > Piotr Zarzycki > > > > > > > > > > > > Patreon: * > > > > > > > > > > > > > > > > > > > > > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&sdata=SgBDc%2FSSOtTTKYGtPJMckO9cwQRK2206VLmce1tf%2FJY%3D&reserved=0 > > > > > > < > > > > > > > > > > > > > > > > > > > > > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&sdata=SgBDc%2FSSOtTTKYGtPJMckO9cwQRK2206VLmce1tf%2FJY%3D&reserved=0 > > > > > > >* > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > > > Piotr Zarzycki > > > > > > > > > > Patreon: * > > > > > > > > > > > > > > > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&reserved=0 > > > > > < > > > > > > > > > > > > > > > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&reserved=0 > > > > > >* > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > Piotr Zarzycki > > > > > > > > Patreon: * > > > > > > > > > > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&reserved=0 > > > > < > > > > > > > > > > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&reserved=0 > > > > >* > > > > > > > > > > > > > > > > > > -- > > > > > > Piotr Zarzycki > > > > > > Patreon: * > > > > > > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&reserved=0 > > > < > > > > > > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&reserved=0 > > > >* > > > > > > > > > > > > > -- > > > > Piotr Zarzycki > > > > Patreon: *https://www.patreon.com/piotrzarzycki > > <https://www.patreon.com/piotrzarzycki>* > > > > > > -- > > Piotr Zarzycki > > Patreon: *https://www.patreon.com/piotrzarzycki > <https://www.patreon.com/piotrzarzycki>* > > -- Piotr Zarzycki Patreon: *https://www.patreon.com/piotrzarzycki <https://www.patreon.com/piotrzarzycki>*