Flaka is an extension for Ant that runs with Ant >= 1.7.x
A main project goal of Flaka is the simplification of writing a build script.
Flaka provides an expression language (Java Unified Expression Language), access to data objects,
conditional and repetitive control structures like when/unless/while/for/choose/switch, exception handling, additional types/tasks/macros and a comprehensive documentation.
https://github.com/orgbitio/ant-flaka
Questions tagged [flaka]
9 questions
3
votes
7 answers
Ant loadfile override property
I'm trying to use the Ant task in a loop to parse the contents of a file. I have something like
Since Ant properties are immutable, this doesn't work for me. I need 'my.property'…

lucks
- 936
- 2
- 10
- 23
1
vote
1 answer
working build ant - mac
For example:
where, basedir:
/Users/xxx/Documents/wspace/myappEar
how to use return parent directory to use like this:
/Users/xxx/Documents/wspace/
To do this i've tried
and does not work in…

Mugo
- 13
- 2
0
votes
2 answers
How to include Ant flaka jar?
I am writing ant scripts and using Ant flaka jar to do some work.
But flaka doesn't work as other external Ant lib.
For example, if I need to include ant-contrib:

performanceuser
- 2,793
- 5
- 34
- 44
0
votes
1 answer
Ant flaka: declare variable with dynamic name
I'm using ant with flaka.
How can I declare a variable with dynamic name (retrieved from another variable)?
I would like to do something like that:
#{varname} = value
however, i think it's illegal.
How can i do that?
thanks!

alem0lars
- 660
- 2
- 10
- 23
0
votes
1 answer
Ant flaka: modify each elements of a list
I have this list:
a = list('a','b','c')
How can i modify each elements for that list?
I need something like:
for (int i = 0; i < a.length; i++) {
a[i] += 'd';
}
I looked in the tutorial, but the examples show only how to…

alem0lars
- 660
- 2
- 10
- 23
0
votes
2 answers
Ant flaka Is jar not updated?
I tried to use flaka, but i always get an error that says that the class PropertyHelper12 isn't found. I looked in the jar file and actually there isn't that file, but it's available in the source code.
Does anyone know if there is a well made jar…

alem0lars
- 660
- 2
- 10
- 23
0
votes
2 answers
What's the status of flaka?
I'm considering adding Flaka to our Ant builds to get the EL support, but I'm concerned that the last release is from June 2011. There's not a whole lot of chatter about it on its own website or anywhere else I can find, either.
This could mean…

Richard Steele
- 2,227
- 1
- 15
- 14
0
votes
2 answers
replace each xml numeric property by its arithmetic product in string by regexp using ant or ant extensions?
I have a xml string with (among others) properties such as x-pos="NN" and y-pos="NN" where NN is a positive or negative number.
I want to read every value and change it to its arithmetic product - evaluated #{NN * 15}, i.e. x-pos="3" will be changed…

Tertium
- 6,049
- 3
- 30
- 51
0
votes
1 answer
can eclipse autocomplete custom ant tasks (from antcontrib, flaka, etc.)
Is there any way to make eclipse ant editor to understand custom ant tasks provided by plugins such as antcontrib, flaka, etc? It is very convenient when editing ant project, but when I use flaka I must have manual opened.
I've added flaka jar in…

Tertium
- 6,049
- 3
- 30
- 51