ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 22888] New: - using regex package when optional.jar is not on classpath
Date Tue, 02 Sep 2003 14:54:50 GMT
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: dev@ant.apache.org
        ReportedBy: iebgener@yahoo.com


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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message