Author: rob.stryker(a)jboss.com
Date: 2007-06-15 12:55:35 -0400 (Fri, 15 Jun 2007)
New Revision: 2128
Modified:
trunk/core/plugins/org.jboss.ide.eclipse.archives.core/src/main/org/jboss/ide/eclipse/archives/core/model/internal/ArchiveImpl.java
Log:
complying with API change in interface
Modified:
trunk/core/plugins/org.jboss.ide.eclipse.archives.core/src/main/org/jboss/ide/eclipse/archives/core/model/internal/ArchiveImpl.java
===================================================================
---
trunk/core/plugins/org.jboss.ide.eclipse.archives.core/src/main/org/jboss/ide/eclipse/archives/core/model/internal/ArchiveImpl.java 2007-06-15
16:55:21 UTC (rev 2127)
+++
trunk/core/plugins/org.jboss.ide.eclipse.archives.core/src/main/org/jboss/ide/eclipse/archives/core/model/internal/ArchiveImpl.java 2007-06-15
16:55:35 UTC (rev 2128)
@@ -67,7 +67,7 @@
/*
* @see IArchive#getDestinationPath()
*/
- public IPath getDestinationPath () {
+ public IPath getGlobalDestinationPath () {
if (packageDelegate.getToDir() == null ||
packageDelegate.getToDir().equals("."))
return getProjectPath() == null ? null : getProjectPath();
@@ -77,11 +77,15 @@
return new Path(packageDelegate.getToDir());
}
+ public IPath getDestinationPath() {
+ return packageDelegate.getToDir() == null ? null : new
Path(packageDelegate.getToDir());
+ }
+
/*
* @see IArchive#getArchiveFilePath()
*/
public IPath getArchiveFilePath() {
- return getDestinationPath().append(getName());
+ return getGlobalDestinationPath().append(getName());
}
/*
Show replies by date