alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Ant example source code file (pvcs.xml)

This example Ant source code file (pvcs.xml) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Ant tags/keywords

get, get, no, no, public/buildws, public/buildws, pvcs, pvcs

The pvcs.xml source code

<?xml version="1.0"?>

<project name="pvcs-test" basedir="." default="test1">

  <taskdef name="pvcs" classname="org.apache.tools.ant.taskdefs.Pvcs"/>

  <target name="test1">
    <pvcs/>
  </target>

  <target name="test2">
    <pvcs pvcsbin="/home/tc/projects/pvcsant/src/etc/testcases/taskdefs" repository="/mnt/pvcs"/>
  </target>

  <target name="test3">
    <pvcs pvcsbin="\home\cvs\pvcsant\src\etc\testcases\taskdefs" repository="/mnt/pvcs" pvcsproject="/qviknet"/>
  </target>

  <target name="test4">
    <pvcs pvcsbin="\home\cvs\pvcsant\src\etc\testcases\taskdefs" repository="/mnt/pvcs" pvcsproject="/qviknet" workspace="/@/Public/buildws"/>
  </target>

  <target name="test5" description="Get the latest from PVCS">
    <pvcs pvcsbin="/home/cvs/pvcsant/src/etc/testcases/taskdefs" 
			 repository="//ct4serv2/pvcs/monitor"/>
  </target>

  <target name="test6" description="No pcli to be found">
    <pvcs pvcsbin="/never/heard/of/a/directory/structure/like/this" 
			 repository="//ct4serv2/pvcs/monitor"/>
  </target>


</project>

Other Ant examples (source code examples)

Here is a short list of links related to this Ant pvcs.xml source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.