Index: jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/vss/MSVSSHISTORY.java
===================================================================
RCS file: /home/cvspublic/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/vss/MSVSSHISTORY.java,v
retrieving revision 1.1
diff -r1.1 MSVSSHISTORY.java
59a60
> import java.io.File;
64,113d64
<  * <p>
<  * The following attributes are interpreted:
<  * <table border="1">
<  *   <tr>
<  *     <th>Attribute</th>
<  *     <th>Values</th>
<  *     <th>Required</th>
<  *   </tr>
<  *   <tr>
<  *      <td>login</td>
<  *      <td>username,password</td>
<  *      <td>No</td>
<  *   </tr>
<  *   <tr>
<  *      <td>vsspath</td>
<  *      <td>SourceSafe path</td>
<  *      <td>Yes</td>
<  *   </tr>
<  *   <tr>
<  *      <td>ssdir</td>
<  *      <td>directory where <code>ss.exe</code> resides. By default the task
<  *      expects it to be in the PATH.</td>
<  *      <td>No</td>
<  *   </tr>
<  *   <tr>
<  *      <td>startdate</td>
<  *      <td>Start date for comparison</td>
<  *      <td>Yes</td>
<  *   </tr>
<  *   <tr>
<  *      <td>outputfilename</td>
<  *      <td>File to write the diff.</td>
<  *      <td>Yes</td>
<  *   </tr>
<  *   <tr>
<  *      <td>numdays</td>
<  *      <td>The number of days for comparison. The default value is -2 days.</td>
<  *      <td>No</td>
<  *   </tr>
<  *   <tr>
<  *      <td>recursive</td>
<  *      <td>true or false</td>
<  *      <td>No</td>
<  *   <tr>
<  *   <tr>
<  *      <td>style</td>
<  *      <td>brief or codediff or nofile. The default is brief.</td>
<  *      <td>No</td>
<  *   <tr>
<  * </table>
115a67
>  * @author Glenn_Twiggs@bmc.com
121a74,76
>     private DateFormat m_DateFormat =
>         DateFormat.getDateInstance(DateFormat.SHORT);
>     
127c82
<     private String m_Style = "-B";
---
>     private String m_Style = "";
135c90
<    
---
> 
180c135,137
<         commandLine.createArgument().setValue(m_Style);
---
>         if (m_Style.length() > 0) {
>             commandLine.createArgument().setValue(m_Style);
>         }
254,255c211,212
<     public void setOutputfilename(String outfile) {
<         if ( outfile.equals("") || outfile == null ) {
---
>     public void setOutput(File outfile) {
>         if ( outfile == null ) {
258c215,224
<             m_OutputFileName = outfile;
---
>             m_OutputFileName = outfile.getAbsolutePath();
>         }
>     }
> 
>     /**
>      * Set the Start Date for the Comparison of two versions in SourceSafe History
>      */
>     public void setDateFormat(String dateFormat) {
>         if ( !(dateFormat.equals("") || dateFormat == null) ) {
>             m_DateFormat = new SimpleDateFormat(dateFormat);
347,348c313
<         DateFormat df = DateFormat.getDateInstance(DateFormat.SHORT);
<         currdate = df.parse(fromDate); 
---
>         currdate = m_DateFormat.parse(fromDate); 
351c316
<         toDate = df.format(calend.getTime());
---
>         toDate = m_DateFormat.format(calend.getTime());
387a353
>      * <li>default:  No option specified. Display in Source Safe's default format.
396,397c362,364
<         } else {
<             // must be "nofile"
---
>         } else if (option.equals("default")) {
>             m_Style = "";
>         } else if (option.equals("nofile")) {
398a366,367
>         } else {
>             throw new BuildException("Style " + attr + " unknown.");
