You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@royale.apache.org by Piotr Zarzycki <pi...@gmail.com> on 2020/04/03 12:09:44 UTC

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
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/1194/artifact/out/apache-royale-0.9.7-bin-js.zip>
but
exists in apache-royale-0.9.7-bin-js.tar.gz
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/1194/artifact/out/apache-royale-0.9.7-bin-js.tar.gz>
-
Can someone look into build.xml ? I'm lost with that completely :)

Thanks,
-- 

Piotr Zarzycki

Re: How to build users project using ANT to JS only

Posted by Alex Harui <ah...@adobe.com.INVALID>.
Theoretically, you should be able to run "ant" with no additional parameters from any folder in examples and it should build.  If it doesn't that's a bug we want to fix.  For sure, we need to make the wrapper task optional for js-only.  Volunteers are needed to do that.  I think it will spit out the Ant vars it computes like ROYALE_COMPILER.  Then if you want to use those ant tasks from somewhere else you will know what to set them to.

HTH,
-Alex

On 4/6/20, 4:08 AM, "Piotr Zarzycki" <pi...@gmail.com> wrote:

    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://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2Fcvenu&amp;data=02%7C01%7Caharui%40adobe.com%7Cf08031adbc2143b1eb0e08d7da1ae535%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637217681363552442&amp;sdata=70mYh6aI5hr3I%2B9Q%2BEzyagPgEkaLYxY4ljxHGlrTCJA%3D&amp;reserved=0
    
    
    
    sob., 4 kwi 2020 o 00:35 Alex Harui <ah...@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" <pi...@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&amp;data=02%7C01%7Caharui%40adobe.com%7Cf08031adbc2143b1eb0e08d7da1ae535%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637217681363552442&amp;sdata=teg9rh8b5jBFkLgwZ0ig0oHUztUUf73akgNXz6pZcbc%3D&amp;reserved=0
    >
    >     Thanks,
    >     Piotr
    >
    >     pt., 3 kwi 2020 o 22:32 Alex Harui <ah...@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" <pi...@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 <ah...@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" <
    > piotrzarzycki21@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&amp;data=02%7C01%7Caharui%40adobe.com%7Cf08031adbc2143b1eb0e08d7da1ae535%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637217681363562439&amp;sdata=fxTIY1pfj350hnsEhsk7wW1F2pqjLlBTiHXB%2ByiYz0w%3D&amp;reserved=0
    >     >     >
    >     >     >     Thanks,
    >     >     >     Piotr
    >     >     >
    >     >     >     pt., 3 kwi 2020 o 18:40 Alex Harui
    > <ah...@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" <
    >     > piotrzarzycki21@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 <
    >     > yishayjobs@hotmail.com>
    >     >     >     > napisał(a):
    >     >     >     >
    >     >     >     >     > Hi Piotr,
    >     >     >     >     >
    >     >     >     >     > Is HelloWorld example building for you with Ant?
    >     >     >     >     >
    >     >     >     >     > Yishay
    >     >     >     >     >
    >     >     >     >     > From: Piotr Zarzycki<mailto:
    > piotrzarzycki21@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&amp;data=02%7C01%7Caharui%40adobe.com%7Cf08031adbc2143b1eb0e08d7da1ae535%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637217681363562439&amp;sdata=%2Bobu3nThu%2FUDzYSAVPJbI7WzpHQyULMNipXqS%2BzxmT0%3D&amp;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&amp;data=02%7C01%7Caharui%40adobe.com%7Cf08031adbc2143b1eb0e08d7da1ae535%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637217681363562439&amp;sdata=heOOuk1ZiQz6S%2B%2F1FzusNKyEDDswpG8GsN5ct4w%2FoNY%3D&amp;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&amp;data=02%7C01%7Caharui%40adobe.com%7Cf08031adbc2143b1eb0e08d7da1ae535%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637217681363562439&amp;sdata=z1SiwlCHZ38DUgxMnWm%2FQSYpfJug%2Bv9jaz18yNhigGI%3D&amp;reserved=0
    >     >     >     >     <
    >     >     >     >
    >     >     >
    >     >
    > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7Cf08031adbc2143b1eb0e08d7da1ae535%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637217681363562439&amp;sdata=z1SiwlCHZ38DUgxMnWm%2FQSYpfJug%2Bv9jaz18yNhigGI%3D&amp;reserved=0
    >     >     >     > >*
    >     >     >     >
    >     >     >     >
    >     >     >     >
    >     >     >
    >     >     >     --
    >     >     >
    >     >     >     Piotr Zarzycki
    >     >     >
    >     >     >     Patreon: *
    >     >     >
    >     >
    > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7Cf08031adbc2143b1eb0e08d7da1ae535%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637217681363562439&amp;sdata=z1SiwlCHZ38DUgxMnWm%2FQSYpfJug%2Bv9jaz18yNhigGI%3D&amp;reserved=0
    >     >     >     <
    >     >     >
    >     >
    > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7Cf08031adbc2143b1eb0e08d7da1ae535%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637217681363562439&amp;sdata=z1SiwlCHZ38DUgxMnWm%2FQSYpfJug%2Bv9jaz18yNhigGI%3D&amp;reserved=0
    >     >     > >*
    >     >     >
    >     >     >
    >     >     >
    >     >
    >     >     --
    >     >
    >     >     Piotr Zarzycki
    >     >
    >     >     Patreon: *
    >     >
    > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7Cf08031adbc2143b1eb0e08d7da1ae535%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637217681363562439&amp;sdata=z1SiwlCHZ38DUgxMnWm%2FQSYpfJug%2Bv9jaz18yNhigGI%3D&amp;reserved=0
    >     >     <
    >     >
    > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7Cf08031adbc2143b1eb0e08d7da1ae535%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637217681363562439&amp;sdata=z1SiwlCHZ38DUgxMnWm%2FQSYpfJug%2Bv9jaz18yNhigGI%3D&amp;reserved=0
    >     > >*
    >     >
    >     >
    >     >
    >
    >     --
    >
    >     Piotr Zarzycki
    >
    >     Patreon: *
    > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7Cf08031adbc2143b1eb0e08d7da1ae535%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637217681363572423&amp;sdata=QYRfMj7yVfksriEqAOR%2F635iVT%2FeN7728i473byvM08%3D&amp;reserved=0
    >     <
    > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7Cf08031adbc2143b1eb0e08d7da1ae535%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637217681363572423&amp;sdata=QYRfMj7yVfksriEqAOR%2F635iVT%2FeN7728i473byvM08%3D&amp;reserved=0
    > >*
    >
    >
    >
    
    -- 
    
    Piotr Zarzycki
    
    Patreon: *https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7Cf08031adbc2143b1eb0e08d7da1ae535%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637217681363572423&amp;sdata=QYRfMj7yVfksriEqAOR%2F635iVT%2FeN7728i473byvM08%3D&amp;reserved=0
    <https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7Cf08031adbc2143b1eb0e08d7da1ae535%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637217681363572423&amp;sdata=QYRfMj7yVfksriEqAOR%2F635iVT%2FeN7728i473byvM08%3D&amp;reserved=0>*
    


RE: How to build users project using ANT to JS only

Posted by Yishay Weiss <yi...@hotmail.com>.
ROYALE_HOME should be enough. But like I said, there might be another issue with jsc.jar being injected.

From: Piotr Zarzycki<ma...@gmail.com>
Sent: Tuesday, April 7, 2020 7:52 PM
To: Apache Royale Development<ma...@royale.apache.org>
Subject: Re: How to build users project using ANT to JS only

Got it! :) Moonshine sets ROYALE_COMPILER_HOME as well. It looks like it
shouldn't  ?

