If it all works, sounds great to me! :-) (I’m not going to be able to test 
until sometime next week, but don’t wait for me.)

Thanks to Chris for working on this!

Harbs

> On Nov 15, 2019, at 2:45 PM, Carlos Rovira <[email protected]> wrote:
> 
> Hi,
> 
> this days Chris Dutz has had the deference and detail of working on
> improving Apache Royale Maven build by simplifying the scripts so we all
> have less headaches with all this stuff that he knows and master so well.
> I want to give a big thanks to Chris for investing his time in working on
> this huge improvement that for sure will help all us when building royale
> in the daily basis and as well when having to make a new release.
> 
> So Chris created 3 PRs that are for each repo to test.
> 
> I already tested it and simplify all greatly.
> 
> Here the recipe for building everything including tests and UI tests and so
> on:
> 
> #!/bin/bash
> 
> *export* 
> FLASHPLAYER_DEBUGGER="/Users/christofer.dutz/Devtools/Adobe/Flash/FlashPlayer-32.0/Flash
> Player.app/Contents/MacOS/Flash Player Debugger"
> 
> *cd* royale-compiler
> 
> ./mvnw install -s settings-template.xml
> 
> *cd* ../royale-typedefs
> 
> ./mvnw install -s settings-template.xml
> 
> *cd* ../royale-asjs
> 
> ./mvnw install -s settings-template.xml -P
> with-examples,with-distribution,with-ui-testsuite,option-with-swf
> -Dwebdriver.gecko.driver=/Users/christofer.dutz/Downloads/geckodriver
> 
> *cd* ..
> 
> 
> you can use mvn or mvnw that will install Maven if you don't have any
> installed :)
> 
> 
> 
> You probably need to adjust the paths to the FLASHPLAYER_DEBUGGER as well
> as for the geckodriver
> 
> (If you don’t want to execute the Selenium UI tests in Firefox, just omit
> the “with-ui-testsuite” profile)
> 
> (Noting that I should add a Firefox detection to my prerequisite check)
> 
> 
> You should not need to have FLASHPLAYERGLOBAL_HOME and
> FLASHPLAYERGLOBAL_VERSION
> 
> 
> 
> The profiles:
> 
>   - *with-examples*: Well it builds the examples too
>   - *with-distribution*: It lets the build also build the distribution
>   (this part is still incomplete, since like today, it does not generate a
>   valid SDK, but I'll work on this with Chris this next week).
>   - *option-with-swf*: It also makes each module build the swf version
>   - *with-ui-testsuite*: It also builds the testsuite modules and runs the
>   integration-tests
> 
> 
> This PRs also introduces many fixes like a SASS new version that handles
> memory better (that was causing all process to hang when launching all in
> one single instruction due to memory leaks). Please revise the PRs to read
> about all the list of improvements in this update.
> 
> So If nobody opposite, I'd like to merge this improvement in the next hours.
> 
> Thanks! :)
> 
> -- 
> Carlos Rovira
> http://about.me/carlosrovira

Reply via email to