ant-contrib Questions

6

Solved

I am getting an error Could not load definitions from resource net/sf/antcontrib/antcontrib.properties. It could not be found. when I am trying to ant build on eclipse. So I downloaded ant-contrib-...
Esau asked 8/3, 2013 at 23:6

5

Solved

Dear, I currently face some problem to retrieve the value of a property setted in a foreach loop. Maybe one of you could help me... The purpose is to check if one file of a folder has been modifie...
Prurigo asked 16/3, 2011 at 12:27

4

Solved

My maven java project uses the maven-antrun-plugin to execute a deploy.xml ant script that deploys my app. The deploy.xml uses the <if> task and this seems to be causing the problem; [INFO] ...
Katharyn asked 18/1, 2011 at 12:25

1

Solved

I have some files on a Unix machine which I can access from my Windows PC with Windows Explorer using \host\directory However, when using an ant copy task, ant keeps on saying the directory doesn'...
Unconcerned asked 3/7, 2015 at 13:32

1

I am currently executing a deploy using foreach ant task and the list has app server names (2 servers). There is a logic to wait for 2 mins (sleep) before moving to next app server. The logic is w...
Doorstep asked 17/3, 2014 at 1:40

3

Solved

In my ant script I want to exit (stop executing build) without failing when a condition is met. I have tried to use: <if> <equals arg1="${variable1}" arg2="${variable2}" /> <then&...
Concession asked 2/1, 2013 at 22:33

2

Solved

The above ant script implements if dir_is_empty then git-clone else git-fetch using Ant-1.7.1 core statements: <target name="update" depends="git.clone, git.fetch" /> <target name="check...
Meany asked 7/8, 2013 at 7:47

3

Solved

I need to change the values of an ANT-script list in real time. This is the situation; I have these properties: x.y.6.1=something1 x.y.6.2=something2 x.y.6.3=something3 list=6.1,6.2 I want the...
Cristobal asked 23/6, 2013 at 9:33

1

Solved

I have couple of .xml files in a folder.I want to loop on each .xml file.It is getting fine. I want to take only .xml file name without entire path. How can i achieve that.? I am using the below p...
Khania asked 21/5, 2013 at 6:19

5

Solved

I am using ant, and I have a problem with if/then/else task, (ant-contrib-1.0b3.jar). I am running something that can be simplified with build.xml below. I am expecting to obtain from 'ant -Dgiv=L...
Rett asked 25/2, 2011 at 11:23

1

Solved

I'm in a situation that involves running an ant build with optional parameters that are always specified but but not always defined, like so ant -DBUILD_ENVIRONMENT=test -Dusername_ext= -Dconf.dir...
Goldcrest asked 19/8, 2012 at 22:55

2

Solved

I'm trying to set up maven to execute the LESS CSS preprocessor on a directory in my web project. The basic flow is: Maven calls maven-antrun-plugin. Ant-contrib <foreach/> loops through a ...
Snaky asked 23/5, 2012 at 22:13

1

Solved

I have a list of strings (e.g. "piyush,kumar") in an Ant script for which I want to assign piyush to var1 like <var name="var1" value="piyush"/> and kumar to var2 like <var name="var2" val...
Peanuts asked 5/9, 2011 at 13:4

2

Solved

All my projects and their versions are defined in a properties file like this: ProjectNameA=0.0.1 ProjectNameB=1.4.2 I'd like to iterate over all the projects, and use their names and versions i...
Kerrin asked 16/6, 2010 at 19:10

1

Solved

I have the following ant script that I can't seem to find a way to make fail when parallel is set to true for antcontrib's foreach task. Any ideas? <project name="asdf" > <taskdef resou...
Dagan asked 15/6, 2011 at 20:37

1

Solved

contrib It's possible to check more condition in tag IF? I need to do something like this : <if> <equals arg1="${var}" arg2="one"/> <or> <equals arg1="${var}" arg2="two"/>...
Handgun asked 3/12, 2010 at 11:12
1

© 2022 - 2024 — McMap. All rights reserved.