wt., 7 kwi 2020 o 18:49 Yishay Weiss <yi...@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<ma...@hotmail.com>
> Sent: Monday, April 6, 2020 3:30 PM
> To: dev@royale.apache.org<ma...@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<ma...@hotmail.com>
> Sent: Monday, April 6, 2020 2:57 PM
> To: dev@royale.apache.org<ma...@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<ma...@gmail.com>
> Sent: Monday, April 6, 2020 2:08 PM
> To: Apache Royale Development<ma...@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 <ah...@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" <pi...@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&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&amp;sdata=jpQZcVahyYnB1V%2FEmCBp9XoPEgYw03dL%2FE5e1fuvizs%3D&amp;reserved=0
> >
> >     Thanks,
> >     Piotr
> >
> >     pt., 3 kwi 2020 o 22:32 Alex Harui <ah...@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" <pi...@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 <ah...@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" <
> > piotrzarzycki21@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&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&amp;sdata=fW1PC1yA7xnlV7IKUKuDucOb1dR0Wjwn%2BumoNVtRSZc%3D&amp;reserved=0
> >     >     >
> >     >     >     Thanks,
> >     >     >     Piotr
> >     >     >
> >     >     >     pt., 3 kwi 2020 o 18:40 Alex Harui
> > <ah...@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" <
> >     > piotrzarzycki21@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 <
> >     > yishayjobs@hotmail.com>
> >     >     >     > napisał(a):
> >     >     >     >
> >     >     >     >     > Hi Piotr,
> >     >     >     >     >
> >     >     >     >     > Is HelloWorld example building for you with Ant?
> >     >     >     >     >
> >     >     >     >     > Yishay
> >     >     >     >     >
> >     >     >     >     > From: Piotr Zarzycki<mailto:
> > piotrzarzycki21@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&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&amp;sdata=r8eJm%2FB7Sr0FRyI4xFzRfVDe6Rq77VpdHYChONYcaYc%3D&amp;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&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&amp;sdata=CxOUGKDe6GlBay4xGmvBYe3CTouVzZMHt%2FfdBMm%2Fiio%3D&amp;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&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&amp;sdata=SgBDc%2FSSOtTTKYGtPJMckO9cwQRK2206VLmce1tf%2FJY%3D&amp;reserved=0
> >     >     >     >     <
> >     >     >     >
> >     >     >
> >     >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&amp;sdata=SgBDc%2FSSOtTTKYGtPJMckO9cwQRK2206VLmce1tf%2FJY%3D&amp;reserved=0
> >     >     >     > >*
> >     >     >     >
> >     >     >     >
> >     >     >     >
> >     >     >
> >     >     >     --
> >     >     >
> >     >     >     Piotr Zarzycki
> >     >     >
> >     >     >     Patreon: *
> >     >     >
> >     >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&amp;sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&amp;reserved=0
> >     >     >     <
> >     >     >
> >     >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&amp;sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&amp;reserved=0
> >     >     > >*
> >     >     >
> >     >     >
> >     >     >
> >     >
> >     >     --
> >     >
> >     >     Piotr Zarzycki
> >     >
> >     >     Patreon: *
> >     >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&amp;sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&amp;reserved=0
> >     >     <
> >     >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&amp;sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&amp;reserved=0
> >     > >*
> >     >
> >     >
> >     >
> >
> >     --
> >
> >     Piotr Zarzycki
> >
> >     Patreon: *
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&amp;sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&amp;reserved=0
> >     <
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&amp;sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&amp;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>*


Re: How to build users project using ANT to JS only

Posted by Piotr Zarzycki <pi...@gmail.com>.
Got it! :) Moonshine sets ROYALE_COMPILER_HOME as well. It looks like it
shouldn't  ?

wt., 7 kwi 2020 o 18:49 Yishay Weiss <yi...@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<ma...@hotmail.com>
> Sent: Monday, April 6, 2020 3:30 PM
> To: dev@royale.apache.org<ma...@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<ma...@hotmail.com>
> Sent: Monday, April 6, 2020 2:57 PM
> To: dev@royale.apache.org<ma...@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<ma...@gmail.com>
> Sent: Monday, April 6, 2020 2:08 PM
> To: Apache Royale Development<ma...@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 <ah...@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" <pi...@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&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&amp;sdata=jpQZcVahyYnB1V%2FEmCBp9XoPEgYw03dL%2FE5e1fuvizs%3D&amp;reserved=0
> >
> >     Thanks,
> >     Piotr
> >
> >     pt., 3 kwi 2020 o 22:32 Alex Harui <ah...@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" <pi...@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 <ah...@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" <
> > piotrzarzycki21@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&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&amp;sdata=fW1PC1yA7xnlV7IKUKuDucOb1dR0Wjwn%2BumoNVtRSZc%3D&amp;reserved=0
> >     >     >
> >     >     >     Thanks,
> >     >     >     Piotr
> >     >     >
> >     >     >     pt., 3 kwi 2020 o 18:40 Alex Harui
> > <ah...@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" <
> >     > piotrzarzycki21@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 <
> >     > yishayjobs@hotmail.com>
> >     >     >     > napisał(a):
> >     >     >     >
> >     >     >     >     > Hi Piotr,
> >     >     >     >     >
> >     >     >     >     > Is HelloWorld example building for you with Ant?
> >     >     >     >     >
> >     >     >     >     > Yishay
> >     >     >     >     >
> >     >     >     >     > From: Piotr Zarzycki<mailto:
> > piotrzarzycki21@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&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&amp;sdata=r8eJm%2FB7Sr0FRyI4xFzRfVDe6Rq77VpdHYChONYcaYc%3D&amp;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&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&amp;sdata=CxOUGKDe6GlBay4xGmvBYe3CTouVzZMHt%2FfdBMm%2Fiio%3D&amp;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&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&amp;sdata=SgBDc%2FSSOtTTKYGtPJMckO9cwQRK2206VLmce1tf%2FJY%3D&amp;reserved=0
> >     >     >     >     <
> >     >     >     >
> >     >     >
> >     >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&amp;sdata=SgBDc%2FSSOtTTKYGtPJMckO9cwQRK2206VLmce1tf%2FJY%3D&amp;reserved=0
> >     >     >     > >*
> >     >     >     >
> >     >     >     >
> >     >     >     >
> >     >     >
> >     >     >     --
> >     >     >
> >     >     >     Piotr Zarzycki
> >     >     >
> >     >     >     Patreon: *
> >     >     >
> >     >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&amp;sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&amp;reserved=0
> >     >     >     <
> >     >     >
> >     >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&amp;sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&amp;reserved=0
> >     >     > >*
> >     >     >
> >     >     >
> >     >     >
> >     >
> >     >     --
> >     >
> >     >     Piotr Zarzycki
> >     >
> >     >     Patreon: *
> >     >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&amp;sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&amp;reserved=0
> >     >     <
> >     >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&amp;sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&amp;reserved=0
> >     > >*
> >     >
> >     >
> >     >
> >
> >     --
> >
> >     Piotr Zarzycki
> >
> >     Patreon: *
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&amp;sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&amp;reserved=0
> >     <
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&amp;sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&amp;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>*

RE: How to build users project using ANT to JS only

Posted by Yishay Weiss <yi...@hotmail.com>.
Taken from build_example.xml

________________________________
From: Yishay Weiss <yi...@hotmail.com>
Sent: Wednesday, April 8, 2020 4:25:56 PM
To: dev@royale.apache.org <de...@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<ma...@gmail.com>
Sent: Wednesday, April 8, 2020 4:22 PM
To: Apache Royale Development<ma...@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 <yi...@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 <yi...@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<ma...@hotmail.com>
> > Sent: Monday, April 6, 2020 3:30 PM
> > To: dev@royale.apache.org<ma...@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<ma...@hotmail.com>
> > Sent: Monday, April 6, 2020 2:57 PM
> > To: dev@royale.apache.org<ma...@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<ma...@gmail.com>
> > Sent: Monday, April 6, 2020 2:08 PM
> > To: Apache Royale Development<ma...@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 <ah...@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" <pi...@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&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&amp;sdata=jpQZcVahyYnB1V%2FEmCBp9XoPEgYw03dL%2FE5e1fuvizs%3D&amp;reserved=0
> > >
> > >     Thanks,
> > >     Piotr
> > >
> > >     pt., 3 kwi 2020 o 22:32 Alex Harui <ah...@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" <pi...@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 <aharui@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" <
> > > piotrzarzycki21@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&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&amp;sdata=fW1PC1yA7xnlV7IKUKuDucOb1dR0Wjwn%2BumoNVtRSZc%3D&amp;reserved=0
> > >     >     >
> > >     >     >     Thanks,
> > >     >     >     Piotr
> > >     >     >
> > >     >     >     pt., 3 kwi 2020 o 18:40 Alex Harui
> > > <ah...@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" <
> > >     > piotrzarzycki21@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 <
> > >     > yishayjobs@hotmail.com>
> > >     >     >     > napisał(a):
> > >     >     >     >
> > >     >     >     >     > Hi Piotr,
> > >     >     >     >     >
> > >     >     >     >     > Is HelloWorld example building for you with
> Ant?
> > >     >     >     >     >
> > >     >     >     >     > Yishay
> > >     >     >     >     >
> > >     >     >     >     > From: Piotr Zarzycki<mailto:
> > > piotrzarzycki21@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&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&amp;sdata=r8eJm%2FB7Sr0FRyI4xFzRfVDe6Rq77VpdHYChONYcaYc%3D&amp;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&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&amp;sdata=CxOUGKDe6GlBay4xGmvBYe3CTouVzZMHt%2FfdBMm%2Fiio%3D&amp;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&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&amp;sdata=SgBDc%2FSSOtTTKYGtPJMckO9cwQRK2206VLmce1tf%2FJY%3D&amp;reserved=0
> > >     >     >     >     <
> > >     >     >     >
> > >     >     >
> > >     >
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&amp;sdata=SgBDc%2FSSOtTTKYGtPJMckO9cwQRK2206VLmce1tf%2FJY%3D&amp;reserved=0
> > >     >     >     > >*
> > >     >     >     >
> > >     >     >     >
> > >     >     >     >
> > >     >     >
> > >     >     >     --
> > >     >     >
> > >     >     >     Piotr Zarzycki
> > >     >     >
> > >     >     >     Patreon: *
> > >     >     >
> > >     >
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&amp;sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&amp;reserved=0
> > >     >     >     <
> > >     >     >
> > >     >
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&amp;sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&amp;reserved=0
> > >     >     > >*
> > >     >     >
> > >     >     >
> > >     >     >
> > >     >
> > >     >     --
> > >     >
> > >     >     Piotr Zarzycki
> > >     >
> > >     >     Patreon: *
> > >     >
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&amp;sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&amp;reserved=0
> > >     >     <
> > >     >
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&amp;sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&amp;reserved=0
> > >     > >*
> > >     >
> > >     >
> > >     >
> > >
> > >     --
> > >
> > >     Piotr Zarzycki
> > >
> > >     Patreon: *
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&amp;sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&amp;reserved=0
> > >     <
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&amp;sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&amp;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>*


