forked from apache/royale-compiler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README_MAVEN.txt
37 lines (26 loc) · 1.5 KB
/
README_MAVEN.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
In order to build falcon with Maven you need to perform the following steps:
1. Get Maven (http://maven.apache.org) and unpack it somewhere.
This directory is now "MAVEN_HOME". Now make sure MAVEN_HOME/bin
is on your systems path.
2. Make sure you have the following environment variables set:
3. Build the parts needed by the build
mvn install -P utils
4. Build the project itself (without tests)
mvn install -DskipTests
If you want to run the tests make sure you have the environment variable:
FLASHPLAYER_DEBUGGER set to point to a valid flashplayer debugger executable.
If not, the test will definitely fail. Another thing you have to make
sure is that the falcon directory is added to the list of trusted locations
in the flashplayer global settings. This is described here:
https://www.macromedia.com/support/documentation/de/flashplayer/help/settings_manager04.html
As soon as that's done you can run the build with tests like this:
mvn install
NOTE: The build relies on an unreleased version of the
flex-sdk-converter-maven-extension. Per default Maven can't find this artifact.
The file settings-template.xml is a sample settings.xml which you can use to build
it will locate all downloaded files in the ".mvn/repository" directory. In order
to build with this settings.xml by adding the "-s" parameter to the call to maven.
Look here for examples:
mvn -s settings-template.xml clean install -P utils
mvn -s settings-template.xml clean install -DskipTests
mvn -s settings-template.xml clean install