You need to run taskdef: <!-- antcontrib Tasks (z.B. for-Task)--> <taskdef resource="net/sf/antcontrib/antlib.xml"/>
-----Ursprüngliche Nachricht----- Von: laredotornado [mailto:laredotorn...@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-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org