|
|
@@ -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. |
|
|
@@ -53,13 +53,13 @@ public class AptExternalCompilerAdapter extends DefaultCompilerAdapter { |
|
|
|
cmd.setExecutable(apt.getAptExecutable()); |
|
|
|
setupModernJavacCommandlineSwitches(cmd); |
|
|
|
AptCompilerAdapter.setAptCommandlineSwitches(apt, cmd); |
|
|
|
|
|
|
|
int firstFileName = cmd.size(); |
|
|
|
//add the files |
|
|
|
logAndAddFilesToCompile(cmd); |
|
|
|
|
|
|
|
//run |
|
|
|
return 0 == executeExternalCompile(cmd.getCommandline(), |
|
|
|
cmd.size(), |
|
|
|
firstFileName, |
|
|
|
true); |
|
|
|
|
|
|
|
} |
|
|
|