I think that it is the jpackage packaging of ant that is used here. (It was the case for RedHat/Fedora), jpackage has a number of packages for ant corresponding to the .jar files in $ANT_HOME/lib, however it does not follow the same directory layout as ant, and thus jpackage version of ant does not use the same classloader tree (the optional jars + ant.jar + xerces stuff) are placed in the CLASSPATH with ant-launcher.jar by the ant(.sh) shell script.
The debian installation may have only installed part of ant - see http://www.jpackage.org/browser/rpm.php?jppversion=1.6&id=912 (This is for 1.6.2 - I do not know the page for 1.6.5) for a complete list. To use the regexp tasks/types one probably has to install ant-nodepsjpp and/or ant-apache-regexjpp. That sort of question should be directed at debian or jpackage. IMO it would be easier just to use the ant distribution for ant, esp ant 1.7.0. Peter On 1/23/07, Steve Loughran <[EMAIL PROTECTED]> wrote:
Peter Reilly wrote: > You are using the jpackage version of ant. > I do not know why it does not pick up the regex > that is part of java since java.1.4. > > You use the ant version of ant. > Download ant 1.7.0, (say to /usr/local/java/ant1.7.0), > set ANT_HOME (export ANT_HOME=/usr/local/java/ant1.7.0) > update PATH (export PATH=$ANT_HOME/bin:$PATH) > and test. > > Peter Either it wasnt built with regexp support, or its been teased out into a separate package. Look for other ant- stuff in the repository. nb, not jpackage, but .deb stuff; I dont know if its a conversion or what? -steve --------------------------------------------------------------------- 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]