changeset 4969:35ec849231d5

Debug builds do not work on Linux, so reverting fix for RT-31500 Backed out changeset fd5c3a88cd07
author kcr
date Wed, 04 Sep 2013 12:35:55 -0700
parents 906d256bc339
children 948f04472075
files build.gradle gradle.properties.template
diffstat 2 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/build.gradle	Wed Sep 04 10:40:21 2013 -0700
+++ b/build.gradle	Wed Sep 04 12:35:55 2013 -0700
@@ -326,8 +326,8 @@
 ext.BUILD_JAVADOC = buildJavadoc;
 
 // Specify the build configuration (Release or Debug)
-defineProperty("CONF", "Debug")
-ext.IS_DEBUG = CONF != "Release"
+defineProperty("CONF", "Release")
+ext.IS_DEBUG = CONF == "Debug"
 
 // Defines the compiler warning levels to use. If empty, then no warnings are generated. If
 // not empty, then the expected syntax is as a space or comma separated list of names, such
@@ -591,7 +591,7 @@
 if (BINARY_STUB != null && !BINARY_STUB.getSingleFile().exists()) logger.warn("Missing or incorrect path to 'jfxrt.jar': '${BINARY_STUB.asPath}'. Perhaps bad JDK_HOME? $JDK_HOME")
 
 // Verify that CONF is something useful
-if (CONF != "Release" && CONF != "Debug") logger.warn("Unknown configuration CONF='$CONF'. Treating as 'Debug'")
+if (CONF != "Release" && CONF != "Debug") logger.warn("Unknown configuration CONF='$CONF'. Treating as 'Release'")
 
 // If the number of compile threads is less than 1 then we have a problem!
 if (Integer.parseInt(NUM_COMPILE_THREADS.toString()) < 1) {
--- a/gradle.properties.template	Wed Sep 04 10:40:21 2013 -0700
+++ b/gradle.properties.template	Wed Sep 04 12:35:55 2013 -0700
@@ -107,9 +107,9 @@
 #JDK_DOCS = file:///Library/Java/JavaVirtualMachines/jdk1.8.0/Content/Home/docs/api
 #JDK_DOCS = relative/path/to/docs/api
 
-# Specify the build configuration (Release or Debug). The default setting is Debug.
+# Specify the build configuration (Release or Debug). The default setting is Release.
 
-#CONF = Release
+#CONF = Debug
 
 # Enables the use of the "use depend" feature. This speeds up incremental builds, but at the
 # cost of accuracy. Under normal circumstances, if you modify a single source file in the