Deepa Rao/India/IBM is out of the office
I will be out of the office starting 05/17/2007 and will not return until 05/19/2007. Will be out of office at the Web2.0 conference on 2/22 and 2/23. For any FTP RA queries, pls contact Chandrakanth Sivaraj. For any other queries, pls contact my manager Shefali Bansal. Thank You. Thank You. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: commons compress status?
[EMAIL PROTECTED] skrev den 17-05-2007 00:20: You can't do that if you only see archives as boring things used in backups. Backups that are either windows (zip) or unix (tar), yawn. If you go hardcore, you'll notice that a lot of common file formats provide support for arbitrary data to be buried within the files. JPEG and PNG image formats, ELF executable files and shared libraries This definitely isn't 1.0 stuff, but it's something to keep in mind. A brief look at the package shows that it would contain API's for tar and bzip2. The first is an archiving format like zip, and the second a compression method on a stream. I therefore suggest that the tar methods should be migrated to the vfs module (if suitable) and that the compress module should contain methods that can compress/uncompress streams (which is easily extendable to files, http connections etc). By doing so there will be a clear goal of this project. -- Thorbjørn smime.p7s Description: S/MIME Cryptographic Signature
Re: [VOTE] Release commons-io 1.3.2
Permissions problem with some file types: You don't have permission to access /~jochen/commons-io/dist/commons-io-1.3.2-bin.zip on this server. You don't have permission to access /~jochen/commons-io/dist/commons-io-1.3.2-bin.zip.asc on this server. You don't have permission to access /~jochen/commons-io/dist/commons-io-1.3.2-sources.jar on this server. Only md5 and sha1 seem to be accessible ... So that has to be -1! S. On 16/05/07, Jochen Wiedmann [EMAIL PROTECTED] wrote: Hi, I'd like to call for a vote on the release of commons-io 1.3.2. The proposed distributables can be found at http://people.apache.org/~jochen/commons-io/dist A KEYS file is included. The proposed site is at http://people.apache.org/~jochen/commons-io/site It includes a RAT report. Thanks, Jochen [ ] +1 [ ] =0 [ ] -1 -- My cats know that I am a loser who goes out for hunting every day without ever returning as much as a single mouse. Fortunately, I've got a wife who's a real champ: She leaves the house and returns within half an hour, carrying whole bags full of meal. - 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]
Re: [VOTE] Release commons-io 1.3.2
Forgot to say - the reports page says that the RAT report is a: Report on binary and source API differences between releases However, the RAT only contains license checks. Oh, and some source files probably need licenses, e.g. navigation.xml build.xml PROPOSAL.html STATUS.html On 17/05/07, sebb [EMAIL PROTECTED] wrote: Permissions problem with some file types: You don't have permission to access /~jochen/commons-io/dist/commons-io-1.3.2-bin.zip on this server. You don't have permission to access /~jochen/commons-io/dist/commons-io-1.3.2-bin.zip.asc on this server. You don't have permission to access /~jochen/commons-io/dist/commons-io-1.3.2-sources.jar on this server. Only md5 and sha1 seem to be accessible ... So that has to be -1! S. On 16/05/07, Jochen Wiedmann [EMAIL PROTECTED] wrote: Hi, I'd like to call for a vote on the release of commons-io 1.3.2. The proposed distributables can be found at http://people.apache.org/~jochen/commons-io/dist A KEYS file is included. The proposed site is at http://people.apache.org/~jochen/commons-io/site It includes a RAT report. Thanks, Jochen [ ] +1 [ ] =0 [ ] -1 -- My cats know that I am a loser who goes out for hunting every day without ever returning as much as a single mouse. Fortunately, I've got a wife who's a real champ: She leaves the house and returns within half an hour, carrying whole bags full of meal. - 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]
Re: [VOTE] Release commons-io 1.3.2
2007/5/17, sebb [EMAIL PROTECTED]: Oh, and some source files probably need licenses, e.g. navigation.xml build.xml PROPOSAL.html STATUS.html Just to help, with Tiles such a problem was a blocker, since a release cannot be made without all the license in place. Tiles 2.0.2 was not released for this reason. HTH Antonio
Re: [VOTE] Release commons-io 1.3.2
On 5/17/07, Antonio Petrelli [EMAIL PROTECTED] wrote: 2007/5/17, sebb [EMAIL PROTECTED]: Oh, and some source files probably need licenses, e.g. navigation.xml build.xml PROPOSAL.html STATUS.html Just to help, with Tiles such a problem was a blocker, since a release cannot be made without all the license in place. Tiles 2.0.2 was not released for this reason. I don't believe the above files are an issue since I don't think either the PROPOSAL.html or STATUS.html are included in the release (can't check yet until the permissions are rectified) and build.xml (generated by maven) and navigation.xml don't need them - the policy FAQ says the following[1]: What files in an Apache release do not require a license header? A file without any degree of creativity in either its literal elements or its structure is not protected by copyright law; therefore, such a file does not require a license header. If in doubt about the extent of the file's creativity, add the license header to the file. Niall [1] http://www.apache.org/legal/src-headers.html#faq-exceptions HTH Antonio - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [VOTE] Release commons-io 1.3.2
2007/5/17, Niall Pemberton [EMAIL PROTECTED]: On 5/17/07, Antonio Petrelli [EMAIL PROTECTED] wrote: 2007/5/17, sebb [EMAIL PROTECTED]: Oh, and some source files probably need licenses, e.g. navigation.xml build.xml PROPOSAL.html STATUS.html Just to help, with Tiles such a problem was a blocker, since a release cannot be made without all the license in place. Tiles 2.0.2 was not released for this reason. I don't believe the above files are an issue I think you're right, Niall, but anyway for the next release, if I was you, I would add the license header anyway, at least to have a clean rat report. In the next version of RAT, you can configure it in a way that it fails when license header are not in place. Antonio
svn commit: r538941 - in /jakarta/commons/proper/io/branches/b1_3: PROPOSAL.html STATUS.html build.xml doap_io.rdf pom.xml src/main/assembly/bin.xml xdocs/style/project.css
Author: jochen Date: Thu May 17 07:30:58 2007 New Revision: 538941 URL: http://svn.apache.org/viewvc?view=revrev=538941 Log: Making the RAT plugin happy. Modified: jakarta/commons/proper/io/branches/b1_3/PROPOSAL.html jakarta/commons/proper/io/branches/b1_3/STATUS.html jakarta/commons/proper/io/branches/b1_3/build.xml jakarta/commons/proper/io/branches/b1_3/doap_io.rdf jakarta/commons/proper/io/branches/b1_3/pom.xml jakarta/commons/proper/io/branches/b1_3/src/main/assembly/bin.xml jakarta/commons/proper/io/branches/b1_3/xdocs/style/project.css Modified: jakarta/commons/proper/io/branches/b1_3/PROPOSAL.html URL: http://svn.apache.org/viewvc/jakarta/commons/proper/io/branches/b1_3/PROPOSAL.html?view=diffrev=538941r1=538940r2=538941 == --- jakarta/commons/proper/io/branches/b1_3/PROPOSAL.html (original) +++ jakarta/commons/proper/io/branches/b1_3/PROPOSAL.html Thu May 17 07:30:58 2007 @@ -1,4 +1,20 @@ !DOCTYPE html PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN +!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the License); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an AS IS BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +-- html head titleProposal for IO Package/title Modified: jakarta/commons/proper/io/branches/b1_3/STATUS.html URL: http://svn.apache.org/viewvc/jakarta/commons/proper/io/branches/b1_3/STATUS.html?view=diffrev=538941r1=538940r2=538941 == --- jakarta/commons/proper/io/branches/b1_3/STATUS.html (original) +++ jakarta/commons/proper/io/branches/b1_3/STATUS.html Thu May 17 07:30:58 2007 @@ -1,4 +1,20 @@ !DOCTYPE html PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN +!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the License); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an AS IS BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +-- html head titleStatus File for Jakarta Commons IO Component/title Modified: jakarta/commons/proper/io/branches/b1_3/build.xml URL: http://svn.apache.org/viewvc/jakarta/commons/proper/io/branches/b1_3/build.xml?view=diffrev=538941r1=538940r2=538941 == --- jakarta/commons/proper/io/branches/b1_3/build.xml (original) +++ jakarta/commons/proper/io/branches/b1_3/build.xml Thu May 17 07:30:58 2007 @@ -1,6 +1,23 @@ ?xml version=1.0 encoding=UTF-8? !-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the License); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an AS IS BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +-- + +!-- Based on maven generated file on date October 1 2005 Added overview to javadoc Include license in jar Modified: jakarta/commons/proper/io/branches/b1_3/doap_io.rdf URL: http://svn.apache.org/viewvc/jakarta/commons/proper/io/branches/b1_3/doap_io.rdf?view=diffrev=538941r1=538940r2=538941 == ---
[VOTE] 2nd attempt: Release commons-io 1.3.2
Hi, I have fixed the issues with the file permissions and added license headers to most of the files, with the only exception of MANIFEST.MF. Now, I'd like to call for another vote on the release of commons-io 1.3.2. The proposed distributables can be found at http://people.apache.org/~jochen/commons-io/dist A KEYS file is included. The proposed site is at http://people.apache.org/~jochen/commons-io/site Thanks, Jochen [ ] +1 [ ] =0 [ ] -1 -- My cats know that I am a loser who goes out for hunting every day without ever returning as much as a single mouse. Fortunately, I've got a wife who's a real champ: She leaves the house and returns within half an hour, carrying whole bags full of meal. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [VOTE] 2nd attempt: Release commons-io 1.3.2
2007/5/17, Jochen Wiedmann [EMAIL PROTECTED]: Now, I'd like to call for another vote on the release of commons-io 1.3.2. Hey wait a moment! I don't want to annoy you, but if a JAR has been created and made available to the public, it is typical to create a new version (in your case 1.3.3). As Wendy (Smoak) noted, when someone writes in the mailing list about a 1.3.2 version, you will say what 1.3.2 version?. It could be a nightmare to track it. I don't think that a few license headers are a problem, but anyway... Antonio
Re: [VOTE] 2nd attempt: Release commons-io 1.3.2
On 5/17/07, Antonio Petrelli [EMAIL PROTECTED] wrote: Hey wait a moment! I don't want to annoy you, but if a JAR has been created and made available to the public, it is typical to create a new version (in your case 1.3.3). As Wendy (Smoak) noted, when someone writes in the mailing list about a 1.3.2 version, you will say what 1.3.2 version?. It could be a nightmare to track it. I don't think that a few license headers are a problem, but anyway... We haven't yet released a version 1.3.2. Of course, if we had, then I'd never dare to call this 1.3.2 again. Jochen -- My cats know that I am a loser who goes out for hunting every day without ever returning as much as a single mouse. Fortunately, I've got a wife who's a real champ: She leaves the house and returns within half an hour, carrying whole bags full of meal. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [VOTE] 2nd attempt: Release commons-io 1.3.2
On 5/17/07, Jochen Wiedmann [EMAIL PROTECTED] wrote: We haven't yet released a version 1.3.2. Of course, if we had, then I'd never dare to call this 1.3.2 again. In a perfect world, a non-snapshot version gets built exactly once and either promoted or discarded. Since the world isn't perfect, sometimes we delete the tag and try again. :) -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [all] parent pom repositories
On 5/16/07, Torsten Curdt [EMAIL PROTECTED] wrote: As we talked about on how to do release on at commons I am wondering if these profiles really make sense: ... idrc/id distributionManagement repository idapache.snapshots/id nameApache Development Snapshot Repository/name url${commons.deployment.protocol}://people.apache.org/ www/people.apache.org/repo/m2-snapshot-repository/url Briefly, in no particular order... Stage each release in a separate repository, such as people.a.o/builds/commons/[project name]/${version}/m2-staging-repository There is a utility for promoting staged releases to the rsynced repo. (Actually for merging one repository into another, including the metadata.) The latest release of the gpg plugin will prompt for a passphrase if one is not supplied. Signing the release distributions... The gpg plugin will sign them if you deploy them to the repository (attached assemblies). There's a bit of renaming and copying to do that I haven't figured out how to automate yet. Then you have to decide if you want the distributions in the Maven repo. -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [all] parent pom repositories
2007/5/17, Wendy Smoak [EMAIL PROTECTED]: There is a utility for promoting staged releases to the rsynced repo. (Actually for merging one repository into another, including the metadata.) What utility? Maybe I missed something that could be useful. Thanks Antonio
Re: [VOTE] 2nd attempt: Release commons-io 1.3.2
On 17/05/07, Jochen Wiedmann [EMAIL PROTECTED] wrote: Hi, I have fixed the issues with the file permissions and added license headers to most of the files, with the only exception of MANIFEST.MF. Now, I'd like to call for another vote on the release of commons-io 1.3.2. The proposed distributables can be found at http://people.apache.org/~jochen/commons-io/dist A KEYS file is included. The proposed site is at http://people.apache.org/~jochen/commons-io/site The site report page http://people.apache.org/~jochen/commons-io/site/project-reports.html says that the RAT report is a Report on binary and source API differences between releases However it is only a license check currently. Is there an API difference report somewhere? Thanks, Jochen [ ] +1 [ ] =0 [ ] -1 -- My cats know that I am a loser who goes out for hunting every day without ever returning as much as a single mouse. Fortunately, I've got a wife who's a real champ: She leaves the house and returns within half an hour, carrying whole bags full of meal. - 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]
Re: [all] parent pom repositories
On 5/17/07, Antonio Petrelli [EMAIL PROTECTED] wrote: 2007/5/17, Wendy Smoak [EMAIL PROTECTED]: There is a utility for promoting staged releases to the rsynced repo. (Actually for merging one repository into another, including the metadata.) What utility? Maybe I missed something that could be useful. http://www.nabble.com/Note-on-copying-staged-repositories-t3627047s177.html I haven't tried it. I'd practice somewhere other than the rsycned repo to make sure it does what you want and check on maven-dev or #maven irc for any known issues before using. -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [all] parent pom repositories
On 17.05.2007, at 17:36, Wendy Smoak wrote: On 5/16/07, Torsten Curdt [EMAIL PROTECTED] wrote: As we talked about on how to do release on at commons I am wondering if these profiles really make sense: ... idrc/id distributionManagement repository idapache.snapshots/id nameApache Development Snapshot Repository/name url${commons.deployment.protocol}://people.apache.org/ www/people.apache.org/repo/m2-snapshot-repository/url Briefly, in no particular order... Stage each release in a separate repository, such as people.a.o/builds/commons/[project name]/${version}/m2-staging- repository So it should be idrc/id repositories repository idrc/id urlhttp://people.apache.org/builds/commons/$ {project.name}/${project.version}/m2-staging-repository/url snapshotsenabledfalse/enabled/snapshots releasesenabledtrue/enabled/releases /repository /repositories There is a utility for promoting staged releases to the rsynced repo. (Actually for merging one repository into another, including the metadata.) Cool. So the process should become mvn release:prepare -Prc mvn release:perform -Prc -Darguments=-Prc [vote] mvn stage:copy \ -Dsource=http://people.apache.org/builds/commons/$ {project.name}/${project.version}/m2-staging-repositoryg \ -Dtarget=scp://people.apache.org/www/people.apache.org/repo/ m2-ibiblio-rsync-repository \ -Dversion=${project.version} Any chance to have the project name and version injected automatically there? The latest release of the gpg plugin will prompt for a passphrase if one is not supplied. Great ...last time I tried it did not work for me (although it was supposed to according to the docs) Signing the release distributions... The gpg plugin will sign them if you deploy them to the repository (attached assemblies). There's a bit of renaming and copying to do that I haven't figured out how to automate yet. WDYM? ...seems like the signing worked just fine for the jci RC1. Then you have to decide if you want the distributions in the Maven repo. WDYM? The usual artifacts? Sure! Not so sure what to do with the bin/src dists from the assembly though. cheers -- Torsten - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [VOTE] 2nd attempt: Release commons-io 1.3.2
For some reason the jars do not have the license or notice file. I ran mvn install from the 1.3.2 source distro and it built a jar with those files - so I don't understand why. Niall On 5/17/07, Jochen Wiedmann [EMAIL PROTECTED] wrote: Hi, I have fixed the issues with the file permissions and added license headers to most of the files, with the only exception of MANIFEST.MF. Now, I'd like to call for another vote on the release of commons-io 1.3.2. The proposed distributables can be found at http://people.apache.org/~jochen/commons-io/dist A KEYS file is included. The proposed site is at http://people.apache.org/~jochen/commons-io/site Thanks, Jochen [ ] +1 [ ] =0 [ ] -1 -- My cats know that I am a loser who goes out for hunting every day without ever returning as much as a single mouse. Fortunately, I've got a wife who's a real champ: She leaves the house and returns within half an hour, carrying whole bags full of meal. - 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]
Re: [all] parent pom repositories
2007/5/17, Wendy Smoak [EMAIL PROTECTED]: On 5/17/07, Antonio Petrelli [EMAIL PROTECTED] wrote: 2007/5/17, Wendy Smoak [EMAIL PROTECTED]: There is a utility for promoting staged releases to the rsynced repo. (Actually for merging one repository into another, including the metadata.) What utility? Maybe I missed something that could be useful. http://www.nabble.com/Note-on-copying-staged-repositories-t3627047s177.html I haven't tried it. I'd practice somewhere other than the rsycned repo to make sure it does what you want and check on maven-dev or #maven irc for any known issues before using. Thank you! I will practice it too for Tiles, when its time will come. Antonio - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [all] parent pom repositories
On 5/17/07, Torsten Curdt [EMAIL PROTECTED] wrote: So it should be idrc/id repositories repository idrc/id urlhttp://people.apache.org/builds/commons/$ {project.name}/${project.version}/m2-staging-repository/url snapshotsenabledfalse/enabled/snapshots releasesenabledtrue/enabled/releases /repository /repositories ${project.name} is likely to be something like Commons Math not the commons-math that would be more appropriate in a directory name. If you can't find something suitable in the pom, you may want to introduce an arbitrary property in each project's pom and use that in the url. (I think $artifactId would only work for single-module projects.) mvn stage:copy \ -Dsource=http://people.apache.org/builds/commons/$ {project.name}/${project.version}/m2-staging-repositoryg \ -Dtarget=scp://people.apache.org/www/people.apache.org/repo/ m2-ibiblio-rsync-repository \ -Dversion=${project.version} Any chance to have the project name and version injected automatically there? Not afaik. You should know what you're promoting. :) The latest release of the gpg plugin will prompt for a passphrase if one is not supplied. Great ...last time I tried it did not work for me (although it was supposed to according to the docs) Specify a version in the pom to make sure you're really using the latest. Open a bug if it's not working... I gave up and just put the passphrase in settings.xml. (You may not like being prompted-- I have a feeling it's going to prompt more than once!) Signing the release distributions... The gpg plugin will sign them if you deploy them to the repository (attached assemblies). There's a bit of renaming and copying to do that I haven't figured out how to automate yet. WDYM? ...seems like the signing worked just fine for the jci RC1. Then you have to decide if you want the distributions in the Maven repo. WDYM? The usual artifacts? Sure! No, the .zip and .tar.gz release distributions, the assemblies. Not so sure what to do with the bin/src dists from the assembly though. Right. :) Take a look at the last section of my Archiva release page, under 'Release Distribution': http://wiki.wsmoak.net/cgi-bin/wiki.pl?Archiva09Alpha2Release The assemblies get deployed under their artifactIds, not the final name that we want for the public distribution. Plus Maven's checksum files aren't formatted correctly for md5sum -c. -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [VOTE] 2nd attempt: Release commons-io 1.3.2
On 5/17/07, sebb [EMAIL PROTECTED] wrote: The site report page http://people.apache.org/~jochen/commons-io/site/project-reports.html says that the RAT report is a Report on binary and source API differences between releases That's a bug in the rat-maven-plugin and cannot easily be fixed now. Sorry, Jochen -- My cats know that I am a loser who goes out for hunting every day without ever returning as much as a single mouse. Fortunately, I've got a wife who's a real champ: She leaves the house and returns within half an hour, carrying whole bags full of meal. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jira] Updated: (IO-119) Convenience Builder for creating complex FileFilter conditions
[ https://issues.apache.org/jira/browse/IO-119?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Niall Pemberton updated IO-119: --- Attachment: FileFilterBuilderTestCase.java FileFilterBuilder.java New versions - mainly internal re-factoring. static orBuilder() and andBuilder() methods renamed to orInstance() and andInstance() Convenience Builder for creating complex FileFilter conditions Key: IO-119 URL: https://issues.apache.org/jira/browse/IO-119 Project: Commons IO Issue Type: Improvement Components: Filters Affects Versions: 1.3.1 Reporter: Niall Pemberton Assigned To: Niall Pemberton Priority: Minor Fix For: 1.4 Attachments: FileFilterBuilder.java, FileFilterBuilder.java, FileFilterBuilderTestCase.java, FileFilterBuilderTestCase.java I'd like to add a new convenience builder class (FileFilterBuilder) to make it easier to create complex FileFilter using Commons IO's IOFileFilter implementations. Heres an example of how it can be used to create a IOFileFilter for the following conditions: - Either, directories which are not hidden and not named .svn - or, files which have a suffix of .java IOFileFilter filter = FileFilterBuilder.orBuilder() .and().isDirectory().isHidden(false).not().name(.svn).end() .and().isFile().suffix(.java).end() .getFileFilter(); -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jira] Updated: (IO-119) Convenience Builder for creating complex FileFilter conditions
[ https://issues.apache.org/jira/browse/IO-119?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Niall Pemberton updated IO-119: --- Attachment: (was: FileFilterBuilder.java) Convenience Builder for creating complex FileFilter conditions Key: IO-119 URL: https://issues.apache.org/jira/browse/IO-119 Project: Commons IO Issue Type: Improvement Components: Filters Affects Versions: 1.3.1 Reporter: Niall Pemberton Assigned To: Niall Pemberton Priority: Minor Fix For: 1.4 Attachments: FileFilterBuilder.java, FileFilterBuilderTestCase.java I'd like to add a new convenience builder class (FileFilterBuilder) to make it easier to create complex FileFilter using Commons IO's IOFileFilter implementations. Heres an example of how it can be used to create a IOFileFilter for the following conditions: - Either, directories which are not hidden and not named .svn - or, files which have a suffix of .java IOFileFilter filter = FileFilterBuilder.orBuilder() .and().isDirectory().isHidden(false).not().name(.svn).end() .and().isFile().suffix(.java).end() .getFileFilter(); -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jira] Updated: (IO-119) Convenience Builder for creating complex FileFilter conditions
[ https://issues.apache.org/jira/browse/IO-119?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Niall Pemberton updated IO-119: --- Attachment: (was: FileFilterBuilderTestCase.java) Convenience Builder for creating complex FileFilter conditions Key: IO-119 URL: https://issues.apache.org/jira/browse/IO-119 Project: Commons IO Issue Type: Improvement Components: Filters Affects Versions: 1.3.1 Reporter: Niall Pemberton Assigned To: Niall Pemberton Priority: Minor Fix For: 1.4 Attachments: FileFilterBuilder.java, FileFilterBuilderTestCase.java I'd like to add a new convenience builder class (FileFilterBuilder) to make it easier to create complex FileFilter using Commons IO's IOFileFilter implementations. Heres an example of how it can be used to create a IOFileFilter for the following conditions: - Either, directories which are not hidden and not named .svn - or, files which have a suffix of .java IOFileFilter filter = FileFilterBuilder.orBuilder() .and().isDirectory().isHidden(false).not().name(.svn).end() .and().isFile().suffix(.java).end() .getFileFilter(); -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jira] Created: (IO-120) Improve IOFileFilter toString() methods
Improve IOFileFilter toString() methods --- Key: IO-120 URL: https://issues.apache.org/jira/browse/IO-120 Project: Commons IO Issue Type: Improvement Components: Filters Affects Versions: 1.3.1 Reporter: Niall Pemberton Assigned To: Niall Pemberton Priority: Minor Fix For: 1.4 Add toString() methods to IOFileFilters -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r539231 - /jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/
Author: niallp Date: Thu May 17 20:10:33 2007 New Revision: 539231 URL: http://svn.apache.org/viewvc?view=revrev=539231 Log: IO-120 Improve file filter toString() methods Modified: jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/AbstractFileFilter.java jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/AgeFileFilter.java jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/AndFileFilter.java jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/DelegateFileFilter.java jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/NameFileFilter.java jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/NotFileFilter.java jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/OrFileFilter.java jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/PrefixFileFilter.java jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/SizeFileFilter.java jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/SuffixFileFilter.java jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/WildcardFileFilter.java Modified: jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/AbstractFileFilter.java URL: http://svn.apache.org/viewvc/jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/AbstractFileFilter.java?view=diffrev=539231r1=539230r2=539231 == --- jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/AbstractFileFilter.java (original) +++ jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/AbstractFileFilter.java Thu May 17 20:10:33 2007 @@ -53,4 +53,15 @@ return accept(new File(dir, name)); } +/** + * Provide a String representaion of this file filter. + * + * @return a String representaion + */ +public String toString() { +String name = getClass().getName(); +int period = name.lastIndexOf('.'); +return (period 0 ? name.substring(period + 1) : name); +} + } Modified: jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/AgeFileFilter.java URL: http://svn.apache.org/viewvc/jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/AgeFileFilter.java?view=diffrev=539231r1=539230r2=539231 == --- jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/AgeFileFilter.java (original) +++ jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/AgeFileFilter.java Thu May 17 20:10:33 2007 @@ -137,4 +137,13 @@ return acceptOlder ? !newer : newer; } +/** + * Provide a String representaion of this file filter. + * + * @return a String representaion + */ +public String toString() { +String condition = acceptOlder ? = : ; +return super.toString() + ( + condition + cutoff + ); +} } Modified: jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/AndFileFilter.java URL: http://svn.apache.org/viewvc/jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/AndFileFilter.java?view=diffrev=539231r1=539230r2=539231 == --- jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/AndFileFilter.java (original) +++ jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/AndFileFilter.java Thu May 17 20:10:33 2007 @@ -141,4 +141,26 @@ return true; } +/** + * Provide a String representaion of this file filter. + * + * @return a String representaion + */ +public String toString() { +StringBuffer buffer = new StringBuffer(); +buffer.append(super.toString()); +buffer.append((); +if (fileFilters != null) { +for (int i = 0; i fileFilters.size(); i++) { +if (i 0) { +buffer.append(,); +} +Object filter = fileFilters.get(i); +buffer.append(filter == null ? null : filter.toString()); +} +} +buffer.append()); +return buffer.toString(); +} + } Modified: jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/DelegateFileFilter.java URL: http://svn.apache.org/viewvc/jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/DelegateFileFilter.java?view=diffrev=539231r1=539230r2=539231 == ---
Re: commons compress status?
Thorbjørn Ravn Andersen wrote: I therefore suggest that the tar methods should be migrated to the vfs module (if suitable) and that the compress module should contain methods that can compress/uncompress streams (which is easily extendable to files, http connections etc). By doing so there will be a clear goal of this project. It looks like VFS has most of the concepts I was working on so it would be a waste of effort to do a parallel effort. I had skimmed the project earlier but only noticed the networked implementations. I agree that the 'compress' tar classes should be removed and a pointer left to the VFS project. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jira] Resolved: (IO-120) Improve IOFileFilter toString() methods
[ https://issues.apache.org/jira/browse/IO-120?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Niall Pemberton resolved IO-120. Resolution: Fixed Improve IOFileFilter toString() methods --- Key: IO-120 URL: https://issues.apache.org/jira/browse/IO-120 Project: Commons IO Issue Type: Improvement Components: Filters Affects Versions: 1.3.1 Reporter: Niall Pemberton Assigned To: Niall Pemberton Priority: Minor Fix For: 1.4 Add toString() methods to IOFileFilters -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jira] Updated: (IO-116) Replace static FileCleaner methods
[ https://issues.apache.org/jira/browse/IO-116?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Niall Pemberton updated IO-116: --- Fix Version/s: (was: 1.4) 1.3.2 Replace static FileCleaner methods -- Key: IO-116 URL: https://issues.apache.org/jira/browse/IO-116 Project: Commons IO Issue Type: Improvement Components: Utilities Affects Versions: 1.3.1 Reporter: Jochen Wiedmann Priority: Critical Fix For: 1.3.2 Attachments: commons-io-filecleaningtracker.patch, commons-io-filecleaningtracker.patch The attached patch aims to finally resolve the problems, which are named in IO-99, FILEUPLOAD-120, and FILEUPLOAD-125. I choosed a conservative strategy: Basically I copied the FileCleaner class to an instantiable class FileCleaningTracker with instance methods. The static FileCleaner methods are now implemented by a static instance of FileCleaningTracker. (The name FileCleaningTracker is, of course, questionable. The FileCleaningTestCase was also created by simply copying FileCleaner to FileCleaningTestCase. FileCleanerTestCase is now similarly implemented as a subclass of FileCleanerTestCase which uses the static instance of FileCleaner rather than a dynamically created instance. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jira] Updated: (IO-115) FileUtilsCleanDirectoryTestCase fails on Windoes if command chmod is available
[ https://issues.apache.org/jira/browse/IO-115?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Niall Pemberton updated IO-115: --- Fix Version/s: (was: 1.4) 1.3.2 FileUtilsCleanDirectoryTestCase fails on Windoes if command chmod is available -- Key: IO-115 URL: https://issues.apache.org/jira/browse/IO-115 Project: Commons IO Issue Type: Bug Components: Utilities Affects Versions: 1.3.1 Reporter: Joerg Schaible Fix For: 1.3.2 Some tests in FileUtilsCleanDirectoryTestCase try to delete files that have been set to read-only. This is expected to throw an exception. To set the read-only flag the method chmod() tries to execute the unix chmod command. If this fails (which should normally be the case on windows), the test is ignored. If Posix tools are available e.g. from Cygwin, MKS Toolkit, Microsoft's Posix Tools or similar ones the test fails. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: commons compress status?
Hi! I agree that the 'compress' tar classes should be removed and a pointer left to the VFS project. We've already moved an early version (before the api cleanup) of the COMPRESS codebase to VFS. The thing is, that VFS normally would NOT like to provide the implementation for a certain filesystem, it should just be a wrapper for the implementation library. We can make an exception, though, fact is that there are too to few active developers (yet) for VFS to push stuff like this any further. Ciao, Mario - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]