ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Everitt, Andrew" <Andrew.Ever...@gbr.xerox.com>
Subject [Patch] MSVSS.java
Date Mon, 17 Jul 2000 07:57:07 GMT

Allow the caller to set the path to ss.exe as an attribute to the task. See
also patch to MSVSSGET.java.

Thanks,
Andi.


cvs diff MSVSS.java (in directory
D:\OPENSOURCE\APACHE\JAKARTA\jakarta-ant\src\main\org\apache\too
ls\ant\taskd
efs\optional\vss\)
Index: MSVSS.java
===================================================================
RCS file:
/home/cvspublic/jakarta-ant/src/main/org/apache/tools/ant/taskde
fs/optional/
vss/MSVSS.java,v
retrieving revision 1.1
diff -r1.1 MSVSS.java
66,67c66,67
<  * supplied with SourceSafe. You will need to have ss.exe in 
your PATH to
use this
<  * task.
---
>  * supplied with SourceSafe. By default the task expects 
ss.exe to be in
the path,
>  * you can override this be specifying the ssdir attribute.
78a79
>     private String m_SSDir = "";
82a84,105
>      * Set the directory where ss.exe is located
>      *
>      * @param dir the directory containing ss.exe
>      */
>     public final void setssdir(String dir) {
>         m_SSDir = project.translatePath(dir);
>     }
>
>     /**
>      * Builds and returns the command string to execute ss.exe
>      */
>     public final String getSSCommand() {
>         String toReturn = m_SSDir;
>         if ( !toReturn.equals("") && !toReturn.endsWith("\\") ) {
>             toReturn += "\\";
>         }
>         toReturn += SS_EXE;
>
>         return toReturn;
>     }
>
>     /**
131c154
<     public static final String SS_EXE = "ss";
---
>     private static final String SS_EXE = "ss";


Mime
View raw message