DO NOT REPLY [Bug 35338] - [net] FTPClient.listFiles() hangs on Red Hat Linux
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=35338. 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=35338 --- Additional Comments From [EMAIL PROTECTED] 2005-06-22 09:26 --- OS: Fedora Core 3 (kernel: 2.6.11-1.27_FC3), with all the latest updates (hoping some update might fix the problem). The miniprogram was compiled and run with both Java 1.5.0_03 and 1.4.2_08 (both hang). I don't have Eclipse installed there (been doing the development on Windows and testing on Linux. I did insert print statements immediately before and after listNames() and only the print statement before the call appeared. I think the odd looking IP address is dynamically assigned by the router between the OS and the network. The Windows XP uses the same router and the miniprogram runs fine. So, I doubt that is the issue. A partial printout of the tcpdump/tetherial is below. The missing lines were just repeats of the previous lines. tcpdump -w ftplog.dmp host konsensys.com tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes 146 packets captured 154 packets received by filter 0 packets dropped by kernel tethereal -r ftplog.dmp 1 0.00 192.168.195.128 - 209.18.78.251 TCP 32879 ftp [SYN] Seq=0 Ack=0 Win=5840 Len=0 MSS=1460 TSV=110717940 TSER=0 WS=2 2 0.009857 209.18.78.251 - 192.168.195.128 TCP ftp 32879 [SYN, ACK] Seq=0 Ack=1 Win=64240 Len=0 MSS=1460 3 0.010041 192.168.195.128 - 209.18.78.251 TCP 32879 ftp [ACK] Seq=1 Ack=1 Win=5840 Len=0 4 0.190663 209.18.78.251 - 192.168.195.128 FTP Response: 220-This computer system is for authorized 5 0.191451 209.18.78.251 - 192.168.195.128 FTP Response: system without authority or in excess of 6 0.192028 192.168.195.128 - 209.18.78.251 TCP 32879 ftp [ACK] Seq=1 Ack=80 Win=5840 Len=0 7 0.192373 192.168.195.128 - 209.18.78.251 TCP 32879 ftp [ACK] Seq=1 Ack=154 Win=5840 Len=0 8 0.271413 209.18.78.251 - 192.168.195.128 FTP Response: having all their activities on this syste 9 0.272090 192.168.195.128 - 209.18.78.251 TCP 32879 ftp [ACK] Seq=1 Ack=683 Win=6432 Len=0 10 0.295433 192.168.195.128 - 209.18.78.251 FTP Request: USER [EMAIL PROTECTED] 11 0.296466 209.18.78.251 - 192.168.195.128 TCP ftp 32879 [ACK] Seq=683 Ack=30 Win=64240 Len=0 12 0.380252 209.18.78.251 - 192.168.195.128 FTP Response: 331 Password required for [EMAIL PROTECTED] 13 0.382212 192.168.195.128 - 209.18.78.251 FTP Request: PASS errorlog 14 0.383944 209.18.78.251 - 192.168.195.128 TCP ftp 32879 [ACK] Seq=734 Ack=45 Win=64240 Len=0 15 0.460350 209.18.78.251 - 192.168.195.128 FTP Response: 230 User [EMAIL PROTECTED] logged in. 16 0.474489 192.168.195.128 - 209.18.78.251 FTP Request: PORT 192,168,195,128,128,112 17 0.483417 209.18.78.251 - 192.168.195.128 TCP ftp 32879 [ACK] Seq=778 Ack=75 Win=64234 Len=0 18 0.566015 209.18.78.251 - 192.168.195.128 FTP Response: 200 PORT command successful 19 0.567500 192.168.195.128 - 209.18.78.251 FTP Request: NLST 20 0.568482 209.18.78.251 - 192.168.195.128 TCP ftp 32879 [ACK] Seq=807 Ack=81 Win=64234 Len=0 21 0.98 209.18.78.251 - 192.168.195.128 TCP ftp-data 32880 [SYN] Seq=0 Ack=0 Win=64240 Len=0 MSS=1460 22 0.777923 192.168.195.128 - 209.18.78.251 ICMP Destination unreachable (Host administratively prohibited) 23 0.781992 209.18.78.251 - 192.168.195.128 FTP Response: 150 Opening ASCII mode data connection for 24 0.824158 192.168.195.128 - 209.18.78.251 TCP 32879 ftp [ACK] Seq=81 Ack=861 Win=6432 Len=0 25 0.897944 209.18.78.251 - 192.168.195.128 TCP ftp-data 32880 [SYN] Seq=0 Ack=0 Win=64240 Len=0 MSS=1460 26 0.898058 192.168.195.128 - 209.18.78.251 ICMP Destination unreachable (Host administratively prohibited) 27 1.000254 209.18.78.251 - 192.168.195.128 TCP ftp-data 32880 [SYN] Seq=0 Ack=0 Win=64240 Len=0 MSS=1460 28 1.000393 192.168.195.128 - 209.18.78.251 ICMP Destination unreachable (Host administratively prohibited) 29 1.105067 209.18.78.251 - 192.168.195.128 TCP ftp-data 32880 [SYN] Seq=0 Ack=0 Win=64240 Len=0 MSS=1460 30 1.105178 192.168.195.128 - 209.18.78.251 ICMP Destination unreachable (Host administratively prohibited) 31 1.209412 209.18.78.251 - 192.168.195.128 TCP ftp-data 32880 [SYN] Seq=0 A -- 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 35338] - [net] FTPClient.listFiles() hangs on Red Hat Linux
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=35338. 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=35338 --- Additional Comments From [EMAIL PROTECTED] 2005-06-22 10:29 --- 25 0.897944 209.18.78.251 - 192.168.195.128 TCP ftp-data 32880 [SYN] Seq=0 Ack=0 Win=64240 Len=0 MSS=1460 26 0.898058 192.168.195.128 - 209.18.78.251 ICMP Destination unreachable (Host administratively prohibited) Whats this? We get data from the ftp-server but our answer is a ICMP dest unreachable? The ICMP is not sent by commons-net but I guess by iptables. Based on this information I found #1 http://www.webservertalk.com/message207968.html #2 http://www.ureader.co.uk/message/784153.aspx which seems somewhat related. As requested in #1 please try iptables -L and post the output. If its the same problem as in #1 we might see a blocking rule in the INPUT chain. -- 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 35338] - [net] FTPClient.listFiles() hangs on Red Hat Linux
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=35338. 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=35338 --- Additional Comments From [EMAIL PROTECTED] 2005-06-22 10:57 --- Oh, I forgot, you need to check (iptables) your local machine as the ICMP is sent by you. So this is not a problem with the server but a firewall running on the client. Is it a linux box? -- 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]
[Pool] force client to return the borrowed object to the pool
Hello, could there be an architectual solution to force the clients, that borrows objects from the pool, to return this back? An approach coud be, to have an Interface PoolableObject which have to be implemented by the Objects that want to be pooled. In this Interface there could be an methode returnObject. I`am not sure if this is really possible, it is only an idea. Edin -- -- Geschenkt: 3 Monate GMX ProMail gratis + 3 Ausgaben stern gratis ++ Jetzt anmelden testen ++ http://www.gmx.net/de/go/promail ++ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 35445] - [daemon] prunsrv does not respect WaitToKillServiceTimeout
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=35445. 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=35445 [EMAIL PROTECTED] changed: What|Removed |Added Attachment #15500|0 |1 is obsolete|| --- Additional Comments From [EMAIL PROTECTED] 2005-06-22 11:48 --- Created an attachment (id=15510) -- (http://issues.apache.org/bugzilla/attachment.cgi?id=15510action=view) ensure we finish just before the OS kills us -- 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]
[EMAIL PROTECTED]: Project commons-configuration-10 (in module jakarta-commons-configuration-10) 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-configuration-10 has an issue affecting its community integration. This issue affects 3 projects, and has been outstanding for 11 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - commons-configuration-10 : Jakarta Commons Configuration 1.0 release - fulcrum-configuration-impl : Services Framework - fulcrum-parser : Services Framework Full details are available at: http://vmgump.apache.org/gump/public/jakarta-commons-configuration-10/commons-configuration-10/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -WARNING- Overriding Maven properties: [/usr/local/gump/public/workspace/jakarta-commons-configuration-10/build.properties] -DEBUG- (Gump generated) Maven Properties in: /usr/local/gump/public/workspace/jakarta-commons-configuration-10/build.properties -INFO- Failed with reason build failed -INFO- Failed to extract fallback artifacts from Gump Repository The following work was performed: http://vmgump.apache.org/gump/public/jakarta-commons-configuration-10/commons-configuration-10/gump_work/build_jakarta-commons-configuration-10_commons-configuration-10.html Work Name: build_jakarta-commons-configuration-10_commons-configuration-10 (Type: Build) Work ended in a state of : Failed Elapsed: 4 secs Command Line: maven --offline jar [Working Directory: /usr/local/gump/public/workspace/jakarta-commons-configuration-10] CLASSPATH: /opt/jdk1.4/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons-configuration-10/target/classes:/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/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-22062005.jar:/usr/local/gump/public/workspace/jakarta-commons/digester/dist/commons-digester.jar:/usr/local/gump/public/workspace/jakarta-commons/lang/dist/commons-lang-22062005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-22062005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-api-22062005.jar:/usr/local/gump/packages/dom4j-1.4/dom4j-full.jar - __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0.2 build:start: java:prepare-filesystem: java:compile: [echo] Compiling to /x1/gump/public/workspace/jakarta-commons-configuration-10/target/classes [echo] No java source files to compile. resources or todir was null java:jar-resources: test:prepare-filesystem: test:test-resources: test:compile: [echo] No test source files to compile. test:test: [echo] No tests to run. BUILD FAILED File.. /home/gump/.maven/cache/maven-jar-plugin-1.6.1/plugin.jelly Element... ant:fail Line.. 53 Column 19 You must define currentVersion in your POM. Total time: 4 seconds Finished at: Wed Jun 22 03:09:38 PDT 2005 - To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/jakarta-commons-configuration-10/commons-configuration-10/rss.xml - Atom: http://vmgump.apache.org/gump/public/jakarta-commons-configuration-10/commons-configuration-10/atom.xml == Gump Tracking Only === Produced by Gump version 2.2. Gump Run 2722062005, vmgump.apache.org:vmgump-public:2722062005 Gump E-mail Identifier (unique within run) #30. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED]: Project commons-configuration-10 (in module jakarta-commons-configuration-10) 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-configuration-10 has an issue affecting its community integration. This issue affects 3 projects, and has been outstanding for 11 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - commons-configuration-10 : Jakarta Commons Configuration 1.0 release - fulcrum-configuration-impl : Services Framework - fulcrum-parser : Services Framework Full details are available at: http://vmgump.apache.org/gump/public/jakarta-commons-configuration-10/commons-configuration-10/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -WARNING- Overriding Maven properties: [/usr/local/gump/public/workspace/jakarta-commons-configuration-10/build.properties] -DEBUG- (Gump generated) Maven Properties in: /usr/local/gump/public/workspace/jakarta-commons-configuration-10/build.properties -INFO- Failed with reason build failed -INFO- Failed to extract fallback artifacts from Gump Repository The following work was performed: http://vmgump.apache.org/gump/public/jakarta-commons-configuration-10/commons-configuration-10/gump_work/build_jakarta-commons-configuration-10_commons-configuration-10.html Work Name: build_jakarta-commons-configuration-10_commons-configuration-10 (Type: Build) Work ended in a state of : Failed Elapsed: 4 secs Command Line: maven --offline jar [Working Directory: /usr/local/gump/public/workspace/jakarta-commons-configuration-10] CLASSPATH: /opt/jdk1.4/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons-configuration-10/target/classes:/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/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-22062005.jar:/usr/local/gump/public/workspace/jakarta-commons/digester/dist/commons-digester.jar:/usr/local/gump/public/workspace/jakarta-commons/lang/dist/commons-lang-22062005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-22062005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-api-22062005.jar:/usr/local/gump/packages/dom4j-1.4/dom4j-full.jar - __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0.2 build:start: java:prepare-filesystem: java:compile: [echo] Compiling to /x1/gump/public/workspace/jakarta-commons-configuration-10/target/classes [echo] No java source files to compile. resources or todir was null java:jar-resources: test:prepare-filesystem: test:test-resources: test:compile: [echo] No test source files to compile. test:test: [echo] No tests to run. BUILD FAILED File.. /home/gump/.maven/cache/maven-jar-plugin-1.6.1/plugin.jelly Element... ant:fail Line.. 53 Column 19 You must define currentVersion in your POM. Total time: 4 seconds Finished at: Wed Jun 22 03:09:38 PDT 2005 - To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/jakarta-commons-configuration-10/commons-configuration-10/rss.xml - Atom: http://vmgump.apache.org/gump/public/jakarta-commons-configuration-10/commons-configuration-10/atom.xml == Gump Tracking Only === Produced by Gump version 2.2. Gump Run 2722062005, vmgump.apache.org:vmgump-public:2722062005 Gump E-mail Identifier (unique within run) #30. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[logging] Split Log4JLogger into Log4J12Logger and Log4J13Logger
Hi, Currently the Log4JLogger code in svn has this horrible stuff all through it: if (is12) { ... } else { ... } This is to handle the fact that log4j versions 1.2 and 1.3 are expected to be binary incompatible in both directions, ie code compiled against 1.2 won't work against 1.3 and code compiled against 1.3 won't work against 1.2. The hack does allow code compiled against 1.3 to run against 1.3. However there are a number of disadvantages: * it requires compiling against 1.3 which isn't released yet and may be many months away. * it has a performance hit * it isn't very readable * it isn't future proof; when log4j 1.3 comes out, this code won't work as the Priority class will go away completely. I would therefore prefer to split this class into separate Log4J12Logger and Log4J13Logger. A static initializer block in each will check which version of log4j is available, and throw an exception to declare themself unavailable if the wrong log4j version is present. Both adapters can also be included in the list of discoverable logging classes. Of course removing a class will mean a 1.1 version number, but that's good for a number of reasons. The only other major concern I see is config files or system properties that explicitly request the old logadapter by name. But that should be easily fixable, and a config change seems a reasonable thing to do in a .x release to me. Alternatively we could provide a trivial Log4JLogger class that just extends Log4J12Logger; however I suspect this will cause more pain and confusion than simply reporting a failure, esp. when log4j 1.3 is released and starts to become widely used. I have a patch ready, but haven't committed it yet in order to give y'all a chance to comment... Regards, Simon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED]: 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, and has been outstanding for 11 runs. 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://vmgump.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-22062005.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://vmgump.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: 18 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/jakarta-commons/collections/build/commons-collections-22062005.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-22062005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-22062005.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-22062005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-22062005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-api-22062005.jar:/usr/local/gump/public/workspace/dom4j/build/dom4j.jar:/usr/local/gump/packages/jaxen-1.1-beta-6/jaxen-1.1-beta-6.jar - __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0.2 build:start: java:prepare-filesystem: [mkdir] Created dir: /x1/gump/public/workspace/commons-jelly/jelly-tags/xml/target/classes java:compile: [echo] Compiling to /x1/gump/public/workspace/commons-jelly/jelly-tags/xml/target/classes [javac] Compiling 16 source files to /x1/gump/public/workspace/commons-jelly/jelly-tags/xml/target/classes java:jar-resources: test:prepare-filesystem: [mkdir] Created dir: /x1/gump/public/workspace/commons-jelly/jelly-tags/xml/target/test-classes [mkdir] Created dir: /x1/gump/public/workspace/commons-jelly/jelly-tags/xml/target/test-reports test:test-resources: Copying 36 files to /x1/gump/public/workspace/commons-jelly/jelly-tags/xml/target/test-classes test:compile: [javac] Compiling 4 source files to /x1/gump/public/workspace/commons-jelly/jelly-tags/xml/target/test-classes test:test: [junit] Running org.apache.commons.jelly.tags.xml.TestImport [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 1.279 sec [junit] Running org.apache.commons.jelly.tags.xml.TestXMLTags [junit] Tests run: 12, Failures: 1, Errors: 9, Time elapsed: 2.468 sec [junit] [ERROR] TEST org.apache.commons.jelly.tags.xml.TestXMLTags FAILED [junit] Running org.apache.commons.jelly.tags.xml.TestJelly [junit] foosome text [junit] exists = true, readable = true, class=java.io.File [junit] [junit] Tests run: 15, Failures: 0, Errors: 13, Time elapsed: 0.675 sec [junit] [ERROR] TEST
[EMAIL PROTECTED]: 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, and has been outstanding for 11 runs. 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://vmgump.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-22062005.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://vmgump.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: 18 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/jakarta-commons/collections/build/commons-collections-22062005.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-22062005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-22062005.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-22062005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-22062005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-api-22062005.jar:/usr/local/gump/public/workspace/dom4j/build/dom4j.jar:/usr/local/gump/packages/jaxen-1.1-beta-6/jaxen-1.1-beta-6.jar - __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0.2 build:start: java:prepare-filesystem: [mkdir] Created dir: /x1/gump/public/workspace/commons-jelly/jelly-tags/xml/target/classes java:compile: [echo] Compiling to /x1/gump/public/workspace/commons-jelly/jelly-tags/xml/target/classes [javac] Compiling 16 source files to /x1/gump/public/workspace/commons-jelly/jelly-tags/xml/target/classes java:jar-resources: test:prepare-filesystem: [mkdir] Created dir: /x1/gump/public/workspace/commons-jelly/jelly-tags/xml/target/test-classes [mkdir] Created dir: /x1/gump/public/workspace/commons-jelly/jelly-tags/xml/target/test-reports test:test-resources: Copying 36 files to /x1/gump/public/workspace/commons-jelly/jelly-tags/xml/target/test-classes test:compile: [javac] Compiling 4 source files to /x1/gump/public/workspace/commons-jelly/jelly-tags/xml/target/test-classes test:test: [junit] Running org.apache.commons.jelly.tags.xml.TestImport [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 1.279 sec [junit] Running org.apache.commons.jelly.tags.xml.TestXMLTags [junit] Tests run: 12, Failures: 1, Errors: 9, Time elapsed: 2.468 sec [junit] [ERROR] TEST org.apache.commons.jelly.tags.xml.TestXMLTags FAILED [junit] Running org.apache.commons.jelly.tags.xml.TestJelly [junit] foosome text [junit] exists = true, readable = true, class=java.io.File [junit] [junit] Tests run: 15, Failures: 0, Errors: 13, Time elapsed: 0.675 sec [junit] [ERROR] TEST
DO NOT REPLY [Bug 35463] New: - delete in FileUtils sometimes fails on Windows
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=35463. 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=35463 Summary: delete in FileUtils sometimes fails on Windows Product: Commons Version: 1.0 Final Platform: PC OS/Version: Windows XP Status: NEW Severity: normal Priority: P2 Component: IO AssignedTo: commons-dev@jakarta.apache.org ReportedBy: [EMAIL PROTECTED] The delete function in the FileUtils class will sometimes not delete a file or directory on windows. This is a known bug in the VM. Ant solves this by calling the GC explecitly and then wait some time. See http://cvs.apache.org/viewcvs.cgi/ant/src/main/org/apache/tools/ant/taskdefs/Delete.java?view=markup on how they do it. -- 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 35338] - [net] FTPClient.listFiles() hangs on Red Hat Linux
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=35338. 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=35338 --- Additional Comments From [EMAIL PROTECTED] 2005-06-22 12:39 --- This ICMP business is very suggestive and no doubt related to the problem, but there a few things I'd like to understand: 1. Why doesn't he have a problem ftp-ing to the same site with his command-line ftp application? A tcpdump of that for comparison purposes would be very useful. 2. Is the problem solely a problem with listNames()? Perhaps a simple program using listFiles() would fail similarly. That would tell us something. 3. I believe that somewhere up the thread George said he'd disabled the firewall. I don't know how that fits into this scenario. Maybe he didn't completely disable it, or maybe there are more than one firewall on the system? -- 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 35338] - [net] FTPClient.listFiles() hangs on Red Hat Linux
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=35338. 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=35338 --- Additional Comments From [EMAIL PROTECTED] 2005-06-22 13:14 --- 1. Why doesn't he have a problem ftp-ing to the same site with his command-line ftp application? A tcpdump of that for comparison purposes would be very useful. For sure a tcpdump would really help. Maybe only ports above 1024 are blocked and this command-line utility uses one below? JFYI: SuSE knows a configuration in its firewall configuration for this FW_ALLOW_INCOMING_HIGHPORTS_TCP=yes|no|... And yes, I know modern firewalls with connection tracking are able to open those ports dynamically (ip_conntrack_ftp). Said that I found there was a problem with fedora in this area: http://www.opensubscriber.com/message/[EMAIL PROTECTED]/1466926.html Maybe its sufficient to load this module: /sbin/modprobe ip_conntrack_ftp 2. Is the problem solely a problem with listNames()? Perhaps a simple program using listFiles() would fail similarly. That would tell us something. I dont think so. I tried the code from comment #0 on my linux box and it worked against his server. This and the unwanted ICMP reply make me strongly think that it is NOT a commons-net fault. 3. I believe that somewhere up the thread George said he'd disabled the firewall. I don't know how that fits into this scenario. Maybe he didn't completely disable it, or maybe there are more than one firewall on the system? Yes, I think he should try the following again *) disable the firewall again *) use iptables -L (on the client system) - there should be no rule active. If there are entries if you see some rules try to delete them using iptables -D INPUT 6 replace INPUT and 6 by the corresponding chain and rule number. *) start tcpdump *) try commons-net ftp again If this works - try: *) restart your system (so the firewall might be up again) *) /sbin/modprobe ip_conntrack_ftp *) start tcpdump *) try commons-net ftp again Its hard to tell what to try through bugzilla, so sorry if this is too much information at once. -- 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: [VOTE] [email] promote RC4 to 1.0 status
[AARGH - I hate top-posting!!] It certainly seems like email is generally ready for release. I think one more RC and a new VOTE thread would be a good idea, as the vote thread from december last year really can't be continued now :-). Besides there are a few minor things that need fixing: === website * navigation bar contains CVS entry (see xdocs/navigation.xml) * welcome page: * site welcome page refers to CVS * build -- built * in the examples page, exmaples -- examples * I recommend disabling the following maven reports: * changelog * developer activity * file activity These reports are of questionable use. And all date-based selection is stuffed in the apache svn repository anyway, due to cvs imports, so the reports can contain incorrect data. === code * Why does method Email.setHeaders take a Hashtable parameter? If this is an attempt to get the Email class to support JVM1.1 it won't work because this class also uses interface List. I would definitely prefer to see this method take a Map. * Shouldn't MultiPartEmail.addPart return a MultiPartEmail object? * One of the MultiPartEmail.addPart methods is missing javadoc. === downloads * the project.properties file has no maven.compile.target entry so what JVMs are supported will depend on what JVM was used to build the release. What exactly is the minimum JVM supported? Whatever it is, I would recommend adding maven.compile.target (and maven.compile.source) to the project.properties file *and* building the release with that JVM too. * There is no RELEASE-NOTES.txt file. === other I also see that Eric Pugh created a tags/EMAIL_1_0 tag with message Release 1.0 based on voted 1.0 RC4 but I think this should be deleted. Regards, Simon On Wed, 2005-06-22 at 09:41 +1000, Dion Gillard wrote: From what I can tell, the distributions below needed to be signed differently and more votes are still needed. I'm +1 on the release, but believe we need to repackage for the release. Anyone else care to vote or have opinions about the distribution? On 3/12/05, Eric Pugh [EMAIL PROTECTED] 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 35442] - [configuration] MapConfiguration does not decode escaped Delimiters
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=35442. 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=35442 [EMAIL PROTECTED] changed: What|Removed |Added Severity|major |normal Status|NEW |NEEDINFO --- Additional Comments From [EMAIL PROTECTED] 2005-06-22 14:20 --- Hi Martin, could you try again with a nightly build? I wrote a test case with an escaped delimiter and it worked fine, the property wasn't split and the escaped delimiter turned into an unescaped one. -- 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: [VOTE] [email] promote RC4 to 1.0 status
On 6/22/05, Simon Kitching [EMAIL PROTECTED] wrote: [AARGH - I hate top-posting!!] It certainly seems like email is generally ready for release. I think one more RC and a new VOTE thread would be a good idea, as the vote thread from december last year really can't be continued now :-). Besides there are a few minor things that need fixing: === website * navigation bar contains CVS entry (see xdocs/navigation.xml) * welcome page: * site welcome page refers to CVS * build -- built * in the examples page, exmaples -- examples * I recommend disabling the following maven reports: * changelog * developer activity * file activity These reports are of questionable use. And all date-based selection is stuffed in the apache svn repository anyway, due to cvs imports, so the reports can contain incorrect data. === code * Why does method Email.setHeaders take a Hashtable parameter? If this is an attempt to get the Email class to support JVM1.1 it won't work because this class also uses interface List. I would definitely prefer to see this method take a Map. * Shouldn't MultiPartEmail.addPart return a MultiPartEmail object? * One of the MultiPartEmail.addPart methods is missing javadoc. === downloads * the project.properties file has no maven.compile.target entry so what JVMs are supported will depend on what JVM was used to build the release. What exactly is the minimum JVM supported? Whatever it is, I would recommend adding maven.compile.target (and maven.compile.source) to the project.properties file *and* building the release with that JVM too. All sound good. * There is no RELEASE-NOTES.txt file. What usually goes in that for 1.0? === other I also see that Eric Pugh created a tags/EMAIL_1_0 tag with message Release 1.0 based on voted 1.0 RC4 but I think this should be deleted. +1. -- http://www.multitask.com.au/people/dion/ You are going to let the fear of poverty govern your life and your reward will be that you will eat, but you will not live. - George Bernard Shaw - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r191825 - /jakarta/commons/proper/email/trunk/project.properties
Author: dion Date: Wed Jun 22 05:53:58 2005 New Revision: 191825 URL: http://svn.apache.org/viewcvs?rev=191825view=rev Log: Target and source for 1.3 Modified: jakarta/commons/proper/email/trunk/project.properties Modified: jakarta/commons/proper/email/trunk/project.properties URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/email/trunk/project.properties?rev=191825r1=191824r2=191825view=diff == --- jakarta/commons/proper/email/trunk/project.properties (original) +++ jakarta/commons/proper/email/trunk/project.properties Wed Jun 22 05:53:58 2005 @@ -41,6 +41,10 @@ maven.xdoc.version=${pom.currentVersion} maven.xdoc.developmentProcessUrl=http://jakarta.apache.org/commons/charter.html +# Compiler settings +maven.compile.source=1.3 +maven.compile.target=1.3 + # Use included jars #maven.jar.override=true #maven.jar.activation = ${basedir}/lib/activation-1.0.2.jar - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r191826 - /jakarta/commons/proper/email/trunk/xdocs/navigation.xml
Author: dion Date: Wed Jun 22 05:55:53 2005 New Revision: 191826 URL: http://svn.apache.org/viewcvs?rev=191826view=rev Log: Change CVS link to SVN Modified: jakarta/commons/proper/email/trunk/xdocs/navigation.xml Modified: jakarta/commons/proper/email/trunk/xdocs/navigation.xml URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/email/trunk/xdocs/navigation.xml?rev=191826r1=191825r2=191826view=diff == --- jakarta/commons/proper/email/trunk/xdocs/navigation.xml (original) +++ jakarta/commons/proper/email/trunk/xdocs/navigation.xml Wed Jun 22 05:55:53 2005 @@ -31,7 +31,7 @@ item name=Javadoc href=apidocs/index.html/ item name=Mailing lists href=/mail-lists.html/ item name=Team href=/team-list.html/ - item name=CVS href=http://cvs.apache.org/viewcvs/jakarta-commons/email// + item name=SVN href=http://svn.apache.org/viewcvs.cgi/jakarta/commons/proper/email/trunk// /menu common-menus; /body - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r191827 - /jakarta/commons/proper/email/trunk/xdocs/index.xml
Author: dion Date: Wed Jun 22 06:00:23 2005 New Revision: 191827 URL: http://svn.apache.org/viewcvs?rev=191827view=rev Log: Remove reference to CVS repository Modified: jakarta/commons/proper/email/trunk/xdocs/index.xml Modified: jakarta/commons/proper/email/trunk/xdocs/index.xml URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/email/trunk/xdocs/index.xml?rev=191827r1=191826r2=191827view=diff == --- jakarta/commons/proper/email/trunk/xdocs/index.xml (original) +++ jakarta/commons/proper/email/trunk/xdocs/index.xml Wed Jun 22 06:00:23 2005 @@ -70,8 +70,8 @@ section name=Documentation p ul - liThe a href=apidocs/index.htmlJavadoc/a of the latest CVS/li - liThe a href=cvs-usage.htmlCVS repository/a can be browsed./li + liThe a href=apidocs/index.htmlJavadoc/a of the latest code/li + liThe a href=cvs-usage.htmlSubversion repository/a can be browsed./li /ul /p /section - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r191828 - /jakarta/commons/proper/email/trunk/xdocs/index.xml
Author: dion Date: Wed Jun 22 06:02:13 2005 New Revision: 191828 URL: http://svn.apache.org/viewcvs?rev=191828view=rev Log: Fix typo Modified: jakarta/commons/proper/email/trunk/xdocs/index.xml Modified: jakarta/commons/proper/email/trunk/xdocs/index.xml URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/email/trunk/xdocs/index.xml?rev=191828r1=191827r2=191828view=diff == --- jakarta/commons/proper/email/trunk/xdocs/index.xml (original) +++ jakarta/commons/proper/email/trunk/xdocs/index.xml Wed Jun 22 06:02:13 2005 @@ -28,7 +28,7 @@ p Commons-Email aims to provide a API for sending email. -It is build on top of the Java Mail API, which it aims to simplify. +It is built on top of the Java Mail API, which it aims to simplify. All help is gratefully received. /p p - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r191829 - /jakarta/commons/proper/email/trunk/xdocs/examples.xml
Author: dion Date: Wed Jun 22 06:03:00 2005 New Revision: 191829 URL: http://svn.apache.org/viewcvs?rev=191829view=rev Log: Fix typo exmaple Modified: jakarta/commons/proper/email/trunk/xdocs/examples.xml Modified: jakarta/commons/proper/email/trunk/xdocs/examples.xml URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/email/trunk/xdocs/examples.xml?rev=191829r1=191828r2=191829view=diff == --- jakarta/commons/proper/email/trunk/xdocs/examples.xml (original) +++ jakarta/commons/proper/email/trunk/xdocs/examples.xml Wed Jun 22 06:03:00 2005 @@ -58,7 +58,7 @@ class to reference your attachments. /p p -In the following exmaple, we will create an attachment for a picture. +In the following example, we will create an attachment for a picture. We will then attach the picture to the email and send it. /p source @@ -127,7 +127,7 @@ if the reciepient does not support HTML email, and add inline images. /p p -In this exmaple, we will send an email message with formatted HTML +In this example, we will send an email message with formatted HTML content with an inline image. /p source - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r191830 - /jakarta/commons/proper/email/trunk/project.xml
Author: dion Date: Wed Jun 22 06:08:36 2005 New Revision: 191830 URL: http://svn.apache.org/viewcvs?rev=191830view=rev Log: Disable date based reports as ASF SVN repo generates bad results. Modified: jakarta/commons/proper/email/trunk/project.xml Modified: jakarta/commons/proper/email/trunk/project.xml URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/email/trunk/project.xml?rev=191830r1=191829r2=191830view=diff == --- jakarta/commons/proper/email/trunk/project.xml (original) +++ jakarta/commons/proper/email/trunk/project.xml Wed Jun 22 06:08:36 2005 @@ -3,7 +3,7 @@ nameCommons Email/name groupIdcommons-email/groupId artifactIdcommons-email/artifactId -currentVersion1.0-rc4/currentVersion +currentVersion1.0-rc5-SNAPSHOT/currentVersion organization nameThe Apache Software Foundation/name @@ -176,11 +176,11 @@ /resources /build reports -reportmaven-changelog-plugin/report +!--reportmaven-changelog-plugin/report-- reportmaven-changes-plugin/report reportmaven-checkstyle-plugin/report -reportmaven-developer-activity-plugin/report -reportmaven-file-activity-plugin/report +!--reportmaven-developer-activity-plugin/report-- +!--reportmaven-file-activity-plugin/report-- reportmaven-javadoc-plugin/report reportmaven-junit-report-plugin/report reportmaven-jxr-plugin/report - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r191831 - /jakarta/commons/proper/email/trunk/xdocs/index.xml
Author: dion Date: Wed Jun 22 06:15:31 2005 New Revision: 191831 URL: http://svn.apache.org/viewcvs?rev=191831view=rev Log: Note about test that use Dumbster failing on 1.3. Modified: jakarta/commons/proper/email/trunk/xdocs/index.xml Modified: jakarta/commons/proper/email/trunk/xdocs/index.xml URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/email/trunk/xdocs/index.xml?rev=191831r1=191830r2=191831view=diff == --- jakarta/commons/proper/email/trunk/xdocs/index.xml (original) +++ jakarta/commons/proper/email/trunk/xdocs/index.xml Wed Jun 22 06:15:31 2005 @@ -76,6 +76,15 @@ /p /section +section name=Development +pCommons-Email may be used on any JRE from 1.3 onwards./p +p + Please note that the tests may fail under JDK 1.3 due to the use of + a href=http://sourceforge.net/projects/dumbster;Dumbster/a which is compiled + with JDK 1.4. +/p +/section + /body - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [VOTE] [email] promote RC4 to 1.0 status
On 6/22/05, Simon Kitching [EMAIL PROTECTED] wrote: [AARGH - I hate top-posting!!] It certainly seems like email is generally ready for release. I think one more RC and a new VOTE thread would be a good idea, as the vote thread from december last year really can't be continued now :-). Besides there are a few minor things that need fixing: === website * navigation bar contains CVS entry (see xdocs/navigation.xml) Fixed. * welcome page: * site welcome page refers to CVS * build -- built Fixed. * in the examples page, exmaples -- examples Fixed. * I recommend disabling the following maven reports: * changelog * developer activity * file activity Agreed, and done. These reports are of questionable use. And all date-based selection is stuffed in the apache svn repository anyway, due to cvs imports, so the reports can contain incorrect data. === code * Why does method Email.setHeaders take a Hashtable parameter? If this is an attempt to get the Email class to support JVM1.1 it won't work because this class also uses interface List. I would definitely prefer to see this method take a Map. I believe there are some bugzilla entries to address this and the javadoc, I'll chase them up. * Shouldn't MultiPartEmail.addPart return a MultiPartEmail object? * One of the MultiPartEmail.addPart methods is missing javadoc. On looking at them again, I'd say yes. This shouldn't break any code based on the previous RCs. === downloads * the project.properties file has no maven.compile.target entry so what JVMs are supported will depend on what JVM was used to build the release. What exactly is the minimum JVM supported? Whatever it is, I would recommend adding maven.compile.target (and maven.compile.source) to the project.properties file *and* building the release with that JVM too. * There is no RELEASE-NOTES.txt file. === other I also see that Eric Pugh created a tags/EMAIL_1_0 tag with message Release 1.0 based on voted 1.0 RC4 but I think this should be deleted. Regards, Simon On Wed, 2005-06-22 at 09:41 +1000, Dion Gillard wrote: From what I can tell, the distributions below needed to be signed differently and more votes are still needed. I'm +1 on the release, but believe we need to repackage for the release. Anyone else care to vote or have opinions about the distribution? On 3/12/05, Eric Pugh [EMAIL PROTECTED] 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] -- http://www.multitask.com.au/people/dion/ You are going to let the fear of poverty govern your life and your reward will be that you will eat, but you will not live. - George Bernard Shaw - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 34919] - [email][PATCH] Refactor Hashtable usage to Map
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=34919. 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=34919 [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |ASSIGNED -- 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: r191838 - /jakarta/commons/proper/email/trunk/project.xml
Author: dion Date: Wed Jun 22 06:36:25 2005 New Revision: 191838 URL: http://svn.apache.org/viewcvs?rev=191838view=rev Log: Fix site address. Modified: jakarta/commons/proper/email/trunk/project.xml Modified: jakarta/commons/proper/email/trunk/project.xml URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/email/trunk/project.xml?rev=191838r1=191837r2=191838view=diff == --- jakarta/commons/proper/email/trunk/project.xml (original) +++ jakarta/commons/proper/email/trunk/project.xml Wed Jun 22 06:36:25 2005 @@ -26,7 +26,7 @@ descriptionCommons Email provides a simple wrapper over the Java Mail API/description shortDescriptionCommons Email/shortDescription issueTrackingUrlhttp://issues.apache.org/bugzilla//issueTrackingUrl -siteAddressjakarta.apache.org/siteAddress +siteAddresscvs.apache.org/siteAddress siteDirectory/www/jakarta.apache.org/commons/${pom.artifactId.substring(8)}//siteDirectory distributionDirectory/www/jakarta.apache.org/builds/jakarta-commons/${pom.artifactId.substring(8)}//distributionDirectory repository - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r191862 - in /jakarta/commons/proper/email/trunk/src: java/org/apache/commons/mail/Email.java test/org/apache/commons/mail/mocks/MockEmailConcrete.java
Author: dion Date: Wed Jun 22 06:49:59 2005 New Revision: 191862 URL: http://svn.apache.org/viewcvs?rev=191862view=rev Log: Apply patch for Bugzilla 34919: Refactor Hashtable usage to Map Modified: jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/Email.java jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/mocks/MockEmailConcrete.java Modified: jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/Email.java URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/Email.java?rev=191862r1=191861r2=191862view=diff == --- jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/Email.java (original) +++ jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/Email.java Wed Jun 22 06:49:59 2005 @@ -20,7 +20,9 @@ import java.util.Date; import java.util.Enumeration; import java.util.Hashtable; +import java.util.Iterator; import java.util.List; +import java.util.Map; import java.util.Properties; import javax.mail.Authenticator; @@ -178,7 +180,7 @@ * or 2( high ) 3( normal ) 4( low ) and 5( lowest ) * Disposition-Notification-To: [EMAIL PROTECTED] */ -protected Hashtable headers = new Hashtable(); +protected Map headers = new Hashtable(); /** * Used to determine whether to use pop3 before smtp, and if so the settings. @@ -626,16 +628,16 @@ * or 2( high ) 3( normal ) 4( low ) and 5( lowest ) * Disposition-Notification-To: [EMAIL PROTECTED] * - * @param ht A Hashtable. + * @param map A Map. */ -public void setHeaders(Hashtable ht) +public void setHeaders(Map map) { -Enumeration enumKeyBad = ht.keys(); +Iterator iterKeyBad = map.keySet().iterator(); -while (enumKeyBad.hasMoreElements()) +while (iterKeyBad.hasNext()) { -String strName = (String) enumKeyBad.nextElement(); -String strValue = (String) ht.get(strName); +String strName = (String) iterKeyBad.next(); +String strValue = (String) map.get(strName); if (!StringUtils.isNotEmpty(strName)) { @@ -648,11 +650,11 @@ } // all is ok, update headers -this.headers = ht; +this.headers = map; } /** - * Adds a header ( name, value ) to the headers Hashtable. + * Adds a header ( name, value ) to the headers Map. * * @param name A String with the name. * @param value A String with the value. @@ -791,14 +793,13 @@ this.message.setReplyTo( this.toInternetAddressArray(this.replyList)); } - + if (this.headers.size() 0) { -Enumeration enumHeaderKeys = this.headers.keys(); - -while (enumHeaderKeys.hasMoreElements()) +Iterator iterHeaderKeys = this.headers.keySet().iterator(); +while (iterHeaderKeys.hasNext()) { -String name = (String) enumHeaderKeys.nextElement(); +String name = (String) iterHeaderKeys.next(); String value = (String) headers.get(name); this.message.addHeader(name, value); } Modified: jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/mocks/MockEmailConcrete.java URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/mocks/MockEmailConcrete.java?rev=191862r1=191861r2=191862view=diff == --- jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/mocks/MockEmailConcrete.java (original) +++ jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/mocks/MockEmailConcrete.java Wed Jun 22 06:49:59 2005 @@ -15,8 +15,8 @@ */ package org.apache.commons.mail.mocks; -import java.util.Hashtable; import java.util.List; +import java.util.Map; import javax.mail.Authenticator; import javax.mail.Session; @@ -128,7 +128,7 @@ /** * @return headers */ -public Hashtable getHeaders() +public Map getHeaders() { return this.headers; } - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 34919] - [email][PATCH] Refactor Hashtable usage to Map
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=34919. 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=34919 [EMAIL PROTECTED] changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||FIXED --- Additional Comments From [EMAIL PROTECTED] 2005-06-22 15:50 --- Committed to SVN -- 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: r191880 - /jakarta/commons/proper/email/trunk/xdocs/changes.xml
Author: dion Date: Wed Jun 22 06:56:53 2005 New Revision: 191880 URL: http://svn.apache.org/viewcvs?rev=191880view=rev Log: Apply patch for Bugzilla 34919: Refactor Hashtable usage to Map Modified: jakarta/commons/proper/email/trunk/xdocs/changes.xml Modified: jakarta/commons/proper/email/trunk/xdocs/changes.xml URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/email/trunk/xdocs/changes.xml?rev=191880r1=191879r2=191880view=diff == --- jakarta/commons/proper/email/trunk/xdocs/changes.xml (original) +++ jakarta/commons/proper/email/trunk/xdocs/changes.xml Wed Jun 22 06:56:53 2005 @@ -7,6 +7,9 @@ body release version=1.0 date=IN CVS + action dev=dion type=fix issue=34919 due-to=Eric Spiegelberg +Refactor Hashtable usage to Map + /action action dev=epugh type=add due-to=Mark Lowe issue=32094 Email throws EmailException wrapping underlying JavaMail exception /action - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 34778] - [net] FTP CWD command seems not to trigger server responses properly
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=34778. 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=34778 [EMAIL PROTECTED] changed: What|Removed |Added Status|REOPENED|NEW --- Additional Comments From [EMAIL PROTECTED] 2005-06-22 16:02 --- I did manage to modify the source code to set default passive mode to true, and got the same error. Stack trace as follow: C:\report_public\autodownload\conf\build.xml:151: java.lang.NullPointerException at org.apache.tools.ant.Task.perform(Task.java:373) at org.apache.tools.ant.Target.execute(Target.java:341) at org.apache.tools.ant.Target.performTasks(Target.java:369) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216) at org.apache.tools.ant.Project.executeTarget(Project.java:1185) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExe cutor.java:40) at org.apache.tools.ant.Project.executeTargets(Project.java:1068) at org.apache.tools.ant.Main.runBuild(Main.java:668) at org.apache.tools.ant.Main.startAnt(Main.java:187) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67) Caused by: java.lang.NullPointerException at org.apache.tools.ant.taskdefs.optional.net.FTP$FTPDirectoryScanner.ch eckRemoteSensitivity(FTP.java:527) at org.apache.tools.ant.taskdefs.optional.net.FTP$FTPDirectoryScanner.li stFiles(FTP.java:507) at org.apache.tools.ant.taskdefs.optional.net.FTP$FTPDirectoryScanner.sc andir(FTP.java:329) at org.apache.tools.ant.taskdefs.optional.net.FTP$FTPDirectoryScanner.ch eckIncludePatterns(FTP.java:233) at org.apache.tools.ant.taskdefs.optional.net.FTP$FTPDirectoryScanner.sc an(FTP.java:197) at org.apache.tools.ant.taskdefs.optional.net.FTP.transferFiles(FTP.java :1287) at org.apache.tools.ant.taskdefs.optional.net.FTP.transferFiles(FTP.java :1382) at org.apache.tools.ant.taskdefs.optional.net.FTP.execute(FTP.java:2010) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) at org.apache.tools.ant.Task.perform(Task.java:364) ... 10 more --- Nested Exception --- java.lang.NullPointerException at org.apache.tools.ant.taskdefs.optional.net.FTP$FTPDirectoryScanner.ch eckRemoteSensitivity(FTP.java:527) at org.apache.tools.ant.taskdefs.optional.net.FTP$FTPDirectoryScanner.li stFiles(FTP.java:507) at org.apache.tools.ant.taskdefs.optional.net.FTP$FTPDirectoryScanner.sc andir(FTP.java:329) at org.apache.tools.ant.taskdefs.optional.net.FTP$FTPDirectoryScanner.ch eckIncludePatterns(FTP.java:233) at org.apache.tools.ant.taskdefs.optional.net.FTP$FTPDirectoryScanner.sc an(FTP.java:197) at org.apache.tools.ant.taskdefs.optional.net.FTP.transferFiles(FTP.java :1287) at org.apache.tools.ant.taskdefs.optional.net.FTP.transferFiles(FTP.java :1382) at org.apache.tools.ant.taskdefs.optional.net.FTP.execute(FTP.java:2010) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) at org.apache.tools.ant.Task.perform(Task.java:364) at org.apache.tools.ant.Target.execute(Target.java:341) at org.apache.tools.ant.Target.performTasks(Target.java:369) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216) at org.apache.tools.ant.Project.executeTarget(Project.java:1185) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExe cutor.java:40) at org.apache.tools.ant.Project.executeTargets(Project.java:1068) at org.apache.tools.ant.Main.runBuild(Main.java:668) at org.apache.tools.ant.Main.startAnt(Main.java:187) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67) Total time: 3 minutes 27 seconds -- 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: r191951 - in /jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail: ByteArrayDataSource.java Email.java EmailException.java HtmlEmail.java MultiPartEmail.java
Author: dion Date: Wed Jun 22 07:23:54 2005 New Revision: 191951 URL: http://svn.apache.org/viewcvs?rev=191951view=rev Log: Bug 34918: Checkstyle/Javadoc issues Modified: jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/ByteArrayDataSource.java jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/Email.java jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/EmailException.java jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/HtmlEmail.java jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/MultiPartEmail.java Modified: jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/ByteArrayDataSource.java URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/ByteArrayDataSource.java?rev=191951r1=191950r2=191951view=diff == --- jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/ByteArrayDataSource.java (original) +++ jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/ByteArrayDataSource.java Wed Jun 22 07:23:54 2005 @@ -40,15 +40,15 @@ */ public class ByteArrayDataSource implements DataSource { +/** define the buffer size */ +public static final int BUFFER_SIZE = 512; + /** Stream containg the Data */ -private ByteArrayOutputStream baos = null; +private ByteArrayOutputStream baos; /** Content-type. */ private String type = application/octet-stream; -/** define the buffer size */ -public static final int BUFFER_SIZE = 512; - /** * Create a datasource from a byte array. * @@ -91,6 +91,41 @@ } /** + * Create a datasource from a String. + * + * @param data A String. + * @param aType A String. + * @throws IOException IOException + */ +public ByteArrayDataSource(String data, String aType) throws IOException +{ +this.type = aType; + +try +{ +baos = new ByteArrayOutputStream(); + +// Assumption that the string contains only ASCII +// characters! Else just pass in a charset into this +// constructor and use it in getBytes(). +baos.write(data.getBytes(iso-8859-1)); +baos.flush(); +baos.close(); +} +catch (UnsupportedEncodingException uex) +{ +throw new IOException(The Character Encoding is not supported.); +} +finally +{ +if (baos != null) +{ +baos.close(); +} +} +} + +/** * Create a datasource from an input stream. * * @param aIs An InputStream. @@ -144,40 +179,7 @@ } } -/** - * Create a datasource from a String. - * - * @param data A String. - * @param aType A String. - * @throws IOException IOException - */ -public ByteArrayDataSource(String data, String aType) throws IOException -{ -this.type = aType; -try -{ -baos = new ByteArrayOutputStream(); - -// Assumption that the string contains only ASCII -// characters! Else just pass in a charset into this -// constructor and use it in getBytes(). -baos.write(data.getBytes(iso-8859-1)); -baos.flush(); -baos.close(); -} -catch (UnsupportedEncodingException uex) -{ -throw new IOException(The Character Encoding is not supported.); -} -finally -{ -if (baos != null) -{ -baos.close(); -} -} -} /** * Get the content type. @@ -186,7 +188,7 @@ */ public String getContentType() { -return (type == null ? application/octet-stream : type); +return type == null ? application/octet-stream : type; } /** @@ -225,4 +227,4 @@ baos = new ByteArrayOutputStream(); return baos; } -} \ No newline at end of file +} Modified: jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/Email.java URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/Email.java?rev=191951r1=191950r2=191951view=diff == --- jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/Email.java (original) +++ jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/Email.java Wed Jun 22 07:23:54 2005 @@ -1,7 +1,7 @@ /* * Copyright 2001-2005 The Apache Software Foundation * - * Licensed under the Apache License, Version 2.0 ( the License ); + * Licensed under the Apache License, Version 2.0 (the License); * you may not use this file except in compliance
DO NOT REPLY [Bug 34918] - [email][PATCH] Resolve checkstyle errors
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=34918. 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=34918 [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Additional Comments From [EMAIL PROTECTED] 2005-06-22 16:24 --- Applied the first patch. The second seems to change the style of the code. -- 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: r191957 - /jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/Email.java
Author: dion Date: Wed Jun 22 07:34:04 2005 New Revision: 191957 URL: http://svn.apache.org/viewcvs?rev=191957view=rev Log: Remove unused import Modified: jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/Email.java Modified: jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/Email.java URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/Email.java?rev=191957r1=191956r2=191957view=diff == --- jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/Email.java (original) +++ jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/Email.java Wed Jun 22 07:34:04 2005 @@ -18,7 +18,6 @@ import java.util.ArrayList; import java.util.Collection; import java.util.Date; -import java.util.Enumeration; import java.util.Hashtable; import java.util.Iterator; import java.util.List; - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r192676 - /jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/Email.java
Author: dion Date: Wed Jun 22 08:06:18 2005 New Revision: 192676 URL: http://svn.apache.org/viewcvs?rev=192676view=rev Log: Checkstyle report Modified: jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/Email.java Modified: jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/Email.java URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/Email.java?rev=192676r1=192675r2=192676view=diff == --- jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/Email.java (original) +++ jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/Email.java Wed Jun 22 08:06:18 2005 @@ -756,34 +756,34 @@ { throw new EmailException(Sender address required); } - + if (this.toList.size() + this.ccList.size() + this.bccList.size() == 0) { throw new EmailException( At least one receiver address required); } - + if (this.toList.size() 0) { this.message.setRecipients( Message.RecipientType.TO, this.toInternetAddressArray(this.toList)); } - + if (this.ccList.size() 0) { this.message.setRecipients( Message.RecipientType.CC, this.toInternetAddressArray(this.ccList)); } - + if (this.bccList.size() 0) { this.message.setRecipients( Message.RecipientType.BCC, this.toInternetAddressArray(this.bccList)); } - + if (this.replyList.size() 0) { this.message.setReplyTo( - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r192936 - /jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/MultiPartEmail.java
Author: dion Date: Wed Jun 22 08:07:39 2005 New Revision: 192936 URL: http://svn.apache.org/viewcvs?rev=192936view=rev Log: Checkstyle report Modified: jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/MultiPartEmail.java Modified: jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/MultiPartEmail.java URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/MultiPartEmail.java?rev=192936r1=192935r2=192936view=diff == --- jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/MultiPartEmail.java (original) +++ jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/MultiPartEmail.java Wed Jun 22 08:07:39 2005 @@ -479,4 +479,4 @@ { boolHasAttachments = b; } -} \ No newline at end of file +} - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 35463] - [io] delete in FileUtils sometimes fails on Windows
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=35463. 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=35463 [EMAIL PROTECTED] changed: What|Removed |Added Summary|delete in FileUtils |[io] delete in FileUtils |sometimes fails on Windows |sometimes fails on Windows -- 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 35458] - [beanutils] PropertyUtilsBean.copyProperties does not catch NoSuchMethodException
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=35458. 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=35458 [EMAIL PROTECTED] changed: What|Removed |Added Keywords||PatchAvailable Summary|[PATCH]PropertyUtilsBean.cop|[beanutils] |yProperties does not catch |PropertyUtilsBean.copyProper |NoSuchMethodException |ties does not catch ||NoSuchMethodException -- 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: r192940 - /jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/package.html
Author: dion Date: Wed Jun 22 08:14:44 2005 New Revision: 192940 URL: http://svn.apache.org/viewcvs?rev=192940view=rev Log: Add simple package.html Added: jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/package.html Added: jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/package.html URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/package.html?rev=192940view=auto == --- jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/package.html (added) +++ jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/package.html Wed Jun 22 08:14:44 2005 @@ -0,0 +1,9 @@ +html +body +p +Commons-Email aims to provide a API for sending email. +It is built on top of the Java Mail API, which it aims to simplify. +All help is gratefully received. +/p +/body +/html \ No newline at end of file - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 34324] - [email] Valid email does not pass the check
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=34324. 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=34324 [EMAIL PROTECTED] changed: What|Removed |Added Component|Email |Validator --- Additional Comments From [EMAIL PROTECTED] 2005-06-22 17:24 --- moved from commons email -- 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 34056] - [email] Improve MultiPartEmail to ease extending
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=34056. 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=34056 [EMAIL PROTECTED] changed: What|Removed |Added Severity|normal |blocker -- 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: r192941 - /jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/package.html
Author: dion Date: Wed Jun 22 08:29:01 2005 New Revision: 192941 URL: http://svn.apache.org/viewcvs?rev=192941view=rev Log: set properties Modified: jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/package.html (contents, props changed) Modified: jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/package.html URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/package.html?rev=192941r1=192940r2=192941view=diff == --- jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/package.html (original) +++ jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/package.html Wed Jun 22 08:29:01 2005 @@ -1,9 +1,9 @@ -html -body -p -Commons-Email aims to provide a API for sending email. -It is built on top of the Java Mail API, which it aims to simplify. -All help is gratefully received. -/p -/body +html +body +p +Commons-Email aims to provide a API for sending email. +It is built on top of the Java Mail API, which it aims to simplify. +All help is gratefully received. +/p +/body /html Propchange: jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/package.html -- svn:eol-style = native Propchange: jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/package.html -- svn:keywords = Date Author Id Revision - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 34056] - [email] Improve MultiPartEmail to ease extending
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=34056. 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=34056 [EMAIL PROTECTED] changed: What|Removed |Added Severity|blocker |enhancement -- 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: [io] release?
Hm... what about creating a new sandbox project for it then? We could move it there and then prepare the release of commons io? WDYT? cheers -- Torsten signature.asc Description: OpenPGP digital signature
Re: [VOTE] [email] promote RC4 to 1.0 status
On 6/22/05, Dion Gillard [EMAIL PROTECTED] wrote: On 6/22/05, Simon Kitching [EMAIL PROTECTED] wrote: [snip] === code * Why does method Email.setHeaders take a Hashtable parameter? If this is an attempt to get the Email class to support JVM1.1 it won't work because this class also uses interface List. I would definitely prefer to see this method take a Map. I believe there are some bugzilla entries to address this and the javadoc, I'll chase them up. Done. * Shouldn't MultiPartEmail.addPart return a MultiPartEmail object? * One of the MultiPartEmail.addPart methods is missing javadoc. On looking at them again, I'd say yes. This shouldn't break any code based on the previous RCs. Done. -- http://www.multitask.com.au/people/dion/ You are going to let the fear of poverty govern your life and your reward will be that you will eat, but you will not live. - George Bernard Shaw - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r192946 - /jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/ByteArrayDataSource.java
Author: dion Date: Wed Jun 22 09:10:46 2005 New Revision: 192946 URL: http://svn.apache.org/viewcvs?rev=192946view=rev Log: Remove exception that isn't thrown Modified: jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/ByteArrayDataSource.java Modified: jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/ByteArrayDataSource.java URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/ByteArrayDataSource.java?rev=192946r1=192945r2=192946view=diff == --- jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/ByteArrayDataSource.java (original) +++ jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/ByteArrayDataSource.java Wed Jun 22 09:10:46 2005 @@ -220,9 +220,8 @@ * Get the OutputStream to write to * * @return An OutputStream - * @throws IOException IOException */ -public OutputStream getOutputStream() throws IOException +public OutputStream getOutputStream() { baos = new ByteArrayOutputStream(); return baos; - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 35285] - [vfs] webdav not able to transfer large files
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=35285. 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=35285 --- Additional Comments From [EMAIL PROTECTED] 2005-06-22 18:11 --- QA did not see any problems with the workaround -- 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: r192947 - /jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/Email.java
Author: dion Date: Wed Jun 22 09:14:15 2005 New Revision: 192947 URL: http://svn.apache.org/viewcvs?rev=192947view=rev Log: Remove extraneous else Modified: jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/Email.java Modified: jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/Email.java URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/Email.java?rev=192947r1=192946r2=192947view=diff == --- jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/Email.java (original) +++ jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/Email.java Wed Jun 22 09:14:15 2005 @@ -842,10 +842,7 @@ { return new Date(); } -else -{ -return this.sentDate; -} +return this.sentDate; } /** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 35470] New: - adds byte range support to the webdav provider
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=35470. 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=35470 Summary: adds byte range support to the webdav provider Product: Commons Version: unspecified Platform: Other OS/Version: other Status: NEW Severity: normal Priority: P2 Component: VFS AssignedTo: commons-dev@jakarta.apache.org ReportedBy: [EMAIL PROTECTED] also fixes bug #35285 -- 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: r192948 - /jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/MultiPartEmail.java
Author: dion Date: Wed Jun 22 09:16:30 2005 New Revision: 192948 URL: http://svn.apache.org/viewcvs?rev=192948view=rev Log: Remove variable not being used Modified: jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/MultiPartEmail.java Modified: jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/MultiPartEmail.java URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/MultiPartEmail.java?rev=192948r1=192947r2=192948view=diff == --- jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/MultiPartEmail.java (original) +++ jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/MultiPartEmail.java Wed Jun 22 09:16:30 2005 @@ -219,16 +219,14 @@ // an IOException will be thrown during super.send(). MimeBodyPart body = this.getPrimaryBodyPart(); -Object content = null; try { -content = body.getContent(); +body.getContent(); } catch (IOException e) { // do nothing here. content will be set to an empty string // as a result. -content = null; } } - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 35470] - adds byte range support to the webdav provider
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=35470. 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=35470 --- Additional Comments From [EMAIL PROTECTED] 2005-06-22 18:17 --- Created an attachment (id=15514) -- (http://issues.apache.org/bugzilla/attachment.cgi?id=15514action=view) adds byte range support to the webdav provider -- 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: [VFS] Webdav change
Due to what Torsten found to make VFS IIS compatible I changed some checks. These checks are to determine if a file exists and is writeable. It still works with apache's dav and now also with IIS. Thanks for applying it, mate. But I reckon it's better to use the DELETE verb for the writeable check. protected boolean doIsWriteable() throws Exception { // Again to be IIS compatible // return hasAllowedMethods(POST); return hasAllowedMethods(DELETE); } We also have byte range support for webdav now. Would be good if you could look over the implementation and if it's ok apply it as well :) http://issues.apache.org/bugzilla/show_bug.cgi?id=35470 cheers -- Torsten signature.asc Description: OpenPGP digital signature
[email] dumbster and jdk1.3
Does dumbster need jdk1.4 to build? We are using dumbster to test commons-email ( http://jakarta.apache.org/commons/email/ ) and when testing under jdk1.3 dumbster dies, apparently in SmtpMessage.toString() which is using a JDK1.4 specific StringBuffer method: [junit] Testcase: testSendWAttachments(org.apache.commons.mail.SendWithAttachmentsTest): Caused an ERROR [junit] null [junit] java.lang.NoSuchMethodError [junit] at com.dumbster.smtp.SmtpMessage.toString(Unknown Source) [junit] at org.apache.commons.mail.BaseEmailTestCase.saveEmailToFile(BaseEmailTestCase.java:128) [junit] at org.apache.commons.mail.BaseEmailTestCase.validateSend(BaseEmailTestCase.java:210) [junit] at org.apache.commons.mail.BaseEmailTestCase.validateSend(BaseEmailTestCase.java:314) [junit] at org.apache.commons.mail.SendWithAttachmentsTest.testSendWAttachments(SendWithAttachmentsTest.j Would it be possible to get dumbster releases compiled against JDK1.3? -- http://www.multitask.com.au/people/dion/ You are going to let the fear of poverty govern your life and your reward will be that you will eat, but you will not live. - George Bernard Shaw - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r192951 - /jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/BaseEmailTestCase.java
Author: dion Date: Wed Jun 22 09:30:19 2005 New Revision: 192951 URL: http://svn.apache.org/viewcvs?rev=192951view=rev Log: Remove extraneous else Modified: jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/BaseEmailTestCase.java Modified: jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/BaseEmailTestCase.java URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/BaseEmailTestCase.java?rev=192951r1=192950r2=192951view=diff == --- jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/BaseEmailTestCase.java (original) +++ jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/BaseEmailTestCase.java Wed Jun 22 09:30:19 2005 @@ -147,11 +147,8 @@ { return emailMessage.toString(); } -else -{ -fail(Message note found); -return ; -} +fail(Message note found); +return ; } /** */ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r192952 - /jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/MultiPartEmailTest.java
Author: dion Date: Wed Jun 22 09:31:23 2005 New Revision: 192952 URL: http://svn.apache.org/viewcvs?rev=192952view=rev Log: Remove variable not being used Modified: jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/MultiPartEmailTest.java Modified: jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/MultiPartEmailTest.java URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/MultiPartEmailTest.java?rev=192952r1=192951r2=192952view=diff == --- jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/MultiPartEmailTest.java (original) +++ jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/MultiPartEmailTest.java Wed Jun 22 09:31:23 2005 @@ -104,7 +104,6 @@ // // Test Exceptions // -String badTest = null; for (int i = 0; i testCharsNotValid.length; i++) { try - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r192953 - /jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/mocks/MockEmailConcrete.java
Author: dion Date: Wed Jun 22 09:32:16 2005 New Revision: 192953 URL: http://svn.apache.org/viewcvs?rev=192953view=rev Log: Remove exception that isn't thrown Modified: jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/mocks/MockEmailConcrete.java Modified: jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/mocks/MockEmailConcrete.java URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/mocks/MockEmailConcrete.java?rev=192953r1=192952r2=192953view=diff == --- jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/mocks/MockEmailConcrete.java (original) +++ jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/mocks/MockEmailConcrete.java Wed Jun 22 09:32:16 2005 @@ -42,9 +42,8 @@ * Not Implemented, should be implemented in subclasses of Email * @param msg The email message * @return Email msg. - * @throws EmailException EmailException */ -public Email setMsg(String msg) throws EmailException +public Email setMsg(String msg) { // This abstract method should be tested in the concrete // implementation classes only. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r192954 - /jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/mocks/MockMultiPartEmailConcrete.java
Author: dion Date: Wed Jun 22 09:33:10 2005 New Revision: 192954 URL: http://svn.apache.org/viewcvs?rev=192954view=rev Log: Remove exception that isn't thrown Modified: jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/mocks/MockMultiPartEmailConcrete.java Modified: jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/mocks/MockMultiPartEmailConcrete.java URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/mocks/MockMultiPartEmailConcrete.java?rev=192954r1=192953r2=192954view=diff == --- jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/mocks/MockMultiPartEmailConcrete.java (original) +++ jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/mocks/MockMultiPartEmailConcrete.java Wed Jun 22 09:33:10 2005 @@ -54,9 +54,8 @@ } /** - * @throws MessagingException MessagingException */ -public void initTest() throws MessagingException +public void initTest() { this.init(); } - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 35470] - [vfs] adds byte range support to the webdav provider
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=35470. 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=35470 [EMAIL PROTECTED] changed: What|Removed |Added Summary|adds byte range support to |[vfs] adds byte range |the webdav provider |support to the webdav ||provider -- 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 35285] - [vfs] webdav not able to transfer large files
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=35285. 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=35285 --- Additional Comments From [EMAIL PROTECTED] 2005-06-22 19:26 --- Good to hear, but I have problems with this workaround. Mainly with the webdav library, do you use webdavlib 2.0? The VFS test cases do not pass. e.g. if it create and write to a file and afterwards query the size of the file webdavlib reports 0. I need to reattach the resource the get fresh new data, but doing this will break other tests. I'll try to find where the problem is. -- 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 35285] - [vfs] webdav not able to transfer large files
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=35285. 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=35285 --- Additional Comments From [EMAIL PROTECTED] 2005-06-22 19:33 --- oh - I see you use 2.2pre1 -- 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 35470] - [vfs] adds byte range support to the webdav provider
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=35470. 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=35470 --- Additional Comments From [EMAIL PROTECTED] 2005-06-22 20:05 --- This patch changes the version of webdavlib to 2.2pre1. But I cant find them on ibiblio, am I blind? Could you please tell me why it was needet to upgrade? -- 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 35474] New: - PatchAvailable [collections] Build Warnings when building under JDK 1.5
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=35474. 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=35474 Summary: PatchAvailable [collections] Build Warnings when building under JDK 1.5 Product: Commons Version: Nightly Builds Platform: Other OS/Version: other Status: NEW Severity: normal Priority: P2 Component: Collections AssignedTo: commons-dev@jakarta.apache.org ReportedBy: [EMAIL PROTECTED] When I build under JDK 1.5 on MacOSX, I get a bunch of warnings. Almost all of them are a result of some APIs moving over to using varargs. Here is an example of some of the warnings. The fixes in just about all cases was to cast a null to either (Method[]) or (Object[]). in one place a temporary array new String[] { ... } had to be changed to new Object[] { ... } [javac] Compiling 271 source files to /Users/willpugh/projects/beanutils2/collections2/collections/target/classes /Users/willpugh/projects/beanutils2/collections2/collections/src/java/org/apache/commons/collections/functors/PrototypeFactory.java:62: warning: non-varargs call of varargs method with inexact argument type for last parameter; cast to java.lang.Class for a varargs call cast to java.lang.Class[] for a non-varargs call and to suppress this warning Method method = prototype.getClass().getMethod(clone, null); ^ /Users/willpugh/projects/beanutils2/collections2/collections/src/java/org/apache/commons/collections/functors/PrototypeFactory.java:119: warning: non-varargs call of varargs method with inexact argument type for last parameter; cast to java.lang.Class for a varargs call cast to java.lang.Class[] for a non-varargs call and to suppress this warning iCloneMethod = iPrototype.getClass().getMethod(clone, null); . . . -- 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 35474] - PatchAvailable [collections] Build Warnings when building under JDK 1.5
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=35474. 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=35474 --- Additional Comments From [EMAIL PROTECTED] 2005-06-22 20:37 --- Created an attachment (id=15518) -- (http://issues.apache.org/bugzilla/attachment.cgi?id=15518action=view) Patch file with fixes -- 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: r192979 - in /jakarta/commons/proper/httpclient/trunk/src: java/org/apache/commons/httpclient/NTCredentials.java java/org/apache/commons/httpclient/UsernamePasswordCredentials.java test/org/apache/commons/httpclient/TestCredentials.java
Author: olegk Date: Wed Jun 22 12:38:51 2005 New Revision: 192979 URL: http://svn.apache.org/viewcvs?rev=192979view=rev Log: PR #35365 (No equals operation for Credentials implementations) Contributed by Eric Johnson eric at tibco.com Reviewed by Oleg Kalnichevski Michael Becke Modified: jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/NTCredentials.java jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/UsernamePasswordCredentials.java jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestCredentials.java Modified: jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/NTCredentials.java URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/NTCredentials.java?rev=192979r1=192978r2=192979view=diff == --- jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/NTCredentials.java (original) +++ jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/NTCredentials.java Wed Jun 22 12:38:51 2005 @@ -29,6 +29,8 @@ package org.apache.commons.httpclient; +import org.apache.commons.httpclient.util.LangUtils; + /** [EMAIL PROTECTED] Credentials} for use with the NTLM authentication scheme which requires additional * information. * @@ -152,4 +154,39 @@ return sbResult.toString(); } +/** + * Computes a hash code based on all the case-sensitive parts of the credentials object. + * + * @return The hash code for the credentials. + */ +public int hashCode() { +int hash = super.hashCode(); +hash = LangUtils.hashCode(hash, this.host); +hash = LangUtils.hashCode(hash, this.domain); +return hash; +} + +/** + * Performs a case-sensitive check to see if the components of the credentials + * are the same. + * + * @param o The object to match. + * + * @return codetrue/code if all of the credentials match. + */ +public boolean equals(Object o) { +if (this == o) +return true; + +if (super.equals(o) ) { +if (o instanceof NTCredentials) { +NTCredentials that = (NTCredentials) o; + +return LangUtils.equals(this.domain, that.domain) + LangUtils.equals(this.host, that.host); +} +} + +return false; +} } Modified: jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/UsernamePasswordCredentials.java URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/UsernamePasswordCredentials.java?rev=192979r1=192978r2=192979view=diff == --- jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/UsernamePasswordCredentials.java (original) +++ jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/UsernamePasswordCredentials.java Wed Jun 22 12:38:51 2005 @@ -29,6 +29,8 @@ package org.apache.commons.httpclient; +import org.apache.commons.httpclient.util.LangUtils; + /** * pUsername and password [EMAIL PROTECTED] Credentials}./p * @@ -169,6 +171,44 @@ result.append(:); result.append((this.password == null) ? null : this.password); return result.toString(); +} + +/** + * Does a hash of both user name and password. + * + * @return The hash code including user name and password. + */ +public int hashCode() { +int hash = LangUtils.HASH_SEED; +hash = LangUtils.hashCode(hash, this.userName); +hash = LangUtils.hashCode(hash, this.password); +return hash; +} + +/** + * These credentials are assumed equal if the username and password are the + * same. + * + * @param o The other object to compare with. + * + * @return codetrue/code if the object is equivalent. + */ +public boolean equals(Object o) { +if (o == this) { +return true; +} + +// note - to allow for sub-classing, this checks that class is the same +// rather than do instanceof. +if (o.getClass() == this.getClass() ) { +UsernamePasswordCredentials that = (UsernamePasswordCredentials) o; + +if (LangUtils.equals(this.userName, that.userName) + LangUtils.equals(this.password, that.password) ) { +return true; +} +} +return false; } } Modified: jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestCredentials.java URL:
svn commit: r192981 - /jakarta/commons/proper/betwixt/branches/RELEASE_0_7_BRANCH/project.xml
Author: rdonkin Date: Wed Jun 22 12:39:18 2005 New Revision: 192981 URL: http://svn.apache.org/viewcvs?rev=192981view=rev Log: Added version tag for proposed release. Modified: jakarta/commons/proper/betwixt/branches/RELEASE_0_7_BRANCH/project.xml Modified: jakarta/commons/proper/betwixt/branches/RELEASE_0_7_BRANCH/project.xml URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/betwixt/branches/RELEASE_0_7_BRANCH/project.xml?rev=192981r1=192980r2=192981view=diff == --- jakarta/commons/proper/betwixt/branches/RELEASE_0_7_BRANCH/project.xml (original) +++ jakarta/commons/proper/betwixt/branches/RELEASE_0_7_BRANCH/project.xml Wed Jun 22 12:39:18 2005 @@ -78,6 +78,11 @@ name0.6/name tagBETWIXT_0_6/tag /version +version + id0.7/id + name0.7/name + tagBETWIXT_0_7/tag +/version /versions developers - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r192982 - /jakarta/commons/proper/betwixt/branches/RELEASE_0_7_BRANCH/project.properties
Author: rdonkin Date: Wed Jun 22 12:39:41 2005 New Revision: 192982 URL: http://svn.apache.org/viewcvs?rev=192982view=rev Log: Removed unnecessary properties. Modified: jakarta/commons/proper/betwixt/branches/RELEASE_0_7_BRANCH/project.properties Modified: jakarta/commons/proper/betwixt/branches/RELEASE_0_7_BRANCH/project.properties URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/betwixt/branches/RELEASE_0_7_BRANCH/project.properties?rev=192982r1=192981r2=192982view=diff == --- jakarta/commons/proper/betwixt/branches/RELEASE_0_7_BRANCH/project.properties (original) +++ jakarta/commons/proper/betwixt/branches/RELEASE_0_7_BRANCH/project.properties Wed Jun 22 12:39:41 2005 @@ -45,5 +45,3 @@ betwixt.repository=scm:cvs:pserver:[EMAIL PROTECTED]:/home/cvspublic:jakarta-commons/betwixt/ -maven.jdiff.old.tag=REFACTORING-BRANCH_2004-01-13_PRE-BRANCH -maven.jdiff.new.tag=REFACTORING-BRANCH_2004-01-13 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r192983 - /jakarta/commons/proper/httpclient/trunk/release_notes.txt
Author: olegk Date: Wed Jun 22 12:41:46 2005 New Revision: 192983 URL: http://svn.apache.org/viewcvs?rev=192983view=rev Log: PR #35365 Modified: jakarta/commons/proper/httpclient/trunk/release_notes.txt Modified: jakarta/commons/proper/httpclient/trunk/release_notes.txt URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/httpclient/trunk/release_notes.txt?rev=192983r1=192982r2=192983view=diff == --- jakarta/commons/proper/httpclient/trunk/release_notes.txt (original) +++ jakarta/commons/proper/httpclient/trunk/release_notes.txt Wed Jun 22 12:41:46 2005 @@ -1,5 +1,8 @@ Changes since Release Candidate 2: + * 35365 - Added #hashCode and #equals methods for Credentials implementations + Contributed by Eric Johnson eric at tibco.com + * 35322 - Stale connection check now correctly works with IBM JSSE/JRE 1.4.x Contributed by Oleg Kalnichevski olegk at apache.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [VOTE] [email] promote RC4 to 1.0 status
On Thu, 2005-06-23 at 00:04 +1200, Simon Kitching wrote: [AARGH - I hate top-posting!!] It certainly seems like email is generally ready for release. I think one more RC and a new VOTE thread would be a good idea, as the vote thread from december last year really can't be continued now :-). +1 sounds like a good plan - robert - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r192985 - /jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestWebappHeaders.java
Author: olegk Date: Wed Jun 22 12:46:46 2005 New Revision: 192985 URL: http://svn.apache.org/viewcvs?rev=192985view=rev Log: Ported to the SimpleHttpServer based testing framework Modified: jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestWebappHeaders.java Modified: jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestWebappHeaders.java URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestWebappHeaders.java?rev=192985r1=192984r2=192985view=diff == --- jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestWebappHeaders.java (original) +++ jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestWebappHeaders.java Wed Jun 22 12:46:46 2005 @@ -1,5 +1,5 @@ /* - * $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//httpclient/src/test/org/apache/commons/httpclient/TestWebappHeaders.java,v 1.13 2004/06/13 20:22:19 olegk Exp $ + * $HeadURL$ * $Revision$ * $Date$ * @@ -24,41 +24,30 @@ * information on the Apache Software Foundation, please see * http://www.apache.org/. * - * [Additional notices, if required by prior licensing conditions] - * */ package org.apache.commons.httpclient; +import java.io.IOException; import java.net.InetAddress; +import java.util.Iterator; import junit.framework.Test; import junit.framework.TestSuite; import org.apache.commons.httpclient.methods.GetMethod; +import org.apache.commons.httpclient.protocol.Protocol; +import org.apache.commons.httpclient.server.HttpService; +import org.apache.commons.httpclient.server.SimpleRequest; +import org.apache.commons.httpclient.server.SimpleResponse; /** - * This suite of tests depends upon the httpclienttest webapp, - * which is available in the httpclient/src/test-webapp - * directory in the CVS tree. - * p - * The webapp should be deployed in the context httpclienttest - * on a servlet engine running on port 8080 on the localhost - * (IP 127.0.0.1). - * p - * You can change the assumed port by setting the - * httpclient.test.localPort property. - * You can change the assumed host by setting the - * httpclient.test.localHost property. - * You can change the assumed context by setting the - * httpclient.test.webappContext property. - * * @author Rodney Waldhoff * @version $Id$ */ -public class TestWebappHeaders extends TestWebappBase { +public class TestWebappHeaders extends HttpClientTestBase { -public TestWebappHeaders(String testName) { +public TestWebappHeaders(String testName) throws Exception { super(testName); } @@ -74,133 +63,160 @@ // -- Tests +class HeaderDumpService implements HttpService { + +public HeaderDumpService() { +super(); +} + +public boolean process(final SimpleRequest request, final SimpleResponse response) +throws IOException +{ +HttpVersion httpversion = request.getRequestLine().getHttpVersion(); +response.setStatusLine(httpversion, HttpStatus.SC_OK); +response.addHeader(new Header(Content-Type, text/plain)); +response.addHeader(new Header(HeaderSetByServlet, Yes)); + +StringBuffer buffer = new StringBuffer(); +buffer.append(Request headers: \r\n); +for (Iterator i = request.getHeaderIterator(); i.hasNext(); ) { +Header header = (Header) i.next(); +buffer.append(name=\); +buffer.append(header.getName().toLowerCase()); +buffer.append(\;value=\); +buffer.append(header.getValue()); +buffer.append(\\r\n); +} +response.setBodyString(buffer.toString()); +return true; +} +} + /** * Test [EMAIL PROTECTED] HttpMethod#addRequestHeader}. */ public void testAddRequestHeader() throws Exception { -HttpClient client = createHttpClient(); -GetMethod method = new GetMethod(/ + getWebappContext() + /headers); +this.server.setHttpService(new HeaderDumpService()); + +GetMethod method = new GetMethod(/); method.setRequestHeader(new Header(addRequestHeader(Header),True)); method.setRequestHeader(addRequestHeader(String,String),Also True); - try { -client.executeMethod(method); -} catch (Throwable t) { -t.printStackTrace(); -fail(Unable to execute method : + t.toString()); -} -// Tomcat 4 at least converts the header name to lower case -
svn commit: r192986 - in /jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient: TestHeaderOps.java TestNoHost.java TestWebapp.java TestWebappHeaders.java
Author: olegk Date: Wed Jun 22 12:51:04 2005 New Revision: 192986 URL: http://svn.apache.org/viewcvs?rev=192986view=rev Log: Ported to the SimpleHttpServer based testing framework Added: jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestHeaderOps.java - copied, changed from r192985, jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestWebappHeaders.java Removed: jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestWebappHeaders.java Modified: jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestNoHost.java jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestWebapp.java Copied: jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestHeaderOps.java (from r192985, jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestWebappHeaders.java) URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestHeaderOps.java?p2=jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestHeaderOps.javap1=jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestWebappHeaders.javar1=192985r2=192986rev=192986view=diff == --- jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestWebappHeaders.java (original) +++ jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestHeaderOps.java Wed Jun 22 12:51:04 2005 @@ -45,19 +45,19 @@ * @author Rodney Waldhoff * @version $Id$ */ -public class TestWebappHeaders extends HttpClientTestBase { +public class TestHeaderOps extends HttpClientTestBase { -public TestWebappHeaders(String testName) throws Exception { +public TestHeaderOps(String testName) throws Exception { super(testName); } public static Test suite() { -TestSuite suite = new TestSuite(TestWebappHeaders.class); +TestSuite suite = new TestSuite(TestHeaderOps.class); return suite; } public static void main(String args[]) { -String[] testCaseName = { TestWebappHeaders.class.getName() }; +String[] testCaseName = { TestHeaderOps.class.getName() }; junit.textui.TestRunner.main(testCaseName); } Modified: jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestNoHost.java URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestNoHost.java?rev=192986r1=192985r2=192986view=diff == --- jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestNoHost.java (original) +++ jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestNoHost.java Wed Jun 22 12:51:04 2005 @@ -60,6 +60,7 @@ suite.addTest(TestRequestLine.suite()); suite.addTest(TestHeader.suite()); suite.addTest(TestHeaderElement.suite()); +suite.addTest(TestHeaderOps.suite()); suite.addTest(TestResponseHeaders.suite()); suite.addTest(TestRequestHeaders.suite()); suite.addTest(TestStreams.suite()); Modified: jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestWebapp.java URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestWebapp.java?rev=192986r1=192985r2=192986view=diff == --- jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestWebapp.java (original) +++ jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestWebapp.java Wed Jun 22 12:51:04 2005 @@ -63,7 +63,6 @@ TestSuite suite = new TestSuite(); suite.addTest(TestWebappMethods.suite()); suite.addTest(TestWebappParameters.suite()); -suite.addTest(TestWebappHeaders.suite()); return suite; } - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [logging] Split Log4JLogger into Log4J12Logger and Log4J13Logger
Simon Kitching wrote: Hi, Currently the Log4JLogger code in svn has this horrible stuff all through it: if (is12) { ... } else { ... } This is to handle the fact that log4j versions 1.2 and 1.3 are expected to be binary incompatible in both directions, ie code compiled against 1.2 won't work against 1.3 and code compiled against 1.3 won't work against 1.2. The hack does allow code compiled against 1.3 to run against 1.3. However there are a number of disadvantages: * it requires compiling against 1.3 which isn't released yet and may be many months away. * it has a performance hit * it isn't very readable * it isn't future proof; when log4j 1.3 comes out, this code won't work as the Priority class will go away completely. I would therefore prefer to split this class into separate Log4J12Logger and Log4J13Logger. A static initializer block in each will check which version of log4j is available, and throw an exception to declare themself unavailable if the wrong log4j version is present. Both adapters can also be included in the list of discoverable logging classes. I think it would be a wise move to split the class in two. A while back I spent a fair amount of time trying to understand the differences betwen log4j 1.2 and 1.3 and also to get commons-logging to work with both log4j versions. It was confusing to say the least, and splitting this class would at least make the commons-logging code more understandable. Of course removing a class will mean a 1.1 version number, but that's good for a number of reasons. The only other major concern I see is config files or system properties that explicitly request the old logadapter by name. But that should be easily fixable, and a config change seems a reasonable thing to do in a .x release to me. Alternatively we could provide a trivial Log4JLogger class that just extends Log4J12Logger; however I suspect this will cause more pain and confusion than simply reporting a failure, esp. when log4j 1.3 is released and starts to become widely used. I agree that, unless people have extended Log4JLogger, the only problems that could arise for users of commons-logging would be to change their config-files. If we hold on to the Log4JLogger class for a while and let it extend Log4J12Logger, as you suggest, we might get away with doing a 1.0.X release. I have a patch ready, but haven't committed it yet in order to give y'all a chance to comment... -- Dennis Lundberg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r192990 - in /jakarta/commons/proper/vfs/trunk/src: java/org/apache/commons/vfs/ java/org/apache/commons/vfs/impl/ java/org/apache/commons/vfs/provider/ java/org/apache/commons/vfs/provider/webdav/ test/org/apache/commons/vfs/provider/webda...
Author: imario Date: Wed Jun 22 12:59:43 2005 New Revision: 192990 URL: http://svn.apache.org/viewcvs?rev=192990view=rev Log: *) minor javadoc fixes *) make file numbering in DefaultFileReplicator thread safe *) PR35285: use temporary file instead of in memory byte array as buffer for file write operation in webdav provider Submitted By: Torsten Curdt tcurdt -at- apache.org Slightly modified to use VFS's own temporary file handling and reread the webdav resource state to keep in sync with reality after write Modified: jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/FileSystemManager.java jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/impl/DefaultFileReplicator.java jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/impl/DefaultFileSystemManager.java jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider/DefaultFileContent.java jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider/webdav/WebdavFileObject.java jakarta/commons/proper/vfs/trunk/src/test/org/apache/commons/vfs/provider/webdav/test/WebdavProviderTestCase.java Modified: jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/FileSystemManager.java URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/FileSystemManager.java?rev=192990r1=192989r2=192990view=diff == --- jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/FileSystemManager.java (original) +++ jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/FileSystemManager.java Wed Jun 22 12:59:43 2005 @@ -251,5 +251,10 @@ */ public FileSystemConfigBuilder getFileSystemConfigBuilder(final String scheme) throws FileSystemException; +/** + * Resolve the uri to a filename + * + * @throws FileSystemException if this is not possible + */ public FileName resolveURI(String uri) throws FileSystemException; } Modified: jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/impl/DefaultFileReplicator.java URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/impl/DefaultFileReplicator.java?rev=192990r1=192989r2=192990view=diff == --- jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/impl/DefaultFileReplicator.java (original) +++ jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/impl/DefaultFileReplicator.java Wed Jun 22 12:59:43 2005 @@ -117,7 +117,10 @@ { // Create a unique-ish file name final String basename = createFilename(baseName); -filecount++; +synchronized(this) +{ +filecount++; +} final File file = createFile(tempDir, basename); // Keep track to delete later Modified: jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/impl/DefaultFileSystemManager.java URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/impl/DefaultFileSystemManager.java?rev=192990r1=192989r2=192990view=diff == --- jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/impl/DefaultFileSystemManager.java (original) +++ jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/impl/DefaultFileSystemManager.java Wed Jun 22 12:59:43 2005 @@ -609,6 +609,11 @@ return ((AbstractFileName) base).createName(resolvedPath); } +/** + * resolve the uri to a filename + * + * @throws FileSystemException + */ public FileName resolveURI(String uri) throws FileSystemException { UriParser.checkUriEncoding(uri); Modified: jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider/DefaultFileContent.java URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider/DefaultFileContent.java?rev=192990r1=192989r2=192990view=diff == --- jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider/DefaultFileContent.java (original) +++ jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider/DefaultFileContent.java Wed Jun 22 12:59:43 2005 @@ -404,6 +404,7 @@ { this.getThreadData().setOutstr(null); // setState(STATE_CLOSED); + file.endOutput(); } @@ -457,7 +458,14 @@ */ protected void onClose() throws IOException { -endInput(this); +try +{ +super.onClose(); +} +finally +{ +endInput(this); +} } } @@
DO NOT REPLY [Bug 35285] - [vfs] webdav not able to transfer large files
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=35285. 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=35285 [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Additional Comments From [EMAIL PROTECTED] 2005-06-22 21:59 --- Added some other stuff, please recheck. -- 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: [VOTE] [email] promote RC4 to 1.0 status
+1 Can everybody just vote? Or is this only for committers? Regards, Matthijs robert burrell donkin wrote: On Thu, 2005-06-23 at 00:04 +1200, Simon Kitching wrote: [AARGH - I hate top-posting!!] It certainly seems like email is generally ready for release. I think one more RC and a new VOTE thread would be a good idea, as the vote thread from december last year really can't be continued now :-). +1 sounds like a good plan - robert - 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]
[ANNOUNCEMENT] Proposal For Jakarta Sub Project For Web Application Components
There has been considerable interest over the last few weeks and months concerning the possibility of a new Jakarta sub project similar to the Jakarta Commons but aimed at independent reusable web application components. There are a number of matters which need to be discussed and ideas developed. Anyone who is interested is invited to subscribe to the general list at Jakarta (http://jakarta.apache.org/site/mail.html). A start has been made at documenting some of these: http://wiki.apache.org/jakarta/CreatingCommonsForWebComponents. - robert - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [VOTE] [email] promote RC4 to 1.0 status
On Wed, 2005-06-22 at 23:32 +0200, Matthijs Wensveen wrote: +1 Can everybody just vote? Or is this only for committers? anyone can vote (indeed, everyone is encouraged to) but only some votes are binding (notably the votes of the committers). your vote is an expression of support (which will be noted) but will not be used to determine the official outcome. many people do something like: +1 (non binding) if you're interested in learning more, see http://www.apache.org and http://jakarta.apache.org. - robert - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r193002 - /jakarta/commons/proper/betwixt/tags/BETWIXT_0_7_RC1/
Author: rdonkin Date: Wed Jun 22 15:07:17 2005 New Revision: 193002 URL: http://svn.apache.org/viewcvs?rev=193002view=rev Log: First release candidate for release 0.7 (nee 0.6.1) Added: jakarta/commons/proper/betwixt/tags/BETWIXT_0_7_RC1/ - copied from r193001, jakarta/commons/proper/betwixt/branches/RELEASE_0_7_BRANCH/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 35474] - [collections] Build Warnings when building under JDK 1.5
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=35474. 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=35474 [EMAIL PROTECTED] changed: What|Removed |Added Keywords||PatchAvailable Summary|PatchAvailable [collections]|[collections] Build Warnings |Build Warnings when building|when building under JDK 1.5 |under JDK 1.5 | -- 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]
[VOTE] Proposal for new committer: Brian Stansberry
Hi All, Brian Stansberry has been providing some excellent assistance with the commons-logging package for a few months now. I would like to see him become a committer on that project. I initially posted this on [EMAIL PROTECTED] but have been asked to repost on this list instead. So far the following votes have been posted in reply to the email on pmc: +1 Dion Gillard +1 Phil Steitz +1 Robert Donkin +1 Yoav Shapira +1 Simon Kitching Please add your vote. Regards, Simon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 34778] - [net] FTP CWD command seems not to trigger server responses properly
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=34778. 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=34778 --- Additional Comments From [EMAIL PROTECTED] 2005-06-23 05:58 --- (In reply to comment #6) I did manage to modify the source code to set default passive mode to true, and got the same error. Stack trace as follow: C:\report_public\autodownload\conf\build.xml:151: java.lang.NullPointerException at org.apache.tools.ant.Task.perform(Task.java:373) at org.apache.tools.ant.Target.execute(Target.java:341) at org.apache.tools.ant.Target.performTasks(Target.java:369) I think you've entered this on the wrong bug. This bug has nothing to do with Ant. And you are not the original submitter of the bug. Looks like crossed wires to me. -- 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: r193079 - in /jakarta/commons/proper/logging/trunk: ./ src/java/org/apache/commons/logging/impl/ src/test/org/apache/commons/logging/log4j/
Author: skitching Date: Wed Jun 22 22:40:32 2005 New Revision: 193079 URL: http://svn.apache.org/viewcvs?rev=193079view=rev Log: Split Log4JLogger into Log4J12Logger and Log4J13Logger Added: jakarta/commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/Log4J12Logger.java (with props) jakarta/commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/Log4J13Logger.java (with props) Removed: jakarta/commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/Log4JLogger.java jakarta/commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/Log4jFactory.java Modified: jakarta/commons/proper/logging/trunk/build.properties.sample jakarta/commons/proper/logging/trunk/build.xml jakarta/commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/LogFactoryImpl.java jakarta/commons/proper/logging/trunk/src/test/org/apache/commons/logging/log4j/CustomConfigTestCase.java jakarta/commons/proper/logging/trunk/src/test/org/apache/commons/logging/log4j/DefaultConfigTestCase.java Modified: jakarta/commons/proper/logging/trunk/build.properties.sample URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/logging/trunk/build.properties.sample?rev=193079r1=193078r2=193079view=diff == --- jakarta/commons/proper/logging/trunk/build.properties.sample (original) +++ jakarta/commons/proper/logging/trunk/build.properties.sample Wed Jun 22 22:40:32 2005 @@ -12,11 +12,11 @@ # See the License for the specific language governing permissions and # limitations under the License. -# log4j.jar - log4j classes (see http://jakarta.apache.org/log4j) -log4j.jar=/java/log4j/log4j.jar +# Apache Log4j 1.2.x series +log4j12.jar=/java/log4j/log4j-1.2.9.jar -# Used for testing against older 1.2.x Log4J versions -log4j12.jar=/java/log4j/log4j-1.2.7.jar +# Apache Log4j 1.3.x series +log4j13.jar=/java/log4j/log4j-1.3.0.jar # logkit.jar - Avalon LogKit classes (see http://jakarta.apache.org/avalon) logkit.jar=/java/logkit/logkit.jar Modified: jakarta/commons/proper/logging/trunk/build.xml URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/logging/trunk/build.xml?rev=193079r1=193078r2=193079view=diff == --- jakarta/commons/proper/logging/trunk/build.xml (original) +++ jakarta/commons/proper/logging/trunk/build.xml Wed Jun 22 22:40:32 2005 @@ -46,7 +46,8 @@ !-- The locations of necessary jar files -- property name=junit.jar value=${junit.home}/junit.jar/ - property name=log4j.jar value=${jakarta.home}/jakarta-log4j/dist/lib/log4j.jar/ + property name=log4j12.jar value=log4j-1.2.9.jar/ + property name=log4j13.jar value=log4j-1.3.0.jar/ property name=logkit.jar value=${jakarta.home}/jakarta-avalon-logkit/build/log/logkit/ property name=avalon-framework.jar value=../../Avalon-4.1.4/avalon-framework-4.1.4.jar/ property name=servletapi.jar value=servletapi-2.3.jar/ @@ -113,7 +114,6 @@ path id=compile.classpath pathelement location=${build.home}/classes/ pathelement location=${junit.jar}/ -pathelement location=${log4j.jar}/ pathelement location=${logkit.jar}/ pathelement location=${avalon-framework.jar}/ pathelement location=${servletapi.jar}/ @@ -128,7 +128,6 @@ pathelement location=${build.home}/classes/ pathelement location=${build.home}/tests/ pathelement location=${junit.jar}/ -pathelement location=${log4j.jar}/ pathelement location=${logkit.jar}/ pathelement location=${avalon-framework.jar}/ pathelement location=${conf.home}/ @@ -143,11 +142,11 @@ /path !-- Construct unit test classpath (Log4J tests) -- - path id=test.classpath.log4j + path id=test.classpath.log4j13 pathelement location=${build.home}/classes/ pathelement location=${build.home}/tests/ pathelement location=${junit.jar}/ -pathelement location=${log4j.jar}/ +pathelement location=${log4j13.jar}/ /path !-- Construct unit test classpath (Log4J tests) -- @@ -186,7 +185,8 @@ description=Prepare build directory echo -Log4j: ${log4j.jar} +Log4j12: ${log4j12.jar} +Log4j13: ${log4j13.jar} LogKit: ${logkit.jar} Avalon-Framework: ${avalon-framework.jar} /echo @@ -215,21 +215,30 @@ target name='discovery' depends='init' available property=jdk.1.4.present classname=java.util.logging.Logger/ -available classname=org.apache.log4j.Logger - classpathref=compile.classpath - property=log4j.present/ + available property=logkit.present classpathref=compile.classpath classname=org.apache.log.Logger/ + available property=avalon-framework.present classpathref=compile.classpath