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:
parent
2af71865f9
commit
59fa6868bb
@ -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 -->
|
||||
|
Loading…
x
Reference in New Issue
Block a user