jvanzyl 02/04/17 11:43:36
Modified: src/java/org/apache/maven/project Workspace.java
Log:
Updating model for new workspace.
Revision Changes Path
1.4 +70 -23
jakarta-turbine-maven/src/java/org/apache/maven/project/Workspace.java
Index: Workspace.java
===================================================================
RCS file:
/home/cvs/jakarta-turbine-maven/src/java/org/apache/maven/project/Workspace.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- Workspace.java 24 Feb 2002 17:48:09 -0000 1.3
+++ Workspace.java 17 Apr 2002 18:43:36 -0000 1.4
@@ -56,67 +56,114 @@
/**
* @author <a href="mailto:[EMAIL PROTECTED]">Jason van Zyl</a>
- * @version $Id: Workspace.java,v 1.3 2002/02/24 17:48:09 jvanzyl Exp $
+ * @version $Id: Workspace.java,v 1.4 2002/04/17 18:43:36 jvanzyl Exp $
*/
public class Workspace
extends BaseObject
{
- private String baseDir;
- private String packageDir;
- private String version;
+ /** Workspace version. **/
+ private String workspaceVersion;
+
+ /** Directory in which to checkout sources and build. */
+ private String baseDirectory;
+
+ /** Location where distributions are stored. */
+ private String distributionDirectory;
+
+ /** Location of the JDK. */
+ private String javaHome;
+
+ /** Location of all registered Maven project descriptors. */
+ private String descriptorDirectory;
+
+ /** Profile of projects to build. */
private Profile profile;
/**
* Default constructor
*/
- public Workspace() { }
+ public Workspace()
+ {
+ }
+
+ /**
+ * Sets the workspaceVersion attribute of the Workspace object
+ */
+ public void setWorkspaceVersion(String workspaceVersion)
+ {
+ this.workspaceVersion = workspaceVersion;
+ }
+
+ /**
+ * Gets the workspaceVersion attribute of the Workspace object
+ */
+ public String getWorkspaceVersion()
+ {
+ return workspaceVersion;
+ }
+
+ /**
+ * Sets the baseDirectory attribute of the Workspace object
+ */
+ public void setBaseDirectory(String baseDirectory)
+ {
+ this.baseDirectory = baseDirectory;
+ }
+
+ /**
+ * Gets the baseDirectory attribute of the Workspace object
+ */
+ public String getBaseDirectory()
+ {
+ return baseDirectory;
+ }
/**
- * Sets the baseDir attribute of the Workspace object
+ * Sets the distrubutionDirectory attribute of the Workspace object
*/
- public void setBaseDir(String baseDir)
+ public void setDistributionDirectory(String distributionDirectory)
{
- this.baseDir = baseDir;
+ this.distributionDirectory = distributionDirectory;
}
/**
- * Gets the baseDir attribute of the Workspace object
+ * Gets the distributionDirectory attribute of the Workspace object
*/
- public String getBaseDir()
+ public String getDistributionDirectory()
{
- return baseDir;
+ return distributionDirectory;
}
/**
- * Sets the packageDir attribute of the Workspace object
+ * Sets the javaHome attribute of the Workspace object
*/
- public void setPackageDir(String packageDir)
+ public void setJavaHome(String javaHome)
{
- this.packageDir = packageDir;
+ this.javaHome = javaHome;
}
/**
- * Gets the packageDir attribute of the Workspace object
+ * Gets the javaHome attribute of the Workspace object
*/
- public String getPackageDir()
+ public String getJavaHome()
{
- return packageDir;
+ return javaHome;
}
/**
- * Sets the version attribute of the Workspace object
+ * Sets the descriptorDirectory attribute of the Workspace object
*/
- public void setVersion(String version)
+ public void setDescriptorDirectory(String descriptorDirectory)
{
- this.version = version;
+ this.descriptorDirectory = descriptorDirectory;
}
/**
- * Gets the version attribute of the Workspace object
+ * Gets the descriptorDirectory attribute of the Workspace object
*/
- public String getVersion()
+ public String getDescriptorDirectory()
{
- return version;
+ return descriptorDirectory;
}
/**