--- On Thu, 4/9/09, Eric Fetzer wrote:
> From: Eric Fetzer
> Subject: onsuccess or onfailure
> To: "Ant Users"
> Date: Thursday, April 9, 2009, 2:42 PM
> Hi! I'm an ex-NAnt user coming over
> to the Ant side. Most things are close to identical, but I
> have a question about something I'm n
--- On Thu, 4/9/09, Eric Wood wrote:
> From: Eric Wood
> Subject: Strip a dirname from a property that represents a path
> To: "Ant Users List"
> Date: Thursday, April 9, 2009, 1:31 PM
> I have a property that is a path
> reference to a jar file and I want to
> get the directory name for the
Here's a cool example if I do say so myself:
Wrap that macrodef up and take it wherever you like!
HTH,
Matt
--- On Thu, 4/9/09, Lucas Albers wrote:
>
How can I a fail task for a directory resource count?
I can see the syntax for failing if a file does not exists as part of a
resource.
I do not know the syntax to fail if a directory that is part of a resource
does not exist:
See sample code:
Item 1:
> -Original Message-
> From: Stefan Bodewig [mailto:bode...@apache.org]
> Sent: Thursday, 9 April 2009 8:32 PM
> To: user@ant.apache.org
> Subject: Re: Optional Jars
>
> On 2009-04-09, Gavin wrote:
>
> > ANT_HOME/lib jar listing
> > ---
> > ant.
Hi! I'm an ex-NAnt user coming over to the Ant side. Most things are close to
identical, but I have a question about something I'm not finding. In NAnt, you
can create properties:
which will go to the corresponding onsuccess or onfailure targets when finished
based on whether it succeede
I have a property that is a path reference to a jar file and I want to
get the directory name for the element. The task dirname works with a
file to set a property, but is there a simply solution to grabbing the
path to from a file. I assume that I could use the ant-contrib
PropertyRegex task, bu
I know the following problem is pretty common:
Invalid implementation version between Ant core and Ant optional tasks.
core: 1.6.5
optional: null
But the 'optional: null' seems a little rare. This is especially
strange because this ant is working on another box configured in
(supposedly) ex
Hi There,
I am trying to execute *.sql file containing insert statements using ant
task onto the DB2 database. The build is failing for me as one of the
insert statement in *.sql has a string description with "--" charters init.
My insert statement looks something like this:
INSERT INTO TableIt
On 2009-04-09, Gavin wrote:
> ANT_HOME/lib jar listing
> ---
> ant.home: /usr/share/ant
> ant-launcher.jar (11814 bytes)
> ant-bootstrap.jar (16489 bytes)
> bcel.jar (528673 bytes)
> ant-junit.jar (92792 bytes)
> ant-antlr.jar (5769 bytes)
> jakarta-oro-2.
Hi All,
Apologies for the long post, I do have a few things to ask. In return for a
cure I'll try and put something back in by maybe clarifying some docs or
adding examples if either of those ends up being warranted. On top of that,
Buildbot at Apache may be able to offer something such as snapsho
11 matches
Mail list logo