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" <piotrzarzyck...@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 <aha...@adobe.com.invalid> napisał(a):
    
    > That output doesn't show a compiler error, it shows an error after the
    > compile trying to set up the swf wrapper.  I think the examples haven't
    > been tested to see if they compile in js-only.  We should probably fix
    > that.  The wrapper target just has to detect js-only and not run.
    >
    > For your scenario, if I understand it correctly, you can try one of the
    > other targets in build_example such as compile-js-only instead of the
    > compile target.
    >
    > HTH,
    > -Alex
    >
    > On 4/3/20, 3:13 PM, "Piotr Zarzycki" <piotrzarzyck...@gmail.com> wrote:
    >
    >     Alex,
    >
    >     This is the output from attempt of building TourDeJewel. [1] - I don't
    > have
    >     in my system sets any environment variable related to Flex or Royale.
    > No
    >     ROYALE_HOME, playerglobal, AIR_HOME etc. I would like to build that
    > example
    >     to JS only using JS only SDK with build.xml file. Where is the issue
    > here ?
    >
    >     Build used from Jenkins #1196.
    >
    >     [1]
    > 
https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2F9n6dl&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 <aha...@adobe.com.invalid>
    > napisał(a):
    >
    >     > TourDeJewel uses a src/main/config/compile-app-config.xml that
    > specifies
    >     > JSRoyale.  Yes, lots of SWF params are provided but that's just so
    > we can
    >     > use the same template for all examples.   From the command-line, you
    >     > shouldn't need any of that.
    >     >
    >     > It looks like you did set targets=JSRoyale with <arg> tags instead
    > of a
    >     > config.xml file.  But the way to see if it is working is to look at
    > the
    >     > console output.
    >     >
    >     > -Alex
    >     >
    >     > On 4/3/20, 1:19 PM, "Piotr Zarzycki" <piotrzarzyck...@gmail.com>
    > wrote:
    >     >
    >     >     How is this work that this code is building something to JS only
    > ? Why
    >     > we
    >     >     are pointing output to some swf file and pointing playerglobal ?
    > -
    >     > This is
    >     >     my question rather.
    >     >
    >     >
    >     >
    >     >     pt., 3 kwi 2020 o 19:31 Alex Harui <aha...@adobe.com.invalid>
    >     > napisał(a):
    >     >
    >     >     > I'm not sure what's wrong.  The TourDeJewel example is set up
    > to only
    >     >     > build for JS and not SWF.  Does it work?
    >     >     >
    >     >     > Also try calling mxmlc from the command-line with the
    >     > -target=JSRoyale and
    >     >     > see if that works.
    >     >     >
    >     >     > Post the output.  The compiler should be reporting what
    > targets it is
    >     >     > building.
    >     >     >
    >     >     > -Alex
    >     >     >
    >     >     > On 4/3/20, 10:18 AM, "Piotr Zarzycki" <
    > piotrzarzyck...@gmail.com>
    >     > wrote:
    >     >     >
    >     >     >     Hi Alex,
    >     >     >
    >     >     >     Thanks for the comment. It looks like I understand
    > partially
    >     > where
    >     >     > issue
    >     >     >     is. Let me now redirect discussion into area of how build
    >     > project using
    >     >     >     Ant, cause this is actually what interests me. Whenever I
    > touche
    >     >     > building
    >     >     >     project trough ANT it turns out with some problems.
    >     >     >
    >     >     >     Let's start from - I'm completely not interested into
    > building
    >     > project
    >     >     > (By
    >     >     >     project I don't mean SDK, but users project) to SWF. I'm
    > only
    >     >     > interested to
    >     >     >     build project to JS using Royale downloaded from Jenkins
    >     > (Nightly).
    >     >     >
    >     >     >     I have following portion of code with some hardcoded value
    > taken
    >     > from
    >     >     >     build_example.xml script in Royale. I need to build 
project
    >     > which has
    >     >     >     emulation components stuff etc. [1]
    >     >     >
    >     >     >     It seems to me that this portion of code building stuff to
    > both
    >     > swf
    >     >     > and js
    >     >     >     - I wanted to have only JS build - what should I change ?
    >     >     >
    >     >     >     I think having this on the list would be beneficial to
    > others.
    >     >     >
    >     >     >     [1]
    >     >     >
    >     >
    > 
https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2Fo7n5i&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
    > <aha...@adobe.com.invalid>
    >     >     > napisał(a):
    >     >     >
    >     >     >     > Download 0.9.6 and see what it has.
    >     >     >     >
    >     >     >     > In theory, js-only shouldn't need the swfobject/history
    >     > folder, but
    >     >     > js-swf
    >     >     >     > should.
    >     >     >     >
    >     >     >     > -Alex
    >     >     >     >
    >     >     >     > On 4/3/20, 6:12 AM, "Piotr Zarzycki" <
    >     > piotrzarzyck...@gmail.com>
    >     >     > wrote:
    >     >     >     >
    >     >     >     >     Hi Yishay,
    >     >     >     >
    >     >     >     >     No changes here. It doesn't build. I don't know why.
    > I
    >     > will ask
    >     >     > more
    >     >     >     >     question regarding mxmlc in different thread once
    > above
    >     > will be
    >     >     >     > resolved.
    >     >     >     >
    >     >     >     >
    >     >     >     >
    >     >     >     >     pt., 3 kwi 2020 o 15:04 Yishay Weiss <
    >     > yishayj...@hotmail.com>
    >     >     >     > napisał(a):
    >     >     >     >
    >     >     >     >     > Hi Piotr,
    >     >     >     >     >
    >     >     >     >     > Is HelloWorld example building for you with Ant?
    >     >     >     >     >
    >     >     >     >     > Yishay
    >     >     >     >     >
    >     >     >     >     > From: Piotr Zarzycki<mailto:
    > piotrzarzyck...@gmail.com>
    >     >     >     >     > Sent: Friday, April 3, 2020 3:10 PM
    >     >     >     >     > To: Apache Royale Development<mailto:
    >     > dev@royale.apache.org>
    >     >     >     >     > Subject: Royale zip package of Nightly build
    > missing
    >     > some empty
    >     >     >     > folders
    >     >     >     >     >
    >     >     >     >     > Hi Guys,
    >     >     >     >     >
    >     >     >     >     > One of our project is failing - at least on my
    > machine
    >     > cause
    >     >     > it's
    >     >     >     > trying to
    >     >     >     >     > copy folder history
    >     > "royale-asjs\templates\swfobject\history\"
    >     >     > <-
    >     >     >     > This
    >     >     >     >     > folder doesn't exists in package
    >     >     > apache-royale-0.9.7-bin-js.zip
    >     >     >     >     > <
    >     >     >     >     >
    >     >     >     >
    >     >     >
    >     >
    > 
https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci2.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs_jsonly%2F1194%2Fartifact%2Fout%2Fapache-royale-0.9.7-bin-js.zip&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>*
    

Reply via email to