I thought this was a previously known problem (after 1.2, before 1.3) but was fixed before the release.
Ken > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 14, 2001 12:49 PM > To: [EMAIL PROTECTED] > Subject: [Bug 974] New - Visual Source Safe Optional Task Fails Due To > Malformed Commmand Line Option > > > http://nagoya.apache.org/bugzilla/show_bug.cgi?id=974 > > *** shadow/974 Wed Mar 14 09:49:13 2001 > --- shadow/974.tmp.12436 Wed Mar 14 09:49:13 2001 > *************** > *** 0 **** > --- 1,47 ---- > + > +============================================================= > ===============+ > + | Visual Source Safe Optional Task Fails Due To Malformed > Commmand Line Opti | > + > +------------------------------------------------------------- > ---------------+ > + | Bug #: 974 Product: Ant > | > + | Status: NEW Version: 1.3 > | > + | Resolution: Platform: PC > | > + | Severity: Blocker OS/Version: > Windows NT/2K | > + | Priority: Medium Component: > Optional Tasks | > + > +------------------------------------------------------------- > ---------------+ > + | Assigned To: [EMAIL PROTECTED] > | > + | Reported By: [EMAIL PROTECTED] > | > + | CC list: Cc: > | > + > +------------------------------------------------------------- > ---------------+ > + | URL: > | > + > +============================================================= > ===============+ > + | DESCRIPTION > | > + Using Visual Source Safe Version 6.0a build 8835 (by MS > Visual Studio SP 4). > + > + The following statement in the build.xml failed to execute > MS Visual Source > + Safe due to the manner in which msvssget.class creates the > command line options > + to launch Source Safe: > + > + <vssget localPath="D:\WATERS~1\ARCHIT~1\dsn-build\vsssrc" > + recursive="true" > + login="admin,firestarter" > + vsspath="/DSN Architecture/src" > + writable="true" > + ssdir="${dir.ss}"/> > + > + The localPath attribute generates a command line option -GL > d:\localPath for > + VSS, but VSS refuses to accept anything but > -GLd:\localPath. In order to make > + this option work I had to remove the space. I tested this > at the command line > + with vss and also modified the setLocalPath() method within > the MSVSSGET class. > + > + /** > + * Set the local path. > + */ > + public void setLocalpath(Path localPath) { > + m_LocalPath = localPath.toString(); > + m_LocalPath.trim(); > + } > + > + localPath.toString() method is a Path object define by > path.class. It > + automatically appends a space to all paths... > + > + Paul Pottorff > + Accenture LLP > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >
