From 393f2a2c80f774e36a3a0db6ffdfdfe7f7435913 Mon Sep 17 00:00:00 2001 From: Stefan Bodewig Date: Fri, 2 Dec 2011 12:31:17 +0000 Subject: [PATCH] It seems as if jvc didn't like quotes around source file namesin @argfile. PR 31667 git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1209446 13f79535-47bb-0310-9956-ffa450edef68 --- WHATSNEW | 4 ++++ src/main/org/apache/tools/ant/taskdefs/compilers/Jvc.java | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/WHATSNEW b/WHATSNEW index 10341aa7e..40675b0b2 100644 --- a/WHATSNEW +++ b/WHATSNEW @@ -108,6 +108,10 @@ Fixed bugs: property expansion twice. Bugzilla Report 42046. + * jvc doesn't like it if source file names in argument files are + quoted. + Bugzilla Report 31667. + Other changes: -------------- diff --git a/src/main/org/apache/tools/ant/taskdefs/compilers/Jvc.java b/src/main/org/apache/tools/ant/taskdefs/compilers/Jvc.java index 38586ab1b..85ec47936 100644 --- a/src/main/org/apache/tools/ant/taskdefs/compilers/Jvc.java +++ b/src/main/org/apache/tools/ant/taskdefs/compilers/Jvc.java @@ -110,6 +110,7 @@ public class Jvc extends DefaultCompilerAdapter { logAndAddFilesToCompile(cmd); return - executeExternalCompile(cmd.getCommandline(), firstFileName) == 0; + executeExternalCompile(cmd.getCommandline(), firstFileName, + false) == 0; } }