Author: rob.stryker(a)jboss.com
Date: 2007-06-01 16:42:27 -0400 (Fri, 01 Jun 2007)
New Revision: 2091
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/packages/ArchivesBuildListener.java
Log:
api name change for better comprehension
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/packages/ArchivesBuildListener.java
===================================================================
---
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/packages/ArchivesBuildListener.java 2007-06-01
20:42:26 UTC (rev 2090)
+++
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/packages/ArchivesBuildListener.java 2007-06-01
20:42:27 UTC (rev 2091)
@@ -67,7 +67,6 @@
public void cleanArchive(IArchive pkg) {
PackagedModuleDelegate del = getModuleDelegate(pkg);
del.reset();
-
}
@@ -79,22 +78,16 @@
public void fileRemoved(IArchive topLevelPackage, IArchiveFileSet fileset, IPath
filePath) {
// make absolute
- IPath filePath2 = makeAbsolute(filePath, fileset); // change
+ IPath filePath2 = ModelUtil.getBaseDestinationFile(fileset, filePath);
PackagedModuleDelegate del = getModuleDelegate(topLevelPackage);
del.fileRemoved(filePath2);
}
public void fileUpdated(IArchive topLevelPackage, IArchiveFileSet fileset, IPath
filePath) {
// make absolute
- IPath filePath2 = makeAbsolute(filePath, fileset); // change
+ IPath filePath2 = ModelUtil.getBaseDestinationFile(fileset, filePath);
PackagedModuleDelegate del = getModuleDelegate(topLevelPackage);
del.fileUpdated(filePath2);
}
-
- public IPath makeAbsolute(IPath local, IArchiveFileSet fileset) {
- IPath file = ModelUtil.getBaseFile(fileset, local);
- return file;
- }
-
// If we're supposed to auto-deploy, get on it
protected static void publish(IArchive pkg) {
Show replies by date