Skip to content

How to build Examples

Piotr Zarzycki edited this page Feb 9, 2018 · 1 revision

Moonshine IDE

  • Setup the Apache Royale™ Nightly build using the Add the Royale SDK instruction.
  • Clone the sources of the PureMVC ActionScript 3 MultiCore Framework (PureMVC examples only)
  • In the "Home" tab, choose "Open Apache Flex/JS Project..." and select the folder with your example.
  • Right click on the "PureMVCEmployeeAdminBasic" in the project tree and choose "Settings".
  • Go to the "Path" tab and add new "Class paths" to source folder ("src") of the cloned PureMVC repository. (PureMVC examples only)
  • Go to the "Project" menu and choose "Build as JavaScript" or "Build & Run as JavaScript".

Visual Studio Code

Apache Maven™

  • Install Apache Maven™ using the following instruction.

  • The most recommended way for building this example is to prepare PureMVC Maven artifacts. The sources of PureMVC have to be build with Apache Royale™, because they are not available in the Maven central repository. Therefore, clone the following fork of PureMVC. (PureMVC examples only)

  • Use the maven pom file in the cloned sources by running the below command that uses the settings-template.xml:

    mvn clean install -s settings-template.xml
    
  • Go to the folder root of the example and run the same command.

Clone this wiki locally