simply put the jar in ${user.home}/.ant/lib and all should work Jan
> -----Ursprüngliche Nachricht----- > Von: Yves Leung-Tack [mailto:[EMAIL PROTECTED] > Gesendet am: Donnerstag, 6. Januar 2005 16:37 > An: Ant Users List > Betreff: Re: AW: help with propertyregexp of antcontrib > > Hi, > > Thanks I can make it work when I copy the regexp package > into the abt > lib directory. > I tried to put it in a separate directory. For that I have to > specified > it my build.xml > in the following way but I need a .properties file! > Where can I get it or Is there another way to specify that package in > the build file ? > > > <property name="regexpjar" > value="D:\Work\Tools\jakarta-regexp-1.3\jakarta-regexp-1.3.jar"/> > <taskdef resource="?????????.properties"> > <classpath> > <pathelement location="${regexpjar}" /> > </classpath> > </taskdef> > > > [EMAIL PROTECTED] wrote: > > >You need a regexp utility. Since JDK 1.4 there is a built in > (I think), or > >you have to > >use an external, e.g. ORO, RegExp... See Ant´s manual > "installation | lib > >dependencies" > > > >Jan > > > > > > > >>-----Ursprüngliche Nachricht----- > >>Von: Yves Leung-Tack [mailto:[EMAIL PROTECTED] > >>Gesendet am: Donnerstag, 6. Januar 2005 15:22 > >>An: Ant Users List > >>Betreff: help with propertyregexp of antcontrib > >> > >>Hi, > >> > >> > >> I try to use the propertyregexp of ant-contrib > >>But when I run the following simple example from their > >>documentation, I got the error : > >> > >> D:\Work\Dev\testbuild.xml:16: No supported regular expression > >>matcher found > >> > >> > >>The example is : to run on your machine just change > >>antcontrib property > >>value to the > >>directory where you store the antcontrib jar file > >> > >> > >><project default="build" name="test"> > >> <!-- Include this ant-contrib package --> > >> <property name="antcontrib" > >>value="D:\Work\Tools\ant-contrib1.0b1\lib\ant-contrib-1.0b1.jar" /> > >> <taskdef resource="net/sf/antcontrib/antcontrib.properties"> > >> <classpath> > >> <pathelement location="${antcontrib}" /> > >> </classpath> > >> </taskdef> > >> > >> <target name="build"> > >> <propertyregex property="pack.name" > >> input="package.ABC.name" > >> regexp="package\.([^\.]*)\.name" > >> select="\1" /> > >> > >> <echo message="${pack.name}">@@</echo> > >> </target> > >></project> > >> > >> > >> > >>Thanks a lot for help > >> > >>------------------------------------------------------------ > --------- > >>To unsubscribe, e-mail: [EMAIL PROTECTED] > >>For additional commands, e-mail: [EMAIL PROTECTED] > >> > >> > >> > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >