git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270710 13f79535-47bb-0310-9956-ffa450edef68master
| @@ -18,6 +18,7 @@ import org.apache.tools.ant.types.Argument; | |||||
| import org.apache.tools.ant.types.Commandline; | import org.apache.tools.ant.types.Commandline; | ||||
| import org.apache.tools.ant.types.CommandlineJava; | import org.apache.tools.ant.types.CommandlineJava; | ||||
| import org.apache.tools.ant.types.Path; | import org.apache.tools.ant.types.Path; | ||||
| import org.apache.avalon.excalibur.util.StringUtil; | |||||
| /** | /** | ||||
| * Taskdef for the JavaCC compiler compiler. | * Taskdef for the JavaCC compiler compiler. | ||||
| @@ -243,7 +244,7 @@ public class JavaCC extends Task | |||||
| { | { | ||||
| try | try | ||||
| { | { | ||||
| getLogger().debug( Commandline.toString( cmdline ) ); | |||||
| getLogger().debug( StringUtil.join( cmdline, " " ) ); | |||||
| final Execute2 exe = new Execute2(); | final Execute2 exe = new Execute2(); | ||||
| setupLogger( exe ); | setupLogger( exe ); | ||||
| exe.setCommandline( cmdline ); | exe.setCommandline( cmdline ); | ||||
| @@ -18,6 +18,7 @@ import org.apache.tools.ant.types.Argument; | |||||
| import org.apache.tools.ant.types.Commandline; | import org.apache.tools.ant.types.Commandline; | ||||
| import org.apache.tools.ant.types.CommandlineJava; | import org.apache.tools.ant.types.CommandlineJava; | ||||
| import org.apache.tools.ant.types.Path; | import org.apache.tools.ant.types.Path; | ||||
| import org.apache.avalon.excalibur.util.StringUtil; | |||||
| /** | /** | ||||
| * Taskdef for the JavaCC compiler compiler. | * Taskdef for the JavaCC compiler compiler. | ||||
| @@ -243,7 +244,7 @@ public class JavaCC extends Task | |||||
| { | { | ||||
| try | try | ||||
| { | { | ||||
| getLogger().debug( Commandline.toString( cmdline ) ); | |||||
| getLogger().debug( StringUtil.join( cmdline, " " ) ); | |||||
| final Execute2 exe = new Execute2(); | final Execute2 exe = new Execute2(); | ||||
| setupLogger( exe ); | setupLogger( exe ); | ||||
| exe.setCommandline( cmdline ); | exe.setCommandline( cmdline ); | ||||