I know ant is supposed to be follow a declarative style rather than a
procedural style. But what is wrong with writing scripts using the 'if' task in
conjunction with the ant-call task?
like the below example
--- On Tue, 8/17/10, Vimil Saju wrote:
From: Vimil Saju
Subj
Hi Mukul
can you let us know what exception do you get ex .is it something like could
ANT_HOMe not set or something ...
moreover you need to install and set JAVA_HOME and ANT_HOme in the path for
the ant to work properly
set PATH=%ANT_HOME%;JAVA_HOME
--
View this message in context:
http:/
I know ant is supposed to be declarative language as opposed to a procedural
one, but whats wrong with using the 'if' task provided with ant-contrib along
with "ant-call" task? Wont it make ant-scripts more readable
something like this
--- On Tue, 8/17/10, Niklas Matthies wrote:
From: Niklas
We have something like the following (target bodies omitted):
The problem: "ant -Drelease.number=... target1" causes
checkout-sources (and its dependencies) to be executed although there
is no need for it, as release.number is already def
Depending on the file syntax, one could also do
or replace the linebreaks by (e.g.) whitespace u
On 2010-08-17, Niklas Matthies wrote:
> On Tue 2010-08-17 at 19:37h, Stefan Bodewig wrote on user:
>> On 2010-08-17, Niklas Matthies wrote:
>>> If the condition would support resources, I could use that,
>>> but it only supports the string attribute.
>> Since you are looking at a single file, y
On Tue 2010-08-17 at 19:37h, Stefan Bodewig wrote on user:
> On 2010-08-17, Niklas Matthies wrote:
:
> > If the condition would support resources, I could use that,
> > but it only supports the string attribute.
>
> Since you are looking at a single file, you can use loadresource to read
> it int
On 2010-08-17, Niklas Matthies wrote:
> I need to fail a build if a certain file doesn't match a certain
> multiline regex pattern. I tried somethink like
>
>
>
>
>
>
>
>
>
Hi,
I need to fail a build if a certain file doesn't match a certain
multiline regex pattern. I tried somethink like
but unfortunately containsregexp doesn't perform