File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Ant, Maven and Other Build Tools and the fly likes ANT and SourceSafe Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "ANT and SourceSafe" Watch "ANT and SourceSafe" New topic
Author

ANT and SourceSafe

Zsuzsa Pocsai
Greenhorn

Joined: Nov 18, 2002
Posts: 11
I am a beginer in ANT, and I was wondering if anyone would be able to tell me how I could use ANT to get the latest version of code out of Visual SourceSafe (verion 6) before deployment?
Thank u for your help.
Hari babu
Ranch Hand

Joined: Jun 25, 2001
Posts: 208
Hi,
Check built-in task "Microsoft Visual SourceSafe Tasks" under Ant docs. you can easily proceed
Hari
Zsuzsa Pocsai
Greenhorn

Joined: Nov 18, 2002
Posts: 11
Thank you!
Zsuzsa Pocsai
Greenhorn

Joined: Nov 18, 2002
Posts: 11
Harri,
Could you please give a helping hand with this.
I need to be able to connect to a network database and not a db on my local machine. And I just do not seem to be able to re-direct it. Any idea why that could be? Thank you
Zsuzsa Pocsai
Greenhorn

Joined: Nov 18, 2002
Posts: 11
I have put the following code in but it is looking for a db on my local machine.
<target name="source-control"
depends="init"
description="source control">
<vssget localPath="C:\VSS\PCFG\PCFG System\Current Version"
ssdir="C:\Program Files\Microsoft Visual Studio\Common\VSS\win32"
serverPath="C:\program\zsuzsa"
recursive="true"
login="zsuzsa,password"
vsspath="/PCFG/PCFG System/Current Version"
writable="false"/>
</target>
I am not sure which parameter would have to hold the pass and how for the database on another machine on the network. Any help would be very much apprechiated. Thank you
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ANT and SourceSafe