Author: rob.stryker(a)jboss.com
Date: 2007-07-25 13:07:45 -0400 (Wed, 25 Jul 2007)
New Revision: 2655
Modified:
trunk/core/plugins/org.jboss.ide.eclipse.archives.core/src/eclipse/org/jboss/ide/eclipse/archives/core/project/ArchivesBuilder.java
Log:
JBIDE-617, JBIDE-502
Clean build was destroying workspace.
Modified:
trunk/core/plugins/org.jboss.ide.eclipse.archives.core/src/eclipse/org/jboss/ide/eclipse/archives/core/project/ArchivesBuilder.java
===================================================================
---
trunk/core/plugins/org.jboss.ide.eclipse.archives.core/src/eclipse/org/jboss/ide/eclipse/archives/core/project/ArchivesBuilder.java 2007-07-25
16:07:11 UTC (rev 2654)
+++
trunk/core/plugins/org.jboss.ide.eclipse.archives.core/src/eclipse/org/jboss/ide/eclipse/archives/core/project/ArchivesBuilder.java 2007-07-25
17:07:45 UTC (rev 2655)
@@ -94,7 +94,7 @@
IArchiveModelNode root = ArchivesModel.instance().getRoot(p);
IArchiveNode[] nodes = root.getChildren(IArchiveNode.TYPE_ARCHIVE);
for( int i = 0; i < nodes.length; i++ ) {
- IPath path = ((IArchive)nodes[i]).getGlobalDestinationPath();
+ IPath path = ((IArchive)nodes[i]).getArchiveFilePath();
TrueZipUtil.deleteAll(path);
}
}