You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by ke...@apache.org on 2006/06/05 09:25:53 UTC

svn commit: r411696 - in /ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/starteam: StarTeamCheckin.java StarTeamCheckout.java StarTeamLabel.java StarTeamTask.java TreeBasedTask.java

Author: kevj
Date: Mon Jun  5 00:25:52 2006
New Revision: 411696

URL: http://svn.apache.org/viewvc?rev=411696&view=rev
Log:
- trim whitespace
- xhtmlify javadoc

Modified:
    ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/starteam/StarTeamCheckin.java
    ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/starteam/StarTeamCheckout.java
    ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/starteam/StarTeamLabel.java
    ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/starteam/StarTeamTask.java
    ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/starteam/TreeBasedTask.java

Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/starteam/StarTeamCheckin.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/starteam/StarTeamCheckin.java?rev=411696&r1=411695&r2=411696&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/starteam/StarTeamCheckin.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/starteam/StarTeamCheckin.java Mon Jun  5 00:25:52 2006
@@ -1,5 +1,5 @@
 /*
- * Copyright  2002-2004 The Apache Software Foundation
+ * Copyright  2002-20046 The Apache Software Foundation
  *
  *  Licensed under the Apache License, Version 2.0 (the "License");
  *  you may not use this file except in compliance with the License.
@@ -358,5 +358,3 @@
     }
 
 }
-
-

Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/starteam/StarTeamCheckout.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/starteam/StarTeamCheckout.java?rev=411696&r1=411695&r2=411696&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/starteam/StarTeamCheckout.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/starteam/StarTeamCheckout.java Mon Jun  5 00:25:52 2006
@@ -42,7 +42,7 @@
  * </pre>
  *
  * @version 1.1
- * @see <A HREF="http://www.starbase.com/">StarBase Web Site</A>
+ * @see <a href="http://www.borland.com/us/products/starteam/index.html">borland StarTeam Web Site</a>
  *
  * @ant.task name="stcheckout" category="scm"
  */

Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/starteam/StarTeamLabel.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/starteam/StarTeamLabel.java?rev=411696&r1=411695&r2=411696&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/starteam/StarTeamLabel.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/starteam/StarTeamLabel.java Mon Jun  5 00:25:52 2006
@@ -1,5 +1,5 @@
 /*
- * Copyright  2001-2005 The Apache Software Foundation
+ * Copyright  2001-2006 The Apache Software Foundation
  *
  *  Licensed under the Apache License, Version 2.0 (the "License");
  *  you may not use this file except in compliance with the License.
@@ -37,7 +37,7 @@
  * starteamurl="server:port/project/view"/&gt;
  * </pre>
  *
- * @see <A HREF="http://www.starbase.com/">StarBase Web Site</A>
+  * @see <a href="http://www.borland.com/us/products/starteam/index.html">borland StarTeam Web Site</a>
  *
  * @ant.task name="stlabel" category="scm"
  */

Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/starteam/StarTeamTask.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/starteam/StarTeamTask.java?rev=411696&r1=411695&r2=411696&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/starteam/StarTeamTask.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/starteam/StarTeamTask.java Mon Jun  5 00:25:52 2006
@@ -1,5 +1,5 @@
 /*
- * Copyright  2001-2005 The Apache Software Foundation
+ * Copyright  2001-2006 The Apache Software Foundation
  *
  *  Licensed under the Apache License, Version 2.0 (the "License");
  *  you may not use this file except in compliance with the License.
@@ -359,15 +359,3 @@
     }
 
 }
-
-
-
-
-
-
-
-
-
-
-
-

Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/starteam/TreeBasedTask.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/starteam/TreeBasedTask.java?rev=411696&r1=411695&r2=411696&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/starteam/TreeBasedTask.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/starteam/TreeBasedTask.java Mon Jun  5 00:25:52 2006
@@ -46,7 +46,7 @@
  *
  * Created: Sat Dec 15 16:55:19 2001
  *
- * @see <A HREF="http://www.starbase.com/">StarBase Web Site</A>
+ * @see <a href="http://www.borland.com/us/products/starteam/index.html">borland StarTeam Web Site</a>
  */
 
 public abstract class TreeBasedTask extends StarTeamTask {
@@ -57,7 +57,7 @@
     ///////////////////////////////////////////////////////////////
     /**
      * This constant sets the filter to include all files. This default has
-     * the same result as <CODE>setIncludes("*")</CODE>.
+     * the same result as <code>setIncludes("*")</code>.
      *
      * @see #getIncludes()
      * @see #setIncludes(String includes)
@@ -67,7 +67,7 @@
     /**
      * This disables the exclude filter by default. In other words, no files
      * are excluded. This setting is equivalent to
-     * <CODE>setExcludes(null)</CODE>.
+     * <code>setExcludes(null)</code>.
      *
      * @see #getExcludes()
      * @see #setExcludes(String excludes)
@@ -218,7 +218,7 @@
      * if excludes have been specified, emit the list to the log
      */
     protected void logIncludes() {
-        if (this.DEFAULT_INCLUDESETTING != this.includes) {
+        if (DEFAULT_INCLUDESETTING != this.includes) {
             log("  Includes specified: " + this.includes);
         }
     }
@@ -226,29 +226,29 @@
     /**
      * Declare files to exclude using standard <tt>excludes</tt> patterns; optional.
      * When filtering files, AntStarTeamCheckOut
-     * uses an unmodified version of <CODE>DirectoryScanner</CODE>'s
-     * <CODE>match</CODE> method, so here are the patterns straight from the
+     * uses an unmodified version of <code>DirectoryScanner</code>'s
+     * <code>match</code> method, so here are the patterns straight from the
      * Ant source code:
-     * <BR><BR>
+     * <br/>
      * Matches a string against a pattern. The pattern contains two special
      * characters:
-     * <BR>'*' which means zero or more characters,
-     * <BR>'?' which means one and only one character.
-     * <BR><BR>
+     * <br/>'*' which means zero or more characters,
+     * <br/>'?' which means one and only one character.
+     * <br/>
      *  For example, if you want to check out all files except .XML and
      * .HTML files, you would put the following line in your program:
-     * <CODE>setExcludes("*.XML,*.HTML");</CODE>
-     * Finally, note that filters have no effect on the <B>directories</B>
+     * <code>setExcludes("*.XML,*.HTML");</code>
+     * Finally, note that filters have no effect on the <b>directories</b>
      * that are scanned; you could not skip over all files in directories
      * whose names begin with "project," for instance.
-     * <BR><BR>
+     * <br/>
      * Treatment of overlapping inlcudes and excludes: To give a simplistic
      * example suppose that you set your include filter to "*.htm *.html"
      * and your exclude filter to "index.*". What happens to index.html?
      * AntStarTeamCheckOut will not check out index.html, as it matches an
      * exclude filter ("index.*"), even though it matches the include
      * filter, as well.
-     * <BR><BR>
+     * <br/>
      * Please also read the following sections before using filters:
      *
      * @param excludes A string of filter patterns to exclude. Separate the
@@ -279,7 +279,7 @@
      * if excludes have been specified, emit the list to the log
      */
     protected void logExcludes() {
-        if (this.DEFAULT_EXCLUDESETTING != this.excludes) {
+        if (DEFAULT_EXCLUDESETTING != this.excludes) {
             log("  Excludes specified: " + this.excludes);
         }
     }
@@ -340,8 +340,6 @@
         return this.asOfDate;
     }
 
-
-
     /**
      * If an asofDate parameter has been supplied by the user return a
      * StarTeam view based on the configuration of the StarTeam view
@@ -390,8 +388,6 @@
             new OLEDate(asOfDate)));
     }
 
-
-
     /**
      * return the label passed to the task by the user as a string
      *
@@ -465,6 +461,7 @@
     protected boolean isUsingViewLabel() {
         return null != this.labelInUse && this.labelInUse.isViewLabel();
     }
+    
     /**
      *  returns true if a label has been specified and it is a revision label.
      *
@@ -504,10 +501,6 @@
         }
     }
 
-
-
-
-
     ///////////////////////////////////////////////////////////////
     // INCLUDE-EXCLUDE processing
     ///////////////////////////////////////////////////////////////
@@ -750,9 +743,6 @@
                                   java.io.File rootLocalFolder)
             throws BuildException;
 
-
-
-
     /**
      * Derived classes must override this method to define tests for
      * any preconditons required by the task.  This method is called at
@@ -765,7 +755,6 @@
      */
     protected abstract void testPreconditions() throws BuildException;
 
-
     /**
      * Return the full repository path name of a file.  Surprisingly there's
      * no method in com.starbase.starteam.File to provide this.
@@ -871,6 +860,3 @@
     }
 
 }
-
-
-



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org