java left logo
java middle logo
java right logo
 

Home arrow Other API Tips arrow Ant arrow How to use CvsVersion task
 
 
Main Menu
Home
Java Tutorials
Book Reviews
Java SE Tips
Java ME Tips
Java EE Tips
Other API Tips
Java Applications
Java Libraries
Java Games
Java Network
Java Forums
Java Blog




Most Visited Tips
Java SE Tips
Java ME Tips
Java EE Tips
Other API Tips
Java Applications
Java Libraries
Java Games
Book Reviews
Top Rated Tips
Java SE Tips
Java ME Tips
Java EE Tips
Other API Tips
Java Applications
Java Libraries
Java Games
Book Reviews


Statistics
Registered Users: 4089
Java SE Tips: 614
Java ME Tips: 202
Java EE Tips: 183
Other API Tips: 779
Java Applications: 298
Java Libraries: 209
Java Games: 16
Book Reviews:
 
 
 
How to use CvsVersion task E-mail
User Rating: / 0
PoorBest 

CvsVersion

Description

This task allows to retrieve a CVS client and server version. Since Ant 1.6.1.

Parameters

Attribute Description Required
Attributes from parent Cvs task which are meaningful here
cvsRoot the CVSROOT variable. No
cvsRsh the CVS_RSH variable. No
dest directory containing the checked out version of the project No, default is project's basedir.
package the package/module to check out. No
port Port used by CVS to communicate with the server. No, default port 2401.
passfile Password file to read passwords from. No, default file ~/.cvspass.
failonerror Stop the build process if the command exits with a return code other than 0. Defaults to false No
Specific attributes
clientversionproperty Name of a property where the cvsclient version should be stored No
serverversionproperty Name of a property where the cvs server version should be stored No

Examples

  <cvsversion cvsRoot=":pserver:
 This e-mail address is being protected from spam bots, you need JavaScript enabled to view it
 :/home/cvspublic"

       passfile="/home/myself/.cvspass"
       serverversionproperty="apachecvsversion"
       clientversionproperty="localcvsversion"
  />

finds out the cvs client and server versions and stores the versions in the properties called apachecvsversion and localcvsversion

Source: Apache Ant


 Related Tips

 
< Prev   Next >

Page 1 of 0 ( 0 comments )

You can share your information about this topic using the form below!

Please do not post your questions with this form! Thanks.


Name (required)


E-Mail (required)

Your email will not be displayed on the site - only to our administrator
Homepage(optional)



Comment Enable HTML code : Yes No



 
       
         
     
 
 
 
   
 
 
java bottom left
java bottom middle
java bottom right
RSS 0.91 FeedRSS 1.0 FeedRSS 2.0 FeedATOM FeedOPML Feed

Home - About Us - Privacy Policy
Copyright 2005 - 2008 www.java-tips.org
Java is a trademark of Sun Microsystems, Inc.