RE: How to build users project using ANT to JS only

Posted by Yishay Weiss <yi...@hotmail.com>.
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<ma...@gmail.com>
Sent: Wednesday, April 8, 2020 4:22 PM
To: Apache Royale Development<ma...@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 <yi...@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 <yi...@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<ma...@hotmail.com>
> > Sent: Monday, April 6, 2020 3:30 PM
> > To: dev@royale.apache.org<ma...@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<ma...@hotmail.com>
> > Sent: Monday, April 6, 2020 2:57 PM
> > To: dev@royale.apache.org<ma...@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<ma...@gmail.com>
> > Sent: Monday, April 6, 2020 2:08 PM
> > To: Apache Royale Development<ma...@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 <ah...@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" <pi...@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&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&amp;sdata=jpQZcVahyYnB1V%2FEmCBp9XoPEgYw03dL%2FE5e1fuvizs%3D&amp;reserved=0
> > >
> > >     Thanks,
> > >     Piotr
> > >
> > >     pt., 3 kwi 2020 o 22:32 Alex Harui <ah...@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" <pi...@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 <aharui@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" <
> > > piotrzarzycki21@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&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&amp;sdata=fW1PC1yA7xnlV7IKUKuDucOb1dR0Wjwn%2BumoNVtRSZc%3D&amp;reserved=0
> > >     >     >
> > >     >     >     Thanks,
> > >     >     >     Piotr
> > >     >     >
> > >     >     >     pt., 3 kwi 2020 o 18:40 Alex Harui
> > > <ah...@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" <
> > >     > piotrzarzycki21@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 <
> > >     > yishayjobs@hotmail.com>
> > >     >     >     > napisał(a):
> > >     >     >     >
> > >     >     >     >     > Hi Piotr,
> > >     >     >     >     >
> > >     >     >     >     > Is HelloWorld example building for you with
> Ant?
> > >     >     >     >     >
> > >     >     >     >     > Yishay
> > >     >     >     >     >
> > >     >     >     >     > From: Piotr Zarzycki<mailto:
> > > piotrzarzycki21@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&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&amp;sdata=r8eJm%2FB7Sr0FRyI4xFzRfVDe6Rq77VpdHYChONYcaYc%3D&amp;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&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&amp;sdata=CxOUGKDe6GlBay4xGmvBYe3CTouVzZMHt%2FfdBMm%2Fiio%3D&amp;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&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&amp;sdata=SgBDc%2FSSOtTTKYGtPJMckO9cwQRK2206VLmce1tf%2FJY%3D&amp;reserved=0
> > >     >     >     >     <
> > >     >     >     >
> > >     >     >
> > >     >
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&amp;sdata=SgBDc%2FSSOtTTKYGtPJMckO9cwQRK2206VLmce1tf%2FJY%3D&amp;reserved=0
> > >     >     >     > >*
> > >     >     >     >
> > >     >     >     >
> > >     >     >     >
> > >     >     >
> > >     >     >     --
> > >     >     >
> > >     >     >     Piotr Zarzycki
> > >     >     >
> > >     >     >     Patreon: *
> > >     >     >
> > >     >
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&amp;sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&amp;reserved=0
> > >     >     >     <
> > >     >     >
> > >     >
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&amp;sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&amp;reserved=0
> > >     >     > >*
> > >     >     >
> > >     >     >
> > >     >     >
> > >     >
> > >     >     --
> > >     >
> > >     >     Piotr Zarzycki
> > >     >
> > >     >     Patreon: *
> > >     >
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&amp;sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&amp;reserved=0
> > >     >     <
> > >     >
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&amp;sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&amp;reserved=0
> > >     > >*
> > >     >
> > >     >
> > >     >
> > >
> > >     --
> > >
> > >     Piotr Zarzycki
> > >
> > >     Patreon: *
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&amp;sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&amp;reserved=0
> > >     <
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&amp;sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&amp;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>*


Re: How to build users project using ANT to JS only

Posted by Piotr Zarzycki <pi...@gmail.com>.
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 <yi...@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 <yi...@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<ma...@hotmail.com>
> > Sent: Monday, April 6, 2020 3:30 PM
> > To: dev@royale.apache.org<ma...@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<ma...@hotmail.com>
> > Sent: Monday, April 6, 2020 2:57 PM
> > To: dev@royale.apache.org<ma...@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<ma...@gmail.com>
> > Sent: Monday, April 6, 2020 2:08 PM
> > To: Apache Royale Development<ma...@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 <ah...@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" <pi...@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&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&amp;sdata=jpQZcVahyYnB1V%2FEmCBp9XoPEgYw03dL%2FE5e1fuvizs%3D&amp;reserved=0
> > >
> > >     Thanks,
> > >     Piotr
> > >
> > >     pt., 3 kwi 2020 o 22:32 Alex Harui <ah...@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" <pi...@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 <aharui@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" <
> > > piotrzarzycki21@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&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&amp;sdata=fW1PC1yA7xnlV7IKUKuDucOb1dR0Wjwn%2BumoNVtRSZc%3D&amp;reserved=0
> > >     >     >
> > >     >     >     Thanks,
> > >     >     >     Piotr
> > >     >     >
> > >     >     >     pt., 3 kwi 2020 o 18:40 Alex Harui
> > > <ah...@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" <
> > >     > piotrzarzycki21@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 <
> > >     > yishayjobs@hotmail.com>
> > >     >     >     > napisał(a):
> > >     >     >     >
> > >     >     >     >     > Hi Piotr,
> > >     >     >     >     >
> > >     >     >     >     > Is HelloWorld example building for you with
> Ant?
> > >     >     >     >     >
> > >     >     >     >     > Yishay
> > >     >     >     >     >
> > >     >     >     >     > From: Piotr Zarzycki<mailto:
> > > piotrzarzycki21@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&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&amp;sdata=r8eJm%2FB7Sr0FRyI4xFzRfVDe6Rq77VpdHYChONYcaYc%3D&amp;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&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&amp;sdata=CxOUGKDe6GlBay4xGmvBYe3CTouVzZMHt%2FfdBMm%2Fiio%3D&amp;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&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&amp;sdata=SgBDc%2FSSOtTTKYGtPJMckO9cwQRK2206VLmce1tf%2FJY%3D&amp;reserved=0
> > >     >     >     >     <
> > >     >     >     >
> > >     >     >
> > >     >
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&amp;sdata=SgBDc%2FSSOtTTKYGtPJMckO9cwQRK2206VLmce1tf%2FJY%3D&amp;reserved=0
> > >     >     >     > >*
> > >     >     >     >
> > >     >     >     >
> > >     >     >     >
> > >     >     >
> > >     >     >     --
> > >     >     >
> > >     >     >     Piotr Zarzycki
> > >     >     >
> > >     >     >     Patreon: *
> > >     >     >
> > >     >
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&amp;sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&amp;reserved=0
> > >     >     >     <
> > >     >     >
> > >     >
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&amp;sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&amp;reserved=0
> > >     >     > >*
> > >     >     >
> > >     >     >
> > >     >     >
> > >     >
> > >     >     --
> > >     >
> > >     >     Piotr Zarzycki
> > >     >
> > >     >     Patreon: *
> > >     >
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&amp;sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&amp;reserved=0
> > >     >     <
> > >     >
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&amp;sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&amp;reserved=0
> > >     > >*
> > >     >
> > >     >
> > >     >
> > >
> > >     --
> > >
> > >     Piotr Zarzycki
> > >
> > >     Patreon: *
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&amp;sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&amp;reserved=0
> > >     <
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&amp;sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&amp;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>*

RE: How to build users project using ANT to JS only

Posted by Yishay Weiss <yi...@hotmail.com>.

