Questions tagged [ant-contrib]

The Ant-Contrib project is collection of tasks (and at one point maybe types and other tools) for Apache Ant.

256 questions
0
votes
2 answers

Ant: set property in 1 file, read it in another?

I have the following Ant buildfile importer.xml:
IAmYourFaja
  • 55,468
  • 181
  • 466
  • 756
0
votes
3 answers

ant if target failing

I have an ant task which reads environment property from myproject.properties. The environment property value is set to prod and am displaying that "Prod condition is true". I see that ${environment} variable is set to prod, but if condition is…
questborn
  • 2,735
  • 2
  • 16
  • 17
0
votes
1 answer

ant exclude directories in dirset

I am running a foreach loop over all directories that are below a root directory. I want to exclude all directories with the name "src" and "bin". How can i exclude those directories from the results? There are multiple subdirectories in the root…
prolink007
  • 33,872
  • 24
  • 117
  • 185
0
votes
1 answer

Ant-Contrib content assist in eclipse

I am working with some ANT build scripts in eclipse. I have just recently installed eclipse 4.2. When i was using an older version of eclipse the content assist for ANT-contrib stuff was working. Now with 4.2 it is not working. I was wondering how…
prolink007
  • 33,872
  • 24
  • 117
  • 185
0
votes
1 answer

Checking for database existence with Phing

I'd like to do something like the following in my Phing build.xml:
0
votes
1 answer

Index of list item from ant property

I have a ant parameter with list of values as below. releases=release1,release2 I use the below for loop to process the values. Processing @{release} I…
Balaji
  • 1,687
  • 2
  • 11
  • 10
0
votes
2 answers

substring operation using antcontib's properyregex task

I am trying to do a substring operation using antcontrib's propertyregex. Here is my original string: COMPONENT:MYBuild:cat:cat Im trying to extract MYBuild from the above string.
user1384205
  • 1,231
  • 3
  • 20
  • 39
0
votes
2 answers

How do I use ant-contrib.jar with bamboo?

On my machine, I have a plugin for Ant. It's called ant-contrib. It was easy to install. I just put the ant-contrib-0.3.jar in the lib folder of Ant. It lets me do some cool things with Ant, including if statements. Now, I want to run my build…
Sam Backus
  • 1,693
  • 14
  • 19
0
votes
2 answers

How to pass paramters by refrence in ant

Hi all this is my code for target calling.