ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luigi Fioravanti" <>
Subject RE: Ant and Visual SourceSafe
Date Fri, 04 Aug 2000 08:13:14 GMT
This build file works correctly in my system.

<project name="compilaSMS" default="compile" basedir=".">
  <target name="init">
    <property name="javadir" value="src"/>
    <property name="classdir" value="src"/>
    <property name="SMSjar" value="d:\progetti\sms\jar"/>
  <target name="vss" depends="init">
    <vssget vsspath="/webedit/src" localpath="${javadir}" recursive="true"
       ssdir="D:\Program Files\Microsoft Visual Studio\Common\VSS\win32"/>
  <target name="compile" depends="init">
    <javac srcdir="${javadir}" destdir="${classdir}" debug="on">
  <target name="getandcompile" depends="vss, compile"/>

In the %ant_home%\bin I put optional.jar.

I use standard ant.bat file for WinNT, that automatically puts all jar file
found in %ant_home%\lib in the classpath used to start ant.

That's all, I think.

Luigi Fioravanti.

Luigi Fioravanti
TXT e-solutions S.p.A.

address:    via Socrate, 41 - 20128 - Milano - Italy

-----Original Message-----
From: Giri Alwar []
Sent: Thursday, August 03, 2000 4:04 PM
Subject: Ant and Visual SourceSafe

Has anyone had any luck getting files from Visual Source Safe using the
optional "VssGet" task in Ant 1.1 (you need to get optional.jar to run this
task)? Although I have optional.jar in my classpath, Ant keeps telling me
that it cannot find a task called VssGet. Any help in this matter would be
greatly appreciated.


View raw message