royale-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <>
Subject Re: How to Contribute in Apache Royale
Date Fri, 16 Mar 2018 06:11:06 GMT
Hi Alina, to use the MXRoyale branch, use:

git checkout feature/MXRoyale

Only royale-asjs has an MXRoyale branch.  We have not made a branch for the compiler yet.


From: Alina Kazi <<>>
Reply-To: "<>" <<>>
Date: Thursday, March 15, 2018 at 9:44 PM
To: "<>" <<>>
Subject: RE: How to Contribute in Apache Royale

git clone royale-asjs
cd royale-asjs
git checkout develop
ref link :<>

is similar to

git clone royale-asjs
cd royale-asjs
git checkout develop
ref link : [1]<>

1.How git will differentiate between these commands?


From: Piotr Zarzycki []
Sent: Thursday, March 15, 2018 5:37 PM
Subject: Re: How to Contribute in Apache Royale

Hello Alina,

Great! Congrats! :)
1. Do you mean build which is usable in IDE ?

2. Emulation is so far build on separate branch [1], switch to that branch for your  royale-asjs.
Rebuild again royale-asjs once you switch.

Alex, Does compiler repository should be switched also to the branch or can stay on "develop"

3. Whole framework is split into several modules [2]. Your interested part is in module MXRoyale.
If you change anything there, you don't have to rebuild whole framework - enough if you build
this module.

Once you finish your changes in module, you can test them using Examples [3]. - That part
will be a bit tricky. Flow is following:

1) You are changing something in module MXRoyale - I'm personally using Intellij to changing
code in Framework.
2) You are configuring your example " HelloWorld<>"
in some IDE which supports Royale (Moonshine or VSCode) - You are doing this with some version
of nightly build.
You probably will get some errors because Nightly build doesn't have any changes related to
Emulation, but ignore that.
3) Apply your changes
4) Rebuild example by Maven

If you would like to get rid of errors mentioned in 2 - Build whole framework to produce distribution
package which Moonshine understands:

mvn -Drat.skip=true -DdistributionTargetFolder=d:\Work\royale_ide\distribution -P build-distribution
clean install

Point to that folder in your IDE.

Everything depends how fast you wanted to work - If you don't need in IDE some intellisence,
because you have changed in MXRoyale module some minor things - do not rebuild whole framework!

You will save your time.

Others can point you how to work with ANT - Above flow is working for me for about 2 years
now. ;)

I think Alex and Peter can tell you more about code in that module, get familiar with it for
now yourself. Once you get familiar and make any changes we can take another step - How to
commit all your code.

Thanks, Piotr

2018-03-15 12:51 GMT+01:00 Alina Kazi <<>>:

After the Successful Build of Apache Royale
and “royale-asjs”

1.How can I install that Compiled build as I execute the command “npm install royale –g
” inside royale-asjs  an error occurred for env.variable missing for python…..  ?
2.What are the steps that should follow to work on Emulations?
3.How can I  work on them?
4.How can I test them ?



Piotr Zarzycki

View raw message