# HG changeset patch # User aph # Date 1241629448 -3600 # Node ID 307d7719ccb79f314bcb046fc27f7bb7ebe764af # Parent 5535b1718db11c605e5a18a5e2157bfa617642e8 6837665: Deal with windows ant problem where commas in -D options do not work Summary: Rewrite to avoid commas in -D options Reviewed-by: ohair diff -r 5535b1718db1 -r 307d7719ccb7 langtools/make/Makefile --- a/langtools/make/Makefile Mon Apr 20 19:01:35 2009 +0100 +++ b/langtools/make/Makefile Wed May 06 18:04:08 2009 +0100 @@ -107,7 +107,7 @@ ifeq ($(DEBUG_CLASSFILES), true) ANT_OPTIONS += -Djavac.debug=true - ANT_OPTIONS += -Djavac.debuglevel=source,lines,vars + ANT_OPTIONS += -Ddebug.classfiles=true endif # Note: jdk/make/common/Defs.gmk uses LANGUAGE_VERSION (-source NN) diff -r 5535b1718db1 -r 307d7719ccb7 langtools/make/build.xml --- a/langtools/make/build.xml Mon Apr 20 19:01:35 2009 +0100 +++ b/langtools/make/build.xml Wed May 06 18:04:08 2009 +0100 @@ -32,6 +32,13 @@ <project name="langtools" default="build" basedir=".."> + <!-- Force full debuginfo for javac if the debug.classfiles + property is set. This must be BEFORE the include of + build.properties because it sets javac.debuglevel. --> + <condition property="javac.debuglevel" value="source,lines,vars"> + <equals arg1="${debug.classfiles}" arg2="true"/> + </condition> + <!-- The following locations can be used to override default property values. --> <!-- Use this location for customizations specific to this instance of this workspace -->