You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by ja...@apache.org on 2018/09/17 16:51:17 UTC
svn commit: r1841093 -
/subversion/branches/java10-compat/build/generator/gen_win.py
Author: jamessan
Date: Mon Sep 17 16:51:17 2018
New Revision: 1841093
URL: http://svn.apache.org/viewvc?rev=1841093&view=rev
Log:
On the 'java10-compat' branch:
* build/generator/gen_win.py
(get_proj_sources): Format all variables when building TargetJava's build
command-line, to make it clear that relevant whitespace exists between
arguments.
Modified:
subversion/branches/java10-compat/build/generator/gen_win.py
Modified: subversion/branches/java10-compat/build/generator/gen_win.py
URL: http://svn.apache.org/viewvc/subversion/branches/java10-compat/build/generator/gen_win.py?rev=1841093&r1=1841092&r2=1841093&view=diff
==============================================================================
--- subversion/branches/java10-compat/build/generator/gen_win.py (original)
+++ subversion/branches/java10-compat/build/generator/gen_win.py Mon Sep 17 16:51:17 2018
@@ -358,14 +358,13 @@ class WinGeneratorBase(gen_win_dependenc
per_project_flags += "-Xlint:-deprecation -Xlint:-dep-ann" \
" -Xlint:-rawtypes"
- cbuild = ("%s -g -Xlint -Xlint:-options " +
- per_project_flags +
- headers +
+ cbuild = ("%s -g -Xlint -Xlint:-options %s %s "
" -target 1.8 -source 1.8 -classpath "
" %s -d %s "
" -sourcepath %s $(InputPath)") \
- % tuple(map(self.quote, (javac_exe, classes,
- targetdir, sourcepath)))
+ % (self.quote(javac_exe), per_project_flags, headers,
+ self.quote(classes), self.quote(targetdir),
+ self.quote(sourcepath))
if isinstance(object, gen_base.HeaderFile):