Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

The Ant PVCS task

Status
Not open for further replies.

charlieXYZ

Programmer
Jul 17, 2006
1
GB
Hi there,
i'm trying to write an Ant task to pick up certain files from PVCS using the version label. I've got it working using the optional label argument:

label="${pvcs.label}"

and a property "pvcs.label" set in my properties file:

pvcs.label=VERSION4.1

However, i would like to use wildcards to be able to pick up files which do not exactly match the label value i set.

e.g set label value to..
pvcs.label=VERSION4.* instead of
pvcs.label=VERSION4.1

thus allowing me to pick up all VESRION 4 files not just 4.1 files. i've tried using * .* ** etc but it seems unless i have an exact match i dont pick up any files at all. any ideas?? any help would be much appreciated!!!

regards, charles.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top