summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCurtis Windatt2013-08-08 12:29:03 (EDT)
committer Curtis Windatt2013-08-12 12:21:06 (EDT)
commite823934ba32d3b266528df392fb87ae186f200e8 (patch)
treee3695cfc9b8a7638da96f4e1e7050eb1a2dd7367
parentbda2c0bb257e093bdeb4c4d01c8ee744e1b98375 (diff)
downloadeclipse.pde.ui-e823934ba32d3b266528df392fb87ae186f200e8.zip
eclipse.pde.ui-e823934ba32d3b266528df392fb87ae186f200e8.tar.gz
eclipse.pde.ui-e823934ba32d3b266528df392fb87ae186f200e8.tar.bz2
Bug 414053 - The API generation task should always overwrite
Add debug message Change-Id: I8ebf5482e13cb0e267da4f025d5b3d02ad6f27f5
-rw-r--r--apitools/org.eclipse.pde.api.tools/src_ant/org/eclipse/pde/api/tools/internal/tasks/ApiFileGenerationTask.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/apitools/org.eclipse.pde.api.tools/src_ant/org/eclipse/pde/api/tools/internal/tasks/ApiFileGenerationTask.java b/apitools/org.eclipse.pde.api.tools/src_ant/org/eclipse/pde/api/tools/internal/tasks/ApiFileGenerationTask.java
index 6763cb4..c269438 100644
--- a/apitools/org.eclipse.pde.api.tools/src_ant/org/eclipse/pde/api/tools/internal/tasks/ApiFileGenerationTask.java
+++ b/apitools/org.eclipse.pde.api.tools/src_ant/org/eclipse/pde/api/tools/internal/tasks/ApiFileGenerationTask.java
@@ -283,6 +283,9 @@ public class ApiFileGenerationTask extends Task {
if (apiDescriptionFile.exists()) {
//get rid of the existing one
//see https://bugs.eclipse.org/bugs/show_bug.cgi?id=414053
+ if (this.debug) {
+ System.out.println("Existing api description file deleted"); //$NON-NLS-1$
+ }
apiDescriptionFile.delete();
}
File[] allFiles = null;