You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by ap...@apache.org on 2006/12/08 09:56:21 UTC

svn commit: r483889 - /harmony/enhanced/classlib/trunk/make/properties.xml

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" />