ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "broken connection" <>
Subject Re: How to make "outputproperty" element work???
Date Thu, 28 Jun 2007 14:43:55 GMT
Thanks Friends,
Matt I tried to implement your advice, and no matter what I do,I get this
error message:

C:\Documents and Settings\bc\Desktop\test>ant
Buildfile: build.xml

     [echo]  Current value of my_password is Secret
     [echo] The first five letters of the alphabet are:

C:\Documents and Settings\bc\Desktop\test\build.xml:33: Problem: failed to
create task or type for
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.

I know that means that I need to have "antcontrib" in my classpath, and I
already did so and also have this in my build.xml:
<taskdef resource="net/sf/antcontrib/"/>

I am using ant1.7.0 .... even the "for"  examples on the antcontrib site are
throwing this error.I tried placing the antcontrib.jar in the same place as
build.xml but that didn't helped either.....

Any more help guys!!!!

On 6/28/07, Matt Benson <> wrote:
> --- Ninju Bohra <> wrote:
> > Hello...
> >
> > "When one learns of a hammer...everything looks like
> > a nail"
> >
> > ANT is a powerful tool and it can be used to easily
> > do many things but some times (heaven forbid!!)
> > using ANT is not the most direct route.
> >
> True enough.  Having acknowledged that you're correct
> here, I still can't resist, whenever this subject
> comes up, publicly confessing my own inability to
> resist doing many, many things using facilities I know
> already exist in Ant though there are often
> alternatives.  Ant just happens to have had a lot of
> capabilities baked into it over the years.  :)
> -Matt
> ____________________________________________________________________________________
> Yahoo! oneSearch: Finally, mobile search
> that gives answers, not web links.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message