>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 <yi...@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<ma...@hotmail.com>
> Sent: Monday, April 6, 2020 3:30 PM
> To: dev@royale.apache.org<ma...@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<ma...@hotmail.com>
> Sent: Monday, April 6, 2020 2:57 PM
> To: dev@royale.apache.org<ma...@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<ma...@gmail.com>
> Sent: Monday, April 6, 2020 2:08 PM
> To: Apache Royale Development<ma...@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 <ah...@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" <pi...@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&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&amp;sdata=jpQZcVahyYnB1V%2FEmCBp9XoPEgYw03dL%2FE5e1fuvizs%3D&amp;reserved=0
> >
> >     Thanks,
> >     Piotr
> >
> >     pt., 3 kwi 2020 o 22:32 Alex Harui <ah...@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" <pi...@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 <ah...@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" <
> > piotrzarzycki21@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&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&amp;sdata=fW1PC1yA7xnlV7IKUKuDucOb1dR0Wjwn%2BumoNVtRSZc%3D&amp;reserved=0
> >     >     >
> >     >     >     Thanks,
> >     >     >     Piotr
> >     >     >
> >     >     >     pt., 3 kwi 2020 o 18:40 Alex Harui
> > <ah...@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" <
> >     > piotrzarzycki21@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 <
> >     > yishayjobs@hotmail.com>
> >     >     >     > napisał(a):
> >     >     >     >
> >     >     >     >     > Hi Piotr,
> >     >     >     >     >
> >     >     >     >     > Is HelloWorld example building for you with Ant?
> >     >     >     >     >
> >     >     >     >     > Yishay
> >     >     >     >     >
> >     >     >     >     > From: Piotr Zarzycki<mailto:
> > piotrzarzycki21@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&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&amp;sdata=r8eJm%2FB7Sr0FRyI4xFzRfVDe6Rq77VpdHYChONYcaYc%3D&amp;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&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&amp;sdata=CxOUGKDe6GlBay4xGmvBYe3CTouVzZMHt%2FfdBMm%2Fiio%3D&amp;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&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&amp;sdata=SgBDc%2FSSOtTTKYGtPJMckO9cwQRK2206VLmce1tf%2FJY%3D&amp;reserved=0
> >     >     >     >     <
> >     >     >     >
> >     >     >
> >     >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&amp;sdata=SgBDc%2FSSOtTTKYGtPJMckO9cwQRK2206VLmce1tf%2FJY%3D&amp;reserved=0
> >     >     >     > >*
> >     >     >     >
> >     >     >     >
> >     >     >     >
> >     >     >
> >     >     >     --
> >     >     >
> >     >     >     Piotr Zarzycki
> >     >     >
> >     >     >     Patreon: *
> >     >     >
> >     >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&amp;sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&amp;reserved=0
> >     >     >     <
> >     >     >
> >     >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&amp;sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&amp;reserved=0
> >     >     > >*
> >     >     >
> >     >     >
> >     >     >
> >     >
> >     >     --
> >     >
> >     >     Piotr Zarzycki
> >     >
> >     >     Patreon: *
> >     >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&amp;sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&amp;reserved=0
> >     >     <
> >     >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&amp;sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&amp;reserved=0
> >     > >*
> >     >
> >     >
> >     >
> >
> >     --
> >
> >     Piotr Zarzycki
> >
> >     Patreon: *
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&amp;sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&amp;reserved=0
> >     <
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&amp;sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&amp;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>*


Re: How to build users project using ANT to JS only

Posted by Piotr Zarzycki <pi...@gmail.com>.
Hi Yishay,

What does this mean: " var by checking for
ROYALE_COMPILER_HOME\lib\jsc.jar. It probably should not be there in your
case." ? I should not have that jsc.jar inside downloaded sdk?

I have removed setting up ROYALE_COMPILER_HOME from Moonshine, so next
version of IDE will have only ROYALE_HOME set.


wt., 7 kwi 2020 o 18:49 Yishay Weiss <yi...@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<ma...@hotmail.com>
> Sent: Monday, April 6, 2020 3:30 PM
> To: dev@royale.apache.org<ma...@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<ma...@hotmail.com>
> Sent: Monday, April 6, 2020 2:57 PM
> To: dev@royale.apache.org<ma...@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<ma...@gmail.com>
> Sent: Monday, April 6, 2020 2:08 PM
> To: Apache Royale Development<ma...@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 <ah...@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" <pi...@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&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&amp;sdata=jpQZcVahyYnB1V%2FEmCBp9XoPEgYw03dL%2FE5e1fuvizs%3D&amp;reserved=0
> >
> >     Thanks,
> >     Piotr
> >
> >     pt., 3 kwi 2020 o 22:32 Alex Harui <ah...@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" <pi...@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 <ah...@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" <
> > piotrzarzycki21@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&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&amp;sdata=fW1PC1yA7xnlV7IKUKuDucOb1dR0Wjwn%2BumoNVtRSZc%3D&amp;reserved=0
> >     >     >
> >     >     >     Thanks,
> >     >     >     Piotr
> >     >     >
> >     >     >     pt., 3 kwi 2020 o 18:40 Alex Harui
> > <ah...@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" <
> >     > piotrzarzycki21@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 <
> >     > yishayjobs@hotmail.com>
> >     >     >     > napisał(a):
> >     >     >     >
> >     >     >     >     > Hi Piotr,
> >     >     >     >     >
> >     >     >     >     > Is HelloWorld example building for you with Ant?
> >     >     >     >     >
> >     >     >     >     > Yishay
> >     >     >     >     >
> >     >     >     >     > From: Piotr Zarzycki<mailto:
> > piotrzarzycki21@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&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&amp;sdata=r8eJm%2FB7Sr0FRyI4xFzRfVDe6Rq77VpdHYChONYcaYc%3D&amp;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&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&amp;sdata=CxOUGKDe6GlBay4xGmvBYe3CTouVzZMHt%2FfdBMm%2Fiio%3D&amp;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&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&amp;sdata=SgBDc%2FSSOtTTKYGtPJMckO9cwQRK2206VLmce1tf%2FJY%3D&amp;reserved=0
> >     >     >     >     <
> >     >     >     >
> >     >     >
> >     >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&amp;sdata=SgBDc%2FSSOtTTKYGtPJMckO9cwQRK2206VLmce1tf%2FJY%3D&amp;reserved=0
> >     >     >     > >*
> >     >     >     >
> >     >     >     >
> >     >     >     >
> >     >     >
> >     >     >     --
> >     >     >
> >     >     >     Piotr Zarzycki
> >     >     >
> >     >     >     Patreon: *
> >     >     >
> >     >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&amp;sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&amp;reserved=0
> >     >     >     <
> >     >     >
> >     >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&amp;sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&amp;reserved=0
> >     >     > >*
> >     >     >
> >     >     >
> >     >     >
> >     >
> >     >     --
> >     >
> >     >     Piotr Zarzycki
> >     >
> >     >     Patreon: *
> >     >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&amp;sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&amp;reserved=0
> >     >     <
> >     >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&amp;sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&amp;reserved=0
> >     > >*
> >     >
> >     >
> >     >
> >
> >     --
> >
> >     Piotr Zarzycki
> >
> >     Patreon: *
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&amp;sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&amp;reserved=0
> >     <
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&amp;sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&amp;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>*

RE: How to build users project using ANT to JS only

Posted by Yishay Weiss <yi...@hotmail.com>.
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<ma...@hotmail.com>
Sent: Monday, April 6, 2020 3:30 PM
To: dev@royale.apache.org<ma...@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<ma...@hotmail.com>
Sent: Monday, April 6, 2020 2:57 PM
To: dev@royale.apache.org<ma...@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<ma...@gmail.com>
Sent: Monday, April 6, 2020 2:08 PM
To: Apache Royale Development<ma...@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 <ah...@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" <pi...@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&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&amp;sdata=jpQZcVahyYnB1V%2FEmCBp9XoPEgYw03dL%2FE5e1fuvizs%3D&amp;reserved=0
>
>     Thanks,
>     Piotr
>
>     pt., 3 kwi 2020 o 22:32 Alex Harui <ah...@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" <pi...@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 <ah...@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" <
> piotrzarzycki21@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&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&amp;sdata=fW1PC1yA7xnlV7IKUKuDucOb1dR0Wjwn%2BumoNVtRSZc%3D&amp;reserved=0
>     >     >
>     >     >     Thanks,
>     >     >     Piotr
>     >     >
>     >     >     pt., 3 kwi 2020 o 18:40 Alex Harui
> <ah...@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" <
>     > piotrzarzycki21@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 <
>     > yishayjobs@hotmail.com>
>     >     >     > napisał(a):
>     >     >     >
>     >     >     >     > Hi Piotr,
>     >     >     >     >
>     >     >     >     > Is HelloWorld example building for you with Ant?
>     >     >     >     >
>     >     >     >     > Yishay
>     >     >     >     >
>     >     >     >     > From: Piotr Zarzycki<mailto:
> piotrzarzycki21@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&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&amp;sdata=r8eJm%2FB7Sr0FRyI4xFzRfVDe6Rq77VpdHYChONYcaYc%3D&amp;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&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&amp;sdata=CxOUGKDe6GlBay4xGmvBYe3CTouVzZMHt%2FfdBMm%2Fiio%3D&amp;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&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&amp;sdata=SgBDc%2FSSOtTTKYGtPJMckO9cwQRK2206VLmce1tf%2FJY%3D&amp;reserved=0
>     >     >     >     <
>     >     >     >
>     >     >
>     >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&amp;sdata=SgBDc%2FSSOtTTKYGtPJMckO9cwQRK2206VLmce1tf%2FJY%3D&amp;reserved=0
>     >     >     > >*
>     >     >     >
>     >     >     >
>     >     >     >
>     >     >
>     >     >     --
>     >     >
>     >     >     Piotr Zarzycki
>     >     >
>     >     >     Patreon: *
>     >     >
>     >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&amp;sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&amp;reserved=0
>     >     >     <
>     >     >
>     >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&amp;sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&amp;reserved=0
>     >     > >*
>     >     >
>     >     >
>     >     >
>     >
>     >     --
>     >
>     >     Piotr Zarzycki
>     >
>     >     Patreon: *
>     >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&amp;sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&amp;reserved=0
>     >     <
>     >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&amp;sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&amp;reserved=0
>     > >*
>     >
>     >
>     >
>
>     --
>
>     Piotr Zarzycki
>
>     Patreon: *
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&amp;sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&amp;reserved=0
>     <
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&amp;sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&amp;reserved=0
> >*
>
>
>

--

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*


RE: How to build users project using ANT to JS only

