DO NOT REPLY [Bug 33953] - [configuration] FileChangedReloadingStrategy cannot be resolved or is not a type
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=33953. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=33953 [EMAIL PROTECTED] changed: What|Removed |Added OS/Version|Windows XP |All Platform|PC |All Summary|[configuration]FileChangedRe|[configuration] |loadingStrategy cannot be |FileChangedReloadingStrategy |resolved or is not a type |cannot be resolved or is not ||a type -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[GUMP@brutus]: Project commons-jelly-tags-xml (in module commons-jelly) failed
To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [EMAIL PROTECTED] Project commons-jelly-tags-xml has an issue affecting its community integration. This issue affects 12 projects. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - commons-jelly-tags-define : Commons Jelly - commons-jelly-tags-html : Commons Jelly - commons-jelly-tags-http : Commons Jelly - commons-jelly-tags-jaxme : Commons Jelly - commons-jelly-tags-jetty : Commons Jelly - commons-jelly-tags-jface : Commons Jelly - commons-jelly-tags-jsl : Commons Jelly - commons-jelly-tags-swing : Commons Jelly - commons-jelly-tags-xml : Commons Jelly - commons-jelly-tags-xmlunit : Commons Jelly - maven : Project Management Tools - maven-bootstrap : Project Management Tools Full details are available at: http://brutus.apache.org/gump/public/commons-jelly/commons-jelly-tags-xml/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- Sole output [commons-jelly-tags-xml-11032005.jar] identifier set to project name -DEBUG- Dependency on xml-xerces exists, no need to add for property maven.jar.xerces. -DEBUG- (Gump generated) Maven Properties in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/build.properties -INFO- Failed with reason build failed -DEBUG- Maven POM in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/project.xml -DEBUG- Maven project properties in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/project.properties -INFO- Project Reports in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/target/test-reports -INFO- Failed to extract fallback artifacts from Gump Repository The following work was performed: http://brutus.apache.org/gump/public/commons-jelly/commons-jelly-tags-xml/gump_work/build_commons-jelly_commons-jelly-tags-xml.html Work Name: build_commons-jelly_commons-jelly-tags-xml (Type: Build) Work ended in a state of : Failed Elapsed: 13 secs Command Line: maven --offline jar [Working Directory: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml] CLASSPATH: /opt/jdk1.4/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar:/usr/local/gump/public/workspace/ant/bootstrap/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/bootstrap/lib/ant.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-11032005.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-11032005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-11032005.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-11032005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-api.jar:/usr/local/gump/public/workspace/dom4j/build/dom4j.jar:/usr/local/gump/public/workspace/jaxen/target/jaxen-11032005.jar - [mkdir] Created dir: /home/gump/workspaces2/public/workspace/commons-jelly/jelly-tags/xml/target/classes java:compile: [echo] Compiling to /home/gump/workspaces2/public/workspace/commons-jelly/jelly-tags/xml/target/classes [echo] == NOTE: Targetting JVM 1.4, classes will not run on earlier JVMs == [javac] Compiling 16 source files to /home/gump/workspaces2/public/workspace/commons-jelly/jelly-tags/xml/target/classes java:jar-resources: test:prepare-filesystem: [mkdir] Created dir: /home/gump/workspaces2/public/workspace/commons-jelly/jelly-tags/xml/target/test-classes [mkdir] Created dir: /home/gump/workspaces2/public/workspace/commons-jelly/jelly-tags/xml/target/test-reports test:test-resources: Copying 36 files to /home/gump/workspaces2/public/workspace/commons-jelly/jelly-tags/xml/target/test-classes
DO NOT REPLY [Bug 33965] New: - Can't XMLDecode an Enum
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=33965. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=33965 Summary: Can't XMLDecode an Enum Product: Commons Version: 2.0 Final Platform: PC OS/Version: Windows 2000 Status: NEW Severity: normal Priority: P2 Component: Lang AssignedTo: commons-dev@jakarta.apache.org ReportedBy: [EMAIL PROTECTED] I am encoding and decoding Enums using java.beans.XMLEncoder/Decoder. When an Enum is decoded, I am using the following to get the instance. The enumClass name and the enum name are stored in the serialized XML file, then used to restore the bean at read time return EnumUtils.getEnum(enumClass, name); The problem is that the Enum.cEnumClasses map may not contain an entry for the Enum class yet, despite the fact that the Class for the enum has been loaded. If I loop through the Class.fields using reflection and get(null) the value for each one, then the cEnumClasses is populated and getEnum works. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 33953] - [configuration] FileChangedReloadingStrategy cannot be resolved or is not a type
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=33953. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=33953 [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Additional Comments From [EMAIL PROTECTED] 2005-03-11 16:34 --- Hi Thanks for reply. So its only documentation error hmmm. The Example mentioned in the document is not applicable to 1.0 so i think that need to be mentioned on the example so that user can't get confuse. Thanks for reply. Thanks Prashant -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 33965] - [lang] Can't XMLDecode an Enum
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=33965. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=33965 [EMAIL PROTECTED] changed: What|Removed |Added Summary|Can't XMLDecode an Enum |[lang] Can't XMLDecode an ||Enum -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [Collections] Random iterator?
You can do this kind of thing using some methods in the random package in [math]. See http://jakarta.apache.org/commons/math/api/org/apache/commons/math/random/RandomData.html#nextSample(java.util.Collection, int) for a way to sample from a collection. By using sample size = 1, you can select a single random element. You can iterate over a list in a random order by first generating a random permutation using http://jakarta.apache.org/commons/math/api/org/apache/commons/math/random/RandomData.html#nextPermutation(int, int) and then using the resulting int[] array to select elements. If random lists generated from collections are of interest, we could add a method to do this directly. You can post any ideas on improving / extending commons math here: http://wiki.apache.org/jakarta-commons/MathWishList Phil -Original Message- From: Stephen Colebourne [mailto:[EMAIL PROTECTED] Sent: Thu 3/10/2005 4:54 PM To: Jakarta Commons Developers List Cc: Subject: Re: [Collections] Random iterator? We don't have such a method or iterator at present. I would like to keep [collections] for deterministic not random effects if possible. Stephen - Original Message - From: Hernan Silberman [EMAIL PROTECTED] In my unit and load tests, I often find myself retrieving a collection of objects from a service, and selecting a random one from the collection. Seems like a common use case (for testing anyhow) and I don't think there's any support in java.util Collections for, say, fetching a random item out of a Set. It's easy enough to code by hand, but I was wondering if it's already done somewhere in commons-collections. A Random iterator would be really cool. I suppose: List theList = new ArrayList( someCollection ); Collections.shuffle( theList ); Iterator theIt = theList.iterator(); works fine too.. thnx... hernan - 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]
DO NOT REPLY [Bug 33840] - [BeanUtils] PropertyUtils.isReadable() and PropertyUtils.getProperty() not consistent
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=33840. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=33840 --- Additional Comments From [EMAIL PROTECTED] 2005-03-11 20:54 --- Is this already in SVN ? I've tried it out yesterday, but I still have the same problem. regards, Maarten -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: DO NOT REPLY [Bug 33840] - [BeanUtils] PropertyUtils.isReadable() and PropertyUtils.getProperty() not consistent
Hello Maarten, Friday, March 11, 2005, 1:54:17 PM, you wrote: bao http://issues.apache.org/bugzilla/show_bug.cgi?id=33840 bao --- Additional Comments From [EMAIL PROTECTED] 2005-03-11 20:54 --- bao Is this already in SVN ? bao I've tried it out yesterday, but I still have the same problem. No, I just attached a patch to the bug; you'll have to grab the patch and apply it to your local sources to use it. BTW, it only makes the two methods consistent so that isReadable() will return false for your original test case. -Clark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 33840] - [BeanUtils] PropertyUtils.isReadable() and PropertyUtils.getProperty() not consistent
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=33840. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=33840 --- Additional Comments From [EMAIL PROTECTED] 2005-03-11 21:08 --- No, I just attached a patch to the bug; you'll have to grab the patch and apply it to your local sources to use it. BTW, it only makes the two methods consistent so that isReadable() will return false for your original test case. -Clark -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r157143 - in jakarta/commons/proper/email/trunk: maven.xml project.xml
Author: epugh Date: Fri Mar 11 12:10:39 2005 New Revision: 157143 URL: http://svn.apache.org/viewcvs?view=revrev=157143 Log: Tweaks to get distributions produced with NOTICE.txt and LICENSE.txt Modified: jakarta/commons/proper/email/trunk/maven.xml jakarta/commons/proper/email/trunk/project.xml Modified: jakarta/commons/proper/email/trunk/maven.xml URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/email/trunk/maven.xml?view=diffr1=157142r2=157143 == --- jakarta/commons/proper/email/trunk/maven.xml (original) +++ jakarta/commons/proper/email/trunk/maven.xml Fri Mar 11 12:10:39 2005 @@ -1,22 +1,61 @@ +?xml version=1.0? + !-- - Copyright 2001-2004 The Apache Software Foundation +Copyright 2002-2005 The Apache Software Foundation. + +Licensed 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 - Licensed 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. +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. -- -project - xmlns:j=jelly:core - xmlns:m=maven - xmlns:u=jelly:util - default=jar:jar -/project \ No newline at end of file +project default=jar:jar + + !-- == -- + !-- START : C O M M O N S - B U I L D -- + !-- == -- + !-- Required: Look and Feel for documentation within distributions -- + !-- == -- + postGoal name=xdoc:copy-resources +copy todir=${basedir}/target/docs/style/ failonerror=false + fileset dir=${basedir}/../commons-build/xdocs/style + include name='**/*'/ + exclude name='**/CVS/**'/ + /fileset +/copy + /postGoal + !-- == -- + !-- END: C O M M O N S - B U I L D -- + !-- == -- + + !-- Ensures that the conf directory and NOTICE.txt are included in the + source distro. + -- + postGoal name=dist:prepare-src-filesystem +mkdir dir=${maven.dist.src.assembly.dir}/conf/ +copy todir=${maven.dist.src.assembly.dir}/conf + fileset dir=${basedir}/conf + /fileset +/copy +copy todir=${maven.dist.src.assembly.dir} + fileset file=${basedir}/NOTICE.txt/ +/copy + /postGoal + + !-- Ensures that NOTICE.txt is added to the binary distro -- + preGoal name=dist:build-bin +copy todir=${maven.dist.bin.assembly.dir} + fileset file=${basedir}/NOTICE.txt/ +/copy + /preGoal + +/project + + Modified: jakarta/commons/proper/email/trunk/project.xml URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/email/trunk/project.xml?view=diffr1=157142r2=157143 == --- jakarta/commons/proper/email/trunk/project.xml (original) +++ jakarta/commons/proper/email/trunk/project.xml Fri Mar 11 12:10:39 2005 @@ -3,8 +3,22 @@ nameCommons Email/name groupIdcommons-email/groupId artifactIdcommons-email/artifactId -currentVersion1.0-rc3/currentVersion -organization/ +currentVersion1.0-rc4/currentVersion + +organization + nameThe Apache Software Foundation/name + urlhttp://jakarta.apache.org/url + logohttp://jakarta.apache.org/images/original-jakarta-logo.gif/logo +/organization + +licenses + license + nameThe Apache Software License, Version 2.0/name + url/LICENSE.txt/url + distributionrepo/distribution + /license +/licenses + inceptionYear2001/inceptionYear packageorg.apache.commons.mail/package logo/images/email-logo-white.png/logo @@ -143,22 +157,23 @@ /dependency /dependencies build -nagEmailAddresscommons-dev@jakarta.apache.org/nagEmailAddress -sourceDirectorysrc/java/sourceDirectory -
svn commit: r157145 - jakarta/commons/proper/email/tags/EMAIL_1_0_RC4
Author: epugh Date: Fri Mar 11 12:13:38 2005 New Revision: 157145 URL: http://svn.apache.org/viewcvs?view=revrev=157145 Log: Prep for release of Email 1.0 RC4. Added: jakarta/commons/proper/email/tags/EMAIL_1_0_RC4/ - copied from r157144, jakarta/commons/proper/email/trunk/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [ANN][configuration]Release candidate 1.1RC2
Thanks for the tip.. This also solved my last issues with packaging email. (I hope :-) ). Eric -Original Message- From: Phil Steitz [mailto:[EMAIL PROTECTED] Sent: Monday, March 07, 2005 8:00 PM To: Jakarta Commons Developers List Subject: Re: [ANN][configuration]Release candidate 1.1RC2 Oliver Heger wrote: NOTICE.txt is missing from source and binary distros and jar. Not sure about this. I used maven dist to build the distros. Do I have to tweak the maven.xml so that this file gets included? To get it into the jar, add it as a build resource in project.xml: resources resource directory${basedir}/directory includes includeNOTICE.txt/include /includes targetPathMETA-INF/targetPath /resource /resources To get it into the top-level directories, you need to tweak maven.xml. Here is one way to do it: preGoal name=dist:build-bin copy todir=${maven.dist.bin.assembly.dir} fileset file='${basedir}/NOTICE.txt'/ /copy /preGoal preGoal name=dist:build-src copy todir=${maven.dist.src.assembly.dir} fileset file='${basedir}/NOTICE.txt'/ /copy /preGoal hth, Phil - 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]
[VOTE] [email] promote RC4 to 1.0 status
Hi all, A couple of packaging issues were discovered in Email 1.0 RC3. I was encouraged to fix them and then call for a fresh vote, so I appreciate the understanding of the community that the (now) 4 release candidates it's taken to get email to 1.0. My first time signing a project. The release candidate is available at http://www.apache.org/~epugh/email/distributions/ and is just RC3 with some packaging tweaks, not Java code changes. The documentation is available at http://www.apache.org/~epugh/email/docs This is a full release vote (and so three +1's are required). please check the release before voting +1. i will not tally the votes before 2300 hours GMT on Tuesday 15th of March. here's my +1 - Eric -8- [ ] +1 Promote RC4 to commons-email-1.0 [ ] +0 In favour of this release [ ] -0 Against this release [ ] -1 Do not release RC4 - 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] [email] promote RC4 to 1.0 status
hi eric could you ascii armour the signatures? (it's not essential but it makes them a lot nicer to read and download) - robert On Fri, 2005-03-11 at 20:30, Eric Pugh wrote: Hi all, A couple of packaging issues were discovered in Email 1.0 RC3. I was encouraged to fix them and then call for a fresh vote, so I appreciate the understanding of the community that the (now) 4 release candidates it's taken to get email to 1.0. My first time signing a project. The release candidate is available at http://www.apache.org/~epugh/email/distributions/ and is just RC3 with some packaging tweaks, not Java code changes. The documentation is available at http://www.apache.org/~epugh/email/docs This is a full release vote (and so three +1's are required). please check the release before voting +1. i will not tally the votes before 2300 hours GMT on Tuesday 15th of March. here's my +1 - Eric -8- [ ] +1 Promote RC4 to commons-email-1.0 [ ] +0 In favour of this release [ ] -0 Against this release [ ] -1 Do not release RC4 - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 33840] - [BeanUtils] PropertyUtils.isReadable() and PropertyUtils.getProperty() not consistent
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=33840. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=33840 --- Additional Comments From [EMAIL PROTECTED] 2005-03-11 22:34 --- I guess I was confused about the status RESOLVED and resolution FIXED. Is this the standard procedure to mark an issue FIXED before it is committed to SVN? it's ok for me that the isReadable() method now returns false, as long as I can use it to be sure the getProperty() method won't throw a NoSuchMethodException. Maarten -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 33972] New: - FTP Parsing off in Net Components for ACL
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=33972. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=33972 Summary: FTP Parsing off in Net Components for ACL Product: Commons Version: Nightly Builds Platform: PC OS/Version: Windows XP Status: NEW Severity: normal Priority: P3 Component: Net AssignedTo: commons-dev@jakarta.apache.org ReportedBy: [EMAIL PROTECTED] If a directory has a access control list tied to it, when a directory listing is spit out, a plus is appended onto the end of the permissions. This causes parsing of the file fails. Below are two patches that solves this. The first is for the test file under /net/trunk/src/test/org/apache/commons/net/ftp/parser/. The second is the actual parser that is under /net/trunk/src/java/org/apache/commons/net/ftp/parser. Index: UnixFTPEntryParserTest.java === --- UnixFTPEntryParserTest.java (revision 155093) +++ UnixFTPEntryParserTest.java (working copy) @@ -24,7 +24,7 @@ /** * @author a href=mailto:[EMAIL PROTECTED]Steve Cohen/a - * @version $Id: UnixFTPEntryParserTest.java,v 1.15 2004/09/14 01:47:17 scohen Exp $ + * @version $Id$ */ public class UnixFTPEntryParserTest extends FTPParseTestFramework { @@ -45,6 +45,7 @@ private static final String[] goodsamples = { + -rw-r--r-- 1 500 50021 Aug 8 14:14 JB3-TES1.gz, -rwxr-xr-x 2 root root 4096 Mar 2 15:13 zxbox, drwxr-xr-x 2 root root 4096 Aug 24 2001 zxjdbc, @@ -70,6 +71,8 @@ -rwSr-Sr-- 1 500 500 0 Mar 25 08:22 testSuid, -rwsr-sr-- 1 500 500 0 Mar 25 08:23 testSuidExec, -rwsr-sr-- 1 500 500 0 Mar 25 0:23 testSuidExec2, +drwxrwx---+ 23 500 5000 Jan 10 13:09 testACL, + -rw-r--r-- 1 13518644 May 25 12:12 std }; Index: UnixFTPEntryParser.java === --- UnixFTPEntryParser.java (revision 155093) +++ UnixFTPEntryParser.java (working copy) @@ -26,7 +26,7 @@ * This class is based on the logic of Daniel Savarese's * DefaultFTPListParser, but adapted to use regular expressions and to fit the * new FTPFileEntryParser interface. - * @version $Id: UnixFTPEntryParser.java,v 1.21 2005/01/02 03:17:50 scohen Exp $ + * @version $Id$ * @see org.apache.commons.net.ftp.FTPFileEntryParser FTPFileEntryParser (for usage instructions) */ public class UnixFTPEntryParser extends ConfigurableFTPFileEntryParserImpl @@ -65,7 +65,7 @@ */ private static final String REGEX = ([bcdlfmpSs-]) -+ (((r|-)(w|-)([xsStTL-]))((r|-)(w|-)([xsStTL-]))((r|-)(w|-)([xsStTL-])))\\s+ ++ (((r|-)(w|-)([xsStTL-]))((r|-)(w|-)([xsStTL-]))((r|-)(w|-)([xsStTL-])))\\+?\\s+ + (\\d+)\\s+ + (\\S+)\\s+ + (?:(\\S+)\\s+)? -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
GenericKeyedObjectPoolFactory
Is there a way to create an instance of GenericKeyedObjectPoolFactory using an implementation of BasekeyedPoolableObjectFactory. I can't find a concrete class that impelments KeyedPoolableObjectFactory in the commons-pool-1.2 package. -- The information contained in this email along with all attachments is confidential and is not to be shared without my permission and prior knowledge of who will be viewing it's contents including all attachments. __ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 33840] - [BeanUtils] PropertyUtils.isReadable() and PropertyUtils.getProperty() not consistent
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=33840. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=33840 [EMAIL PROTECTED] changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED | --- Additional Comments From [EMAIL PROTECTED] 2005-03-12 00:33 --- Reopened bug; no patch has yet been committed. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r157235 - in jakarta/commons/sandbox/benchmark/trunk/src: java/org/apache/commons/benchmark/Benchmark.java java/org/apache/commons/benchmark/BenchmarkUtils.java test/org/apache/commons/benchmark/Test1.java
Author: burton Date: Fri Mar 11 22:28:59 2005 New Revision: 157235 URL: http://svn.apache.org/viewcvs?view=revrev=157235 Log: Ability to specify just a constructor now Added: jakarta/commons/sandbox/benchmark/trunk/src/java/org/apache/commons/benchmark/BenchmarkUtils.java Modified: jakarta/commons/sandbox/benchmark/trunk/src/java/org/apache/commons/benchmark/Benchmark.java jakarta/commons/sandbox/benchmark/trunk/src/test/org/apache/commons/benchmark/Test1.java Modified: jakarta/commons/sandbox/benchmark/trunk/src/java/org/apache/commons/benchmark/Benchmark.java URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/benchmark/trunk/src/java/org/apache/commons/benchmark/Benchmark.java?view=diffr1=157234r2=157235 == --- jakarta/commons/sandbox/benchmark/trunk/src/java/org/apache/commons/benchmark/Benchmark.java (original) +++ jakarta/commons/sandbox/benchmark/trunk/src/java/org/apache/commons/benchmark/Benchmark.java Fri Mar 11 22:28:59 2005 @@ -108,19 +108,34 @@ /** * The current name of this benchmark. */ -private String name = null; +String name = null; /** * The current benchmark. */ -private BenchmarkTracker tracker1 = null; -private BenchmarkTracker tracker5 = null; -private BenchmarkTracker tracker15 = null; +BenchmarkTracker tracker1 = null; +BenchmarkTracker tracker5 = null; +BenchmarkTracker tracker15 = null; + +/** + * When benchmarks are created with a constructor we only store them as a + * valid benchmark when start/complete is called without a given operation. + */ +boolean registered = false; + +/** + * Create a benchmark for the current class as caller. + */ +public Benchmark() { + +this( getCallerClassname() ); + +} /** * Create a new benchmark with a given name. */ -private Benchmark( String name ) { +public Benchmark( String name ) { this.name = name; @@ -205,6 +220,8 @@ if ( DISABLED ) return; +doRegisterWhenNecessary(); + tracker1.start(); tracker5.start(); tracker15.start(); @@ -220,12 +237,21 @@ if ( DISABLED ) return; +doRegisterWhenNecessary(); + tracker1.complete(); tracker5.complete(); tracker15.complete(); } +private void doRegisterWhenNecessary() { + +if ( registered == false ) +benchmarks.put( name, this ); + +} + /** * Return a child benchmark of the current method. This can be used to * return a benchmark for a specific method based on a benchmark for a @@ -249,9 +275,19 @@ static String getCallerClassname() { Exception e = new Exception(); -String name = e.getStackTrace()[2].getClassName(); -return name; +StackTraceElement trace[] = e.getStackTrace(); + +for ( int i = 2; i trace.length; ++i ) { + +String name = trace[i].getClassName(); + +if ( name.startsWith( org.apache.commons.benchmark ) == false ) +return name; + +} + +return null; } @@ -322,6 +358,7 @@ if ( benchmark == null ) { benchmark= new Benchmark( name ); benchmarks.put( name, benchmark ); +benchmark.registered = true; } return benchmark; Added: jakarta/commons/sandbox/benchmark/trunk/src/java/org/apache/commons/benchmark/BenchmarkUtils.java URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/benchmark/trunk/src/java/org/apache/commons/benchmark/BenchmarkUtils.java?view=autorev=157235 == --- jakarta/commons/sandbox/benchmark/trunk/src/java/org/apache/commons/benchmark/BenchmarkUtils.java (added) +++ jakarta/commons/sandbox/benchmark/trunk/src/java/org/apache/commons/benchmark/BenchmarkUtils.java Fri Mar 11 22:28:59 2005 @@ -0,0 +1,87 @@ +/* + * Copyright 1999,2004 The Apache Software Foundation. + * + * Licensed 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. + */ + +package org.apache.commons.benchmark; + +import java.util.*; +import java.lang.reflect.*; + +/** + * + * @author a href=mailto:[EMAIL PROTECTED]Kevin Burton/a + * @version
svn commit: r157238 - jakarta/commons/proper/feedparser/trunk/project.xml
Author: burton Date: Fri Mar 11 23:18:56 2005 New Revision: 157238 URL: http://svn.apache.org/viewcvs?view=revrev=157238 Log: Full support for compiling feedparser from maven Modified: jakarta/commons/proper/feedparser/trunk/project.xml Modified: jakarta/commons/proper/feedparser/trunk/project.xml URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/feedparser/trunk/project.xml?view=diffr1=157237r2=157238 == --- jakarta/commons/proper/feedparser/trunk/project.xml (original) +++ jakarta/commons/proper/feedparser/trunk/project.xml Fri Mar 11 23:18:56 2005 @@ -109,7 +109,7 @@ dependency idcommons-httpclient/id -version3.0-beta1/version +version3.0-rc1/version /dependency dependency - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r157239 - jakarta/commons/proper/feedparser/trunk/xdocs/navigation.xml
Author: burton Date: Fri Mar 11 23:24:58 2005 New Revision: 157239 URL: http://svn.apache.org/viewcvs?view=revrev=157239 Log: xdocs updated with non proper ref Modified: jakarta/commons/proper/feedparser/trunk/xdocs/navigation.xml Modified: jakarta/commons/proper/feedparser/trunk/xdocs/navigation.xml URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/feedparser/trunk/xdocs/navigation.xml?view=diffr1=157238r2=157239 == --- jakarta/commons/proper/feedparser/trunk/xdocs/navigation.xml (original) +++ jakarta/commons/proper/feedparser/trunk/xdocs/navigation.xml Fri Mar 11 23:24:58 2005 @@ -21,7 +21,7 @@ href=http://wiki.apache.org/jakarta-commons/FeedParser; / item name=ViewCVS - href=http://svn.apache.org/viewcvs.cgi/jakarta/commons/sandbox/feedparser/trunk; / + href=http://svn.apache.org/viewcvs.cgi/jakarta/commons/proper/feedparser/; / /menu common-menus; - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r157240 - jakarta/commons/proper/feedparser/tags/FEEDPARSER_0_5_0_RC1
Author: burton Date: Fri Mar 11 23:27:46 2005 New Revision: 157240 URL: http://svn.apache.org/viewcvs?view=revrev=157240 Log: RC1 tag Added: jakarta/commons/proper/feedparser/tags/FEEDPARSER_0_5_0_RC1/ - copied from r157239, jakarta/commons/proper/feedparser/trunk/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]