Skip to content
Browse files

Minor modifications so trunk will build. By default FLEX_HOME is the …

…relative path to sdk/trunk. Override on cmd line with -D=FLEX_HOME=path if you'd like to use a different Flex SDK.

git-svn-id: 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
1 parent 6accdb1 commit 0d3d931d436104709882a6b647de3ba82d653685 Carol Frampton committed
Showing with 13 additions and 3 deletions.
  1. +13 −3 build.xml
16 build.xml
@@ -16,13 +16,16 @@
<project name="tlf" default="main" basedir=".">
- <property name="FLEX_HOME" value="D:\flex_sdk_4.5.0.19786"/>
+ <!-- Default Flex SDK is the trunk. Override on cmd line with -D=FLEX_HOME=path. -->
+ <property name="FLEX_HOME" value="${basedir}/../../sdk/trunk"/>
+ <echo>FLEX_HOME is ${FLEX_HOME}</echo>
<property name="flex.sdk.frameworks" value="${FLEX_HOME}/frameworks"/>
<property name="flex.locale" value="en_US"/>
<property name="output.dir" value="bin"/>
<property name="" value="${FLEX_HOME}/tempDoc"/>
- <property name="flexTasks.location" value="${FLEX_HOME}/ant/lib/flexTasks.jar"/>
<property name="project.uri" value="library://"/>
<property name="compc.jvm.args" value="-Xmx384m" />
<property name="textLayout.namespace" value="flashx.textLayout"/>
@@ -45,7 +48,14 @@
<istrue value="${debug}"/>
- <taskdef resource="flexTasks.tasks" classpath="${flexTasks.location}"/>
+ <!-- for Flex tags suchs as mxmlc and compc -->
+ <path id="flexTasks.path">
+ <fileset dir="${FLEX_HOME}">
+ <include name="lib/flexTasks.jar" />
+ <include name="ant/lib/flexTasks.jar" />
+ </fileset>
+ </path>
+ <taskdef resource="flexTasks.tasks" classpathref="flexTasks.path"/>
<target name="all" depends="clean,textLayout, asTestApps,textLayout_editBar, textLayout_ui, testApps, automation_core, automation_tests, automation_apps" description="Clean build of TLF component and associated applications"/>
<target name="main" depends="clean,textLayout" description="Clean build of textLayout.swc"/>

0 comments on commit 0d3d931

Please sign in to comment.
Something went wrong with that request. Please try again.