You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Sebb (JIRA)" <ji...@apache.org> on 2008/02/19 13:44:45 UTC

[jira] Commented: (NET-186) [net] [PATCH] RegexFTPFileEntryParserImpl - Removed dependency on org.apache.oro.text.regex packages

    [ https://issues.apache.org/jira/browse/NET-186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12570192#action_12570192 ] 

Sebb commented on NET-186:
--------------------------

The project.properties file in SVN trunk says:

maven.compile.target=1.2
maven.compile.source=1.2

which is not compatible with using JDK regex classes, which are 1.4+

I could not find a statement anywhere as to which versions of Java are supported by Commons NET.

> [net] [PATCH] RegexFTPFileEntryParserImpl - Removed dependency on org.apache.oro.text.regex packages
> ----------------------------------------------------------------------------------------------------
>
>                 Key: NET-186
>                 URL: https://issues.apache.org/jira/browse/NET-186
>             Project: Commons Net
>          Issue Type: Improvement
>    Affects Versions: 1.4
>         Environment: JDK 1.4 or higher
>            Reporter: Christian Blichmann
>            Priority: Minor
>         Attachments: RegexFTPFileEntryParserImpl.java, VMSVersioningFTPEntryParser.java
>
>
> When trying to build the Commons Net source, I found the dependency on the org.apache.oro.text.regex packages just for the implementation of VMS FTP entry parsers a bit heavy.
> So I decided to modifiy the classes RegexFTPFileEntryParserImpl and VMSVersioningFTPEntryParser to only use the regular expression classes from the JDK instead of Jakarta Oro. The changes were minimal, since the JDK classes already implement a Perl5-compatible regular expression engine.
> Although I have tested my changes, further testing may be advisable.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.