=== What you'll need ===
-* Flex SDK 3.4 or 3.5 - http://www.adobe.com/products/flex/ (free, OS X/Windows/Linux)
+* Flex SDK 3.4 or 3.5
+** Product page: http://www.adobe.com/products/flex/
+** Flex 3 Download page: http://opensource.adobe.com/wiki/display/flexsdk/Download+Flex+3 (free, OS X/Windows/Linux)
* AS3 docs - http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/
* Flash debug player - http://www.adobe.com/support/flashplayer/downloads.html
* Basically you might as well just sell your soul to Adobe
+* Ant
***Do not use FlexSDK <= 3.3 or > 4***. There are compatibility errors with version 4, and 3.3
and earlier have this bug: http://bugs.adobe.com/jira/browse/SDK-16705 which is a major issue for the
Compiling Potlatch 2:
-The following command will compile potlatch2 in optimized configuration
+Before you start, copy the properties template file, and edit the FLEX_HOME variable
+ cp build.properties.template build.properties
+
+The following command will compile potlatch2 in debug configuration
The result is put at resources/potlatch2.swf
-* mxmlc potlatch2.mxml
+* ant
+
+The following command will compile potlatch2 in release configuration
+* ant release
Compiling Halcyon as standalone viewer:
-* mxmlc halcyon_viewer.as
+* ant halcyon
+
+You can create class documentation (in resources/docs) using asdoc
+
+* ant docs
+
+You can create and run the unit tests (not that there are that many) using flexunit
+
+* ant test
+
+If you're using Mac OS X, you may need to tell ant to use more memory, by
+typing export ANT_OPTS=-Xmx500M beforehand (you can put this in your .profile).
Compiling during development: