DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22888>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22888 using regex package when optional.jar is not on classpath Summary: using regex package when optional.jar is not on classpath Product: Ant Version: 1.5.4 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: Optional Tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I think I have found a packaging problem with optional.jar Since I have removed optional.jar from the system classpath, everything works OK except for replaceregexp; I am always getting 'No supported regular expression matcher found' even tought I am using Java 1.4. Looking into the code, I have found that RegexpMatcherFactory is in ant.jar but the different implementations are in optional.jar. How the factory can instianciate a class in optional.jar if it is in a different classloader ? is this a packaging bug ? why not put the complete package org.apache.tools.ant.util.regexp/** into optional.jar ? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]