[ 
https://issues.apache.org/jira/browse/IO-127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12534900
 ] 

Niall Pemberton commented on IO-127:
------------------------------------

Using CI is a good idea - not sure how we would incorporate that into our 
release process - so in the meantime I've added a small ant script [1] which 
does the following:

1) Fails if the JDK is not 1.3
2) Tries to compile the Commons IO classes, excluding the JDK 1.4 dependant 
ones (currently only RegexFileFilter)

So we just need to run that as a test before we do a release to ensure that JDK 
1.4 or later features have not crept into the rest of the code base. I also had 
to remove the references to the new RegexFileFilter from FileFilterUtils, 
otherwise several other classes wouldn't have compiled using this script.

[1] 
http://svn.apache.org/repos/asf/commons/proper/io/trunk/build-check-jdk13.xml

> Move to a minimum of JDK 1.4
> ----------------------------
>
>                 Key: IO-127
>                 URL: https://issues.apache.org/jira/browse/IO-127
>             Project: Commons IO
>          Issue Type: Task
>            Reporter: Niall Pemberton
>            Priority: Minor
>             Fix For: 1.4
>
>         Attachments: commons-io-jdk-1_3-check.patch
>
>
> There was a discussion a while back on moving Commons IO to a minimum JDK 
> version of 1.4 - see [1] below. The majority view was this was a good idea. 
> Jorg Schaible suggested[2] that the compiler options be kept at JDK 1.3 so 
> that, apart from new JDK 1.4 dependant features, Commons IO would still 
> operate under JDK 1.3. This seems like a good idea and resolves the issue of 
> whether this would require a major version change.
> There was also a view that we should move to JDK 1.5 instead - I have no 
> issue with that, but would advocate that theres no point in doing so until 
> there are people wanting to commit JDK 1.5 dependant features.
> This change is targeted at Commons IO 1.4 - and a Commons IO 1.3 branch has 
> been created for anyone still desiring future JDK 1.3 only releases.
> [1] http://mail-archives.apache.org/mod_mbox/commons-dev/200705.mbox/[EMAIL 
> PROTECTED]
> [2] http://mail-archives.apache.org/mod_mbox/commons-dev/200705.mbox/[EMAIL 
> PROTECTED]

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

Reply via email to