Posted by Yishay Weiss <yi...@hotmail.com>.
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<ma...@hotmail.com>
Sent: Monday, April 6, 2020 2:57 PM
To: dev@royale.apache.org<ma...@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<ma...@gmail.com>
Sent: Monday, April 6, 2020 2:08 PM
To: Apache Royale Development<ma...@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 <ah...@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" <pi...@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&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&amp;sdata=jpQZcVahyYnB1V%2FEmCBp9XoPEgYw03dL%2FE5e1fuvizs%3D&amp;reserved=0
>
>     Thanks,
>     Piotr
>
>     pt., 3 kwi 2020 o 22:32 Alex Harui <ah...@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" <pi...@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 <ah...@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" <
> piotrzarzycki21@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&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&amp;sdata=fW1PC1yA7xnlV7IKUKuDucOb1dR0Wjwn%2BumoNVtRSZc%3D&amp;reserved=0
>     >     >
>     >     >     Thanks,
>     >     >     Piotr
>     >     >
>     >     >     pt., 3 kwi 2020 o 18:40 Alex Harui
> <ah...@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" <
>     > piotrzarzycki21@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 <
>     > yishayjobs@hotmail.com>
>     >     >     > napisał(a):
>     >     >     >
>     >     >     >     > Hi Piotr,
>     >     >     >     >
>     >     >     >     > Is HelloWorld example building for you with Ant?
>     >     >     >     >
>     >     >     >     > Yishay
>     >     >     >     >
>     >     >     >     > From: Piotr Zarzycki<mailto:
> piotrzarzycki21@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&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&amp;sdata=r8eJm%2FB7Sr0FRyI4xFzRfVDe6Rq77VpdHYChONYcaYc%3D&amp;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&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&amp;sdata=CxOUGKDe6GlBay4xGmvBYe3CTouVzZMHt%2FfdBMm%2Fiio%3D&amp;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&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&amp;sdata=SgBDc%2FSSOtTTKYGtPJMckO9cwQRK2206VLmce1tf%2FJY%3D&amp;reserved=0
>     >     >     >     <
>     >     >     >
>     >     >
>     >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&amp;sdata=SgBDc%2FSSOtTTKYGtPJMckO9cwQRK2206VLmce1tf%2FJY%3D&amp;reserved=0
>     >     >     > >*
>     >     >     >
>     >     >     >
>     >     >     >
>     >     >
>     >     >     --
>     >     >
>     >     >     Piotr Zarzycki
>     >     >
>     >     >     Patreon: *
>     >     >
>     >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&amp;sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&amp;reserved=0
>     >     >     <
>     >     >
>     >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&amp;sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&amp;reserved=0
>     >     > >*
>     >     >
>     >     >
>     >     >
>     >
>     >     --
>     >
>     >     Piotr Zarzycki
>     >
>     >     Patreon: *
>     >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&amp;sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&amp;reserved=0
>     >     <
>     >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&amp;sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&amp;reserved=0
>     > >*
>     >
>     >
>     >
>
>     --
>
>     Piotr Zarzycki
>
>     Patreon: *
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&amp;sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&amp;reserved=0
>     <
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&amp;sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&amp;reserved=0
> >*
>
>
>

--

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*


Re: How to build users project using ANT to JS only

Posted by Piotr Zarzycki <pi...@gmail.com>.
Hi Yishay,

This helped - I'm able build HelloWorld of mxroyale example .Yes I'm
setting env variable you can see this in the stacktrace which I have posted
in this thread

pon., 6 kwi 2020 o 13:57 Yishay Weiss <yi...@hotmail.com> napisał(a):

> 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<ma...@gmail.com>
> Sent: Monday, April 6, 2020 2:08 PM
> To: Apache Royale Development<ma...@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 <ah...@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" <pi...@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&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&amp;sdata=jpQZcVahyYnB1V%2FEmCBp9XoPEgYw03dL%2FE5e1fuvizs%3D&amp;reserved=0
> >
> >     Thanks,
> >     Piotr
> >
> >     pt., 3 kwi 2020 o 22:32 Alex Harui <ah...@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" <pi...@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 <ah...@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" <
> > piotrzarzycki21@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&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&amp;sdata=fW1PC1yA7xnlV7IKUKuDucOb1dR0Wjwn%2BumoNVtRSZc%3D&amp;reserved=0
> >     >     >
> >     >     >     Thanks,
> >     >     >     Piotr
> >     >     >
> >     >     >     pt., 3 kwi 2020 o 18:40 Alex Harui
> > <ah...@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" <
> >     > piotrzarzycki21@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 <
> >     > yishayjobs@hotmail.com>
> >     >     >     > napisał(a):
> >     >     >     >
> >     >     >     >     > Hi Piotr,
> >     >     >     >     >
> >     >     >     >     > Is HelloWorld example building for you with Ant?
> >     >     >     >     >
> >     >     >     >     > Yishay
> >     >     >     >     >
> >     >     >     >     > From: Piotr Zarzycki<mailto:
> > piotrzarzycki21@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&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&amp;sdata=r8eJm%2FB7Sr0FRyI4xFzRfVDe6Rq77VpdHYChONYcaYc%3D&amp;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&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&amp;sdata=CxOUGKDe6GlBay4xGmvBYe3CTouVzZMHt%2FfdBMm%2Fiio%3D&amp;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&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&amp;sdata=SgBDc%2FSSOtTTKYGtPJMckO9cwQRK2206VLmce1tf%2FJY%3D&amp;reserved=0
> >     >     >     >     <
> >     >     >     >
> >     >     >
> >     >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&amp;sdata=SgBDc%2FSSOtTTKYGtPJMckO9cwQRK2206VLmce1tf%2FJY%3D&amp;reserved=0
> >     >     >     > >*
> >     >     >     >
> >     >     >     >
> >     >     >     >
> >     >     >
> >     >     >     --
> >     >     >
> >     >     >     Piotr Zarzycki
> >     >     >
> >     >     >     Patreon: *
> >     >     >
> >     >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&amp;sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&amp;reserved=0
> >     >     >     <
> >     >     >
> >     >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&amp;sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&amp;reserved=0
> >     >     > >*
> >     >     >
> >     >     >
> >     >     >
> >     >
> >     >     --
> >     >
> >     >     Piotr Zarzycki
> >     >
> >     >     Patreon: *
> >     >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&amp;sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&amp;reserved=0
> >     >     <
> >     >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&amp;sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&amp;reserved=0
> >     > >*
> >     >
> >     >
> >     >
> >
> >     --
> >
> >     Piotr Zarzycki
> >
> >     Patreon: *
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&amp;sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&amp;reserved=0
> >     <
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&amp;sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&amp;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>*

RE: How to build users project using ANT to JS only

Posted by Yishay Weiss <yi...@hotmail.com>.
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<ma...@gmail.com>
Sent: Monday, April 6, 2020 2:08 PM
To: Apache Royale Development<ma...@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 <ah...@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" <pi...@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&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&amp;sdata=jpQZcVahyYnB1V%2FEmCBp9XoPEgYw03dL%2FE5e1fuvizs%3D&amp;reserved=0
>
>     Thanks,
>     Piotr
>
>     pt., 3 kwi 2020 o 22:32 Alex Harui <ah...@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" <pi...@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 <ah...@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" <
> piotrzarzycki21@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&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&amp;sdata=fW1PC1yA7xnlV7IKUKuDucOb1dR0Wjwn%2BumoNVtRSZc%3D&amp;reserved=0
>     >     >
>     >     >     Thanks,
>     >     >     Piotr
>     >     >
>     >     >     pt., 3 kwi 2020 o 18:40 Alex Harui
> <ah...@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" <
>     > piotrzarzycki21@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 <
>     > yishayjobs@hotmail.com>
>     >     >     > napisał(a):
>     >     >     >
>     >     >     >     > Hi Piotr,
>     >     >     >     >
>     >     >     >     > Is HelloWorld example building for you with Ant?
>     >     >     >     >
>     >     >     >     > Yishay
>     >     >     >     >
>     >     >     >     > From: Piotr Zarzycki<mailto:
> piotrzarzycki21@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&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&amp;sdata=r8eJm%2FB7Sr0FRyI4xFzRfVDe6Rq77VpdHYChONYcaYc%3D&amp;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&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&amp;sdata=CxOUGKDe6GlBay4xGmvBYe3CTouVzZMHt%2FfdBMm%2Fiio%3D&amp;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&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&amp;sdata=SgBDc%2FSSOtTTKYGtPJMckO9cwQRK2206VLmce1tf%2FJY%3D&amp;reserved=0
>     >     >     >     <
>     >     >     >
>     >     >
>     >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&amp;sdata=SgBDc%2FSSOtTTKYGtPJMckO9cwQRK2206VLmce1tf%2FJY%3D&amp;reserved=0
>     >     >     > >*
>     >     >     >
>     >     >     >
>     >     >     >
>     >     >
>     >     >     --
>     >     >
>     >     >     Piotr Zarzycki
>     >     >
>     >     >     Patreon: *
>     >     >
>     >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&amp;sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&amp;reserved=0
>     >     >     <
>     >     >
>     >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&amp;sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&amp;reserved=0
>     >     > >*
>     >     >
>     >     >
>     >     >
>     >
>     >     --
>     >
>     >     Piotr Zarzycki
>     >
>     >     Patreon: *
>     >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&amp;sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&amp;reserved=0
>     >     <
>     >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&amp;sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&amp;reserved=0
>     > >*
>     >
>     >
>     >
>
>     --
>
>     Piotr Zarzycki
>
>     Patreon: *
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&amp;sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&amp;reserved=0
>     <
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&amp;sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&amp;reserved=0
> >*
>
>
>

