Load the environment as properties and add an example to the build.properties
authorTom Hughes <tom@compton.nu>
Thu, 4 Nov 2010 12:01:42 +0000 (12:01 +0000)
committerTom Hughes <tom@compton.nu>
Thu, 4 Nov 2010 12:01:42 +0000 (12:01 +0000)
template showing how to inherit FLEX_HOME from the environment.

build.properties.template
build.xml

index b42f38e6752170eabd1c94439121011f5459734b..dca67f1fd83c9e5cd97d03797ae71f4e12a9f053 100644 (file)
@@ -1,6 +1,7 @@
 # change this to your Flex SDK directory path
 # e.g. FLEX_HOME=/home/andy/bin/flex/
 # e.g. FLEX_HOME=C:/Program Files/Adobe/Flex Builder 3/sdks/3.5.0
+# e.g. FLEX_HOME=${env.FLEX_HOME}
 FLEX_HOME=/path/to/your/flex/sdk
 
 # this points to your project's src directory
index 982b27f3760a6ada277d13f1c1fabb867e31c342..ed9062bfd4196cec8a76c54fe2bf93b02ac28288 100644 (file)
--- a/build.xml
+++ b/build.xml
@@ -1,5 +1,8 @@
 <project name="Potlatch2 ├╝ber compile system" default="debug">
 
+  <!-- load properties from the environment -->
+  <property environment="env" />
+
   <!-- load previously defined configuration properties file -->
   <property file="build.properties" />
 
@@ -53,4 +56,4 @@
   <target name="halcyon">
     <mxmlc file="halcyon_viewer.as" />
   </target>
-</project>
\ No newline at end of file
+</project>