diff --git a/src/main/org/apache/tools/ant/taskdefs/compilers/Jikes.java b/src/main/org/apache/tools/ant/taskdefs/compilers/Jikes.java index ac8e9bc87..2c8b29dad 100644 --- a/src/main/org/apache/tools/ant/taskdefs/compilers/Jikes.java +++ b/src/main/org/apache/tools/ant/taskdefs/compilers/Jikes.java @@ -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"); * you may not use this file except in compliance with the License. @@ -195,7 +195,6 @@ public class Jikes extends DefaultCompilerAdapter { addCurrentCompilerArgs(cmd); int firstFileName = cmd.size(); - logAndAddFilesToCompile(cmd); Path boot = getBootClassPath(); if (boot.size() > 0) { @@ -203,6 +202,8 @@ public class Jikes extends DefaultCompilerAdapter { cmd.createArgument().setPath(boot); } + logAndAddFilesToCompile(cmd); + return executeExternalCompile(cmd.getCommandline(), firstFileName) == 0; }