--

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*


Re: How to build users project using ANT to JS only

Posted by serkan <se...@likyateknoloji.com>.
Hi Piotr,

This the batch file I use to build my test project.

https://github.com/nihavend/royale-testing/blob/master/build-ant.bat

May be it helps.

Thanks,
Serkan

6.04.2020 14:08 tarihinde Piotr Zarzycki yazdı:
> 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 <ah...@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" <pi...@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&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&amp;sdata=jpQZcVahyYnB1V%2FEmCBp9XoPEgYw03dL%2FE5e1fuvizs%3D&amp;reserved=0
>>
>>      Thanks,
>>      Piotr
>>
>>      pt., 3 kwi 2020 o 22:32 Alex Harui <ah...@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" <pi...@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 <ah...@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" <
>> piotrzarzycki21@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&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&amp;sdata=fW1PC1yA7xnlV7IKUKuDucOb1dR0Wjwn%2BumoNVtRSZc%3D&amp;reserved=0
>>      >     >
>>      >     >     Thanks,
>>      >     >     Piotr
>>      >     >
>>      >     >     pt., 3 kwi 2020 o 18:40 Alex Harui
>> <ah...@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" <
>>      > piotrzarzycki21@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 <
>>      > yishayjobs@hotmail.com>
>>      >     >     > napisał(a):
>>      >     >     >
>>      >     >     >     > Hi Piotr,
>>      >     >     >     >
>>      >     >     >     > Is HelloWorld example building for you with Ant?
>>      >     >     >     >
>>      >     >     >     > Yishay
>>      >     >     >     >
>>      >     >     >     > From: Piotr Zarzycki<mailto:
>> piotrzarzycki21@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&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&amp;sdata=r8eJm%2FB7Sr0FRyI4xFzRfVDe6Rq77VpdHYChONYcaYc%3D&amp;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&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&amp;sdata=CxOUGKDe6GlBay4xGmvBYe3CTouVzZMHt%2FfdBMm%2Fiio%3D&amp;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&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&amp;sdata=SgBDc%2FSSOtTTKYGtPJMckO9cwQRK2206VLmce1tf%2FJY%3D&amp;reserved=0
>>      >     >     >     <
>>      >     >     >
>>      >     >
>>      >
>> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&amp;sdata=SgBDc%2FSSOtTTKYGtPJMckO9cwQRK2206VLmce1tf%2FJY%3D&amp;reserved=0
>>      >     >     > >*
>>      >     >     >
>>      >     >     >
>>      >     >     >
>>      >     >
>>      >     >     --
>>      >     >
>>      >     >     Piotr Zarzycki
>>      >     >
>>      >     >     Patreon: *
>>      >     >
>>      >
>> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&amp;sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&amp;reserved=0
>>      >     >     <
>>      >     >
>>      >
>> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&amp;sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&amp;reserved=0
>>      >     > >*
>>      >     >
>>      >     >
>>      >     >
>>      >
>>      >     --
>>      >
>>      >     Piotr Zarzycki
>>      >
>>      >     Patreon: *
>>      >
>> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&amp;sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&amp;reserved=0
>>      >     <
>>      >
>> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&amp;sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&amp;reserved=0
>>      > >*
>>      >
>>      >
>>      >
>>
>>      --
>>
>>      Piotr Zarzycki
>>
>>      Patreon: *
>> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&amp;sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&amp;reserved=0
>>      <
>> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&amp;sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&amp;reserved=0
>>> *
>>
>>


Re: How to build users project using ANT to JS only

Posted by Piotr Zarzycki <pi...@gmail.com>.
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 <ah...@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" <pi...@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&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&amp;sdata=jpQZcVahyYnB1V%2FEmCBp9XoPEgYw03dL%2FE5e1fuvizs%3D&amp;reserved=0
>
>     Thanks,
>     Piotr
>
>     pt., 3 kwi 2020 o 22:32 Alex Harui <ah...@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" <pi...@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 <ah...@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" <
> piotrzarzycki21@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&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&amp;sdata=fW1PC1yA7xnlV7IKUKuDucOb1dR0Wjwn%2BumoNVtRSZc%3D&amp;reserved=0
>     >     >
>     >     >     Thanks,
>     >     >     Piotr
>     >     >
>     >     >     pt., 3 kwi 2020 o 18:40 Alex Harui
> <ah...@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" <
>     > piotrzarzycki21@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 <
>     > yishayjobs@hotmail.com>
>     >     >     > napisał(a):
>     >     >     >
>     >     >     >     > Hi Piotr,
>     >     >     >     >
>     >     >     >     > Is HelloWorld example building for you with Ant?
>     >     >     >     >
>     >     >     >     > Yishay
>     >     >     >     >
>     >     >     >     > From: Piotr Zarzycki<mailto:
> piotrzarzycki21@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&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&amp;sdata=r8eJm%2FB7Sr0FRyI4xFzRfVDe6Rq77VpdHYChONYcaYc%3D&amp;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&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&amp;sdata=CxOUGKDe6GlBay4xGmvBYe3CTouVzZMHt%2FfdBMm%2Fiio%3D&amp;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&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&amp;sdata=SgBDc%2FSSOtTTKYGtPJMckO9cwQRK2206VLmce1tf%2FJY%3D&amp;reserved=0
>     >     >     >     <
>     >     >     >
>     >     >
>     >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&amp;sdata=SgBDc%2FSSOtTTKYGtPJMckO9cwQRK2206VLmce1tf%2FJY%3D&amp;reserved=0
>     >     >     > >*
>     >     >     >
>     >     >     >
>     >     >     >
>     >     >
>     >     >     --
>     >     >
>     >     >     Piotr Zarzycki
>     >     >
>     >     >     Patreon: *
>     >     >
>     >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&amp;sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&amp;reserved=0
>     >     >     <
>     >     >
>     >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&amp;sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&amp;reserved=0
>     >     > >*
>     >     >
>     >     >
>     >     >
>     >
>     >     --
>     >
>     >     Piotr Zarzycki
>     >
>     >     Patreon: *
>     >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&amp;sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&amp;reserved=0
>     >     <
>     >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&amp;sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&amp;reserved=0
>     > >*
>     >
>     >
>     >
>
>     --
>
>     Piotr Zarzycki
>
>     Patreon: *
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&amp;sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&amp;reserved=0
>     <
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&amp;sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&amp;reserved=0
> >*
>
>
>

-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*

Re: How to build users project using ANT to JS only

Posted by Alex Harui <ah...@adobe.com.INVALID>.
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" <pi...@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&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&amp;sdata=jpQZcVahyYnB1V%2FEmCBp9XoPEgYw03dL%2FE5e1fuvizs%3D&amp;reserved=0
    
    Thanks,
    Piotr
    
    pt., 3 kwi 2020 o 22:32 Alex Harui <ah...@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" <pi...@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 <ah...@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" <pi...@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&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&amp;sdata=fW1PC1yA7xnlV7IKUKuDucOb1dR0Wjwn%2BumoNVtRSZc%3D&amp;reserved=0
    >     >
    >     >     Thanks,
    >     >     Piotr
    >     >
    >     >     pt., 3 kwi 2020 o 18:40 Alex Harui <ah...@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" <
    > piotrzarzycki21@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 <
    > yishayjobs@hotmail.com>
    >     >     > napisał(a):
    >     >     >
    >     >     >     > Hi Piotr,
    >     >     >     >
    >     >     >     > Is HelloWorld example building for you with Ant?
    >     >     >     >
    >     >     >     > Yishay
    >     >     >     >
    >     >     >     > From: Piotr Zarzycki<ma...@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&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&amp;sdata=r8eJm%2FB7Sr0FRyI4xFzRfVDe6Rq77VpdHYChONYcaYc%3D&amp;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&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&amp;sdata=CxOUGKDe6GlBay4xGmvBYe3CTouVzZMHt%2FfdBMm%2Fiio%3D&amp;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&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&amp;sdata=SgBDc%2FSSOtTTKYGtPJMckO9cwQRK2206VLmce1tf%2FJY%3D&amp;reserved=0
    >     >     >     <
    >     >     >
    >     >
    > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145524020&amp;sdata=SgBDc%2FSSOtTTKYGtPJMckO9cwQRK2206VLmce1tf%2FJY%3D&amp;reserved=0
    >     >     > >*
    >     >     >
    >     >     >
    >     >     >
    >     >
    >     >     --
    >     >
    >     >     Piotr Zarzycki
    >     >
    >     >     Patreon: *
    >     >
    > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&amp;sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&amp;reserved=0
    >     >     <
    >     >
    > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&amp;sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&amp;reserved=0
    >     > >*
    >     >
    >     >
    >     >
    >
    >     --
    >
    >     Piotr Zarzycki
    >
    >     Patreon: *
    > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&amp;sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&amp;reserved=0
    >     <
    > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&amp;sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&amp;reserved=0
    > >*
    >
    >
    >
    
    -- 
    
    Piotr Zarzycki
    
    Patreon: *https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&amp;sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&amp;reserved=0
    <https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C983c849ee8df403ff69e08d7d81c3f26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215488145534014&amp;sdata=mHaYLf70L08Xm01BG9RMMYu69b7WIjm%2B0LcUf9qdrCE%3D&amp;reserved=0>*
    


