Browse Source

logging of command line was incomplete

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277596 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 21 years ago
parent
commit
2159de4a8f
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      src/main/org/apache/tools/ant/taskdefs/compilers/Jikes.java

+ 3
- 2
src/main/org/apache/tools/ant/taskdefs/compilers/Jikes.java View File

@@ -1,5 +1,5 @@
/* /*
* Copyright 2001-2004 The Apache Software Foundation
* Copyright 2001-2005 The Apache Software Foundation
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@@ -195,7 +195,6 @@ public class Jikes extends DefaultCompilerAdapter {
addCurrentCompilerArgs(cmd); addCurrentCompilerArgs(cmd);


int firstFileName = cmd.size(); int firstFileName = cmd.size();
logAndAddFilesToCompile(cmd);


Path boot = getBootClassPath(); Path boot = getBootClassPath();
if (boot.size() > 0) { if (boot.size() > 0) {
@@ -203,6 +202,8 @@ public class Jikes extends DefaultCompilerAdapter {
cmd.createArgument().setPath(boot); cmd.createArgument().setPath(boot);
} }


logAndAddFilesToCompile(cmd);

return return
executeExternalCompile(cmd.getCommandline(), firstFileName) == 0; executeExternalCompile(cmd.getCommandline(), firstFileName) == 0;
} }


Loading…
Cancel
Save