ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "broken connection" <brokenconnect...@gmail.com>
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

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

BUILD FAILED
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/antcontrib.properties"/>

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 <gudnabrsam@yahoo.com> wrote:
>
>
> --- Ninju Bohra <ninju_bohra@yahoo.com> 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.
> http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>

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