Re: How to build users project using ANT to JS only

Posted by Piotr Zarzycki <pi...@gmail.com>.
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://paste.apache.org/9n6dl

Thanks,
Piotr

pt., 3 kwi 2020 o 22:32 Alex Harui <ah...@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" <pi...@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 <ah...@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" <pi...@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&amp;data=02%7C01%7Caharui%40adobe.com%7C5a07058d932947a7120708d7d80c58fa%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215419858659192&amp;sdata=3NMn4bGLrY4dSaw%2BaoHpWHxSNOXwOK0U2jRO414maak%3D&amp;reserved=0
>     >
>     >     Thanks,
>     >     Piotr
>     >
>     >     pt., 3 kwi 2020 o 18:40 Alex Harui <ah...@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" <
> piotrzarzycki21@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 <
> yishayjobs@hotmail.com>
>     >     > napisał(a):
>     >     >
>     >     >     > Hi Piotr,
>     >     >     >
>     >     >     > Is HelloWorld example building for you with Ant?
>     >     >     >
>     >     >     > Yishay
>     >     >     >
>     >     >     > From: Piotr Zarzycki<ma...@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&amp;data=02%7C01%7Caharui%40adobe.com%7C5a07058d932947a7120708d7d80c58fa%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215419858659192&amp;sdata=k7C9knBeZsV3autzhf50yAMSG5PjoqowWvuNTnCSRYs%3D&amp;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&amp;data=02%7C01%7Caharui%40adobe.com%7C5a07058d932947a7120708d7d80c58fa%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215419858659192&amp;sdata=uUMWOrPBXmW8kab4kjrhnBMsO1mWgq2xLP3NCLV67dY%3D&amp;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&amp;data=02%7C01%7Caharui%40adobe.com%7C5a07058d932947a7120708d7d80c58fa%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215419858659192&amp;sdata=0MOdfvLFEyQc%2BiU9zyFVojG6b3SeQKPxjKyWqeMP%2Bgg%3D&amp;reserved=0
>     >     >     <
>     >     >
>     >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C5a07058d932947a7120708d7d80c58fa%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215419858659192&amp;sdata=0MOdfvLFEyQc%2BiU9zyFVojG6b3SeQKPxjKyWqeMP%2Bgg%3D&amp;reserved=0
>     >     > >*
>     >     >
>     >     >
>     >     >
>     >
>     >     --
>     >
>     >     Piotr Zarzycki
>     >
>     >     Patreon: *
>     >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C5a07058d932947a7120708d7d80c58fa%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215419858659192&amp;sdata=0MOdfvLFEyQc%2BiU9zyFVojG6b3SeQKPxjKyWqeMP%2Bgg%3D&amp;reserved=0
>     >     <
>     >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C5a07058d932947a7120708d7d80c58fa%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215419858659192&amp;sdata=0MOdfvLFEyQc%2BiU9zyFVojG6b3SeQKPxjKyWqeMP%2Bgg%3D&amp;reserved=0
>     > >*
>     >
>     >
>     >
>
>     --
>
>     Piotr Zarzycki
>
>     Patreon: *
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C5a07058d932947a7120708d7d80c58fa%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215419858669147&amp;sdata=ajnBpLkVhToOMiKbJo8L4E80q3x3q9yoK19y6mlLi5A%3D&amp;reserved=0
>     <
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C5a07058d932947a7120708d7d80c58fa%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215419858669147&amp;sdata=ajnBpLkVhToOMiKbJo8L4E80q3x3q9yoK19y6mlLi5A%3D&amp;reserved=0
> >*
>
>
>

-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*

Re: How to build users project using ANT to JS only

Posted by Alex Harui <ah...@adobe.com.INVALID>.
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" <pi...@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 <ah...@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" <pi...@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&amp;data=02%7C01%7Caharui%40adobe.com%7C5a07058d932947a7120708d7d80c58fa%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215419858659192&amp;sdata=3NMn4bGLrY4dSaw%2BaoHpWHxSNOXwOK0U2jRO414maak%3D&amp;reserved=0
    >
    >     Thanks,
    >     Piotr
    >
    >     pt., 3 kwi 2020 o 18:40 Alex Harui <ah...@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" <pi...@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 <yi...@hotmail.com>
    >     > napisał(a):
    >     >
    >     >     > Hi Piotr,
    >     >     >
    >     >     > Is HelloWorld example building for you with Ant?
    >     >     >
    >     >     > Yishay
    >     >     >
    >     >     > From: Piotr Zarzycki<ma...@gmail.com>
    >     >     > Sent: Friday, April 3, 2020 3:10 PM
    >     >     > To: Apache Royale Development<ma...@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&amp;data=02%7C01%7Caharui%40adobe.com%7C5a07058d932947a7120708d7d80c58fa%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215419858659192&amp;sdata=k7C9knBeZsV3autzhf50yAMSG5PjoqowWvuNTnCSRYs%3D&amp;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&amp;data=02%7C01%7Caharui%40adobe.com%7C5a07058d932947a7120708d7d80c58fa%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215419858659192&amp;sdata=uUMWOrPBXmW8kab4kjrhnBMsO1mWgq2xLP3NCLV67dY%3D&amp;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&amp;data=02%7C01%7Caharui%40adobe.com%7C5a07058d932947a7120708d7d80c58fa%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215419858659192&amp;sdata=0MOdfvLFEyQc%2BiU9zyFVojG6b3SeQKPxjKyWqeMP%2Bgg%3D&amp;reserved=0
    >     >     <
    >     >
    > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C5a07058d932947a7120708d7d80c58fa%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215419858659192&amp;sdata=0MOdfvLFEyQc%2BiU9zyFVojG6b3SeQKPxjKyWqeMP%2Bgg%3D&amp;reserved=0
    >     > >*
    >     >
    >     >
    >     >
    >
    >     --
    >
    >     Piotr Zarzycki
    >
    >     Patreon: *
    > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C5a07058d932947a7120708d7d80c58fa%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215419858659192&amp;sdata=0MOdfvLFEyQc%2BiU9zyFVojG6b3SeQKPxjKyWqeMP%2Bgg%3D&amp;reserved=0
    >     <
    > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C5a07058d932947a7120708d7d80c58fa%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215419858659192&amp;sdata=0MOdfvLFEyQc%2BiU9zyFVojG6b3SeQKPxjKyWqeMP%2Bgg%3D&amp;reserved=0
    > >*
    >
    >
    >
    
    -- 
    
    Piotr Zarzycki
    
    Patreon: *https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C5a07058d932947a7120708d7d80c58fa%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215419858669147&amp;sdata=ajnBpLkVhToOMiKbJo8L4E80q3x3q9yoK19y6mlLi5A%3D&amp;reserved=0
    <https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C5a07058d932947a7120708d7d80c58fa%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215419858669147&amp;sdata=ajnBpLkVhToOMiKbJo8L4E80q3x3q9yoK19y6mlLi5A%3D&amp;reserved=0>*
    


Re: How to build users project using ANT to JS only

Posted by Piotr Zarzycki <pi...@gmail.com>.
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 <ah...@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" <pi...@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&amp;data=02%7C01%7Caharui%40adobe.com%7Cca3e9bb16789499387fb08d7d7f3019b%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215311018926705&amp;sdata=cfpBFbC%2FJdI2Wkcf3ciwakRFRVexp288V5hMZDacZZs%3D&amp;reserved=0
>
>     Thanks,
>     Piotr
>
>     pt., 3 kwi 2020 o 18:40 Alex Harui <ah...@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" <pi...@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 <yi...@hotmail.com>
>     > napisał(a):
>     >
>     >     > Hi Piotr,
>     >     >
>     >     > Is HelloWorld example building for you with Ant?
>     >     >
>     >     > Yishay
>     >     >
>     >     > From: Piotr Zarzycki<ma...@gmail.com>
>     >     > Sent: Friday, April 3, 2020 3:10 PM
>     >     > To: Apache Royale Development<ma...@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&amp;data=02%7C01%7Caharui%40adobe.com%7Cca3e9bb16789499387fb08d7d7f3019b%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215311018926705&amp;sdata=oEs7Ewmtf%2BOD6YUjw9x5eFhq8dJDCXQYtuTOlgAUvQ8%3D&amp;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&amp;data=02%7C01%7Caharui%40adobe.com%7Cca3e9bb16789499387fb08d7d7f3019b%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215311018926705&amp;sdata=mexhcgCv%2F0hQg0mJwVFzABGcjnsmV4ZioJJT%2BOX7tpE%3D&amp;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&amp;data=02%7C01%7Caharui%40adobe.com%7Cca3e9bb16789499387fb08d7d7f3019b%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215311018926705&amp;sdata=W02GG9Nzb9hw%2Fra6vzF1Hj25GBSTRqAoWSsHplTven4%3D&amp;reserved=0
>     >     <
>     >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7Cca3e9bb16789499387fb08d7d7f3019b%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215311018926705&amp;sdata=W02GG9Nzb9hw%2Fra6vzF1Hj25GBSTRqAoWSsHplTven4%3D&amp;reserved=0
>     > >*
>     >
>     >
>     >
>
>     --
>
>     Piotr Zarzycki
>
>     Patreon: *
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7Cca3e9bb16789499387fb08d7d7f3019b%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215311018936322&amp;sdata=y99qLCsHtU5L5yhfrqjI%2Frxkq6IMx%2FiyCnOYwE25iZo%3D&amp;reserved=0
>     <
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7Cca3e9bb16789499387fb08d7d7f3019b%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215311018936322&amp;sdata=y99qLCsHtU5L5yhfrqjI%2Frxkq6IMx%2FiyCnOYwE25iZo%3D&amp;reserved=0
> >*
>
>
>

