6837665: Deal with windows ant problem where commas in -D options do not work

Rewrite to avoid commas in -D options

Reviewed-by: ohair
This commit is contained in:
Andrew Haley 2009-05-06 18:04:08 +01:00
parent 2af71865f9
commit 59fa6868bb
2 changed files with 8 additions and 1 deletions
langtools/make

@ -107,7 +107,7 @@ endif
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)

@ -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 -->