ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knuplesch, Juergen" <Juergen.Knuple...@icongmbh.de>
Subject AW: Including something from Ant contrib
Date Wed, 29 Jun 2011 07:02:37 GMT
You need to run taskdef:

  <!-- antcontrib Tasks (z.B. for-Task)-->
  <taskdef resource="net/sf/antcontrib/antlib.xml"/>

-----Urspr√ľngliche Nachricht-----
Von: laredotornado [mailto:laredotornado@gmail.com] 
Gesendet: Dienstag, 28. Juni 2011 17:32
An: user@ant.apache.org
Betreff: Including something from Ant contrib

Hi,

I'm using Ant 1.8.1.  I have downloaded ant-contrib-1.0b3.jar and placed it
in my $ANT_HOME/lib directory.  However, when I include this in my build.xml
file ...

<propertyregex property="selenium.email.success.subject"
              input="package.ABC.name"
              regexp="(.*)__ENV__(.*)"
              replace="\1${buildtarget}\2"
              override="true"
              casesensitive="false" />

I get the error "Problem: failed to create task or type propertyregex. 
Cause: The name is undefined." upon running my Ant build file.  What else do
I need to do to get this task recognized?

Thanks, - Dave

--
View this message in context: http://ant.1045680.n5.nabble.com/Including-something-from-Ant-contrib-tp4532215p4532215.html
Sent from the Ant - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message