-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*

Re: How to build users project using ANT to JS only

Posted by Alex Harui <ah...@adobe.com.INVALID>.
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" <pi...@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&amp;data=02%7C01%7Caharui%40adobe.com%7Cca3e9bb16789499387fb08d7d7f3019b%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215311018926705&amp;sdata=cfpBFbC%2FJdI2Wkcf3ciwakRFRVexp288V5hMZDacZZs%3D&amp;reserved=0
    
    Thanks,
    Piotr
    
    pt., 3 kwi 2020 o 18:40 Alex Harui <ah...@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" <pi...@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 <yi...@hotmail.com>
    > napisał(a):
    >
    >     > Hi Piotr,
    >     >
    >     > Is HelloWorld example building for you with Ant?
    >     >
    >     > Yishay
    >     >
    >     > From: Piotr Zarzycki<ma...@gmail.com>
    >     > Sent: Friday, April 3, 2020 3:10 PM
    >     > To: Apache Royale Development<ma...@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&amp;data=02%7C01%7Caharui%40adobe.com%7Cca3e9bb16789499387fb08d7d7f3019b%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215311018926705&amp;sdata=oEs7Ewmtf%2BOD6YUjw9x5eFhq8dJDCXQYtuTOlgAUvQ8%3D&amp;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&amp;data=02%7C01%7Caharui%40adobe.com%7Cca3e9bb16789499387fb08d7d7f3019b%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215311018926705&amp;sdata=mexhcgCv%2F0hQg0mJwVFzABGcjnsmV4ZioJJT%2BOX7tpE%3D&amp;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&amp;data=02%7C01%7Caharui%40adobe.com%7Cca3e9bb16789499387fb08d7d7f3019b%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215311018926705&amp;sdata=W02GG9Nzb9hw%2Fra6vzF1Hj25GBSTRqAoWSsHplTven4%3D&amp;reserved=0
    >     <
    > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7Cca3e9bb16789499387fb08d7d7f3019b%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215311018926705&amp;sdata=W02GG9Nzb9hw%2Fra6vzF1Hj25GBSTRqAoWSsHplTven4%3D&amp;reserved=0
    > >*
    >
    >
    >
    
    -- 
    
    Piotr Zarzycki
    
    Patreon: *https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7Cca3e9bb16789499387fb08d7d7f3019b%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215311018936322&amp;sdata=y99qLCsHtU5L5yhfrqjI%2Frxkq6IMx%2FiyCnOYwE25iZo%3D&amp;reserved=0
    <https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7Cca3e9bb16789499387fb08d7d7f3019b%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215311018936322&amp;sdata=y99qLCsHtU5L5yhfrqjI%2Frxkq6IMx%2FiyCnOYwE25iZo%3D&amp;reserved=0>*
    


How to build users project using ANT to JS only

Posted by Piotr Zarzycki <pi...@gmail.com>.
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://paste.apache.org/o7n5i

Thanks,
Piotr

pt., 3 kwi 2020 o 18:40 Alex Harui <ah...@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" <pi...@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 <yi...@hotmail.com>
> napisał(a):
>
>     > Hi Piotr,
>     >
>     > Is HelloWorld example building for you with Ant?
>     >
>     > Yishay
>     >
>     > From: Piotr Zarzycki<ma...@gmail.com>
>     > Sent: Friday, April 3, 2020 3:10 PM
>     > To: Apache Royale Development<ma...@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&amp;data=02%7C01%7Caharui%40adobe.com%7C42cdafda44494168d44408d7d7d0ad37%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215163575289936&amp;sdata=9IXYoPdPGHW2q1qiq2DCthI8DkVQXjFCUHEanPxd8qM%3D&amp;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&amp;data=02%7C01%7Caharui%40adobe.com%7C42cdafda44494168d44408d7d7d0ad37%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215163575289936&amp;sdata=NMvauTcQw%2BGnC9eVtnmuxjCxklawfBXqoCSbkJaBMeA%3D&amp;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&amp;data=02%7C01%7Caharui%40adobe.com%7C42cdafda44494168d44408d7d7d0ad37%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215163575299930&amp;sdata=xLYXcHhp2nI5RJecR2LccDMYbm8lEYX%2BU6eTBovrZwY%3D&amp;reserved=0
>     <
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C42cdafda44494168d44408d7d7d0ad37%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215163575299930&amp;sdata=xLYXcHhp2nI5RJecR2LccDMYbm8lEYX%2BU6eTBovrZwY%3D&amp;reserved=0
> >*
>
>
>

-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*

Re: Royale zip package of Nightly build missing some empty folders

Posted by Alex Harui <ah...@adobe.com.INVALID>.
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" <pi...@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 <yi...@hotmail.com> napisał(a):
    
    > Hi Piotr,
    >
    > Is HelloWorld example building for you with Ant?
    >
    > Yishay
    >
    > From: Piotr Zarzycki<ma...@gmail.com>
    > Sent: Friday, April 3, 2020 3:10 PM
    > To: Apache Royale Development<ma...@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&amp;data=02%7C01%7Caharui%40adobe.com%7C42cdafda44494168d44408d7d7d0ad37%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215163575289936&amp;sdata=9IXYoPdPGHW2q1qiq2DCthI8DkVQXjFCUHEanPxd8qM%3D&amp;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&amp;data=02%7C01%7Caharui%40adobe.com%7C42cdafda44494168d44408d7d7d0ad37%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215163575289936&amp;sdata=NMvauTcQw%2BGnC9eVtnmuxjCxklawfBXqoCSbkJaBMeA%3D&amp;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&amp;data=02%7C01%7Caharui%40adobe.com%7C42cdafda44494168d44408d7d7d0ad37%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215163575299930&amp;sdata=xLYXcHhp2nI5RJecR2LccDMYbm8lEYX%2BU6eTBovrZwY%3D&amp;reserved=0
    <https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C42cdafda44494168d44408d7d7d0ad37%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637215163575299930&amp;sdata=xLYXcHhp2nI5RJecR2LccDMYbm8lEYX%2BU6eTBovrZwY%3D&amp;reserved=0>*
    


RE: Royale zip package of Nightly build missing some empty folders

Posted by Yishay Weiss <yi...@hotmail.com>.
Can you post the console output on
ant -verbose
?

From: Piotr Zarzycki<ma...@gmail.com>
Sent: Friday, April 3, 2020 4:12 PM
To: Apache Royale Development<ma...@royale.apache.org>
Subject: Re: Royale zip package of Nightly build missing some empty folders

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 <yi...@hotmail.com> napisał(a):

> Hi Piotr,
>
> Is HelloWorld example building for you with Ant?
>
> Yishay
>
> From: Piotr Zarzycki<ma...@gmail.com>
> Sent: Friday, April 3, 2020 3:10 PM
> To: Apache Royale Development<ma...@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
> <
> http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/1194/artifact/out/apache-royale-0.9.7-bin-js.zip
> >
> but
> exists in apache-royale-0.9.7-bin-js.tar.gz
> <
> http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/1194/artifact/out/apache-royale-0.9.7-bin-js.tar.gz
> >
> -
> Can someone look into build.xml ? I'm lost with that completely :)
>
> Thanks,
> --
>
> Piotr Zarzycki
>
>

--

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*


Re: Royale zip package of Nightly build missing some empty folders

Posted by Piotr Zarzycki <pi...@gmail.com>.
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 <yi...@hotmail.com> napisał(a):

> Hi Piotr,
>
> Is HelloWorld example building for you with Ant?
>
> Yishay
>
> From: Piotr Zarzycki<ma...@gmail.com>
> Sent: Friday, April 3, 2020 3:10 PM
> To: Apache Royale Development<ma...@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
> <
> http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/1194/artifact/out/apache-royale-0.9.7-bin-js.zip
> >
> but
> exists in apache-royale-0.9.7-bin-js.tar.gz
> <
> http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/1194/artifact/out/apache-royale-0.9.7-bin-js.tar.gz
> >
> -
> Can someone look into build.xml ? I'm lost with that completely :)
>
> Thanks,
> --
>
> Piotr Zarzycki
>
>

-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*

RE: Royale zip package of Nightly build missing some empty folders

Posted by Yishay Weiss <yi...@hotmail.com>.
Hi Piotr,

Is HelloWorld example building for you with Ant?

Yishay

From: Piotr Zarzycki<ma...@gmail.com>
Sent: Friday, April 3, 2020 3:10 PM
To: Apache Royale Development<ma...@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
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/1194/artifact/out/apache-royale-0.9.7-bin-js.zip>
but
exists in apache-royale-0.9.7-bin-js.tar.gz
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/1194/artifact/out/apache-royale-0.9.7-bin-js.tar.gz>
-
Can someone look into build.xml ? I'm lost with that completely :)

Thanks,
--

Piotr Zarzycki