harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From apetre...@apache.org
Subject svn commit: r483889 - /harmony/enhanced/classlib/trunk/make/properties.xml
Date Fri, 08 Dec 2006 08:56:21 GMT
Author: apetrenko
Date: Fri Dec  8 00:56:20 2006
New Revision: 483889

URL: http://svn.apache.org/viewvc?view=rev&rev=483889
Log:
Release/debug switch is implemented for javac

Modified:
    harmony/enhanced/classlib/trunk/make/properties.xml

Modified: harmony/enhanced/classlib/trunk/make/properties.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/make/properties.xml?view=diff&rev=483889&r1=483888&r2=483889
==============================================================================
--- harmony/enhanced/classlib/trunk/make/properties.xml (original)
+++ harmony/enhanced/classlib/trunk/make/properties.xml Fri Dec  8 00:56:20 2006
@@ -24,7 +24,7 @@
         Ant file of common properties to be imported by other ant files
     </description>
 
-    <!-- Release configuration -->
+    <!-- Debug or release version -->
     <property name="hy.cfg" value="debug" />
 
     <!-- Javac properties -->
@@ -32,8 +32,11 @@
     <property name="hy.javac.compiler" value="org.eclipse.jdt.core.JDTCompilerAdapter"
/>
     <property name="hy.javac.source" value="1.5" />
     <property name="hy.javac.target" value="1.5" />
-    <property name="hy.javac.debug" value="on" />
     <property name="hy.javac.maxmem" value="384M" />
+
+    <condition property="hy.javac.debug" value="on" else="off">
+        <equals arg1="${hy.cfg}" arg2="debug" />
+    </condition>
 
     <!-- Test run property -->
     <property name="hy.test.forkmode" value="once" />



Mime
View raw message