ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luigi Fioravanti" <luigi.fiorava...@txt.it>
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>
  <target name="vss" depends="init">
    <vssget vsspath="/webedit/src" localpath="${javadir}" recursive="true"
       ssdir="D:\Program Files\Microsoft Visual Studio\Common\VSS\win32"/>
  </target>
  <target name="compile" depends="init">
    <javac srcdir="${javadir}" destdir="${classdir}" debug="on">
      <classpath>
	...
      </classpath>
    </javac>
  </target>
  <target name="getandcompile" depends="vss, compile"/>
</project>

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.

e-mail: luigi.fioravanti@txt.it
address:    via Socrate, 41 - 20128 - Milano - Italy
________________________________________________________

-----Original Message-----
From: Giri Alwar [mailto:galwar@str.com]
Sent: Thursday, August 03, 2000 4:04 PM
To: ant-user@jakarta.apache.org
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.

Giri


Mime
View raw message