• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

logging onto a Database

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can anyone advise me on what to do? I have added the following code to my build.xml so that it can get the latest verion of code from VSS.
and it stops at trying to logg into the database. ( i think) I can see the "username: pocsaizs " written to the command line then the whole thing hangs.
<target name="source-control"
depends="init"
description="source control">
<vssget localPath="C:\VSS\PC\PC System\Current Version"
ssdir="C:\Program Files\Microsoft Visual Studio\Common\VSS\win32"
recursive="true"
login="pocsaizs,password"
vsspath="/PC/PC System/Current Version"
writable="false"/>
</target>
 
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
the path,
vsspath="/PC/PC System/Current Version" ,
should refer to the VSS project that you want to get the files.
Ant tries to open the vss project as described in the vsspath,

Taken from ANT Documentation
username[,password] - The username and password needed to get access to VSS. Note that you may need to specify both (if you have a password) - Ant/VSS will hang if you leave the password out and VSS does not accept login without a password.


Please check this also,
----------------------------------
Vijay
 
reply
    Bookmark Topic Watch Topic
  • New Topic