ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Réf. : Ant and SourceSafe
Date Thu, 21 Mar 2002 08:40:52 GMT

1) Try to replace localpath by "${jardir}"

2) Add "vss.dir=C:/win32app/Visual Studio/Common/VSS/win32"

Internet - 21/03/2002 08:38

Veuillez répondre à
Pour :    ant-user

cc :

ccc : Thomas Carrie

Objet :   Ant and SourceSafe


I found the documentation on the subject, but I can't seem tu get it to
work. Maybe because I'm quite new to Ant :)

I want to checkout a JAR file, generate a new JAR file, and checkin this
JAR file. I have tried the following (not complete, just my first try):

<target name="deploy" depends="build">
 <vsscheckout vsspath="/projects/myproject/lib/my.jar"
localpath="${jardir}/my.jar" recursive="false" login="myname,mypwd"/>
 <jar jarfile="${jardir}/my.jar" basedir="${destdir}"/>

But it comes with the following error:

build.xml:27: CreateProcess: ss Checkout
$/projects/myproject/lib/my.jar -GLD:\projects\myproject\jar\my.jar -I-
name,mypwd error=2

What is this, is it because the path to SourseSafe is wrong? What do I do
get it running?

Med venlig hilsen/Best regards
Søren Neigaard
System Architect
Mobilethink A/S
Åboulevarden 23, 5.sal
DK - 8000 Århus C
Telefon: +45 86207800
Direct: +45 86207810
Fax: +45 86207801

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

This message and any attachments (the "message") is
intended solely for the addressees and is confidential. 
If you receive this message in error, please delete it and 
immediately notify the sender. Any use not in accord with 
its purpose, any dissemination or disclosure, either whole 
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message. 
BNP PARIBAS (and its subsidiaries) shall (will) not 
therefore be liable for the message if modified. 


Ce message et toutes les pieces jointes (ci-apres le 
"message") sont etablis a l'intention exclusive de ses 
destinataires et sont confidentiels. Si vous recevez ce 
message par erreur, merci de le detruire et d'en avertir 
immediatement l'expediteur. Toute utilisation de ce 
message non conforme a sa destination, toute diffusion 
ou toute publication, totale ou partielle, est interdite, sauf 
autorisation expresse. L'internet ne permettant pas 
d'assurer l'integrite de ce message, BNP PARIBAS (et ses
filiales) decline(nt) toute responsabilite au titre de ce 
message, dans l'hypothese ou il aurait ete modifie.

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message