stevel 2002/06/23 15:37:20
Modified: src/main/org/apache/tools/ant/taskdefs/optional/ide Tag:
ANT_15_BRANCH VAJExport.java VAJImport.java
VAJProjectDescription.java VAJTask.java
Log:
VAJ javadocs
Revision Changes Path
No revision
No revision
1.7.2.1 +7 -7
jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/ide/VAJExport.java
Index: VAJExport.java
===================================================================
RCS file:
/home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/ide/VAJExport.java,v
retrieving revision 1.7
retrieving revision 1.7.2.1
diff -u -r1.7 -r1.7.2.1
--- VAJExport.java 10 Jan 2002 13:59:36 -0000 1.7
+++ VAJExport.java 23 Jun 2002 22:37:20 -0000 1.7.2.1
@@ -133,7 +133,7 @@
}
/**
- * Sets whether default exclusions should be used or not.
+ * Sets whether default exclusions should be used or not; default true.
*
* @param useDefaultExcludes "true"|"on"|"yes" when default exclusions
* should be used, "false"|"off"|"no" when they
@@ -145,7 +145,7 @@
/**
* Set the destination directory into which the selected
- * items should be exported
+ * items should be exported; required.
*/
public void setDestdir(File destDir) {
this.destDir = destDir;
@@ -163,14 +163,14 @@
}
/**
- * if exportClasses is set, class files are exported
+ * optional flag to export the class files; default false.
*/
public void setExportClasses(boolean doExport) {
exportClasses = doExport;
}
/**
- * if exportDebugInfo is set, the exported class files contain
+ * optional flag to export the debug info; default false.
* debug info
*/
public void setExportDebugInfo(boolean doExport) {
@@ -178,14 +178,14 @@
}
/**
- * if exportResources is set, resource file will be exported
+ * optional flag to export the resource file; default true.
*/
public void setExportResources(boolean doExport) {
exportResources = doExport;
}
/**
- * if exportSources is set, java files will be exported
+ * optional flag to export the Java files; default true.
*/
public void setExportSources(boolean doExport) {
exportSources = doExport;
@@ -193,7 +193,7 @@
/**
* Sets the set of include patterns. Patterns may be separated by a comma
- * or a space.Currently only patterns denoting packages are
+ * or a space. Currently only patterns denoting packages are
* supported
*
* @param includes the string containing the include patterns
1.14.2.1 +3 -3
jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/ide/VAJImport.java
Index: VAJImport.java
===================================================================
RCS file:
/home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/ide/VAJImport.java,v
retrieving revision 1.14
retrieving revision 1.14.2.1
diff -u -r1.14 -r1.14.2.1
--- VAJImport.java 14 Apr 2002 11:16:18 -0000 1.14
+++ VAJImport.java 23 Jun 2002 22:37:20 -0000 1.14.2.1
@@ -140,7 +140,7 @@
}
/**
- * Import .class files.
+ * Flag to import .class files; optional, default false.
*/
public void setImportClasses(boolean importClasses) {
this.importClasses = importClasses;
@@ -148,14 +148,14 @@
/**
* Import resource files (anything that doesn't end in
- * .class or .java)
+ * .class or .java); optional, default true.
*/
public void setImportResources(boolean importResources) {
this.importResources = importResources;
}
/**
- * Import .java files
+ * Import .java files; optional, default true.
*/
public void setImportSources(boolean importSources) {
this.importSources = importSources;
1.4.2.1 +12 -0
jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/ide/VAJProjectDescription.java
Index: VAJProjectDescription.java
===================================================================
RCS file:
/home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/ide/VAJProjectDescription.java,v
retrieving revision 1.4
retrieving revision 1.4.2.1
diff -u -r1.4 -r1.4.2.1
--- VAJProjectDescription.java 25 Feb 2002 17:38:15 -0000 1.4
+++ VAJProjectDescription.java 23 Jun 2002 22:37:20 -0000 1.4.2.1
@@ -85,6 +85,10 @@
return projectFound;
}
+ /**
+ * name of the VAJ project to load into
+ * the workspace; required
+ */
public void setName(String newName) {
if (newName == null || newName.equals("")) {
throw new BuildException("name attribute must be set");
@@ -92,6 +96,9 @@
name = newName;
}
+ /**
+ * name of the requested version; required.
+ */
public void setVersion(String newVersion) {
if (newVersion == null || newVersion.equals("")) {
throw new BuildException("version attribute must be set");
@@ -99,6 +106,11 @@
version = newVersion;
}
+ /**
+ * this may be a helper method, and is being ignored for now
+
+ * @ant.attribute ignore="true"
+ */
public void setProjectFound() {
projectFound = true;
}
1.4.2.1 +4 -1
jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/ide/VAJTask.java
Index: VAJTask.java
===================================================================
RCS file:
/home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/ide/VAJTask.java,v
retrieving revision 1.4
retrieving revision 1.4.2.1
diff -u -r1.4 -r1.4.2.1
--- VAJTask.java 15 Apr 2002 06:01:37 -0000 1.4
+++ VAJTask.java 23 Jun 2002 22:37:20 -0000 1.4.2.1
@@ -95,7 +95,10 @@
}
/**
- * Set remote server attribute
+ * Name and port of a remote tool server, optiona.
+ * Format: <servername>:<port no>.
+ * If this attribute is set, the tasks will be executed on the specified
tool
+ * server.
*/
public void setRemote(String remoteServer) {
this.remoteServer = remoteServer;
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>