Clear. Thanks,
Alina From: Piotr Zarzycki [mailto:[email protected]] Sent: Monday, March 19, 2018 1:59 PM To: [email protected] Subject: Re: How to Contribute in Apache Royale Alina, I provide you flow for work with Framework. If you are using Maven to build distribution package - it is not working with IDE. Only ANT distribution package working. Once Again flow: SDK Developer: 1) You are changing something in SDK - something in one of the module. 2) You are rebuilding your module by Maven 3) Apply the changes in your application - Note you won't see code completion if you changed the api of some component. IF you want to see those changes in code completion BUILD whole framework using distribution switch which I provided in the first email. - Do you need to see them - not necessary, enough if Maven will see them. Important: Distribution package of Maven is broken and you can use it only for code completion purposes, but you cannot build project using it. 4) Build your project using Maven - you can prepare for your project Maven build easly. Try first with Hello World it contains POM. Important: In Moonshine for above case use Nightly Build - it will build Hello World. - especially if you don't change any part of the framework. Is that more clear ? Thanks, Piotr 2018-03-19 6:31 GMT+01:00 Alina Kazi <[email protected]>: Hi Piotr, Examples->MxRoyale-> HelloWorld Error link: https://www.dropbox.com/s/3f0nsu32q1it1jq/errorcompilation.png?dl=0 Thanks, Alina From: Piotr Zarzycki [mailto:[email protected]] Sent: Friday, March 16, 2018 4:57 PM To: [email protected] Subject: Re: How to Contribute in Apache Royale IMO you should use to build sources, not downloaded from the server nightly build. Nightly build as a redy for use in IDE. I bet that you will be able to use nightly build - and run Maven command, but the thing is that we are committing to Git. Whenever you are starting job you should check whether there is not new stuff. In your case you will be on branch MXRoyale. Thanks, Piotr 2018-03-16 12:47 GMT+01:00 Alina Kazi <[email protected]>: Issue Resolved. From: Alina Kazi [mailto:[email protected]] Sent: Friday, March 16, 2018 4:02 PM To: [email protected] Subject: RE: How to Contribute in Apache Royale During the execution of mvn -Drat.skip=true -DdistributionTargetFolder=f:\src\royale-asjs\distribution -P build-distribution clean install inside f:\src\royale-asjs or mvn -Drat.skip=true -DdistributionTargetFolder=f:\ apache-royale-0.9.1-bin-js-swf \ apache-royale-0.9.1-bin-js-swf \royale-asjs\distribution -P build-distribution clean install inside f:\src\royale-asjs Getting this Error: https://www.dropbox.com/s/qhjc5tfnuiv6yx8/buildmvnerror.txt?dl=0 Do I have to Download Latest Nightly Build to resolve the issue or anything else? Thanks, Alina From: Piotr Zarzycki [mailto:[email protected]] Sent: Friday, March 16, 2018 12:37 PM To: [email protected] Subject: Re: How to Contribute in Apache Royale One more thing. As I said in the first post you can build whole framework "asjs" suing option distribution - It will produce for you artifacts which Moonshine understand. You still won't be able to build using that artifacts, but new things which are in emulation branch will be visible in code completion. - This is BUG which I hope to fix someday ;) Only ANT build produce artifacts which are fully usable with IDE. Thanks, Piotr 2018-03-16 8:19 GMT+01:00 Piotr Zarzycki <[email protected]>: Alina, Compilation won't work through the Moonshine, because Nightly build is based on "develop" branch, so you just don't have stuff there. You can use IDE to setup the project simply edit it. Analyze my first email in this thread. I described how you can use Moonshine with this branch and work with framework. Thanks, Piotr 2018-03-16 7:56 GMT+01:00 Alina Kazi <[email protected]>: I am using Moonshine IDE 1.9.0 and 0.9.0-js-swf is installed on my machine. I am trying to run F:/src/royale-asjs/examples/mxRoyale/HelloWorld . Will it work? I followed only steps that I shared earlier . Nothing else. Or I have to do anything to get HelloWorld compile? Thanks, Alina From: Piotr Zarzycki [mailto: <mailto:[email protected]> [email protected]] Sent: Friday, March 16, 2018 11:39 AM To: [email protected] Subject: Re: How to Contribute in Apache Royale Alina, If you want there is several tools for managing git visually. I'm using sourcetree [1] [1] www.sourcetreeapp.com Piotr On Fri, Mar 16, 2018, 07:29 Alina Kazi <[email protected]> wrote: Hi Alex, <https://www.dropbox.com/s/ltzpvqgl8ab9e1w/mxroyalesuccess.png?dl=0> https://www.dropbox.com/s/ltzpvqgl8ab9e1w/mxroyalesuccess.png?dl=0 done.. Thank you. -Alina From: Alex Harui [mailto: <mailto:[email protected]> [email protected]] Sent: Friday, March 16, 2018 11:11 AM To: <mailto:[email protected]> [email protected] Subject: Re: How to Contribute in Apache Royale 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. Thanks, -Alex From: Alina Kazi < <mailto:[email protected]> [email protected]> Reply-To: " <mailto:[email protected]> [email protected]" < <mailto:[email protected]> [email protected]> Date: Thursday, March 15, 2018 at 9:44 PM To: " <mailto:[email protected]> [email protected]" < <mailto:[email protected]> [email protected]> Subject: RE: How to Contribute in Apache Royale git clone <https://github.com/apache/royale-asjs.git> https://github.com/apache/royale-asjs.git royale-asjs cd royale-asjs git checkout develop ref link :https://github.com/apache/royale-asjs/tree/develop <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Ftree%2Fdevelop&data=02%7C01%7Caharui%40adobe.com%7C4bde593edda9473029fb08d58b00dc44%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636567758187334371&sdata=RG%2Fh9%2FXIM4qHllIbIDO7Z6hYRfaFyy0lSTynNfi9dI0%3D&reserved=0> is similar to git clone <https://github.com/apache/royale-asjs.git> https://github.com/apache/royale-asjs.git royale-asjs cd royale-asjs git checkout develop ref link : [1] https://github.com/apache/royale-asjs/tree/feature/MXRoyale <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Ftree%2Ffeature%2FMXRoyale&data=02%7C01%7Caharui%40adobe.com%7C4bde593edda9473029fb08d58b00dc44%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636567758187334371&sdata=LN%2BxkYodR9T8g06R2EkVaN0gMyo94KYlvxo9gmjJqk4%3D&reserved=0> 1.How git will differentiate between these commands? Thanks, Alina From: Piotr Zarzycki [ <mailto:[email protected]> mailto:[email protected]] Sent: Thursday, March 15, 2018 5:37 PM To: <mailto:[email protected]> [email protected] 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 " <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Ftree%2Ffeature%2FMXRoyale%2Fexamples%2Fmxroyale%2FHelloWorld&data=02%7C01%7Caharui%40adobe.com%7C4bde593edda9473029fb08d58b00dc44%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636567758187334371&sdata=UD4uYdc7XbTLPOit196M8e%2BLWEZSEvs4fXVad4yZfDk%3D&reserved=0> 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 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Ftree%2Ffeature%2FMXRoyale&data=02%7C01%7Caharui%40adobe.com%7C4bde593edda9473029fb08d58b00dc44%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636567758187334371&sdata=LN%2BxkYodR9T8g06R2EkVaN0gMyo94KYlvxo9gmjJqk4%3D&reserved=0> [2] https://github.com/apache/royale-asjs/tree/feature/MXRoyale/frameworks/projects <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Ftree%2Ffeature%2FMXRoyale%2Fframeworks%2Fprojects&data=02%7C01%7Caharui%40adobe.com%7C4bde593edda9473029fb08d58b00dc44%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636567758187334371&sdata=W6oXtO%2FG4J1nyCdGnHtOIM3w1iwM5SiElEtzzcX8SjU%3D&reserved=0> [3] https://github.com/apache/royale-asjs/tree/feature/MXRoyale/examples/mxroyale <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Ftree%2Ffeature%2FMXRoyale%2Fexamples%2Fmxroyale&data=02%7C01%7Caharui%40adobe.com%7C4bde593edda9473029fb08d58b00dc44%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636567758187334371&sdata=l3yqXUc6t6WIA2tdCLK5L0o0GG4n3xhBH%2BhaKCx7KVY%3D&reserved=0> 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://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C4bde593edda9473029fb08d58b00dc44%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636567758187334371&sdata=ieHxLh6toJq%2F5NHdDrfA0VtXNnpUAX9VEqBGi4HEAIo%3D&reserved=0> -- Piotr Zarzycki Patreon: https://www.patreon.com/piotrzarzycki -- Piotr Zarzycki Patreon: https://www.patreon.com/piotrzarzycki -- Piotr Zarzycki Patreon: https://www.patreon.com/piotrzarzycki -- Piotr Zarzycki Patreon: https://www.patreon.com/piotrzarzycki
