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

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



Internet
[EMAIL PROTECTED] - 21/03/2002 08:38


Veuillez r�pondre � [EMAIL PROTECTED]
Pour :    ant-user

cc :

ccc : Thomas Carrie


Objet :   Ant and SourceSafe


Hi

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
new
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}"/>
</target>

But it comes with the following error:

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

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

Med venlig hilsen/Best regards
S�ren Neigaard
System Architect
................................
Mobilethink A/S
Arosgaarden
�boulevarden 23, 5.sal
DK - 8000 �rhus C
Telefon: +45 86207800
Direct: +45 86207810
Fax: +45 86207801
Email: [EMAIL PROTECTED]
Web: www.mobilethink.dk
................................


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>









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:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to