Return-Path: Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Delivered-To: mailing list dev@ant.apache.org Received: (qmail 32588 invoked from network); 9 Apr 2003 10:53:03 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 9 Apr 2003 10:53:03 -0000 Received: (qmail 19162 invoked by uid 50); 9 Apr 2003 10:54:53 -0000 Date: 9 Apr 2003 10:54:53 -0000 Message-ID: <20030409105453.19161.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: dev@ant.apache.org Cc: Subject: DO NOT REPLY [Bug 18850] New: - Visual Source Safe History Does Not Allow Specific Users. X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18850 Visual Source Safe History Does Not Allow Specific Users. Summary: Visual Source Safe History Does Not Allow Specific Users. Product: Ant Version: 1.5.3 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Normal Priority: Other Component: Optional Tasks AssignedTo: dev@ant.apache.org ReportedBy: andylehane@hotmail.com Hi, When using the task, the user attribute is ignored. I have fixed this locally in the org\apache\tools\ant\taskdefs\optional\vss\MSVSSHISTORY.java file : /** * Executes the task. *

* Builds a command line to execute ss and then calls Exec's run method * to execute the command line. */ public void execute() throws BuildException { Commandline commandLine = new Commandline(); int result = 0; // first off, make sure that we've got a command and a vssdir and a label ... if (getVsspath() == null) { String msg = "vsspath attribute must be set!"; throw new BuildException(msg, location); } // now look for illegal combinations of things ... // build the command line from what we got the format is // ss History elements [-H] [-L] [-N] [-O] [-V] [-Y] [-#] [-?] // as specified in the SS.EXE help commandLine.setExecutable(getSSCommand()); commandLine.createArgument().setValue(COMMAND_HISTORY); // VSS items commandLine.createArgument().setValue(getVsspath()); // -I- commandLine.createArgument().setValue("-I-"); // ignore all errors // -V // Label an existing file or project version getVersionDateCommand(commandLine); getVersionLabelCommand(commandLine); // -R if (m_Recursive) { commandLine.createArgument().setValue(FLAG_RECURSION); } // -B / -D / -F- if (m_Style.length() > 0) { commandLine.createArgument().setValue(m_Style); } // -Y getLoginCommand(commandLine); // ======================================================= // ADD THE USER NAME TO THE COMMAND LINE getUserCommand(commandLine); // ======================================================= // -O getOutputCommand(commandLine); System.out.println("***: " + commandLine); result = run(commandLine); if (result != 0) { String msg = "Failed executing: " + commandLine.toString(); throw new BuildException(msg, location); } }