[jboss-cvs] jbosside/core/plugins/org.jboss.ide.eclipse.archives.core/src/main/org/jboss/ide/eclipse/archives/core/model ...
Robert Stryker
rob.stryker at jboss.com
Fri Apr 20 19:44:56 EDT 2007
User: rawb
Date: 07/04/20 19:44:56
Modified: core/plugins/org.jboss.ide.eclipse.archives.core/src/main/org/jboss/ide/eclipse/archives/core/model
ArchivesCore.java IArchive.java
Log:
It Compiles! Not sure on if it *works* yet
Revision Changes Path
1.2 +2 -1 jbosside/core/plugins/org.jboss.ide.eclipse.archives.core/src/main/org/jboss/ide/eclipse/archives/core/model/ArchivesCore.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: ArchivesCore.java
===================================================================
RCS file: /cvsroot/jboss/jbosside/core/plugins/org.jboss.ide.eclipse.archives.core/src/main/org/jboss/ide/eclipse/archives/core/model/ArchivesCore.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- ArchivesCore.java 20 Apr 2007 09:38:14 -0000 1.1
+++ ArchivesCore.java 20 Apr 2007 23:44:56 -0000 1.2
@@ -137,7 +137,7 @@
}
- public static IArchiveType getPackageType (String packageType) {
+ public static IArchiveType getArchiveType (String packageType) {
return ExtensionManager.getArchiveType(packageType);
}
@@ -151,4 +151,5 @@
}
return paths;
}
+
}
1.2 +5 -4 jbosside/core/plugins/org.jboss.ide.eclipse.archives.core/src/main/org/jboss/ide/eclipse/archives/core/model/IArchive.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: IArchive.java
===================================================================
RCS file: /cvsroot/jboss/jbosside/core/plugins/org.jboss.ide.eclipse.archives.core/src/main/org/jboss/ide/eclipse/archives/core/model/IArchive.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- IArchive.java 18 Apr 2007 21:07:53 -0000 1.1
+++ IArchive.java 20 Apr 2007 23:44:56 -0000 1.2
@@ -31,7 +31,7 @@
* </p>
*
* @author <a href="marshall at jboss.org">Marshall Culpepper</a>
- * @version $Revision: 1.1 $
+ * @version $Revision: 1.2 $
*/
public interface IArchive extends IArchiveNode {
public static final String ATTRIBUTE_PREFIX = "org.jboss.ide.eclipse.archives.core.model.IPackage.";
@@ -79,9 +79,8 @@
public boolean isTopLevel();
/**
- * If this package is top-level, there are two types of destinations it can have. "Inside" the workspace, and "outside" the workspace.
- * If the destination is inside the workspace, you will need to call getDestinationContainer()
- * Otherwise you will need to call getDestinationFolder()
+ * If this package is top-level, there are two types of destinations it can have.
+ * "Inside" the workspace, and "outside" the workspace.
* @return Wheter or not the destination of this package is in the workspace
* @see IPackage.getDestinationFolder()
* @see IPackage.getDestinationContainer()
@@ -148,7 +147,9 @@
/**
* Sets the destination path for this package.
- * @param path The absolute path where this package will be built
+ * In workspace paths are relative to workspace root.
+ * Out of workspace paths are file-system absolute
+ * @param path The path where this archive will be built.
*/
public void setDestinationPath (IPath path, boolean inWorkspace);
More information about the jboss-cvs-commits
mailing list