|
Ant example source code file (cvspass.xml)
The cvspass.xml source code
<?xml version="1.0"?>
<project name="cvspass-test" basedir="." default="test1">
<taskdef name="cvspass" classname="org.apache.tools.ant.taskdefs.CVSPass"/>
<target name="test1">
<cvspass />
</target>
<target name="test2">
<cvspass
cvsroot=":pserver:anoncvs@jakarta.apache.org:/home/cvspublic"
passfile="testpassfile.tmp"
/>
</target>
<!-- testPassFile -->
<target name="test3">
<cvspass
cvsroot=":pserver:anoncvs@jakarta.apache.org:/home/cvspublic"
password="anoncvs"
passfile="testpassfile.tmp"
/>
</target>
<!-- testPassFileDuplicateEntry -->
<target name="test4">
<cvspass
cvsroot=":pserver:anoncvs@jakarta.apache.org:/home/cvspublic"
password="anoncvs"
passfile="testpassfile.tmp"
/>
<cvspass
cvsroot=":pserver:anoncvs@jakarta.apache.org:/home/cvspublic"
password="anoncvs"
passfile="testpassfile.tmp"
/>
<cvspass
cvsroot=":pserver:guest@cvs.tigris.org:/cvs"
password="guest"
passfile="testpassfile.tmp"
/>
</target>
<!-- testPassFileMultipleEntry -->
<target name="test5">
<cvspass
cvsroot=":pserver:anoncvs@jakarta.apache.org:/home/cvspublic"
password="anoncvs"
passfile="testpassfile.tmp"
/>
<cvspass
cvsroot=":pserver:anoncvs@xml.apache.org:/home/cvspublic"
password="anoncvs"
passfile="testpassfile.tmp"
/>
<cvspass
cvsroot=":pserver:guest@cvs.tigris.org:/cvs"
password="guest"
passfile="testpassfile.tmp"
/>
</target>
<target name="cleanup">
<delete file="testpassfile.tmp"/>
</target>
</project>
Other Ant examples (source code examples)Here is a short list of links related to this Ant cvspass.xml source code file: |
| ... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 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.