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
<https://github.com/apache/royale-asjs/tree/feature/MXRoyale/examples/mxroyale/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.

[1] https://github.com/apache/royale-asjs/tree/feature/MXRoyale
[2]
https://github.com/apache/royale-asjs/tree/feature/MXRoyale/frameworks/projects
[3]
https://github.com/apache/royale-asjs/tree/feature/MXRoyale/examples/mxroyale

Thanks, Piotr


2018-03-15 12:51 GMT+01:00 Alina Kazi <[email protected]>:

> Hi,
>
>
>
> After the Successful Build of Apache Royale
>
> “royale-compiler”,
>
> “royale-typedefs”
>
> 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 ?
>
>
>
> Thanks,
>
> Alina
>
>
>



-- 

Piotr Zarzycki

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

Reply via email to