You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pivot.apache.org by tv...@apache.org on 2009/05/14 02:02:09 UTC

svn commit: r774603 - /incubator/pivot/trunk/build.xml

Author: tvolkert
Date: Thu May 14 00:02:08 2009
New Revision: 774603

URL: http://svn.apache.org/viewvc?rev=774603&view=rev
Log:
Parameterized WTKX compilation at build time

Modified:
    incubator/pivot/trunk/build.xml

Modified: incubator/pivot/trunk/build.xml
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/build.xml?rev=774603&r1=774602&r2=774603&view=diff
==============================================================================
--- incubator/pivot/trunk/build.xml (original)
+++ incubator/pivot/trunk/build.xml Thu May 14 00:02:08 2009
@@ -36,6 +36,7 @@
     <property name="compiler.debug" value="false"/>
     <property name="compiler.target" value="1.5"/>
     <property name="compiler.encoding" value="UTF-8"/>
+    <property name="compiler.compileWTKX" value="false"/>
 
     <!-- Dynamic properties -->
     <tstamp/>
@@ -470,7 +471,7 @@
             target="${compiler.target}"
             encoding="${compiler.encoding}"
             failonerror="true">
-            <compilerarg line="-Xlint -processor pivot.wtkx.BindProcessor -Acompile=false"/>
+            <compilerarg line="-Xlint -processor pivot.wtkx.BindProcessor -Acompile=${compiler.compileWTKX}"/>
             <classpath>
                 <pathelement location="core/${folder.bin}"/>
                 <pathelement location="web/${folder.bin}"/>
@@ -512,7 +513,7 @@
             target="${compiler.target}"
             encoding="${compiler.encoding}"
             failonerror="true">
-            <compilerarg line="-Xlint -processor pivot.wtkx.BindProcessor -Acompile=false"/>
+            <compilerarg line="-Xlint -processor pivot.wtkx.BindProcessor -Acompile=${compiler.compileWTKX}"/>
             <classpath>
                 <pathelement location="core/${folder.bin}"/>
                 <pathelement location="web/${folder.bin}"/>