You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by pi...@apache.org on 2014/11/18 23:16:17 UTC

git commit: [flex-tlf] [refs/heads/tables] - Add flexdebug property to ant build.xml and build.properties file

Repository: flex-tlf
Updated Branches:
  refs/heads/tables 723311b58 -> 9f0382b87


Add flexdebug property to ant build.xml and build.properties file


Project: http://git-wip-us.apache.org/repos/asf/flex-tlf/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-tlf/commit/9f0382b8
Tree: http://git-wip-us.apache.org/repos/asf/flex-tlf/tree/9f0382b8
Diff: http://git-wip-us.apache.org/repos/asf/flex-tlf/diff/9f0382b8

Branch: refs/heads/tables
Commit: 9f0382b87f33f37064cb6b6b90b345e40340492e
Parents: 723311b
Author: piotrz <pi...@gmail.com>
Authored: Tue Nov 18 23:16:09 2014 +0100
Committer: piotrz <pi...@gmail.com>
Committed: Tue Nov 18 23:16:09 2014 +0100

----------------------------------------------------------------------
 build.properties |  3 ++-
 build.xml        | 14 ++++++++++----
 2 files changed, 12 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-tlf/blob/9f0382b8/build.properties
----------------------------------------------------------------------
diff --git a/build.properties b/build.properties
index 925d779..fb3b6f7 100644
--- a/build.properties
+++ b/build.properties
@@ -27,7 +27,8 @@ src.depend = true
 src.debug = on
 
 forkValue = true
-minimalTests = false
+minimalTests = true
+flexdebug = false
 
 # JVM options for <compc> and <mxmlc> tasks
 jvm.args = ${local.d32} -Xms64m -Xmx1024m -XX:MaxPermSize=1024m -XX:+CMSClassUnloadingEnabled -XX:+CMSPermGenSweepingEnabled -ea -Dapple.awt.UIElement=true

http://git-wip-us.apache.org/repos/asf/flex-tlf/blob/9f0382b8/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index a7c5bb5..6a7b8f2 100644
--- a/build.xml
+++ b/build.xml
@@ -50,6 +50,7 @@
 
 	<property name="dbg" value="false"/>
 	<property name="rel" value="true"/>
+    <property name="flexdebug" value="${flexdebug}"/>
 
 	<condition property="digest" value="false" else="true">
 		<istrue value="${debug}"/>
@@ -97,6 +98,7 @@
 			<static-link-runtime-shared-libraries/>
 			<define name="CONFIG::debug" value="${dbg}"/>
 			<define name="CONFIG::release" value="${rel}"/>
+            <compiler.debug>${flexdebug}</compiler.debug>
 		</compc>
      </target>
 
@@ -110,6 +112,7 @@
             <arg value="+source.dir=textLayout" />
 			<define name="CONFIG::debug" value="${dbg}"/>
 			<define name="CONFIG::release" value="${rel}"/>
+            <compiler.debug>${flexdebug}</compiler.debug>
 		</compc>
      </target>
 
@@ -169,13 +172,14 @@
 
 			<define name="CONFIG::debug" 			value="${dbg}"/>
 			<define name="CONFIG::release" 			value="${rel}"/>
+            <compiler.debug>${flexdebug}</compiler.debug>
 		</compc>
      </target>
 
 	<target name="textLayout_ui" description="Builds textLayout_ui.swc">		
 		<compc fork="${forkValue}" output="${output.dir}/apps/testApps/bin/textLayout_ui.swc" 
 			include-classes="${textLayout.namespace}.UiClasses,bxf.BxfClasses" compute-digest="${digest}">
-			<source-path path-element="${textLayout_ui.dir}/src"/>	
+			<source-path path-element="${textLayout_ui.dir}/src"/>
 			<jvmarg line="${jvm.args}"/>
 			<library-path/>
 			
@@ -190,12 +194,13 @@
 
 			<define name="CONFIG::debug" 			value="${dbg}"/>
 			<define name="CONFIG::release" 			value="${rel}"/>
+            <compiler.debug>${flexdebug}</compiler.debug>
 		</compc>
      </target>
 
 	<target name="testApps" description="Builds TLF test application">
 		<mxmlc fork="${forkValue}" 	file="${testApps.dir}/src/Flow.mxml" 
-				keep-generated-actionscript="false"
+				keep-generated-actionscript="false" debug="${flexdebug}"
 				output="${output.dir}/apps/automation_apps/bin/Flow.swf">
 			
 			<default-size width="1100" height="550" />
@@ -225,7 +230,7 @@
 
 	<target name="asTestApp" description="build a single application in asTestApp" if="output">
 		<mxmlc fork="${forkValue}"
-			file="${asTestApps.dir}/src/${output}.as"
+			file="${asTestApps.dir}/src/${output}.as" debug="${flexdebug}"
 			output="${output.dir}/apps/asTestApps/bin/${output}.swf">
 			<source-path path-element="${asTestApps.dir}/src"/>
 			<jvmarg line="${jvm.args}"/>
@@ -319,7 +324,8 @@
 	</target>
 
 	<target name="automation_apps" description="Builds the automation test application">
-		<mxmlc fork="${forkValue}" 	file="${automation_apps.dir}/src/VellumUnit.mxml" 
+		<mxmlc fork="${forkValue}" 	file="${automation_apps.dir}/src/VellumUnit.mxml"
+               debug="${flexdebug}"
 				output="${output.dir}/apps/automation_apps/bin/VellumUnit.swf">
 			<jvmarg line="${jvm.args}"/>
 			<library-path/>