svn commit: r234151 - /jakarta/commons/proper/transaction/trunk/project.xml

2005-08-21 Thread brett
Author: brett
Date: Sat Aug 20 23:02:16 2005
New Revision: 234151

URL: http://svn.apache.org/viewcvs?rev=234151view=rev
Log:
httpclient has been migrated, remove from externals

Modified:
jakarta/commons/proper/transaction/trunk/project.xml

Modified: jakarta/commons/proper/transaction/trunk/project.xml
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/transaction/trunk/project.xml?rev=234151r1=234150r2=234151view=diff
==
--- jakarta/commons/proper/transaction/trunk/project.xml (original)
+++ jakarta/commons/proper/transaction/trunk/project.xml Sat Aug 20 23:02:16 
2005
@@ -104,7 +104,6 @@
 /contributor
 contributor
   nameArmin Waibel/name
-  idarminw/id
   email[EMAIL PROTECTED]/email
   timezone+1/timezone
 /contributor



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: svn commit: r234151 - /jakarta/commons/proper/transaction/trunk/project.xml

2005-08-21 Thread Brett Porter
erm, sorry. I used the wrong svn-commit.tmp. Will fix the comment in SVN.

should have been:

remove invalid tag from contributor.

If Armin has actually committed, please move to developers/ section.

[EMAIL PROTECTED] wrote:

Author: brett
Date: Sat Aug 20 23:02:16 2005
New Revision: 234151

URL: http://svn.apache.org/viewcvs?rev=234151view=rev
Log:
httpclient has been migrated, remove from externals

Modified:
jakarta/commons/proper/transaction/trunk/project.xml

Modified: jakarta/commons/proper/transaction/trunk/project.xml
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/transaction/trunk/project.xml?rev=234151r1=234150r2=234151view=diff
==
--- jakarta/commons/proper/transaction/trunk/project.xml (original)
+++ jakarta/commons/proper/transaction/trunk/project.xml Sat Aug 20 23:02:16 
2005
@@ -104,7 +104,6 @@
 /contributor
 contributor
   nameArmin Waibel/name
-  idarminw/id
   email[EMAIL PROTECTED]/email
   timezone+1/timezone
 /contributor



-
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]



svn commit: r234152 - in /jakarta/commons/proper/vfs/trunk: RELEASE_NOTES.txt src/java/org/apache/commons/vfs/tasks/antlib.xml

2005-08-21 Thread imario
Author: imario
Date: Sat Aug 20 23:20:18 2005
New Revision: 234152

URL: http://svn.apache.org/viewcvs?rev=234152view=rev
Log:
enh: added antlib.xml
Thanks to Jacob Kjome for the patch

Added:

jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/tasks/antlib.xml
   (with props)
Modified:
jakarta/commons/proper/vfs/trunk/RELEASE_NOTES.txt

Modified: jakarta/commons/proper/vfs/trunk/RELEASE_NOTES.txt
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/vfs/trunk/RELEASE_NOTES.txt?rev=234152r1=234151r2=234152view=diff
==
--- jakarta/commons/proper/vfs/trunk/RELEASE_NOTES.txt (original)
+++ jakarta/commons/proper/vfs/trunk/RELEASE_NOTES.txt Sat Aug 20 23:20:18 2005
@@ -1,4 +1,13 @@
-2005-08-13
+2005-
+
+ant tasks:
+added antlib.xml - (Jacob Kjome)
+
+zip, jar, :
+allow filenames without trailing !
+
+
+2005-08-13  commons-vfs 1.0 RC3
 
 ant tasks:
 upgrade to ant 1.6.2 to support nested tasks

Added: 
jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/tasks/antlib.xml
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/tasks/antlib.xml?rev=234152view=auto
==
--- 
jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/tasks/antlib.xml
 (added)
+++ 
jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/tasks/antlib.xml
 Sat Aug 20 23:20:18 2005
@@ -0,0 +1,8 @@
+antlib
+taskdef name=copy classname=org.apache.commons.vfs.tasks.CopyTask 
onerror=report/
+taskdef name=delete classname=org.apache.commons.vfs.tasks.DeleteTask 
onerror=report/
+taskdef name=mkdir classname=org.apache.commons.vfs.tasks.MkdirTask 
onerror=report/
+taskdef name=move classname=org.apache.commons.vfs.tasks.MoveTask 
onerror=report/
+taskdef name=show-file 
classname=org.apache.commons.vfs.tasks.ShowFileTask onerror=report/
+taskdef name=sync classname=org.apache.commons.vfs.tasks.SyncTask 
onerror=report/
+/antlib
\ No newline at end of file

Propchange: 
jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/tasks/antlib.xml
--
svn:eol-style = native

Propchange: 
jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/tasks/antlib.xml
--
svn:keywords = Date Author Id Revision HeadURL

Propchange: 
jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/tasks/antlib.xml
--
svn:mime-type = text/xml



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r234153 - /jakarta/commons/proper/vfs/trunk/xdocs/anttasks.xml

2005-08-21 Thread imario
Author: imario
Date: Sat Aug 20 23:27:44 2005
New Revision: 234153

URL: http://svn.apache.org/viewcvs?rev=234153view=rev
Log:
enh: updated dokumentation

Modified:
jakarta/commons/proper/vfs/trunk/xdocs/anttasks.xml

Modified: jakarta/commons/proper/vfs/trunk/xdocs/anttasks.xml
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/vfs/trunk/xdocs/anttasks.xml?rev=234153r1=234152r2=234153view=diff
==
--- jakarta/commons/proper/vfs/trunk/xdocs/anttasks.xml (original)
+++ jakarta/commons/proper/vfs/trunk/xdocs/anttasks.xml Sat Aug 20 23:27:44 2005
@@ -15,33 +15,38 @@
 li
 a href=#V-Copy
 codelt;v-copygt;/code
-/a.
+/a
+.
 Copies a set of source folders and files to a destination
 folder.
 /li
 li
 a href=#V-Delete
 codelt;v-deletegt;/code
-/a.
+/a
+.
 Deletes a file or folder.
 /li
 li
 a href=#V-Mkdir
 codelt;v-mkdirgt;/code
-/a.
+/a
+.
 Creates a folder.
 /li
 li
 a href=#V-Move
 codelt;v-movegt;/code
-/a.
+/a
+.
 Moves a set of source folders and files to a destination
 folder.
 /li
 li
 a href=#V-Sync
 codelt;v-syncgt;/code
-/a.
+/a
+.
 Synchronises a destination folder with a set of source
 folder and files.
 /li
@@ -49,7 +54,8 @@
 p
 All file name attributes support relative and absolute local
 file names, and
-a href=filesystems.htmlabsolute URI/a.
+a href=filesystems.htmlabsolute URI/a
+.
 File names are interpreted relative to the Ant project's base
 directory.
 /p
@@ -58,7 +64,8 @@
 p
 To use the Ant tasks, copy commons-vfs.jar and its
 dependencies into the
-code$ANT_HOME/lib/code directory,
+code$ANT_HOME/lib/code
+directory,
 and use the following in your Ant scipt to define the 
tasks:
 /p
 
@@ -76,13 +83,30 @@
 classpath ... /classpath
 /taskdef
 ]]/source
+
+p
+You can also use antlib:
+br/
+bNotice: VFS tasks registered that way do not have te 
v- prefix./b
+If you migrate to antlib simply replace v- by e.g. 
vfs: or whatever
+namespace you use.
+/p
+
+source![CDATA[
+project ... xmlns:vfs=antlib:org.apache.commons.vfs.tasks
+target name=dosomething
+   vfs:copy .../
+/target
+/project
+]]/source
+
 /subsection
 /section
 
 section name=V-Copy
-pCopies a set of files to a destination folder.  Does not copy
-source files where the destination file exists and is newer than
-the source file.  The copy task takes the following attributes:/p
+pCopies a set of files to a destination folder. Does not copy
+source files where the destination file exists and is newer 
than
+the source file. The copy task takes the following 
attributes:/p
 
 table
 tr
@@ -92,13 +116,13 @@
 /tr
 tr
 tddestdir/td
-tdThe destination folder.  This folder is created if it
-does not exist./td
+tdThe destination folder. This folder is created if it
+does not exist./td
 td rowspan=2One only/td
 /tr
 tr
 tddestfile/td
-tdThe destination file.  Can only be used if there is a
+tdThe destination file. Can only be used if there is a
 single source file./td
 /tr
 tr
@@ -117,32 +141,35 @@
 tr
 tdoverwrite/td
 tdAlways copy files, ignoring the last-modified time of
-the destination file./td
+the destination 

DO NOT REPLY [Bug 34942] - [VFS] no vfs_cache cleanup after ant task completed

2005-08-21 Thread bugzilla
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=34942.
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=34942


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED




--- Additional Comments From [EMAIL PROTECTED]  2005-08-21 08:28 ---
Thanks for the patch



-- 
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] status?

2005-08-21 Thread robert burrell donkin
where are we now on the 1.0 roadmap?

what work's remaining before we can roll another candidate?

- robert


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r234171 - /jakarta/commons/trunks-sandbox/

2005-08-21 Thread rdonkin
Author: rdonkin
Date: Sun Aug 21 03:05:15 2005
New Revision: 234171

URL: http://svn.apache.org/viewcvs?rev=234171view=rev
Log:
Should have been htts

Modified:
jakarta/commons/trunks-sandbox/   (props changed)

Propchange: jakarta/commons/trunks-sandbox/
--
--- svn:externals (original)
+++ svn:externals Sun Aug 21 03:05:15 2005
@@ -30,7 +30,7 @@
 reflect
https://svn.apache.org/repos/asf/jakarta/commons/sandbox/reflect/trunk 
 rupert 
https://svn.apache.org/repos/asf/jakarta/commons/sandbox/rupert/trunk 
 scaffold   
https://svn.apache.org/repos/asf/jakarta/commons/sandbox/scaffold/trunk 
-scxml   
http://svn.apache.org/repos/asf/jakarta/commons/sandbox/scxml/trunk/
+scxml   
https://svn.apache.org/repos/asf/jakarta/commons/sandbox/scxml/trunk/
 services   
https://svn.apache.org/repos/asf/jakarta/commons/sandbox/services/trunk 
 servlet
https://svn.apache.org/repos/asf/jakarta/commons/sandbox/servlet/trunk   
 simplestore
https://svn.apache.org/repos/asf/jakarta/commons/sandbox/simplestore/trunk



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [SCXML][ALL] Adding scxml to svn:externals

2005-08-21 Thread robert burrell donkin
On Sat, 2005-08-20 at 22:23 -0400, Rahul Akolkar wrote:
 On 8/20/05, robert burrell donkin [EMAIL PROTECTED] wrote:
  On Wed, 2005-08-17 at 15:49 -0400, Rahul Akolkar wrote:
   Hi -
  
   It seems I can work with commons/sandbox but not
   commons/trunks-sandbox. Could somone please add scxml to the
   trunks-sandbox externals?
  
  ack'd
 
 Thanks a lot Robert. Can you (or someone else) please change the scxml
 svn:externals entry to https [1]?

oops

should be fixed now

- robert


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[EMAIL PROTECTED]: Project commons-betwixt (in module jakarta-commons) failed

2005-08-21 Thread James Strachan
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-betwixt has an issue affecting its community integration.
This issue affects 1 projects,
 and has been outstanding for 36 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- commons-betwixt :  Commons Betwixt Package


Full details are available at:

http://vmgump.apache.org/gump/public/jakarta-commons/commons-betwixt/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Sole output [commons-betwixt-21082005.jar] identifier set to project 
name
 -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/commons-betwixt/gump_work/build_jakarta-commons_commons-betwixt.html
Work Name: build_jakarta-commons_commons-betwixt (Type: Build)
Work ended in a state of : Failed
Elapsed: 1 min 59 secs
Command Line: java -Djava.awt.headless=true -Dant.build.clonevm=true 
-Xbootclasspath/p:/usr/local/gump/public/workspace/xml-xerces2/java/build/xercesImpl.jar:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar
 org.apache.tools.ant.Main -Dgump.merge=/x1/gump/public/gump/work/merge.xml 
-Dbuild.sysclasspath=only -Dfinal.name=commons-betwixt-21082005 
-Dresourcedir=/usr/local/gump/public/workspace/jakarta-commons/betwixt jar 
[Working Directory: /usr/local/gump/public/workspace/jakarta-commons/betwixt]
CLASSPATH: 
/opt/jdk1.4/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/betwixt/target/classes:/usr/local/gump/public/workspace/jakarta-commons/betwixt/target/test-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/digester/dist/commons-digester.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-21082005.jar:/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-21082005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-api-21082005.jar
-
[junit] Aug 21, 2005 3:04:16 AM 
org.apache.commons.betwixt.expression.Context popOptions
[junit] INFO: Cannot pop options off empty stack
[junit] Aug 21, 2005 3:04:16 AM org.apache.commons.digester.Digester peek
[junit] WARNING: Empty stack (returning null)
[junit] Aug 21, 2005 3:04:16 AM 
org.apache.commons.betwixt.expression.Context popOptions
[junit] INFO: Cannot pop options off empty stack
[junit] Aug 21, 2005 3:04:16 AM 
org.apache.commons.betwixt.expression.Context popOptions
[junit] INFO: Cannot pop options off empty stack
[junit] Aug 21, 2005 3:04:16 AM 
org.apache.commons.betwixt.expression.Context popOptions
[junit] INFO: Cannot pop options off empty stack
[junit] Aug 21, 2005 3:04:16 AM 
org.apache.commons.betwixt.expression.Context popOptions
[junit] INFO: Cannot pop options off empty stack
[junit] Aug 21, 2005 3:04:16 AM 
org.apache.commons.betwixt.expression.Context popOptions
[junit] INFO: Cannot pop options off empty stack
[junit] Aug 21, 2005 3:04:16 AM org.apache.commons.digester.Digester peek
[junit] WARNING: Empty stack (returning null)
[junit] Aug 21, 2005 3:04:16 AM 
org.apache.commons.betwixt.expression.Context popOptions
[junit] INFO: Cannot pop options off empty stack
[junit] Aug 21, 2005 3:04:16 AM 
org.apache.commons.betwixt.expression.Context popOptions
[junit] INFO: Cannot pop options off empty stack
[junit] Aug 21, 2005 3:04:16 AM 
org.apache.commons.betwixt.expression.Context popOptions
[junit] INFO: Cannot pop options off empty stack
[junit] -  ---

[junit] Testcase: testCapitalizeNameMapper took 0.542 sec
[junit] Testcase: testDecapitalizeNameMapper took 0.051 sec
[junit] Testcase: testDefaultElementMapper took 0.028 sec
[junit] Testcase: testHyphenatedNameMapper took 0.034 sec

[EMAIL PROTECTED]: Project commons-betwixt (in module jakarta-commons) failed

2005-08-21 Thread James Strachan
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-betwixt has an issue affecting its community integration.
This issue affects 1 projects,
 and has been outstanding for 36 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- commons-betwixt :  Commons Betwixt Package


Full details are available at:

http://vmgump.apache.org/gump/public/jakarta-commons/commons-betwixt/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Sole output [commons-betwixt-21082005.jar] identifier set to project 
name
 -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/commons-betwixt/gump_work/build_jakarta-commons_commons-betwixt.html
Work Name: build_jakarta-commons_commons-betwixt (Type: Build)
Work ended in a state of : Failed
Elapsed: 1 min 59 secs
Command Line: java -Djava.awt.headless=true -Dant.build.clonevm=true 
-Xbootclasspath/p:/usr/local/gump/public/workspace/xml-xerces2/java/build/xercesImpl.jar:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar
 org.apache.tools.ant.Main -Dgump.merge=/x1/gump/public/gump/work/merge.xml 
-Dbuild.sysclasspath=only -Dfinal.name=commons-betwixt-21082005 
-Dresourcedir=/usr/local/gump/public/workspace/jakarta-commons/betwixt jar 
[Working Directory: /usr/local/gump/public/workspace/jakarta-commons/betwixt]
CLASSPATH: 
/opt/jdk1.4/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/betwixt/target/classes:/usr/local/gump/public/workspace/jakarta-commons/betwixt/target/test-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/digester/dist/commons-digester.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-21082005.jar:/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-21082005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-api-21082005.jar
-
[junit] Aug 21, 2005 3:04:16 AM 
org.apache.commons.betwixt.expression.Context popOptions
[junit] INFO: Cannot pop options off empty stack
[junit] Aug 21, 2005 3:04:16 AM org.apache.commons.digester.Digester peek
[junit] WARNING: Empty stack (returning null)
[junit] Aug 21, 2005 3:04:16 AM 
org.apache.commons.betwixt.expression.Context popOptions
[junit] INFO: Cannot pop options off empty stack
[junit] Aug 21, 2005 3:04:16 AM 
org.apache.commons.betwixt.expression.Context popOptions
[junit] INFO: Cannot pop options off empty stack
[junit] Aug 21, 2005 3:04:16 AM 
org.apache.commons.betwixt.expression.Context popOptions
[junit] INFO: Cannot pop options off empty stack
[junit] Aug 21, 2005 3:04:16 AM 
org.apache.commons.betwixt.expression.Context popOptions
[junit] INFO: Cannot pop options off empty stack
[junit] Aug 21, 2005 3:04:16 AM 
org.apache.commons.betwixt.expression.Context popOptions
[junit] INFO: Cannot pop options off empty stack
[junit] Aug 21, 2005 3:04:16 AM org.apache.commons.digester.Digester peek
[junit] WARNING: Empty stack (returning null)
[junit] Aug 21, 2005 3:04:16 AM 
org.apache.commons.betwixt.expression.Context popOptions
[junit] INFO: Cannot pop options off empty stack
[junit] Aug 21, 2005 3:04:16 AM 
org.apache.commons.betwixt.expression.Context popOptions
[junit] INFO: Cannot pop options off empty stack
[junit] Aug 21, 2005 3:04:16 AM 
org.apache.commons.betwixt.expression.Context popOptions
[junit] INFO: Cannot pop options off empty stack
[junit] -  ---

[junit] Testcase: testCapitalizeNameMapper took 0.542 sec
[junit] Testcase: testDecapitalizeNameMapper took 0.051 sec
[junit] Testcase: testDefaultElementMapper took 0.028 sec
[junit] Testcase: testHyphenatedNameMapper took 0.034 sec

Re: [jci] Handling compilation errors

2005-08-21 Thread Joerg Heinicke
Don Brown donald.brown at gmail.com writes:

 As I integrate jci into Struts Ti, I'm faced with how to display the
 compilation errors to the user.  What general strategy does Cocoon or
 any other web framework use to do this?  The asynchronous nature of
 the compiler makes it difficult to display the errors to the user the
 next time the refresh their browser.  Do you just assume they will be
 tailing the logs?  Is there any way to manually control the file
 monitor check so, for example, a refresh of the browser would trigger
 the check and compilation so the errors could simply be displayed on
 the page returned to the browser?

Hello Don,

do you really want to show compiler errors to the user? If so, you can pass a
problem handler that consumes the problems up to a refresh of a page. For this
refresh the problem handler is asked for the problems and they are passed to the
view. After getting the problems from the handler it can be resetted or cleared.
(BTW, this use case shows a different lifecycle for the handler and is another
signal for removing lifecycle specific stuff from the handler interface.)

For the integration into web frameworks: Do you need the CompilingClassLoader?
Isn't the Compiler sufficient? At least for XSP in Cocoon the reload is handled
by Cocoon. I'm going to provide a JCI implementation for the LanguageCompiler
interface (used in XSP), but probably not in the next two weeks.

Joerg


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Sandbox Project Proposal: Commons-Proxy...

2005-08-21 Thread James Carman
So, if I would like to start a sandbox project for this, how would I go
about it?  I'm sure some of my fellow HiveMind committers would be
interested in this code.  HiveMind has taken quite a bit of flak for not
lending itself to configuration via code (the less XML is good mantra).

-Original Message-
From: James Carman [mailto:[EMAIL PROTECTED] 
Sent: Sunday, August 21, 2005 10:29 AM
To: 'Jakarta Commons Developers List'
Subject: RE: Sandbox Project Proposal: Commons-Proxy...

Well, the one thing that ProxyToys doesn't do is base itself on a
well-accepted API (AOP Alliance) for method interception.  Jakarta commons
proxy (or whatever we call it) will use the AOP Alliance API for
intercepted proxy generation.  The JCP (Jakarta Commons Proxy) library's
ProxyFactory interface would include methods that create intercepted
proxies which go through a MethodInterceptor to a destination target
object, which in turn may also be a proxy.  

So, I would still suggest/propose that we start a sandbox project for this.
This project could be the home for libraries of reusable MethodInterceptor
implementations (logging, authentication, authorization, usage statistics,
etc.).  Also, it would be a place to create all sorts of ObjectProviders for
providing either decorators for the object providers (singleton, pooled,
threaded, etc.) or actual core object providers (SessionBeanProvider,
BurlapProvider, HessianProvider, JaxRpcProvider, RmiProvider, JiniProvider,
etc.).  



-Original Message-
From: James Carman [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 12, 2005 7:59 AM
To: 'Jakarta Commons Developers List'
Subject: RE: Sandbox Project Proposal: Commons-Proxy...

No, I wasn't aware of it, but I'm going to download it to see how much
overlap there really is.  

-Original Message-
From: Jörg Schaible [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 12, 2005 2:38 AM
To: Jakarta Commons Developers List
Subject: RE: Sandbox Project Proposal: Commons-Proxy...

Hi James,

James Carman wrote on Tuesday, August 09, 2005 8:01 PM:

 Some of the code in my new syringe project deals
 specifically with creating proxy objects (currently I support
 CGLIB and reflection-based proxies).  It is generic enough to
 live on its own and useful enough that others might be
 interested in it.  Does this sound like something that does
 belong in the sandbox?

You are aware of, that something like this exists ?

http://proxytoys.codehaus.org

- Jörg

-
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]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 35316] - [configuration] ConfigurationFactory not working as expected with include path resolution

2005-08-21 Thread bugzilla
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=35316.
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=35316





--- Additional Comments From [EMAIL PROTECTED]  2005-08-21 18:22 ---
I thought again about this problem and came to the same results. So thanks for
the confirmation.

-- 
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 36233] - [math][patch] Solver Source Files

2005-08-21 Thread bugzilla
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=36233.
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=36233


[EMAIL PROTECTED] changed:

   What|Removed |Added

  Attachment #16125|0   |1
is obsolete||




--- Additional Comments From [EMAIL PROTECTED]  2005-08-21 18:37 ---
Created an attachment (id=16134)
 -- (http://issues.apache.org/bugzilla/attachment.cgi?id=16134action=view)
MullerSolver.java

update MullerSolver.java

minor change, add one line
oldx = Double.POSITIVE_INFINITY;


-- 
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 36233] - [math][patch] Solver Source Files

2005-08-21 Thread bugzilla
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=36233.
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=36233





--- Additional Comments From [EMAIL PROTECTED]  2005-08-21 18:38 ---
Add LaguerreSolver.java
Add LaguerreSolverTest.java


-- 
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 36233] - [math][patch] Solver Source Files

2005-08-21 Thread bugzilla
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=36233.
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=36233





--- Additional Comments From [EMAIL PROTECTED]  2005-08-21 18:38 ---
Created an attachment (id=16135)
 -- (http://issues.apache.org/bugzilla/attachment.cgi?id=16135action=view)
LaguerreSolver.java


-- 
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 36233] - [math][patch] Solver Source Files

2005-08-21 Thread bugzilla
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=36233.
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=36233





--- Additional Comments From [EMAIL PROTECTED]  2005-08-21 18:39 ---
Created an attachment (id=16136)
 -- (http://issues.apache.org/bugzilla/attachment.cgi?id=16136action=view)
LaguerreSolverTest.java


-- 
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: r234275 - in /jakarta/commons/proper/configuration/trunk: conf/ src/java/org/apache/commons/configuration/ src/test/org/apache/commons/configuration/ xdocs/

2005-08-21 Thread oheger
Author: oheger
Date: Sun Aug 21 10:13:01 2005
New Revision: 234275

URL: http://svn.apache.org/viewcvs?rev=234275view=rev
Log:
Fixed a bug in the handling of relative file names in ConfigurationFactory 
(issue 35316)

Modified:

jakarta/commons/proper/configuration/trunk/conf/testDigesterConfiguration.xml

jakarta/commons/proper/configuration/trunk/conf/testDigesterConfigurationNamespaceAware.xml

jakarta/commons/proper/configuration/trunk/conf/testDigesterConfigurationReverseOrder.xml

jakarta/commons/proper/configuration/trunk/conf/testDigesterConfigurationWJNDI.xml
jakarta/commons/proper/configuration/trunk/conf/testEqualDigester.xml
jakarta/commons/proper/configuration/trunk/conf/testSequenceDigester.xml

jakarta/commons/proper/configuration/trunk/src/java/org/apache/commons/configuration/ConfigurationFactory.java

jakarta/commons/proper/configuration/trunk/src/test/org/apache/commons/configuration/TestConfigurationFactory.java
jakarta/commons/proper/configuration/trunk/xdocs/changes.xml

Modified: 
jakarta/commons/proper/configuration/trunk/conf/testDigesterConfiguration.xml
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/configuration/trunk/conf/testDigesterConfiguration.xml?rev=234275r1=234274r2=234275view=diff
==
--- 
jakarta/commons/proper/configuration/trunk/conf/testDigesterConfiguration.xml 
(original)
+++ 
jakarta/commons/proper/configuration/trunk/conf/testDigesterConfiguration.xml 
Sun Aug 21 10:13:01 2005
@@ -1,7 +1,7 @@
 ?xml version=1.0 encoding=ISO-8859-1 ?
 
 configuration
-  properties fileName=conf/test.properties/
-  properties fileName=conf/test.properties.xml/
-  xml fileName=conf/test.xml/
+  properties fileName=test.properties/
+  properties fileName=test.properties.xml/
+  xml fileName=test.xml/
 /configuration

Modified: 
jakarta/commons/proper/configuration/trunk/conf/testDigesterConfigurationNamespaceAware.xml
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/configuration/trunk/conf/testDigesterConfigurationNamespaceAware.xml?rev=234275r1=234274r2=234275view=diff
==
--- 
jakarta/commons/proper/configuration/trunk/conf/testDigesterConfigurationNamespaceAware.xml
 (original)
+++ 
jakarta/commons/proper/configuration/trunk/conf/testDigesterConfigurationNamespaceAware.xml
 Sun Aug 21 10:13:01 2005
@@ -2,6 +2,6 @@
 
 configuration xmlns:foo=namespace-one
xmlns:bar=namespace-two
-  foo:properties fileName=conf/test.properties/
-  bar:xml fileName=conf/test.xml/
+  foo:properties fileName=test.properties/
+  bar:xml fileName=test.xml/
 /configuration

Modified: 
jakarta/commons/proper/configuration/trunk/conf/testDigesterConfigurationReverseOrder.xml
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/configuration/trunk/conf/testDigesterConfigurationReverseOrder.xml?rev=234275r1=234274r2=234275view=diff
==
--- 
jakarta/commons/proper/configuration/trunk/conf/testDigesterConfigurationReverseOrder.xml
 (original)
+++ 
jakarta/commons/proper/configuration/trunk/conf/testDigesterConfigurationReverseOrder.xml
 Sun Aug 21 10:13:01 2005
@@ -1,6 +1,6 @@
 ?xml version=1.0 encoding=ISO-8859-1 ?
 
 configuration
-  xml fileName=conf/test.xml/
-  properties fileName=conf/test.properties/
+  xml fileName=test.xml/
+  properties fileName=test.properties/
 /configuration

Modified: 
jakarta/commons/proper/configuration/trunk/conf/testDigesterConfigurationWJNDI.xml
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/configuration/trunk/conf/testDigesterConfigurationWJNDI.xml?rev=234275r1=234274r2=234275view=diff
==
--- 
jakarta/commons/proper/configuration/trunk/conf/testDigesterConfigurationWJNDI.xml
 (original)
+++ 
jakarta/commons/proper/configuration/trunk/conf/testDigesterConfigurationWJNDI.xml
 Sun Aug 21 10:13:01 2005
@@ -2,6 +2,6 @@
 
 configuration
   jndi prefix=java:comp/env/
-  properties fileName=conf/test.properties/
-  xml fileName=conf/test.xml/
+  properties fileName=test.properties/
+  xml fileName=test.xml/
 /configuration

Modified: jakarta/commons/proper/configuration/trunk/conf/testEqualDigester.xml
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/configuration/trunk/conf/testEqualDigester.xml?rev=234275r1=234274r2=234275view=diff
==
--- jakarta/commons/proper/configuration/trunk/conf/testEqualDigester.xml 
(original)
+++ jakarta/commons/proper/configuration/trunk/conf/testEqualDigester.xml Sun 
Aug 21 10:13:01 2005
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=ISO-8859-1 ?
 
 configuration
-  properties fileName=conf/testEqual.properties/
+  properties fileName=testEqual.properties/
 /configuration

Modified: 

DO NOT REPLY [Bug 35316] - [configuration] ConfigurationFactory not working as expected with include path resolution

2005-08-21 Thread bugzilla
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=35316.
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=35316


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED




--- Additional Comments From [EMAIL PROTECTED]  2005-08-21 19:15 ---
Fix applied and a new test case added. The test configuration files that rely on
the wrong behavior were updated, too.

-- 
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 35772] - [configuration] ConfigurationUtils.copy() does not work for XMLConfigurations with repeated keys

2005-08-21 Thread bugzilla
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=35772.
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=35772


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEEDINFO|RESOLVED
 Resolution||FIXED




--- Additional Comments From [EMAIL PROTECTED]  2005-08-21 19:16 ---
Got no feedback, so closing this now.

-- 
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: r234283 - /jakarta/commons/sandbox/proxy/trunk/commons-proxy.iws

2005-08-21 Thread jcarman
Author: jcarman
Date: Sun Aug 21 10:39:21 2005
New Revision: 234283

URL: http://svn.apache.org/viewcvs?rev=234283view=rev
Log:
Removed file/folder

Removed:
jakarta/commons/sandbox/proxy/trunk/commons-proxy.iws


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r234284 - /jakarta/commons/sandbox/proxy/trunk/

2005-08-21 Thread jcarman
Author: jcarman
Date: Sun Aug 21 10:43:13 2005
New Revision: 234284

URL: http://svn.apache.org/viewcvs?rev=234284view=rev
Log:
Ignoring *.iws (IDEA workspace) files 

Modified:
jakarta/commons/sandbox/proxy/trunk/   (props changed)

Propchange: jakarta/commons/sandbox/proxy/trunk/
--
--- svn:ignore (added)
+++ svn:ignore Sun Aug 21 10:43:13 2005
@@ -0,0 +1 @@
+*.iws



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r234286 - /jakarta/commons/sandbox/proxy/trunk/

2005-08-21 Thread jcarman
Author: jcarman
Date: Sun Aug 21 10:45:01 2005
New Revision: 234286

URL: http://svn.apache.org/viewcvs?rev=234286view=rev
Log:
Updating ignore list.

Modified:
jakarta/commons/sandbox/proxy/trunk/   (props changed)

Propchange: jakarta/commons/sandbox/proxy/trunk/
--
--- svn:ignore (original)
+++ svn:ignore Sun Aug 21 10:45:01 2005
@@ -1 +1,4 @@
 *.iws
+lib
+build
+dist



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r234287 - /jakarta/commons/sandbox/proxy/trunk/build.xml

2005-08-21 Thread jcarman
Author: jcarman
Date: Sun Aug 21 10:49:09 2005
New Revision: 234287

URL: http://svn.apache.org/viewcvs?rev=234287view=rev
Log:
Fixed classpath for test target.

Modified:
jakarta/commons/sandbox/proxy/trunk/build.xml

Modified: jakarta/commons/sandbox/proxy/trunk/build.xml
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/sandbox/proxy/trunk/build.xml?rev=234287r1=234286r2=234287view=diff
==
--- jakarta/commons/sandbox/proxy/trunk/build.xml (original)
+++ jakarta/commons/sandbox/proxy/trunk/build.xml Sun Aug 21 10:49:09 2005
@@ -82,11 +82,17 @@
 /javac

 /target

 

-target name=compile-test

+target name=compile-test depends=compile-java

 mkdir dir=${dir.build.test}/

 javac

 srcdir=${dir.src.test}

-destdir=${dir.build.test}/

+destdir=${dir.build.test}

+classpath

+pathelement location=${dir.build.java} /

+fileset refid=runtime-dependencies/

+fileset refid=build-dependencies/

+/classpath

+/javac

 /target

 

 target name=build depends=compile-java




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Sandbox Project Proposal: Commons-Proxy...

2005-08-21 Thread James Carman
Well, since nobody answered me, I went ahead and just tried importing the
code into the sandbox SVN repository and it worked (guess I had more karma
than I thought).  So, it's in there now.  

-Original Message-
From: James Carman [mailto:[EMAIL PROTECTED] 
Sent: Sunday, August 21, 2005 11:06 AM
To: 'Jakarta Commons Developers List'
Subject: RE: Sandbox Project Proposal: Commons-Proxy...

So, if I would like to start a sandbox project for this, how would I go
about it?  I'm sure some of my fellow HiveMind committers would be
interested in this code.  HiveMind has taken quite a bit of flak for not
lending itself to configuration via code (the less XML is good mantra).

-Original Message-
From: James Carman [mailto:[EMAIL PROTECTED] 
Sent: Sunday, August 21, 2005 10:29 AM
To: 'Jakarta Commons Developers List'
Subject: RE: Sandbox Project Proposal: Commons-Proxy...

Well, the one thing that ProxyToys doesn't do is base itself on a
well-accepted API (AOP Alliance) for method interception.  Jakarta commons
proxy (or whatever we call it) will use the AOP Alliance API for
intercepted proxy generation.  The JCP (Jakarta Commons Proxy) library's
ProxyFactory interface would include methods that create intercepted
proxies which go through a MethodInterceptor to a destination target
object, which in turn may also be a proxy.  

So, I would still suggest/propose that we start a sandbox project for this.
This project could be the home for libraries of reusable MethodInterceptor
implementations (logging, authentication, authorization, usage statistics,
etc.).  Also, it would be a place to create all sorts of ObjectProviders for
providing either decorators for the object providers (singleton, pooled,
threaded, etc.) or actual core object providers (SessionBeanProvider,
BurlapProvider, HessianProvider, JaxRpcProvider, RmiProvider, JiniProvider,
etc.).  



-Original Message-
From: James Carman [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 12, 2005 7:59 AM
To: 'Jakarta Commons Developers List'
Subject: RE: Sandbox Project Proposal: Commons-Proxy...

No, I wasn't aware of it, but I'm going to download it to see how much
overlap there really is.  

-Original Message-
From: Jörg Schaible [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 12, 2005 2:38 AM
To: Jakarta Commons Developers List
Subject: RE: Sandbox Project Proposal: Commons-Proxy...

Hi James,

James Carman wrote on Tuesday, August 09, 2005 8:01 PM:

 Some of the code in my new syringe project deals
 specifically with creating proxy objects (currently I support
 CGLIB and reflection-based proxies).  It is generic enough to
 live on its own and useful enough that others might be
 interested in it.  Does this sound like something that does
 belong in the sandbox?

You are aware of, that something like this exists ?

http://proxytoys.codehaus.org

- Jörg

-
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]




-
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]



[proxy] Javassist Help Wanted...

2005-08-21 Thread James Carman
The Commons Proxy (unless someone has come up with a better name) project
needs a little help from a Javassist guru.  I started work on the
JavassistProxyFactory class, but couldn't quite get the interceptor proxy
creation logic working (I'm not an expert with Javassist).  There's already
a test case in there to help test the class which currently has one test
failing.  If there are any Javassist gurus (there's got to be one among us)
out there who have a bit of time to lend a hand, it would be greatly
appreciated.  

 

 



Re: [jci] Handling compilation errors

2005-08-21 Thread Don Brown
My use case is a development mode for Struts Ti.  One of the key
features I'm going for in this mode is the ability to modify the
source code, the refresh your browser to see the changes.  For
example, if the user added an action method, but they made a typo that
would cause the compilation to fail, when they refreshed their
browser, they'd see a helpful error page detailing all the compilation
errors and code snippets where the error came from.

To do this, I'd imagine I need the ability to manually initiate a file
system check for new/modified/removed files on every web request. 
After all the changed files are finished compiling, I could pull out
the errors from my problem handler and generate a web page.

Don

On 8/21/05, Joerg Heinicke [EMAIL PROTECTED] wrote:
 Don Brown donald.brown at gmail.com writes:
 
  As I integrate jci into Struts Ti, I'm faced with how to display the
  compilation errors to the user.  What general strategy does Cocoon or
  any other web framework use to do this?  The asynchronous nature of
  the compiler makes it difficult to display the errors to the user the
  next time the refresh their browser.  Do you just assume they will be
  tailing the logs?  Is there any way to manually control the file
  monitor check so, for example, a refresh of the browser would trigger
  the check and compilation so the errors could simply be displayed on
  the page returned to the browser?
 
 Hello Don,
 
 do you really want to show compiler errors to the user? If so, you can pass a
 problem handler that consumes the problems up to a refresh of a page. For this
 refresh the problem handler is asked for the problems and they are passed to 
 the
 view. After getting the problems from the handler it can be resetted or 
 cleared.
 (BTW, this use case shows a different lifecycle for the handler and is another
 signal for removing lifecycle specific stuff from the handler interface.)
 
 For the integration into web frameworks: Do you need the CompilingClassLoader?
 Isn't the Compiler sufficient? At least for XSP in Cocoon the reload is 
 handled
 by Cocoon. I'm going to provide a JCI implementation for the LanguageCompiler
 interface (used in XSP), but probably not in the next two weeks.
 
 Joerg
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Sandbox Project Proposal: Commons-Proxy...

2005-08-21 Thread James Carman
This software was entirely written by me.  The code was developed originally
as part of my Syringe project (http://syringe.dev.java.net/).  Do we still
need to get a software grant filed?  

-Original Message-
From: Noel J. Bergman [mailto:[EMAIL PROTECTED] 
Sent: Sunday, August 21, 2005 2:54 PM
To: Jakarta Commons Developers List
Subject: RE: Sandbox Project Proposal: Commons-Proxy...

 Well, since nobody answered me, I went ahead and just tried
 importing the code into the sandbox SVN repository

What is this code and do we have the appropriate docs filed?

As I understand it, and we have been through this before with even a
Director's own code, if this is a new codebase that was developed outside of
the ASF infrastructure, we are supposed to get a software grant filed.

See
http://svn.apache.org/repos/asf/incubator/public/trunk/site-author/projects/
jlibtool.cwiki for an example.

--- Noel


-
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]



svn commit: r234309 - /jakarta/commons/sandbox/proxy/trunk/src/java/org/apache/commons/proxy/provider/BeanProvider.java

2005-08-21 Thread jcarman
Author: jcarman
Date: Sun Aug 21 11:39:48 2005
New Revision: 234309

URL: http://svn.apache.org/viewcvs?rev=234309view=rev
Log:
Renamed variable.

Modified:

jakarta/commons/sandbox/proxy/trunk/src/java/org/apache/commons/proxy/provider/BeanProvider.java

Modified: 
jakarta/commons/sandbox/proxy/trunk/src/java/org/apache/commons/proxy/provider/BeanProvider.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/sandbox/proxy/trunk/src/java/org/apache/commons/proxy/provider/BeanProvider.java?rev=234309r1=234308r2=234309view=diff
==
--- 
jakarta/commons/sandbox/proxy/trunk/src/java/org/apache/commons/proxy/provider/BeanProvider.java
 (original)
+++ 
jakarta/commons/sandbox/proxy/trunk/src/java/org/apache/commons/proxy/provider/BeanProvider.java
 Sun Aug 21 11:39:48 2005
@@ -28,9 +28,9 @@
 {

 private final Class? extends T beanClass;

 

-public BeanProvider( Class? extends T clazz )

+public BeanProvider( Class? extends T beanClass )

 {

-this.beanClass = clazz;

+this.beanClass = beanClass;

 }

 

 public T getObject()




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r234308 - /jakarta/commons/sandbox/proxy/trunk/src/java/org/apache/commons/proxy/provider/BeanProvider.java

2005-08-21 Thread jcarman
Author: jcarman
Date: Sun Aug 21 11:38:58 2005
New Revision: 234308

URL: http://svn.apache.org/viewcvs?rev=234308view=rev
Log:
Renamed variable.

Modified:

jakarta/commons/sandbox/proxy/trunk/src/java/org/apache/commons/proxy/provider/BeanProvider.java

Modified: 
jakarta/commons/sandbox/proxy/trunk/src/java/org/apache/commons/proxy/provider/BeanProvider.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/sandbox/proxy/trunk/src/java/org/apache/commons/proxy/provider/BeanProvider.java?rev=234308r1=234307r2=234308view=diff
==
--- 
jakarta/commons/sandbox/proxy/trunk/src/java/org/apache/commons/proxy/provider/BeanProvider.java
 (original)
+++ 
jakarta/commons/sandbox/proxy/trunk/src/java/org/apache/commons/proxy/provider/BeanProvider.java
 Sun Aug 21 11:38:58 2005
@@ -17,7 +17,6 @@
 

 import org.apache.commons.proxy.ObjectProvider;

 import org.apache.commons.proxy.exception.ObjectProviderException;

-import org.apache.commons.proxy.exception.ObjectProviderException;

 

 /**

  * Uses codeClass.newInstance()/code to instantiate an object.

@@ -27,26 +26,26 @@
  */

 public class BeanProviderT implements ObjectProvider

 {

-private final Class? extends T clazz;

+private final Class? extends T beanClass;

 

 public BeanProvider( Class? extends T clazz )

 {

-this.clazz = clazz;

+this.beanClass = clazz;

 }

 

 public T getObject()

 {

 try

 {

-return clazz.newInstance();

+return beanClass.newInstance();

 }

 catch( InstantiationException e )

 {

-throw new ObjectProviderException( Class  + clazz.getName() +  
is not concrete., e );

+throw new ObjectProviderException( Class  + beanClass.getName() 
+  is not concrete., e );

 }

 catch( IllegalAccessException e )

 {

-throw new ObjectProviderException( Constructor for class  + 
clazz.getName() +  is not accessible., e );

+throw new ObjectProviderException( Constructor for class  + 
beanClass.getName() +  is not accessible., e );

 }

 }

 }




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Sandbox Project Proposal: Commons-Proxy...

2005-08-21 Thread Noel J. Bergman
 Well, since nobody answered me, I went ahead and just tried
 importing the code into the sandbox SVN repository

What is this code and do we have the appropriate docs filed?

As I understand it, and we have been through this before with even a
Director's own code, if this is a new codebase that was developed outside of
the ASF infrastructure, we are supposed to get a software grant filed.

See
http://svn.apache.org/repos/asf/incubator/public/trunk/site-author/projects/
jlibtool.cwiki for an example.

--- Noel


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Commons Status document

2005-08-21 Thread Henri Yandell
How about making a wiki page which lists every Commons component
(proper and sandbox) with a status. Something like my
http://www.generationjava.com/article/apache/StateOfTheSandbox.shtml
but not 18 months out of date.

It'd include things like:

Working on 2.1
Releasing 1.0
Inactive
Stable with N reported bugs

Seem useful?

Unless I hear -1's, I'll charge on with it at some point anyway, but
mentioning here in case anyone wants to kick it off earlier.

Hen

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r234322 - /jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/LocaleUtils.java

2005-08-21 Thread ggregory
Author: ggregory
Date: Sun Aug 21 12:25:21 2005
New Revision: 234322

URL: http://svn.apache.org/viewcvs?rev=234322view=rev
Log:
Javadoc fix.

Modified:

jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/LocaleUtils.java

Modified: 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/LocaleUtils.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/LocaleUtils.java?rev=234322r1=234321r2=234322view=diff
==
--- 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/LocaleUtils.java
 (original)
+++ 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/LocaleUtils.java
 Sun Aug 21 12:25:21 2005
@@ -101,7 +101,6 @@
  * /pre
  *
  * @param locale  the locale to start from
- * @param defaultLocale  the default locale to use if no other is found
  * @return the list of Locale objects, 0 being locale
  */
 public static List localeLookupList(Locale locale) {



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [jci] Handling compilation errors

2005-08-21 Thread Joerg Heinicke
 My use case is a development mode for Struts Ti.  One of the key
 features I'm going for in this mode is the ability to modify the
 source code, the refresh your browser to see the changes.  For
 example, if the user added an action method, but they made a typo that
 would cause the compilation to fail, when they refreshed their
 browser, they'd see a helpful error page detailing all the compilation
 errors and code snippets where the error came from.
 
 To do this, I'd imagine I need the ability to manually initiate a file
 system check for new/modified/removed files on every web request. 
 After all the changed files are finished compiling, I could pull out
 the errors from my problem handler and generate a web page.

The CompilingClassLoader runs only in asynchron mode. You only have the chance
of a problem handler with a specific lifecycle as I wrote:

  do you really want to show compiler errors to the user? If so, you can pass
  a problem handler that consumes the problems up to a refresh of a page. For
  this refresh the problem handler is asked for the problems and they are
  passed to the view. After getting the problems from the handler it can be
  resetted or cleared.

If you need sychron mode you need to write something yourself wrapping just the
compilers, e.g. a SynchronCompilingClassLoader. Former versions of CCL were
synchron, maybe you can take just an older revision.

Joerg


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



lang] Maven 1.1 beta?

2005-08-21 Thread Gary Gregory
Hello:

Has anyone tried building [lang] with the Maven 1.1 beta 1?

Gary


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r234325 - /jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/LocaleUtils.java

2005-08-21 Thread ggregory
Author: ggregory
Date: Sun Aug 21 12:32:28 2005
New Revision: 234325

URL: http://svn.apache.org/viewcvs?rev=234325view=rev
Log:
Javadoc.

Modified:

jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/LocaleUtils.java

Modified: 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/LocaleUtils.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/LocaleUtils.java?rev=234325r1=234324r2=234325view=diff
==
--- 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/LocaleUtils.java
 (original)
+++ 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/LocaleUtils.java
 Sun Aug 21 12:32:28 2005
@@ -22,7 +22,7 @@
 import java.util.Set;
 
 /**
- * pOperations to assist when working with a Locale./p
+ * pOperations to assist when working with a [EMAIL PROTECTED] Locale}./p
  *
  * pThis class tries to handle codenull/code input gracefully.
  * An exception will not be thrown for a codenull/code input.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r234327 - /jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/StrTokenizer.java

2005-08-21 Thread ggregory
Author: ggregory
Date: Sun Aug 21 12:38:56 2005
New Revision: 234327

URL: http://svn.apache.org/viewcvs?rev=234327view=rev
Log:
Unnecessary cast from char[] to char[].

Modified:

jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/StrTokenizer.java

Modified: 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/StrTokenizer.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/StrTokenizer.java?rev=234327r1=234326r2=234327view=diff
==
--- 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/StrTokenizer.java
 (original)
+++ 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/StrTokenizer.java
 Sun Aug 21 12:38:56 2005
@@ -1056,7 +1056,7 @@
 try {
 StrTokenizer cloned = (StrTokenizer) super.clone();
 if (cloned.chars != null) {
-cloned.chars = (char[]) cloned.chars;
+cloned.chars = cloned.chars;
 }
 cloned.reset();
 return cloned;



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: svn commit: r234327 - /jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/StrTokenizer.java

2005-08-21 Thread Stephen Colebourne

[EMAIL PROTECTED] wrote:

Unnecessary cast from char[] to char[].
 StrTokenizer cloned = (StrTokenizer) super.clone();
 if (cloned.chars != null) {
-cloned.chars = (char[]) cloned.chars;
+cloned.chars = cloned.chars;
 }
 cloned.reset();
 return cloned;


should be
cloned.chars = (char[]) cloned.chars.clone();

Stephen

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[proxy] vs proxytoys

2005-08-21 Thread Jörg Schaible
Hi James,

can you tell me, what you are missing with proxytoys? You announced to have 
a closer look , but did not write anything further.

- Jörg


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Commons Status document

2005-08-21 Thread Oliver Zeigermann
Sounds good and useful.

Oliver

On 8/21/05, Henri Yandell [EMAIL PROTECTED] wrote:
 How about making a wiki page which lists every Commons component
 (proper and sandbox) with a status. Something like my
 http://www.generationjava.com/article/apache/StateOfTheSandbox.shtml
 but not 18 months out of date.
 
 It'd include things like:
 
 Working on 2.1
 Releasing 1.0
 Inactive
 Stable with N reported bugs
 
 Seem useful?
 
 Unless I hear -1's, I'll charge on with it at some point anyway, but
 mentioning here in case anyone wants to kick it off earlier.
 
 Hen
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Sandbox Project Proposal: Commons-Proxy...

2005-08-21 Thread Rahul Akolkar
On 8/21/05, James Carman [EMAIL PROTECTED] wrote:
 So, if I would like to start a sandbox project for this, how would I go
 about it?
snip/

FWIW, having done some of this recently, this is what I followed / am
following [ http://wiki.apache.org/jakarta-commons/SCXML ].

On 8/21/05, James Carman [EMAIL PROTECTED] wrote:
 This software was entirely written by me.  The code was developed originally
 as part of my Syringe project (http://syringe.dev.java.net/).  Do we still
 need to get a software grant filed?
snip/

Probably not, but in any case, I think a formal [PROPOSAL] email, one
along the lines of what is specified in the Commons charter, [
http://jakarta.apache.org/commons/charter.html ], then placed in [
http://svn.apache.org/repos/asf/jakarta/commons/sandbox/proxy/trunk/ ]
after adjustments based on any feedback, will probably save you some
questions.

My 2c,
-Rahul

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[FileUpload] JSR-168 support in 1.1-dev: can we get a release (plan)?

2005-08-21 Thread Ate Douma

I'm working (as committer) on Jetspeed-2, Portals Bridges and Wicket 
(wicket.sf.net).
For all these projects I need to provide some form of JSR-168 based FileUpload.
Although I found the 1.1-dev release in cvs.apache.org/repository I'd rather 
see a real 1.1 release.
The current codebase hasn't been touched since December 2004 and although it 
might not be 100% fail prove,
a release simply based on the current codebase would be very much appreciated.
Reviewing the mailing lists (both dev and user) shows I'm not alone in this 
respect...
I've already seen some projects decide to pull in the code themselves instead 
of waiting for ever.
Could anyone from the FileUpload team please give an indication if, and 
hopefully when, we can expect something?
And if need be, I'm willing to help out where I can: just let me know.

With regards,

Ate Douma



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Bug report for Commons [2005/08/21]

2005-08-21 Thread bugzilla
+---+
| Bugzilla Bug ID   |
| +-+
| | Status: UNC=Unconfirmed NEW=New ASS=Assigned|
| | OPN=ReopenedVER=Verified(Skipped Closed/Resolved)   |
| |   +-+
| |   | Severity: BLK=Blocker CRI=CriticalMAJ=Major |
| |   |   MIN=Minor   NOR=Normal  ENH=Enhancement   |
| |   |   +-+
| |   |   | Date Posted |
| |   |   |  +--+
| |   |   |  | Description  |
| |   |   |  |  |
| 6508|Ass|Enh|2002-02-17|[lakta] HttpClient now supports proxyHost and prox|
| 6826|Ass|Enh|2002-03-04|[lakta] Need to have xml files validated against D|
| 6829|Ass|Enh|2002-03-04|[lakta] Allow easier way of user specified tests  |
| 7069|Ass|Enh|2002-03-13|[lakta] DTD and DOM Validators|
| 7135|Opn|Enh|2002-03-14|[beanutils] Misleading error message when beaninfo|
| 7226|Opn|Enh|2002-03-19|[beanutils] Nested Bean Collection|
| 7367|New|Nor|2002-03-22|[services] ServiceManager not actually serializabl|
| 7465|New|Nor|2002-03-25|[lakta] Need better 'dist' build  |
| 7981|Ver|Nor|2002-04-11|[codec][PATCH] add 2 new methods for encoding stri|
|10319|New|Enh|2002-06-28|[beanutils] Instantiate property if null in form b|
|12807|New|Nor|2002-09-19|[lakta][PATCH] Update build.xml to use commons-log|
|13390|New|Nor|2002-10-07|[lakta] ResponseHeaderHandler and ResponseHeaderVa|
|13426|New|Enh|2002-10-08|[lakta][PATCH] xml-reference.xml responseHeader ad|
|13743|Opn|Enh|2002-10-17|[beanutils] Need getPropertyType(Class theClass, S|
|14394|Ver|Nor|2002-11-08|[beanutils] Excessive exceptions log under securit|
|14471|Inf|Nor|2002-11-12|[validator] validator-rules.xml JavaScript fails w|
|14667|Ver|Maj|2002-11-19|[beanutils] PropertyUtils.copyProperties does not |
|15451|Opn|Enh|2002-12-17|[beanutils] Multiple mapped properties not possibl|
|15519|Ver|Maj|2002-12-19|[beanutils] PropertyUtils.getPropertyType() for ja|
|15744|New|Nor|2002-12-31|[scaffold] Scaffold ResultSet used after statement|
|16038|Opn|Enh|2003-01-13|[beanutils] LocaleBeanUtils.copyProperties() does |
|16249|Opn|Enh|2003-01-20|[validator] localized float validation|
|16394|New|Enh|2003-01-24|[validator] Enhance the IndexedListProperty to han|
|16525|Opn|Enh|2003-01-29|[beanutils] BeanUtils.setProperty is over-zealous |
|16600|New|Nor|2003-01-30|[lakta] JUnitTestAdapter throws SAXException becau|
|16634|New|Enh|2003-01-31|[validator] reuiredif ignores missing property|
|16873|New|Enh|2003-02-07|[lakta] Specifying a different latka.properties fi|
|16920|Opn|Enh|2003-02-10|[validator] Declaration of Locale (language/countr|
|17002|New|Enh|2003-02-12|[beanutils] Problem with index property   |
|17102|New|Enh|2003-02-15|[lakta] Can't embed  characters in paramValue |
|17306|Opn|Enh|2003-02-22|[validator] Extend field tag with forward attr|
|17501|New|Enh|2003-02-27|[beanutils] Add dynamic discovery of mapped proper|
|17662|New|Nor|2003-03-05|[cli] Unknown options are ignored instead of throw|
|17663|New|Nor|2003-03-05|[beanutils] getArrayProperty does not use ConvertU|
|17682|New|Nor|2003-03-05|[cli] HelpFormatter does not wrap lines correctly |
|17769|New|Blk|2003-03-07|[scaffold] pre-mature closing of Statement and Pre|
|17957|New|Cri|2003-03-13|[launcher] - on OutOfMemoryError no message   |
|18087|New|Enh|2003-03-18|[beanutils] Add BeanFactory class for dynamic fact|
|18773|New|Enh|2003-04-07|[reflect] Can add a method cache in MethodUtils   |
|18811|New|Min|2003-04-08|[beanutils] Misleading error message in Converting|
|18942|New|Enh|2003-04-11|[beanutils] Add t/f to BooleanConverter |
|19781|New|Nor|2003-05-08|[beanutils] PropertyUtils.copyProperties throws ex|
|19857|New|Enh|2003-05-12|[beanutils] Methods ConvertUtilsBean.convert could|
|20015|Ass|Nor|2003-05-18|[lang] Make Entities public and unit test |
|20027|New|Enh|2003-05-19|[beanutils] ConvertUtils enhancements |
|20057|New|Nor|2003-05-20|[lakta] Difficulty to download  sample Latka test|
|20067|New|Nor|2003-05-20|[lakta] sample Latka test suite SUITE FAILED - c|
|20449|New|Enh|2003-06-03|[validator] Define flag for validating current pag|
|20520|New|Enh|2003-06-05|[beanutils] MethodUtils: Need easy way to invoke s|
|20523|New|Enh|2003-06-05|[fileupload] Model FileUpload model to mimic javax|
|20549|New|Enh|2003-06-06|[beanutils] Handling of exceptions thrown during B|

Legalities of importing code Was: Sandbox Project Proposal: Commons-Proxy...

2005-08-21 Thread Henri Yandell
Sounds like something we have to get a lot better at. At a guess,
about 90% of the code at the ASF that I've written began life outside
of the ASF Infrastructure.

Rule-wise, what's the definition of this:

* Single class by ASF CLA authors to add to Apache, developed outside
of the ASF.
* Single package  
* Single component   (ie: going into commons sandbox)

If there are non ASF CLAs as authors, definitely needs to do legal
stuff etc. Only really concerned about code from ASF peoples atm.

For example, I'd like to add SystemDataSource to Commons DbUtils. The
class is wholly written by me, currently reside in osjava.org's
gj-core. Would it be held up by the notoriously painful Fax (or in my
case the US postal office as it's much easier than faxing).

Especially interesting in Commons-Proxy's case as it's from a body of
work (Syringe) that the ASF/Jakarta don't have an obvious system for
handling; an ASF developer who wants to create a Jakarta subproject
from scratch. Proposed to Commons, but considered outside of Commons
remit.

-

Additionally. What does the software grant apply to?

Let's say I get a grant for gj-find. I continue to maintain gj-find
outside of the ASF. Can I continually port code over, or do I have to
get a new grant for each new porting.

Basically at the 'we need to understand some solid use cases' stage.

Hen

On 8/21/05, Noel J. Bergman [EMAIL PROTECTED] wrote:
  Well, since nobody answered me, I went ahead and just tried
  importing the code into the sandbox SVN repository
 
 What is this code and do we have the appropriate docs filed?
 
 As I understand it, and we have been through this before with even a
 Director's own code, if this is a new codebase that was developed outside of
 the ASF infrastructure, we are supposed to get a software grant filed.
 
 See
 http://svn.apache.org/repos/asf/incubator/public/trunk/site-author/projects/
 jlibtool.cwiki for an example.
 
 --- Noel
 
 
 -
 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]



svn commit: r234360 - in /jakarta/commons/proper/lang/trunk/src: java/org/apache/commons/lang/text/StrTokenizer.java test/org/apache/commons/lang/text/StrTokenizerTest.java

2005-08-21 Thread ggregory
Author: ggregory
Date: Sun Aug 21 14:57:01 2005
New Revision: 234360

URL: http://svn.apache.org/viewcvs?rev=234360view=rev
Log:
Fix clone() and add a unit test.

Modified:

jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/StrTokenizer.java

jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/text/StrTokenizerTest.java

Modified: 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/StrTokenizer.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/StrTokenizer.java?rev=234360r1=234359r2=234360view=diff
==
--- 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/StrTokenizer.java
 (original)
+++ 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/StrTokenizer.java
 Sun Aug 21 14:57:01 2005
@@ -1056,7 +1056,7 @@
 try {
 StrTokenizer cloned = (StrTokenizer) super.clone();
 if (cloned.chars != null) {
-cloned.chars = cloned.chars;
+cloned.chars = (char[]) cloned.chars.clone();
 }
 cloned.reset();
 return cloned;

Modified: 
jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/text/StrTokenizerTest.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/text/StrTokenizerTest.java?rev=234360r1=234359r2=234360view=diff
==
--- 
jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/text/StrTokenizerTest.java
 (original)
+++ 
jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/text/StrTokenizerTest.java
 Sun Aug 21 14:57:01 2005
@@ -542,7 +542,35 @@
 assertEquals(tok, tok.setIgnoreEmptyTokens(false));
 }
 
-//---
+public void testCloneNull() {
+StrTokenizer tokenizer = new StrTokenizer((char[]) null);
+// Start sanity check
+assertEquals(null, tokenizer.nextToken());
+tokenizer.reset();
+assertEquals(null, tokenizer.nextToken());
+// End sanity check
+StrTokenizer clonedTokenizer = (StrTokenizer) tokenizer.clone();
+tokenizer.reset();
+assertEquals(null, tokenizer.nextToken());
+assertEquals(null, clonedTokenizer.nextToken());
+}
+
+public void testCloneReset() {
+char[] input = new char[]{'a'};
+StrTokenizer tokenizer = new StrTokenizer(input);
+// Start sanity check
+assertEquals(a, tokenizer.nextToken());
+tokenizer.reset();
+assertEquals(a, tokenizer.nextToken());
+// End sanity check
+StrTokenizer clonedTokenizer = (StrTokenizer) tokenizer.clone();
+input[0] = 'b';
+tokenizer.reset();
+assertEquals(b, tokenizer.nextToken());
+assertEquals(a, clonedTokenizer.nextToken());
+}
+  
+// ---
 public void testConstructor_String() {
 StrTokenizer tok = new StrTokenizer(a b);
 assertEquals(a, tok.next());



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: svn commit: r234327 - /jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/StrTokenizer.java

2005-08-21 Thread Gary Gregory
Fixed in SVN and added a unit test to match.

My bad for not checking that a unit test was in place before mod'ing.

Thanks Stephen for catching this.

Gary

 -Original Message-
 From: Stephen Colebourne [mailto:[EMAIL PROTECTED]
 Sent: Sunday, August 21, 2005 12:51 PM
 To: Jakarta Commons Developers List
 Subject: Re: svn commit: r234327 -

/jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/text
/S
 trTokenizer.java
 
 [EMAIL PROTECTED] wrote:
  Unnecessary cast from char[] to char[].
   StrTokenizer cloned = (StrTokenizer) super.clone();
   if (cloned.chars != null) {
  -cloned.chars = (char[]) cloned.chars;
  +cloned.chars = cloned.chars;
   }
   cloned.reset();
   return cloned;
 
 should be
 cloned.chars = (char[]) cloned.chars.clone();
 
 Stephen
 
 -
 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]



[lang] StrTokenizer.getCSVXxx and getTSVXxx method names.

2005-08-21 Thread Gary Gregory
Hello All:

I would prefer that the methods StrTokenizer.getCSVXxx and getTSVXxx
method be camel-cased like getCsvXxx and getTsvXxx. In general I prefer
to camel case acronyms to help readability when more than one acronym is
used, as in getIbmSoapXml() instead of getIBMSOAPXM().

Onions?

Thanks,
Gary

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[math] FFT package/directory

2005-08-21 Thread Zhang
Should the FFT files be in a new package/directory or a part of the
existing package/directory such as analysis, linear, or util?

Xiaogang Zhang



__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: lang] Maven 1.1 beta?

2005-08-21 Thread Brett Porter
I get the same compile errors I get with 1.0.2 and Ant.

As for using 1.1 in general - it should be fine, though note that the
XDoc plugin that it comes with has problems with the commons site as
Phil pointed out previously. You can downgrade that individual plugin
though.

- Brett

Gary Gregory wrote:

Hello:

Has anyone tried building [lang] with the Maven 1.1 beta 1?

Gary


-
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]



svn commit: r234385 - /jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/StrTokenizer.java

2005-08-21 Thread ggregory
Author: ggregory
Date: Sun Aug 21 15:55:52 2005
New Revision: 234385

URL: http://svn.apache.org/viewcvs?rev=234385view=rev
Log:
Improve unit test coverage, eating own dog food. TODO: Missing tests for many 
constructors.

Modified:

jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/StrTokenizer.java

Modified: 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/StrTokenizer.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/StrTokenizer.java?rev=234385r1=234384r2=234385view=diff
==
--- 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/StrTokenizer.java
 (original)
+++ 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/StrTokenizer.java
 Sun Aug 21 15:55:52 2005
@@ -115,13 +115,13 @@
 private int tokenPos;
 
 /** The delimiter matcher */
-private StrMatcher delim = StrMatcher.splitMatcher();
+private StrMatcher delimMatcher = StrMatcher.splitMatcher();
 /** The quote matcher */
-private StrMatcher quote = StrMatcher.noneMatcher();
+private StrMatcher quoteMatcher = StrMatcher.noneMatcher();
 /** The ignored matcher */
-private StrMatcher ignored = StrMatcher.noneMatcher();
+private StrMatcher ignoredMatcher = StrMatcher.noneMatcher();
 /** The trimmer matcher */
-private StrMatcher trimmer = StrMatcher.noneMatcher();
+private StrMatcher trimmerMatcher = StrMatcher.noneMatcher();
 
 /** Whether to return empty tokens as null */
 private boolean emptyAsNull = false;
@@ -643,10 +643,10 @@
  */
 private void addToken(List list, String tok) {
 if (tok == null || tok.length() == 0) {
-if (ignoreEmptyTokens) {
+if (this.isIgnoreEmptyTokens()) {
 return;
 }
-if (emptyAsNull) {
+if (this.isEmptyTokenAsNull()) {
 tok = null;
 }
 }
@@ -669,11 +669,11 @@
 // field delimiter or the quote character
 while (start  len) {
 int removeLen = Math.max(
-ignored.isMatch(chars, start, start, len),
-trimmer.isMatch(chars, start, start, len));
+this.getIgnoredMatcher().isMatch(chars, start, start, len),
+this.getTrimmerMatcher().isMatch(chars, start, start, 
len));
 if (removeLen == 0 ||
-delim.isMatch(chars, start, start, len)  0 ||
-quote.isMatch(chars, start, start, len)  0) {
+this.getDelimiterMatcher().isMatch(chars, start, start, len)  
0 ||
+this.getQuoteMatcher().isMatch(chars, start, start, len)  0) {
 break;
 }
 start += removeLen;
@@ -686,14 +686,14 @@
 }
 
 // handle empty token
-int delimLen = delim.isMatch(chars, start, start, len);
+int delimLen = this.getDelimiterMatcher().isMatch(chars, start, start, 
len);
 if (delimLen  0) {
 addToken(tokens, );
 return start + delimLen;
 }
 
 // handle found token
-int quoteLen = quote.isMatch(chars, start, start, len);
+int quoteLen = this.getQuoteMatcher().isMatch(chars, start, start, 
len);
 if (quoteLen  0) {
 return readWithQuotes(chars, start + quoteLen, len, workArea, 
tokens, start, quoteLen);
 }
@@ -756,7 +756,7 @@
 // Not in quoting mode
 
 // check for delimiter, and thus end of token
-int delimLen = delim.isMatch(chars, pos, start, len);
+int delimLen = this.getDelimiterMatcher().isMatch(chars, pos, 
start, len);
 if (delimLen  0) {
 // return condition when end of token found
 addToken(tokens, workArea.substring(0, trimStart));
@@ -773,7 +773,7 @@
 }
 
 // check for ignored (outside quotes), and ignore
-int ignoredLen = ignored.isMatch(chars, pos, start, len);
+int ignoredLen = this.getIgnoredMatcher().isMatch(chars, pos, 
start, len);
 if (ignoredLen  0) {
 pos += ignoredLen;
 continue;
@@ -782,7 +782,7 @@
 // check for trimmed character
 // don't yet know if its at the end, so copy to workArea
 // use trimStart to keep track of trim at the end
-int trimmedLen = trimmer.isMatch(chars, pos, start, len);
+int trimmedLen = this.getTrimmerMatcher().isMatch(chars, pos, 
start, len);
 if (trimmedLen  0) {
 workArea.append(chars, pos, trimmedLen);
 pos += trimmedLen;
@@ -828,7 +828,7 @@
  * @return 

svn commit: r234387 - /jakarta/commons/proper/betwixt/trunk/src/test/org/apache/commons/betwixt/io/read/TestReadData.java

2005-08-21 Thread rdonkin
Author: rdonkin
Date: Sun Aug 21 16:09:09 2005
New Revision: 234387

URL: http://svn.apache.org/viewcvs?rev=234387view=rev
Log:
Fix for mysterious issue which causes test to fail on some platforms.

Modified:

jakarta/commons/proper/betwixt/trunk/src/test/org/apache/commons/betwixt/io/read/TestReadData.java

Modified: 
jakarta/commons/proper/betwixt/trunk/src/test/org/apache/commons/betwixt/io/read/TestReadData.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/betwixt/trunk/src/test/org/apache/commons/betwixt/io/read/TestReadData.java?rev=234387r1=234386r2=234387view=diff
==
--- 
jakarta/commons/proper/betwixt/trunk/src/test/org/apache/commons/betwixt/io/read/TestReadData.java
 (original)
+++ 
jakarta/commons/proper/betwixt/trunk/src/test/org/apache/commons/betwixt/io/read/TestReadData.java
 Sun Aug 21 16:09:09 2005
@@ -90,7 +90,7 @@
 reader.registerBeanClass(ale, Nested.class);
 
reader.getXMLIntrospector().getConfiguration().setAttributesForPrimitives(true);
 Object out = reader.parse(in);
-assertTrue(Expected bean to be of type Nested, out instanceof 
Nested);
+assertEquals(Expected bean to be of type Nested, 
org.apache.commons.betwixt.io.read.TestReadData$Nested, 
out.getClass().getName());
 Nested bean = (Nested) out;
 assertEquals(Expected name to be set, Timothy Taylor, 
bean.getName());
 }



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[Jakarta-commons Wiki] Update of TheSandbox by HenriYandell

2005-08-21 Thread Apache Wiki
Dear Wiki user,

You have subscribed to a wiki page or wiki category on Jakarta-commons Wiki 
for change notification.

The following page has been changed by HenriYandell:
http://wiki.apache.org/jakarta-commons/TheSandbox

The comment on the change is:
Reformatted into a tabular structure.

--
- = Published =
- 
- (Published means that the sandbox component is on the Jakarta Commons website)
- 
-  * Cache
-  * Clazz - no community, code stable.
-  * Compress - code extracted from Ant, currently dormant.
-  * CommonsConvert - various conversion ideas extracted from BeanUtils, 
currently in development.
-  * Events - currently in slow development.
-  * Functor
-  * Id - parts from Lang, parts new, currently in-development.
-  * JJar - ready to die as superseded by Apache Depot.
-  * Mapper
-  * Messenger
-  * [http://jakarta.apache.org/commons/sandbox/scaffold/ Scaffold] is a 
toolkit for building web applications, to complement web application frameworks 
(such as Struts).
-  * SQL
-  * ThreadPool
-  * VFS - under active development again.
-  * Workflow
-  * FeedParser
- 
- = Unpublished =
- 
-  * Filters - meant to contain servlet filters, but not yet come alive
-  * HTTP - handful of classes for use with http connections
-  * Jex
-  * Launcher
-  * Periodicity
-  * Reflect - extracted from BeanUtils, but unfinished and in a coma.
-  * [:SCXML] - Reference Implementation of State Chart XML (SCXML), currently 
a W3C Working Draft.
-  * Servlet - not enough here to justify a component
-  * Threading - migrated over from Avalon Excalibur. Currently inactive.
-  * xo - XML to Bean mapper.
-  * Benchmark
- 
- = Dead =
- 
- (Components that do not show the characteristics of an active project, 
especially with respect to its userbase and its capactiy to offer mature 
solution to a problem.  Typically the userbase was never particularly large or 
has moved over to an alternative component; and the code has been superceded, 
forked or moved elsewhere).
- 
-  * Altrmi - moved to the Incubator.
-  * Apache cjan - superseded by [http://incubator.apache.org/depot/ Apache 
Depot] (currently in the incubator)
-  * Armi - prior name of 'altrmi'.
-  * Cadastre - JNDI implementation of some kind. Removed.
-  * Graph - rewritten as graph2
-  * JJar - superseded by [http://incubator.apache.org/depot/ Apache Depot] 
(currently in the incubator)
-  * JRCS - no longer really hosted by Jakarta. It has moved to Codehaus 
[http://cvs.codehaus.org/viewcvs.cgi/jrcs/?root=codehaus Codehaus CVS]
-  * Util - this component split into many others and eventually the original 
component was left with nothing.
-  * Pattern - code moved to lang and id projects.
- 
- 
- = Promoted =
-  (but still having a directory in the sandbox)
-  * Primitives
-  * Lang
-  * EL
- 
- = To Classify =
- 
-  * cache
-  * grant
-  * graph2
-  * jdbc2pool
-  * joran
-  * jux
-  * morphos
-  * rupert
-  * services
-  * simplestore
-  * workflow
-  * xmlunit
- 
  
  
  = Policy =
@@ -79, +8 @@

  
  
  
+ 
+  * Published - Sandbox component is on the Jakarta Commons website
+  * Unpublished - Obvious
+  * Dead - An inactive project
+  * Promoted - Now in Commons Proper, but needs deleting of old sandbox 
directory
+  * ?? - Unknown
+ 
+ ||'''Component'''||'''State'''||'''Plan'''||
+ 
+ ||Cache||Published
+ ||Clazz||Published||no community, code stable.||
+ ||Compress||Published||code extracted from Ant, currently dormant.||
+ ||CommonsConvert||Published||various conversion ideas extracted from 
BeanUtils, currently in development.||
+ ||Events||Published||currently in slow development.||
+ ||Functor||Published
+ ||Id||Published||parts from Lang, parts new, currently in-development.||
+ ||JJar||Published||ready to die as superseded by Apache Depot.||
+ ||Mapper||Published
+ ||Messenger||Published
+ ||Scaffold||Published|| is a toolkit for building web applications, to 
complement web application frameworks (such as Struts).||
+ ||SQL||Published
+ ||ThreadPool||Published
+ ||VFS||Published||under active development again.||
+ ||Workflow||Published
+ ||FeedParser||Published
+ 
+ ||Filters||Unpublished||meant to contain servlet filters, but not yet come 
alive||
+ ||HTTP||Unpublished||handful of classes for use with http connections||
+ ||Jex||Unpublished
+ ||Launcher||Unpublished
+ ||Periodicity||Unpublished
+ ||Reflect||Unpublished||extracted from BeanUtils, but unfinished and in a 
coma.||
+ ||[:SCXML]||Unpublished||Reference Implementation of State Chart XML (SCXML), 
currently a W3C Working Draft.||
+ ||Servlet||Unpublished||not enough here to justify a component||
+ ||Threading||Unpublished||migrated over from Avalon Excalibur. Currently 
inactive.||
+ ||xo||Unpublished||XML to Bean mapper.||
+ ||Benchmark||Unpublished
+ 
+ ||Altrmi||Dead||moved to the Incubator.||
+ ||Apache cjan||Dead||superseded by 

Archiving Commons Sandbox components

2005-08-21 Thread Henri Yandell
As per the Sandbox pruning proposal
(http://wiki.apache.org/jakarta-commons/ProposalSandboxPruning), I
propose to archive the following 'inactive' components (ie nothing
changed in over 6 months):

periodicity_1
resources
joran
uid
launcher
bzip2
morphos
jdbc2pool
cjan
cadastre
amend

They will be moved to /jakarta/commons/dormant/, which will be read-only.

I'm treating the following as special (let me know if they're not):

project-template
sandbox-build
proposal

The following should be deleted as they are now in commons proper, or
another location (if so, specified below). Some of these came back as
such during the migration (I think). Just need empty directories
killing.

jrcs - Codehaus (we let this one go officially)
altrmi - Incubator
util - split into many other commons components
pattern - id/lang
naming - Apache Directory
daemon
jelly
fileupload
armi - (altrmi typo)
graph - (graph2 replaced this)
latka-webapp - (in proper's latka, or needs archiving?)
latka

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Archiving Commons Sandbox components

2005-08-21 Thread Henri Yandell
I'll be doing this in 2 weeks time. Saturday 3rd September; presuming
the thread is not still active at that point.

On 8/21/05, Henri Yandell [EMAIL PROTECTED] wrote:
 As per the Sandbox pruning proposal
 (http://wiki.apache.org/jakarta-commons/ProposalSandboxPruning), I
 propose to archive the following 'inactive' components (ie nothing
 changed in over 6 months):
 
 periodicity_1
 resources
 joran
 uid
 launcher
 bzip2
 morphos
 jdbc2pool
 cjan
 cadastre
 amend
 
 They will be moved to /jakarta/commons/dormant/, which will be read-only.
 
 I'm treating the following as special (let me know if they're not):
 
 project-template
 sandbox-build
 proposal
 
 The following should be deleted as they are now in commons proper, or
 another location (if so, specified below). Some of these came back as
 such during the migration (I think). Just need empty directories
 killing.
 
 jrcs - Codehaus (we let this one go officially)
 altrmi - Incubator
 util - split into many other commons components
 pattern - id/lang
 naming - Apache Directory
 daemon
 jelly
 fileupload
 armi - (altrmi typo)
 graph - (graph2 replaced this)
 latka-webapp - (in proper's latka, or needs archiving?)
 latka


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Archiving Commons Sandbox components

2005-08-21 Thread Craig McClanahan
On 8/21/05, Henri Yandell [EMAIL PROTECTED] wrote:
 As per the Sandbox pruning proposal
 (http://wiki.apache.org/jakarta-commons/ProposalSandboxPruning), I
 propose to archive the following 'inactive' components (ie nothing
 changed in over 6 months):
 
 periodicity_1
 resources
 joran
 uid
 launcher
 bzip2
 morphos
 jdbc2pool
 cjan
 cadastre
 amend
 

The resources package is in Commons Proper, not in the sandbox.  It
is also (still) under consideration for adoption in Struts to replace
the Struts-specific utility code it was refactored from.

Some other sandbox packages you should consider adding to the dormant
list are threading and workflow -- both were packages I originally
created, but didn't accumulate a developer community.  In both cases,
there are better approaches to the problem spaces in other projects,
so I don't forsee any likely development here.

Craig




 They will be moved to /jakarta/commons/dormant/, which will be read-only.
 
 I'm treating the following as special (let me know if they're not):
 
 project-template
 sandbox-build
 proposal
 
 The following should be deleted as they are now in commons proper, or
 another location (if so, specified below). Some of these came back as
 such during the migration (I think). Just need empty directories
 killing.
 
 jrcs - Codehaus (we let this one go officially)
 altrmi - Incubator
 util - split into many other commons components
 pattern - id/lang
 naming - Apache Directory
 daemon
 jelly
 fileupload
 armi - (altrmi typo)
 graph - (graph2 replaced this)
 latka-webapp - (in proper's latka, or needs archiving?)
 latka
 
 -
 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]



svn commit: r234394 - in /jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang: ArrayUtilsAddTest.java ArrayUtilsTest.java

2005-08-21 Thread stevencaswell
Author: stevencaswell
Date: Sun Aug 21 17:16:03 2005
New Revision: 234394

URL: http://svn.apache.org/viewcvs?rev=234394view=rev
Log:
increase ArrayUtils test coverage as reported by clover

Modified:

jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/ArrayUtilsAddTest.java

jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/ArrayUtilsTest.java

Modified: 
jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/ArrayUtilsAddTest.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/ArrayUtilsAddTest.java?rev=234394r1=234393r2=234394view=diff
==
--- 
jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/ArrayUtilsAddTest.java
 (original)
+++ 
jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/ArrayUtilsAddTest.java
 Sun Aug 21 17:16:03 2005
@@ -248,34 +248,82 @@
 assertTrue( Arrays.equals( new boolean[] { true, false, false, true }, 
 ArrayUtils.addAll( new boolean[] { true, false }, new boolean[] { 
false, true } ) ) );
 
+assertTrue( Arrays.equals( new boolean[] { false, true }, 
+ArrayUtils.addAll( null, new boolean[] { false, true } ) ) );
+
+assertTrue( Arrays.equals( new boolean[] { true, false }, 
+ArrayUtils.addAll( new boolean[] { true, false }, null ) ) );
+
 // char
 assertTrue( Arrays.equals( new char[] { 'a', 'b', 'c', 'd' }, 
 ArrayUtils.addAll( new char[] { 'a', 'b' }, new char[] { 'c', 'd' 
} ) ) );
 
+assertTrue( Arrays.equals( new char[] { 'c', 'd' }, 
+ArrayUtils.addAll( null, new char[] { 'c', 'd' } ) ) );
+
+assertTrue( Arrays.equals( new char[] { 'a', 'b' }, 
+ArrayUtils.addAll( new char[] { 'a', 'b' }, null ) ) );
+
 // byte
 assertTrue( Arrays.equals( new byte[] { (byte) 0, (byte) 1, (byte) 2, 
(byte) 3 }, 
 ArrayUtils.addAll( new byte[] { (byte) 0, (byte) 1 }, new byte[] { 
(byte) 2, (byte) 3 } ) ) );
 
+assertTrue( Arrays.equals( new byte[] { (byte) 2, (byte) 3 }, 
+ArrayUtils.addAll( null, new byte[] { (byte) 2, (byte) 3 } ) ) );
+
+assertTrue( Arrays.equals( new byte[] { (byte) 0, (byte) 1 }, 
+ArrayUtils.addAll( new byte[] { (byte) 0, (byte) 1 }, null ) ) );
+
 // short
 assertTrue( Arrays.equals( new short[] { (short) 10, (short) 20, 
(short) 30, (short) 40 }, 
 ArrayUtils.addAll( new short[] { (short) 10, (short) 20 }, new 
short[] { (short) 30, (short) 40 } ) ) );
 
+assertTrue( Arrays.equals( new short[] { (short) 30, (short) 40 }, 
+ArrayUtils.addAll( null, new short[] { (short) 30, (short) 40 } ) 
) );
+
+assertTrue( Arrays.equals( new short[] { (short) 10, (short) 20 }, 
+ArrayUtils.addAll( new short[] { (short) 10, (short) 20 }, null ) 
) );
+
 // int
 assertTrue( Arrays.equals( new int[] { 1, 1000, -1000, -1 }, 
 ArrayUtils.addAll( new int[] { 1, 1000 }, new int[] { -1000, -1 } 
) ) );
 
+assertTrue( Arrays.equals( new int[] { -1000, -1 }, 
+ArrayUtils.addAll( null, new int[] { -1000, -1 } ) ) );
+
+assertTrue( Arrays.equals( new int[] { 1, 1000 }, 
+ArrayUtils.addAll( new int[] { 1, 1000 }, null ) ) );
+
 // long
 assertTrue( Arrays.equals( new long[] { 1L, -1L, 1000L, -1000L }, 
 ArrayUtils.addAll( new long[] { 1L, -1L }, new long[] { 1000L, 
-1000L } ) ) );
 
+assertTrue( Arrays.equals( new long[] { 1000L, -1000L }, 
+ArrayUtils.addAll( null, new long[] { 1000L, -1000L } ) ) );
+
+assertTrue( Arrays.equals( new long[] { 1L, -1L }, 
+ArrayUtils.addAll( new long[] { 1L, -1L }, null ) ) );
+
 // float
 assertTrue( Arrays.equals( new float[] { 10.5f, 10.1f, 1.6f, 0.01f }, 
 ArrayUtils.addAll( new float[] { 10.5f, 10.1f }, new float[] { 
1.6f, 0.01f } ) ) );
 
+assertTrue( Arrays.equals( new float[] { 1.6f, 0.01f }, 
+ArrayUtils.addAll( null, new float[] { 1.6f, 0.01f } ) ) );
+
+assertTrue( Arrays.equals( new float[] { 10.5f, 10.1f }, 
+ArrayUtils.addAll( new float[] { 10.5f, 10.1f }, null ) ) );
+
 // double
 assertTrue( Arrays.equals( new double[] { Math.PI, -Math.PI, 0, 9.99 
}, 
 ArrayUtils.addAll( new double[] { Math.PI, -Math.PI }, new 
double[] { 0, 9.99 } ) ) );
 
+assertTrue( Arrays.equals( new double[] { 0, 9.99 }, 
+ArrayUtils.addAll( null, new double[] { 0, 9.99 } ) ) );
+
+assertTrue( Arrays.equals( new double[] { Math.PI, -Math.PI }, 
+ArrayUtils.addAll( new double[] { Math.PI, -Math.PI }, null ) ) );
+
 }
 
 public void testAddObjectAtIndex() {
@@ -322,16 +370,36 @@
 // boolean tests

DO NOT REPLY [Bug 36243] - [compress] TarInputStream returns negative value for read() [PATCH]

2005-08-21 Thread bugzilla
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=36243.
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=36243





--- Additional Comments From [EMAIL PROTECTED]  2005-08-22 02:29 ---
Create a file like this:
 $ perl -e 'print \xff'  negative-byte
 $ tar cf negative-byte.tar negative-byte

Then run the following Java program:

import org.apache.commons.compress.tar.TarInputStream;
import org.apache.commons.compress.tar.TarEntry;
import java.io.FileInputStream;

public class TarPlay  {
public static void main(String[] args) throws Exception {
TarInputStream tis = new TarInputStream(new
FileInputStream(negative-byte.tar));
TarEntry tar = tis.getNextEntry();
System.out.println(Name:  + tar.getName() + , size:  + 
tar.getSize());
int data = tis.read();
if (data == -1)
System.out.println(EOF when trying to read first byte);
else
System.out.println(Read first byte:  + data);
}
}



This will output:
Name: negative-byte, size: 1
EOF when trying to read first byte

-- 
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: r234399 - /jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/BitFieldTest.java

2005-08-21 Thread stevencaswell
Author: stevencaswell
Date: Sun Aug 21 17:49:57 2005
New Revision: 234399

URL: http://svn.apache.org/viewcvs?rev=234399view=rev
Log:
increase BitField test coverage as reported by clover

Modified:

jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/BitFieldTest.java

Modified: 
jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/BitFieldTest.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/BitFieldTest.java?rev=234399r1=234398r2=234399view=diff
==
--- 
jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/BitFieldTest.java
 (original)
+++ 
jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/BitFieldTest.java
 Sun Aug 21 17:49:57 2005
@@ -42,6 +42,7 @@
 
 private static BitField bf_multi  = new BitField(0x3F80);
 private static BitField bf_single = new BitField(0x4000);
+private static BitField bf_zero = new BitField(0);
 
 /**
  * Constructor BitFieldTest
@@ -60,6 +61,8 @@
 assertEquals(bf_multi.getValue(0), 0);
 assertEquals(bf_single.getValue(-1), 1);
 assertEquals(bf_single.getValue(0), 0);
+assertEquals(bf_zero.getValue(-1), 0);
+assertEquals(bf_zero.getValue(0), 0);
 }
 
 /**
@@ -70,6 +73,8 @@
 assertEquals(bf_multi.getShortValue((short) 0), (short) 0);
 assertEquals(bf_single.getShortValue((short) - 1), (short) 1);
 assertEquals(bf_single.getShortValue((short) 0), (short) 0);
+assertEquals(bf_zero.getShortValue((short) -1), (short) 0);
+assertEquals(bf_zero.getShortValue((short) 0), (short) 0);
 }
 
 /**
@@ -80,6 +85,8 @@
 assertEquals(bf_multi.getRawValue(0), 0);
 assertEquals(bf_single.getRawValue(-1), 0x4000);
 assertEquals(bf_single.getRawValue(0), 0);
+assertEquals(bf_zero.getRawValue(-1), 0);
+assertEquals(bf_zero.getRawValue(0), 0);
 }
 
 /**
@@ -90,6 +97,8 @@
 assertEquals(bf_multi.getShortRawValue((short) 0), (short) 0);
 assertEquals(bf_single.getShortRawValue((short) - 1), (short) 0x4000);
 assertEquals(bf_single.getShortRawValue((short) 0), (short) 0);
+assertEquals(bf_zero.getShortRawValue((short) -1), (short) 0);
+assertEquals(bf_zero.getShortRawValue((short) 0), (short) 0);
 }
 
 /**
@@ -97,9 +106,13 @@
  */
 public void testIsSet() {
 assertTrue(!bf_multi.isSet(0));
+assertTrue(!bf_zero.isSet(0));
 for (int j = 0x80; j = 0x3F80; j += 0x80) {
 assertTrue(bf_multi.isSet(j));
 }
+for (int j = 0x80; j = 0x3F80; j += 0x80) {
+assertTrue(!bf_zero.isSet(j));
+}
 assertTrue(!bf_single.isSet(0));
 assertTrue(bf_single.isSet(0x4000));
 }
@@ -110,6 +123,7 @@
 public void testIsAllSet() {
 for (int j = 0; j  0x3F80; j += 0x80) {
 assertTrue(!bf_multi.isAllSet(j));
+assertTrue(!bf_zero.isAllSet(j));
 }
 assertTrue(bf_multi.isAllSet(0x3F80));
 assertTrue(!bf_single.isAllSet(0));
@@ -124,6 +138,10 @@
 assertEquals(bf_multi.getValue(bf_multi.setValue(0, j)), j);
 assertEquals(bf_multi.setValue(0, j), j  7);
 }
+for (int j = 0; j  128; j++) {
+  assertEquals(bf_zero.getValue(bf_zero.setValue(0, j)), 0);
+  assertEquals(bf_zero.setValue(0, j), 0);
+  }
 
 // verify that excess bits are stripped off
 assertEquals(bf_multi.setValue(0x3f80, 128), 0);
@@ -144,6 +162,10 @@
 assertEquals(bf_multi.getShortValue(bf_multi.setShortValue((short) 
0, (short) j)), (short) j);
 assertEquals(bf_multi.setShortValue((short) 0, (short) j), (short) 
(j  7));
 }
+for (int j = 0; j  128; j++) {
+assertEquals(bf_zero.getShortValue(bf_zero.setShortValue((short) 
0, (short) j)), (short) 0);
+assertEquals(bf_zero.setShortValue((short) 0, (short) j), (short) 
(0));
+}
 
 // verify that excess bits are stripped off
 assertEquals(bf_multi.setShortValue((short) 0x3f80, (short) 128), 
(short) 0);
@@ -157,6 +179,7 @@
 }
 
 public void testByte() {
+assertEquals(0, new BitField(0).setByteBoolean((byte) 0, true));
 assertEquals(1, new BitField(1).setByteBoolean((byte) 0, true));
 assertEquals(2, new BitField(2).setByteBoolean((byte) 0, true));
 assertEquals(4, new BitField(4).setByteBoolean((byte) 0, true));
@@ -165,6 +188,7 @@
 assertEquals(32, new BitField(32).setByteBoolean((byte) 0, true));
 assertEquals(64, new BitField(64).setByteBoolean((byte) 0, true));
 assertEquals(-128, new BitField(128).setByteBoolean((byte) 0, true));
+assertEquals(1, new BitField(0).setByteBoolean((byte) 1, false));
 assertEquals(0, new 

svn commit: r234400 - /jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/CharRangeTest.java

2005-08-21 Thread stevencaswell
Author: stevencaswell
Date: Sun Aug 21 17:50:30 2005
New Revision: 234400

URL: http://svn.apache.org/viewcvs?rev=234400view=rev
Log:
increase CharRange test coverage as reported by clover

Modified:

jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/CharRangeTest.java

Modified: 
jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/CharRangeTest.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/CharRangeTest.java?rev=234400r1=234399r2=234400view=diff
==
--- 
jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/CharRangeTest.java
 (original)
+++ 
jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/CharRangeTest.java
 Sun Aug 21 17:50:30 2005
@@ -348,6 +348,15 @@
 assertEquals(true, notbd.contains(notae));
 }
 
+public void testContainsNullArg() {
+CharRange range = new CharRange('a');
+try {
+boolean contains = range.contains(null);
+} catch(IllegalArgumentException e) {
+assertEquals(The Range must not be null, e.getMessage());
+}
+}
+
 //---  
  
 public void testSerialization() {
 CharRange range = new CharRange('a');



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r234401 - /jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/CharUtilsTest.java

2005-08-21 Thread stevencaswell
Author: stevencaswell
Date: Sun Aug 21 17:50:53 2005
New Revision: 234401

URL: http://svn.apache.org/viewcvs?rev=234401view=rev
Log:
increase CharUtils test coverage as reported by clover

Modified:

jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/CharUtilsTest.java

Modified: 
jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/CharUtilsTest.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/CharUtilsTest.java?rev=234401r1=234400r2=234401view=diff
==
--- 
jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/CharUtilsTest.java
 (original)
+++ 
jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/CharUtilsTest.java
 Sun Aug 21 17:50:53 2005
@@ -213,6 +213,8 @@
 int val = Integer.parseInt(str.substring(2), 16);
 assertEquals(i, val);
 }
+assertEquals(\\u0999, CharUtils.unicodeEscaped((char) 0x999));
+assertEquals(\\u1001, CharUtils.unicodeEscaped((char) 0x1001));
 }
 
 public void testToUnicodeEscaped_Character() {



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r234402 - /jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/EntitiesTest.java

2005-08-21 Thread stevencaswell
Author: stevencaswell
Date: Sun Aug 21 17:51:14 2005
New Revision: 234402

URL: http://svn.apache.org/viewcvs?rev=234402view=rev
Log:
increase Entities test coverage as reported by clover

Modified:

jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/EntitiesTest.java

Modified: 
jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/EntitiesTest.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/EntitiesTest.java?rev=234402r1=234401r2=234402view=diff
==
--- 
jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/EntitiesTest.java
 (original)
+++ 
jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/EntitiesTest.java
 Sun Aug 21 17:51:14 2005
@@ -15,6 +15,8 @@
  */
 package org.apache.commons.lang;
 
+import java.io.StringWriter;
+
 import junit.framework.Test;
 import junit.framework.TestCase;
 import junit.framework.TestSuite;
@@ -55,13 +57,21 @@
 
 public void testEscapeNamedEntity() throws Exception
 {
-assertEquals(foo;, entities.escape(\u00A1));
-assertEquals(xfoo;, entities.escape(x\u00A1));
-assertEquals(foo;x, entities.escape(\u00A1x));
-assertEquals(xfoo;x, entities.escape(x\u00A1x));
-assertEquals(foo;bar;, entities.escape(\u00A1\u00A2));
+doTestEscapeNamedEntity(foo;, \u00A1);
+doTestEscapeNamedEntity(xfoo;, x\u00A1);
+doTestEscapeNamedEntity(foo;x, \u00A1x);
+doTestEscapeNamedEntity(xfoo;x, x\u00A1x);
+doTestEscapeNamedEntity(foo;bar;, \u00A1\u00A2);
 }
 
+private void doTestEscapeNamedEntity(final String expected, final String 
entity) throws Exception
+{
+assertEquals(expected, entities.escape(entity));
+StringWriter writer = new StringWriter();
+entities.escape(writer, entity);
+assertEquals(expected, writer.toString());
+}
+
 public void testUnescapeNamedEntity() throws Exception
 {
 assertEquals(\u00A1, entities.unescape(foo;));
@@ -73,9 +83,26 @@
 
 public void testUnescapeUnknownEntity() throws Exception
 {
-assertEquals(;, entities.unescape(;));
+doTestUnescapeEntity(;, ;);
 }
 
+public void testUnescapeMiscellaneous() throws Exception
+{
+  doTestUnescapeEntity(hello, hello);
+  doTestUnescapeEntity(;, ;);
+  doTestUnescapeEntity(#;, #;);
+  doTestUnescapeEntity(#invalid;, #invalid;);
+  doTestUnescapeEntity(A, #X41;);
+}
+
+private void doTestUnescapeEntity(final String expected, final String 
entity) throws Exception
+{
+assertEquals(expected, entities.unescape(entity));
+StringWriter writer = new StringWriter();
+entities.unescape(writer, entity);
+assertEquals(expected, writer.toString());
+}
+
 public void testAddEntitiesArray() throws Exception
 {
 String[][] array = {{foo, 100}, {bar, 101}};
@@ -98,6 +125,10 @@
 {
 Entities.ArrayEntityMap map = new Entities.ArrayEntityMap(2);
 checkSomeEntityMap(map);
+Entities.ArrayEntityMap map1 = new Entities.ArrayEntityMap();
+checkSomeEntityMap(map1);
+assertEquals(-1, map.value(null));
+assertNull(map.name(-1));
 }
 
 public void testTreeIntMap() throws Exception
@@ -110,12 +141,34 @@
 {
 Entities.EntityMap map = new Entities.HashEntityMap();
 checkSomeEntityMap(map);
+assertEquals(-1, map.value(noname));
 }
 
 public void testBinaryIntMap() throws Exception
 {
 Entities.BinaryEntityMap map = new Entities.BinaryEntityMap(2);
 checkSomeEntityMap(map);
+Entities.BinaryEntityMap map1 = new Entities.BinaryEntityMap();
+checkSomeEntityMap(map1);
+
+// value cannot be added twice
+map1.add(baz4a, 4);
+map1.add(baz4b, 4);
+assertEquals(-1, map1.value(baz4b));
+assertEquals(baz4a, map1.name(4));
+assertNull(map1.name(99));
+
+Entities.BinaryEntityMap map2 = new Entities.BinaryEntityMap();
+map2.add(val1, 1);
+map2.add(val2, 2);
+map2.add(val3, 3);
+map2.add(val4, 4);
+map2.add(val5, 5);
+assertEquals(val5, map2.name(5));
+assertEquals(val4, map2.name(4));
+assertEquals(val3, map2.name(3));
+assertEquals(val2, map2.name(2));
+assertEquals(val1, map2.name(1));
 }
 
 public void testPrimitiveIntMap() throws Exception
@@ -133,7 +186,7 @@
 assertEquals(3, map.value(baz));
 assertEquals(baz, map.name(3));
 }
-
+
 public void testHtml40Nbsp() throws Exception
 {
 assertEquals(nbsp;, Entities.HTML40.escape(\u00A0));



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional 

svn commit: r234403 - /jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/IllegalClassExceptionTest.java

2005-08-21 Thread stevencaswell
Author: stevencaswell
Date: Sun Aug 21 17:51:50 2005
New Revision: 234403

URL: http://svn.apache.org/viewcvs?rev=234403view=rev
Log:
increase IllegalClassException test coverage as reported by clover

Modified:

jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/IllegalClassExceptionTest.java

Modified: 
jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/IllegalClassExceptionTest.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/IllegalClassExceptionTest.java?rev=234403r1=234402r2=234403view=diff
==
--- 
jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/IllegalClassExceptionTest.java
 (original)
+++ 
jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/IllegalClassExceptionTest.java
 Sun Aug 21 17:51:50 2005
@@ -61,6 +61,20 @@
 new IllegalClassException(null);
 }
 
+// testConstructor_classObjectArgs
+
+public void testConstructor_classObjectArgs_allNullInput() {
+new IllegalClassException(null, (Object) null);
+}
+
+public void testConstructor_classObjectArgs_nullExpected() {
+new IllegalClassException(null, new Object());
+}
+
+public void testConstructor_classObjectArgs_nullActual() {
+new IllegalClassException(String.class, (Object) null);
+}
+
 // testGetMessage
 
 public void testGetMessage_classArgs_nullInput() {
@@ -73,6 +87,19 @@
 new IllegalClassException(String.class, Integer.class);
 assertEquals(
 Expected: java.lang.String, actual: java.lang.Integer,
+t.getMessage());
+}
+
+public void testGetMessage_classObjectArgs_nullInput() {
+final Throwable t = new IllegalClassException(null, (Object) null);
+assertEquals(Expected: null, actual: null, t.getMessage());
+}
+
+public void testGetMessage_classObjectArgs_normalInput() {
+final Throwable t =
+new IllegalClassException(String.class, new Object());
+assertEquals(
+Expected: java.lang.String, actual: java.lang.Object,
 t.getMessage());
 }
 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r234404 - /jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/IntHashMapTest.java

2005-08-21 Thread stevencaswell
Author: stevencaswell
Date: Sun Aug 21 17:52:20 2005
New Revision: 234404

URL: http://svn.apache.org/viewcvs?rev=234404view=rev
Log:
increase IntHashMap test coverage as reported by clover

Added:

jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/IntHashMapTest.java

Added: 
jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/IntHashMapTest.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/IntHashMapTest.java?rev=234404view=auto
==
--- 
jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/IntHashMapTest.java
 (added)
+++ 
jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/IntHashMapTest.java
 Sun Aug 21 17:52:20 2005
@@ -0,0 +1,128 @@
+/*

+ * Copyright 2005 Steven Caswell

+ */

+package org.apache.commons.lang;

+

+import junit.framework.Test;

+import junit.framework.TestCase;

+import junit.framework.TestSuite;

+import junit.textui.TestRunner;

+

+/**

+ *

+ * @author  Steven Caswell

+ * @version $Id$

+ */

+public class IntHashMapTest extends TestCase

+{

+

+public static void main(String[] args) {

+TestRunner.run(suite());

+}

+

+public static Test suite() {

+TestSuite suite = new TestSuite(IntHashMapTest.class);

+suite.setName(IntHashMapTest Tests);

+return suite;

+}

+

+public void testConstructor() {

+try {

+IntHashMap map = new IntHashMap(-1, 0.0f);

+fail();

+} catch (IllegalArgumentException e) {

+assertEquals(Illegal Capacity: -1, e.getMessage());

+}

+try {

+IntHashMap map = new IntHashMap(1, 0.0f);

+fail();

+} catch (IllegalArgumentException e) {

+assertEquals(Illegal Load: 0.0, e.getMessage());

+}

+IntHashMap map = new IntHashMap(0, 1.0f);

+

+try {

+IntHashMap map1 = new IntHashMap(-1);

+fail();

+} catch (IllegalArgumentException e) {

+   assertEquals(Illegal Capacity: -1, e.getMessage());

+}

+IntHashMap map1 = new IntHashMap(0);

+}

+

+public void testClear() {

+IntHashMap map = new IntHashMap();

+assertNull(map.put(1, hello));

+assertNull(map.put(2, world));

+assertEquals(2, map.size());

+map.clear();

+assertEquals(0, map.size());

+}

+  

+public void testContainsKey() {

+IntHashMap map = new IntHashMap();

+assertNull(map.put(1, hello));

+assertNull(map.put(2, world));

+assertEquals(2, map.size());

+assertTrue(map.containsKey(1));

+assertTrue(map.containsKey(2));

+assertFalse(map.containsKey(3));

+}

+

+public void testContains() {

+IntHashMap map = new IntHashMap();

+assertNull(map.put(1, hello));

+assertNull(map.put(2, world));

+assertEquals(2, map.size());

+assertTrue(map.containsValue(hello));

+assertTrue(map.containsValue(world));

+assertFalse(map.containsValue(goodbye));

+try {

+map.containsValue(null);

+fail();

+} catch(NullPointerException e) {

+  }

+}

+

+public void testContainsValue() {

+IntHashMap map = new IntHashMap();

+assertNull(map.put(1, hello));

+assertNull(map.put(2, world));

+assertEquals(2, map.size());

+assertTrue(map.containsValue(hello));

+assertTrue(map.containsValue(world));

+assertFalse(map.containsValue(goodbye));

+try {

+map.containsValue(null);

+fail();

+} catch(NullPointerException e) {

+}

+}

+

+public void testIsEmpty() {

+IntHashMap map = new IntHashMap();

+assertTrue(map.isEmpty());

+assertNull(map.put(1, hello));

+assertEquals(1, map.size());

+assertFalse(map.isEmpty());

+}

+  

+public void testPut() {

+IntHashMap map = new IntHashMap();

+assertNull(map.put(1, hello));

+assertNull(map.put(2, world));

+assertEquals(2, map.size());

+assertEquals(hello, map.put(1, hello));

+}

+

+public void testRemove() {

+IntHashMap map = new IntHashMap();

+assertNull(map.put(1, hello));

+assertNull(map.put(2, world));

+assertEquals(2, map.size());

+assertEquals(hello, map.remove(1));

+assertEquals(1, map.size());

+assertNull(map.remove(3));

+}

+

+}




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r234405 - /jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/NotImplementedExceptionTest.java

2005-08-21 Thread stevencaswell
Author: stevencaswell
Date: Sun Aug 21 17:53:08 2005
New Revision: 234405

URL: http://svn.apache.org/viewcvs?rev=234405view=rev
Log:
increase NotImplementedException test coverage as reported by clover

Modified:

jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/NotImplementedExceptionTest.java

Modified: 
jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/NotImplementedExceptionTest.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/NotImplementedExceptionTest.java?rev=234405r1=234404r2=234405view=diff
==
--- 
jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/NotImplementedExceptionTest.java
 (original)
+++ 
jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/NotImplementedExceptionTest.java
 Sun Aug 21 17:53:08 2005
@@ -15,6 +15,14 @@
  */
 package org.apache.commons.lang;
 
+import java.io.ByteArrayOutputStream;
+import java.io.OutputStreamWriter;
+import java.io.PrintStream;
+import java.io.PrintWriter;
+import java.io.StringWriter;
+
+import org.apache.commons.lang.exception.NestableException;
+
 import junit.framework.Test;
 import junit.framework.TestCase;
 import junit.framework.TestSuite;
@@ -46,52 +54,141 @@
 NotImplementedException ex = new NotImplementedException();
 assertEquals(Code is not implemented, ex.getMessage());
 assertEquals(null, ex.getCause());
+assertEquals(Code is not implemented, ex.getMessage());
 }
 
 public void testConstructor_String1() {
 NotImplementedException ex = new NotImplementedException((String) 
null);
 assertEquals(Code is not implemented, ex.getMessage());
 assertEquals(null, ex.getCause());
+assertEquals(Code is not implemented, ex.getMessage());
 }
 public void testConstructor_String2() {
 NotImplementedException ex = new NotImplementedException(msg);
 assertEquals(msg, ex.getMessage());
 assertEquals(null, ex.getCause());
+assertEquals(msg, ex.getMessage());
 }
 
 public void testConstructor_Throwable1() {
 NotImplementedException ex = new NotImplementedException((Throwable) 
null);
 assertEquals(Code is not implemented, ex.getMessage());
 assertEquals(null, ex.getCause());
+assertEquals(Code is not implemented, ex.getMessage());
 }
 public void testConstructor_Throwable2() {
 Exception npe = new NullPointerException();
 NotImplementedException ex = new NotImplementedException(npe);
 assertEquals(Code is not implemented, ex.getMessage());
 assertSame(npe, ex.getCause());
+assertEquals(Code is not implemented, ex.getMessage());
 }
 
 public void testConstructor_StringThrowable1() {
 NotImplementedException ex = new NotImplementedException((String) 
null, (Throwable) null);
 assertEquals(Code is not implemented, ex.getMessage());
 assertEquals(null, ex.getCause());
+assertEquals(Code is not implemented, ex.getMessage());
 }
 public void testConstructor_StringThrowable2() {
 Exception npe = new NullPointerException();
 NotImplementedException ex = new NotImplementedException(msg, npe);
 assertEquals(msg, ex.getMessage());
 assertSame(npe, ex.getCause());
+assertEquals(msg, ex.getMessage());
 }
 
 public void testConstructor_Class1() {
 NotImplementedException ex = new NotImplementedException((Class) null);
 assertEquals(Code is not implemented, ex.getMessage());
 assertEquals(null, ex.getCause());
+assertEquals(Code is not implemented, ex.getMessage());
 }
 public void testConstructor_Class2() {
 NotImplementedException ex = new NotImplementedException(String.class);
 assertEquals(Code is not implemented in class java.lang.String, 
ex.getMessage());
 assertEquals(null, ex.getCause());
+assertEquals(Code is not implemented in class java.lang.String, 
ex.getMessage());
 }
 
+public void testGetMessage_Indexed() {
+NotImplementedException ex = new NotImplementedException(new 
Exception(nested 1, new Exception(nested 2)));
+assertEquals(Code is not implemented, ex.getMessage());
+assertEquals(Code is not implemented, ex.getMessage(0));
+assertEquals(nested 1, ex.getMessage(1));
+assertEquals(nested 2, ex.getMessage(2));
+
+String[] messages = ex.getMessages();
+assertEquals(3, messages.length);
+assertEquals(Code is not implemented, messages[0]);
+assertEquals(nested 1, messages[1]);
+assertEquals(nested 2, messages[2]);
+}
+
+public void testGetThrowable() {
+NotImplementedException ex = new NotImplementedException(new 
NestableException(nested 1, new 

svn commit: r234406 - /jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/SerializationUtilsTest.java

2005-08-21 Thread stevencaswell
Author: stevencaswell
Date: Sun Aug 21 17:54:27 2005
New Revision: 234406

URL: http://svn.apache.org/viewcvs?rev=234406view=rev
Log:
increase SerializationUtils test coverage as reported by clover

Modified:

jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/SerializationUtilsTest.java

Modified: 
jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/SerializationUtilsTest.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/SerializationUtilsTest.java?rev=234406r1=234405r2=234406view=diff
==
--- 
jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/SerializationUtilsTest.java
 (original)
+++ 
jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/SerializationUtilsTest.java
 Sun Aug 21 17:54:27 2005
@@ -17,8 +17,12 @@
 
 import java.io.ByteArrayInputStream;
 import java.io.ByteArrayOutputStream;
+import java.io.IOException;
 import java.io.InputStream;
+import java.io.ObjectInputStream;
 import java.io.ObjectOutputStream;
+import java.io.OutputStream;
+import java.io.Serializable;
 import java.lang.reflect.Constructor;
 import java.lang.reflect.Modifier;
 import java.util.HashMap;
@@ -36,6 +40,10 @@
  * @version $Id$
  */
 public class SerializationUtilsTest extends TestCase {
+
+  static final String CLASS_NOT_FOUND_MESSAGE = 
ClassNotFoundSerializationTest.readObject fake exception;
+protected static final String SERIALIZE_IO_EXCEPTION_MESSAGE = Anonymous 
OutputStream I/O exception;
+  
 private String iString;
 private Integer iInteger;
 private HashMap iMap;
@@ -166,6 +174,22 @@
 }
 fail();
 }
+
+public void testSerializeIOException() throws Exception {
+// forces an IOException when the ObjectOutputStream is created, to 
test not closing the stream
+// in the finally block
+OutputStream streamTest = new OutputStream() {
+public void write(int arg0) throws IOException {
+throw new IOException(SERIALIZE_IO_EXCEPTION_MESSAGE);
+}
+};
+try {
+SerializationUtils.serialize(iMap, streamTest);
+}
+catch(SerializationException e) {
+assertEquals(java.io.IOException:  + 
SERIALIZE_IO_EXCEPTION_MESSAGE, e.getMessage());
+}
+}
 
 //---
 
@@ -219,6 +243,21 @@
 fail();
 }
 
+public void testDeserializeStreamClassNotFound() throws Exception {
+ByteArrayOutputStream streamReal = new ByteArrayOutputStream();
+ObjectOutputStream oos = new ObjectOutputStream(streamReal);
+oos.writeObject(new ClassNotFoundSerializationTest());
+oos.flush();
+oos.close();
+
+ByteArrayInputStream inTest = new 
ByteArrayInputStream(streamReal.toByteArray());
+try {
+Object test = SerializationUtils.deserialize(inTest);
+} catch(SerializationException se) {
+assertEquals(java.lang.ClassNotFoundException:  + 
CLASS_NOT_FOUND_MESSAGE, se.getMessage());
+}
+}
+
 //---
 
 public void testSerializeBytes() throws Exception {
@@ -344,3 +383,11 @@
 }
 
 }
+
+class ClassNotFoundSerializationTest implements Serializable
+{
+
+private void readObject(ObjectInputStream in) throws IOException, 
ClassNotFoundException{
+throw new 
ClassNotFoundException(SerializationUtilsTest.CLASS_NOT_FOUND_MESSAGE);
+}
+}
\ No newline at end of file



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r234407 - /jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/ValidateTest.java

2005-08-21 Thread stevencaswell
Author: stevencaswell
Date: Sun Aug 21 17:55:37 2005
New Revision: 234407

URL: http://svn.apache.org/viewcvs?rev=234407view=rev
Log:
increase Validate test coverage as reported by clover

Modified:

jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/ValidateTest.java

Modified: 
jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/ValidateTest.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/ValidateTest.java?rev=234407r1=234406r2=234407view=diff
==
--- 
jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/ValidateTest.java
 (original)
+++ 
jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/ValidateTest.java
 Sun Aug 21 17:55:37 2005
@@ -15,6 +15,8 @@
  */
 package org.apache.commons.lang;
 
+import java.lang.reflect.Constructor;
+import java.lang.reflect.Modifier;
 import java.util.ArrayList;
 import java.util.Collection;
 import java.util.HashMap;
@@ -363,6 +365,7 @@
 coll.add(a);
 coll.add(b);
 Validate.allElementsOfType(coll, String.class, MSG);
+Validate.allElementsOfType(coll, String.class);
 try {
 Validate.allElementsOfType(coll, Integer.class, MSG);
 fail(Expecting IllegalArgumentException);
@@ -395,4 +398,13 @@
 }
 }
 
+public void testConstructor() {
+assertNotNull(new Validate());
+Constructor[] cons = Validate.class.getDeclaredConstructors();
+assertEquals(1, cons.length);
+assertEquals(true, Modifier.isPublic(cons[0].getModifiers()));
+assertEquals(true, Modifier.isPublic(Validate.class.getModifiers()));
+assertEquals(false, Modifier.isFinal(Validate.class.getModifiers()));
+}
+
 }



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r234408 - /jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/WordUtilsTest.java

2005-08-21 Thread stevencaswell
Author: stevencaswell
Date: Sun Aug 21 17:57:19 2005
New Revision: 234408

URL: http://svn.apache.org/viewcvs?rev=234408view=rev
Log:
increase WordUtils test coverage as reported by clover

Modified:

jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/WordUtilsTest.java

Modified: 
jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/WordUtilsTest.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/WordUtilsTest.java?rev=234408r1=234407r2=234408view=diff
==
--- 
jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/WordUtilsTest.java
 (original)
+++ 
jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/WordUtilsTest.java
 Sun Aug 21 17:57:19 2005
@@ -260,6 +260,10 @@
 assertEquals(i aM hERE 123, WordUtils.swapCase(I Am Here 123) );
 assertEquals(I AM here 123, WordUtils.swapCase(i am HERE 123) );
 assertEquals(i am here 123, WordUtils.swapCase(I AM HERE 123) );
+
+String test = This String contains a TitleCase character: \u01C8;
+String expect = tHIS sTRING CONTAINS A tITLEcASE CHARACTER: \u01C9;
+assertEquals(expect, WordUtils.swapCase(test));
 }
 
 }



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r234409 - /jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/StringUtilsTest.java

2005-08-21 Thread stevencaswell
Author: stevencaswell
Date: Sun Aug 21 17:58:24 2005
New Revision: 234409

URL: http://svn.apache.org/viewcvs?rev=234409view=rev
Log:
increase StringUtils test coverage as reported by clover

Modified:

jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/StringUtilsTest.java

Modified: 
jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/StringUtilsTest.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/StringUtilsTest.java?rev=234409r1=234408r2=234409view=diff
==
--- 
jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/StringUtilsTest.java
 (original)
+++ 
jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/StringUtilsTest.java
 Sun Aug 21 17:58:24 2005
@@ -126,14 +126,27 @@
 assertEquals(null, StringUtils.upperCase(null));
 assertEquals(null, StringUtils.lowerCase(null));
 assertEquals(null, StringUtils.capitalize(null));
+assertEquals(null, StringUtils.uncapitalise(null));
 assertEquals(null, StringUtils.uncapitalize(null));
 
+assertEquals(capitalise(String) failed,
+FOO_CAP, StringUtils.capitalise(FOO_UNCAP) );
+assertEquals(capitalise(empty-string) failed,
+, StringUtils.capitalise() );
+assertEquals(capitalise(single-char-string) failed,
+X, StringUtils.capitalise(x) );
 assertEquals(capitalize(String) failed,
  FOO_CAP, StringUtils.capitalize(FOO_UNCAP) );
 assertEquals(capitalize(empty-string) failed,
  , StringUtils.capitalize() );
 assertEquals(capitalize(single-char-string) failed,
  X, StringUtils.capitalize(x) );
+assertEquals(uncapitalise(String) failed,
+ FOO_UNCAP, StringUtils.uncapitalise(FOO_CAP) );
+assertEquals(uncapitalise(empty-string) failed,
+ , StringUtils.uncapitalise() );
+assertEquals(uncapitalise(single-char-string) failed,
+ x, StringUtils.uncapitalise(X) );
 assertEquals(uncapitalize(String) failed,
  FOO_UNCAP, StringUtils.uncapitalize(FOO_CAP) );
 assertEquals(uncapitalize(empty-string) failed,
@@ -142,16 +155,24 @@
  x, StringUtils.uncapitalize(X) );
  
 // reflection type of tests: Sentences.
+assertEquals(uncapitalise(capitalise(String)) failed,
+ SENTENCE_UNCAP, 
StringUtils.uncapitalise(StringUtils.capitalise(SENTENCE_UNCAP)) );
+assertEquals(capitalise(uncapitalise(String)) failed,
+ SENTENCE_CAP, 
StringUtils.capitalise(StringUtils.uncapitalise(SENTENCE_CAP)) );
 assertEquals(uncapitalize(capitalize(String)) failed,
  SENTENCE_UNCAP, 
StringUtils.uncapitalize(StringUtils.capitalize(SENTENCE_UNCAP)) );
 assertEquals(capitalize(uncapitalize(String)) failed,
  SENTENCE_CAP, 
StringUtils.capitalize(StringUtils.uncapitalize(SENTENCE_CAP)) );
 
 // reflection type of tests: One word.
+assertEquals(uncapitalise(capitalise(String)) failed,
+ FOO_UNCAP, 
StringUtils.uncapitalise(StringUtils.capitalise(FOO_UNCAP)) );
+assertEquals(capitalise(uncapitalise(String)) failed,
+ FOO_CAP, 
StringUtils.capitalise(StringUtils.uncapitalise(FOO_CAP)) );
 assertEquals(uncapitalize(capitalize(String)) failed,
-FOO_UNCAP, 
StringUtils.uncapitalize(StringUtils.capitalize(FOO_UNCAP)) );
+ FOO_UNCAP, 
StringUtils.uncapitalize(StringUtils.capitalize(FOO_UNCAP)) );
 assertEquals(capitalize(uncapitalize(String)) failed,
-FOO_CAP, 
StringUtils.capitalize(StringUtils.uncapitalize(FOO_CAP)) );
+ FOO_CAP, 
StringUtils.capitalize(StringUtils.uncapitalize(FOO_CAP)) );
 
 assertEquals(upperCase(String) failed,
  FOO TEST THING, StringUtils.upperCase(fOo test THING) 
);
@@ -161,6 +182,7 @@
  foo test thing, StringUtils.lowerCase(fOo test THING) 
);
 assertEquals(lowerCase(empty-string) failed,
  , StringUtils.lowerCase() );
+
 }
 
 public void testSwapCase_String() {
@@ -174,6 +196,10 @@
 assertEquals(i aM hERE 123, StringUtils.swapCase(I Am Here 123) );
 assertEquals(I AM here 123, StringUtils.swapCase(i am HERE 123) );
 assertEquals(i am here 123, StringUtils.swapCase(I AM HERE 123) );
+
+String test = This String contains a TitleCase character: \u01C8;
+String expect = tHIS sTRING CONTAINS A tITLEcASE CHARACTER: \u01C9;
+assertEquals(expect, WordUtils.swapCase(test));
 }
 
 

svn commit: r234410 - /jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/LangTestSuite.java

2005-08-21 Thread stevencaswell
Author: stevencaswell
Date: Sun Aug 21 17:58:53 2005
New Revision: 234410

URL: http://svn.apache.org/viewcvs?rev=234410view=rev
Log:
added tests to increase test coverage

Modified:

jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/LangTestSuite.java

Modified: 
jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/LangTestSuite.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/LangTestSuite.java?rev=234410r1=234409r2=234410view=diff
==
--- 
jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/LangTestSuite.java
 (original)
+++ 
jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/LangTestSuite.java
 Sun Aug 21 17:58:53 2005
@@ -52,6 +52,7 @@
 suite.setName(Commons-Lang Tests);
 suite.addTest(ArrayUtilsTest.suite());
 suite.addTest(ArrayUtilsAddTest.suite());
+suite.addTest(ArrayUtilsRemoveTest.suite());
 suite.addTest(BitFieldTest.suite());
 suite.addTest(BooleanUtilsTest.suite());
 suite.addTest(CharEncodingTest.suite());
@@ -63,6 +64,7 @@
 suite.addTest(EntitiesTest.suite());
 suite.addTest(IllegalClassExceptionTest.suite());
 suite.addTest(IncompleteArgumentExceptionTest.suite());
+suite.addTest(IntHashMapTest.suite());
 suite.addTest(NotImplementedExceptionTest.suite());
 suite.addTest(NullArgumentExceptionTest.suite());
 suite.addTest(NumberRangeTest.suite());



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [lang] StrTokenizer.getCSVXxx and getTSVXxx method names.

2005-08-21 Thread Steven Caswell
I agree, I prefer this naming convention also.

On 8/21/05, Gary Gregory [EMAIL PROTECTED] wrote:
 Hello All:
 
 I would prefer that the methods StrTokenizer.getCSVXxx and getTSVXxx
 method be camel-cased like getCsvXxx and getTsvXxx. In general I prefer
 to camel case acronyms to help readability when more than one acronym is
 used, as in getIbmSoapXml() instead of getIBMSOAPXM().
 
 Onions?
 
 Thanks,
 Gary
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


-- 
Steven Caswell
[EMAIL PROTECTED]

(c) 404-693-4148
(o) 404-260-2382

Take back the web - http://www.mozilla.org

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r234411 - in /jakarta/commons/sandbox/scxml/trunk: project.xml xdocs/changes.xml xdocs/images/ xdocs/images/scxml-logo-white.png

2005-08-21 Thread rahul
Author: rahul
Date: Sun Aug 21 18:15:24 2005
New Revision: 234411

URL: http://svn.apache.org/viewcvs?rev=234411view=rev
Log:
1) Couple of POM changes according to [ 
http://jakarta.apache.org/commons/building.html ]
2) Getting ready to publish Commons SCXML - added changes.xml and a logo (well, 
my initial attempt at that ;-)

Added:
jakarta/commons/sandbox/scxml/trunk/xdocs/changes.xml   (with props)
jakarta/commons/sandbox/scxml/trunk/xdocs/images/
jakarta/commons/sandbox/scxml/trunk/xdocs/images/scxml-logo-white.png   
(with props)
Modified:
jakarta/commons/sandbox/scxml/trunk/project.xml

Modified: jakarta/commons/sandbox/scxml/trunk/project.xml
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/sandbox/scxml/trunk/project.xml?rev=234411r1=234410r2=234411view=diff
==
--- jakarta/commons/sandbox/scxml/trunk/project.xml (original)
+++ jakarta/commons/sandbox/scxml/trunk/project.xml Sun Aug 21 18:15:24 2005
@@ -16,19 +16,22 @@
 --
 project
   extend../commons-build/sandbox-project.xml/extend
+  idcommons-scxml/id
   groupIdorg.apache.commons/groupId
-  artifactIdcommons-scxml/artifactId
   currentVersion1.0-SNAPSHOT/currentVersion
   nameCommons SCXML/name
 
   inceptionYear2005/inceptionYear
-  shortDescriptionCommons SCXML Engine/shortDescription
-  descriptionA Reference Implementation of State Chart XML/description
+  shortDescriptionJakarta Commons SCXML/shortDescription
+  descriptionA Reference Implementation of State Chart XML 
Engine/description
 
   logo/images/scxml-logo-white.png/logo
   packageorg.apache.commons.scxml/package
   urlhttp://jakarta.apache.org/commons/sandbox/scxml//url
 
+  siteAddresscvs.apache.org/siteAddress
+  siteDirectory/www/jakarta.apache.org/commons/sandbox/scxml//siteDirectory
+
   developers
 developer
   nameRahul Akolkar/name
@@ -39,7 +42,6 @@
 developer
   nameMartin Cooper/name
   idmartinc/id
-  emailmartinc AT apache.org/email
   organizationApache Software Foundation/organization
 /developer
   /developers
@@ -109,12 +111,12 @@
   /build
 
   reports
- reportmaven-changelog-plugin/report
+ !--reportmaven-changelog-plugin/report--
  reportmaven-changes-plugin/report
  !--reportmaven-checkstyle-plugin/report--
  !--reportmaven-clover-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-jellydoc-plugin/report--
  reportmaven-junit-report-plugin/report

Added: jakarta/commons/sandbox/scxml/trunk/xdocs/changes.xml
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/sandbox/scxml/trunk/xdocs/changes.xml?rev=234411view=auto
==
--- jakarta/commons/sandbox/scxml/trunk/xdocs/changes.xml (added)
+++ jakarta/commons/sandbox/scxml/trunk/xdocs/changes.xml Sun Aug 21 18:15:24 
2005
@@ -0,0 +1,57 @@
+?xml version=1.0 encoding=UTF-8?
+!--
+   Copyright 2003-2004 The Apache Software Foundation
+
+   Licensed under the Apache License, Version 2.0 (the License);
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+   http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an AS IS BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+--
+
+document
+
+  properties
+titleCommons SCXML Changes/title
+author email=[EMAIL PROTECTED]Rahul Akolkar/author
+  /properties
+
+  body
+
+section name=About this document
+  ul
+liEntries labelled SNAPSHOT are NOT official releases./li
+liCommons SCXML has had no official releases./li
+  /ul
+/section
+
+release version=pre-beta-1.0-SNAPSHOT-002 date=08-20-2005 
description=Checkstyle errors fix
+  action dev=rahul type=fix
+Corrected year of inception in License.
+  /action
+  action dev=rahul type=fix
+Corrected some 1500+ checkstyle errors.
+  /action
+  action dev=rahul type=add
+This changes document added.
+  /action
+/release
+
+release version=pre-beta-1.0-SNAPSHOT-001 date=08-17-2005 
description=Initial check-in
+  action dev=rahul type=add
+Initial SCXML codebase copied from the RDC Taglib codebase (part of 
Jakarta Taglibs Proper).
+  /action
+  action dev=rahul type=add
+Initial build artifacts, STATUS and PROPOSAL documents.
+  /action
+/release
+
+  /body
+
+/document

Propchange: jakarta/commons/sandbox/scxml/trunk/xdocs/changes.xml

DO NOT REPLY [Bug 36058] - [daemon] jsvc.support for setting umask

2005-08-21 Thread bugzilla
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=36058.
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=36058





--- Additional Comments From [EMAIL PROTECTED]  2005-08-22 03:19 ---
well, of course changing to a normal user is enough for most cases, but well -
on UNIX, each file is created with certain priviledges and administrators _must_
set the umask to certain values, for example for allowing the group to have
write-acces to newly created files.

Since the umask set prior to starting jsvc is also applied to all files that
jsvc creates (like pid- and log-file) and not only to those that the jvm
creates, there are two sollutions:

- either create the log- and pid-files with a specific hardcoded umask (not the
one provided by the environment)
- change the umask for the jvm that jsvc starts only

-- 
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: r234412 - /jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/SystemUtils.java

2005-08-21 Thread ggregory
Author: ggregory
Date: Sun Aug 21 18:20:12 2005
New Revision: 234412

URL: http://svn.apache.org/viewcvs?rev=234412view=rev
Log:
Removed extra () layer.

Modified:

jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/SystemUtils.java

Modified: 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/SystemUtils.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/SystemUtils.java?rev=234412r1=234411r2=234412view=diff
==
--- 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/SystemUtils.java
 (original)
+++ 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/SystemUtils.java
 Sun Aug 21 18:20:12 2005
@@ -695,8 +695,8 @@
  * @since Java 1.2
  */
 public static final String USER_COUNTRY = 
-(getSystemProperty(user.country) == null ?
-getSystemProperty(user.region) : 
getSystemProperty(user.country));
+getSystemProperty(user.country) == null ?
+getSystemProperty(user.region) : 
getSystemProperty(user.country);
 
 /**
  * pThe codeuser.dir/code System Property. User's current working



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Archiving Commons Sandbox components

2005-08-21 Thread Henri Yandell
On 8/21/05, Craig McClanahan [EMAIL PROTECTED] wrote:
 On 8/21/05, Henri Yandell [EMAIL PROTECTED] wrote:
  As per the Sandbox pruning proposal
  (http://wiki.apache.org/jakarta-commons/ProposalSandboxPruning), I
  propose to archive the following 'inactive' components (ie nothing
  changed in over 6 months):
 
  resources
 
 The resources package is in Commons Proper, not in the sandbox.  It
 is also (still) under consideration for adoption in Struts to replace
 the Struts-specific utility code it was refactored from.

Will delete rather than archive the sandbox version then.

 Some other sandbox packages you should consider adding to the dormant
 list are threading and workflow -- both were packages I originally
 created, but didn't accumulate a developer community.  In both cases,
 there are better approaches to the problem spaces in other projects,
 so I don't forsee any likely development here.

In another month or so I'll have another sweep. There's a lot at 5
months activity that'll be swept up into a second set of components
with 6 month inactivity.

Hen

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r234413 - /jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/BitFieldTest.java

2005-08-21 Thread stevencaswell
Author: stevencaswell
Date: Sun Aug 21 18:25:29 2005
New Revision: 234413

URL: http://svn.apache.org/viewcvs?rev=234413view=rev
Log:
corrected isAllSet test on zero value

Modified:

jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/BitFieldTest.java

Modified: 
jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/BitFieldTest.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/BitFieldTest.java?rev=234413r1=234412r2=234413view=diff
==
--- 
jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/BitFieldTest.java
 (original)
+++ 
jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/BitFieldTest.java
 Sun Aug 21 18:25:29 2005
@@ -123,7 +123,7 @@
 public void testIsAllSet() {
 for (int j = 0; j  0x3F80; j += 0x80) {
 assertTrue(!bf_multi.isAllSet(j));
-assertTrue(!bf_zero.isAllSet(j));
+assertTrue(bf_zero.isAllSet(j));
 }
 assertTrue(bf_multi.isAllSet(0x3F80));
 assertTrue(!bf_single.isAllSet(0));



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[Jakarta-commons Wiki] Trivial Update of SCXML by RahulAkolkar

2005-08-21 Thread Apache Wiki
Dear Wiki user,

You have subscribed to a wiki page or wiki category on Jakarta-commons Wiki 
for change notification.

The following page has been changed by RahulAkolkar:
http://wiki.apache.org/jakarta-commons/SCXML

The comment on the change is:
SCXML has been published, update URL

--
  /transition
  
  onexit
-   log expr=''[http://jakarta.apache.org/commons Commons-SCXML] is 
born''/
+   log expr=''[http://jakarta.apache.org/commons/sandbox/scxml 
Commons-SCXML] is born''/
  /onexit
/state
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [FileUpload] JSR-168 support in 1.1-dev: can we get a release (plan)?

2005-08-21 Thread Martin Cooper
On 8/21/05, Ate Douma [EMAIL PROTECTED] wrote:
 I'm working (as committer) on Jetspeed-2, Portals Bridges and Wicket 
 (wicket.sf.net).
 For all these projects I need to provide some form of JSR-168 based 
 FileUpload.
 Although I found the 1.1-dev release in cvs.apache.org/repository I'd rather 
 see a real 1.1 release.
 The current codebase hasn't been touched since December 2004 and although it 
 might not be 100% fail prove,
 a release simply based on the current codebase would be very much appreciated.
 Reviewing the mailing lists (both dev and user) shows I'm not alone in this 
 respect...
 I've already seen some projects decide to pull in the code themselves instead 
 of waiting for ever.
 Could anyone from the FileUpload team please give an indication if, and 
 hopefully when, we can expect something?

FileUpload 1.1 depends on IO 1.1. I've tried to nudge the IO folks
several times to get their 1.1 release done, but there always seem to
be a few more things that need to be finished up and nobody to do the
finishing, so that has never happened. That has rather dampened the
enthusiasm I once had for getting FileUpload 1.1 finished and out the
door...

 And if need be, I'm willing to help out where I can: just let me know.

If you can help in any way to get IO 1.1 released, then I'll be glad
to jump back in and finish off FileUpload 1.1 shortly thereafter.

--
Martin Cooper


 With regards,
 
 Ate Douma
 
 
 
 -
 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]



[Jakarta-commons Wiki] Trivial Update of SCXML/HomePage by RahulAkolkar

2005-08-21 Thread Apache Wiki
Dear Wiki user,

You have subscribed to a wiki page or wiki category on Jakarta-commons Wiki 
for change notification.

The following page has been changed by RahulAkolkar:
http://wiki.apache.org/jakarta-commons/SCXML/HomePage

The comment on the change is:
SCXML has been published, update website URL

--
  The W3C Voice Browser Working Group has published a Working Draft of State 
Chart XML (SCXML). SCXML provides a generic state-machine based execution 
environment based on CCXML and Harel State Tables and is a candidate for the 
control language within multiple markup languages coming out of the W3C. 
Commons SCXML is the Reference Implementation for an SCXML engine.
  
- The library provides an SCXML engine capable of executing a state machine 
defined using a SCXML document, while abstracting out the environment 
interfaces. For project motivation and overview see the 
[http://jakarta.apache.org/commons Commons SCXML Webpage].
+ The library provides an SCXML engine capable of executing a state machine 
defined using a SCXML document, while abstracting out the environment 
interfaces. For project motivation and overview see the 
[http://jakarta.apache.org/commons/sandbox/scxml Commons SCXML Webpage].
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [SCXML][ALL][BUILD][SITE] Publishing Commons (Sandbox) SCXML

2005-08-21 Thread Martin Cooper
On 8/18/05, Rahul Akolkar [EMAIL PROTECTED] wrote:
 Martin (or anyone else who can help get a new sandbox component going) -
 
 The initial scxml code is in sandbox [1], I'm now eager to get the
 nightlies cranking and the scxml site deployed. I need help with:
 
 Repository:
  * I wanted to update the trunks-sandbox externals [2]
 
 Sandbox nightlies:
  * Do the nightlies run ant or maven, or is that a per component preference?

The nightly builds use Ant. Projects using Maven should also check in
an auto-generated Ant build file anyway, so the nightlies can use
that.

  * Which box are they running on i.e. what do I need to do to get them
 going for scxml?

As Robert mentioned, Craig runs the nightlies on his own box, so
you'll need to ask him directly to add SCXML to his list.

--
Martin Cooper


 Site:
  * AFAICS, buildall.sh seems a better bet than me doing a maven
 site:sshdeploy. Who runs that and how often?
  * Should I submit patch(es) to commons-build/menus once scxml is
 published; via bugzilla?
 
 If I've missed a bunch of documentation, please send a pointer ;-)
 -Rahul
 
 [1] SCXML code, direct, more sets of eyes the better [
 http://svn.apache.org/repos/asf/jakarta/commons/sandbox/scxml/ ]
 [2] Earlier email on a related note [
 http://marc.theaimsgroup.com/?l=jakarta-commons-devm=112430820307347w=2
 ]
 
 -
 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]



[Jakarta-commons Wiki] Update of TheSandbox by RahulAkolkar

2005-08-21 Thread Apache Wiki
Dear Wiki user,

You have subscribed to a wiki page or wiki category on Jakarta-commons Wiki 
for change notification.

The following page has been changed by RahulAkolkar:
http://wiki.apache.org/jakarta-commons/TheSandbox

The comment on the change is:
Published SCXML, website patches needing Proper karma will be posted tomorrow

--
  ||Mapper||Published
  ||Messenger||Published
  ||Scaffold||Published|| is a toolkit for building web applications, to 
complement web application frameworks (such as Struts).||
+ ||[:SCXML]||Published||Reference Implementation of State Chart XML (SCXML), 
currently a W3C Working Draft.||
  ||SQL||Published
  ||ThreadPool||Published
  ||VFS||Published||under active development again.||
@@ -40, +41 @@

  ||Launcher||Unpublished
  ||Periodicity||Unpublished
  ||Reflect||Unpublished||extracted from BeanUtils, but unfinished and in a 
coma.||
- ||[:SCXML]||Unpublished||Reference Implementation of State Chart XML (SCXML), 
currently a W3C Working Draft.||
  ||Servlet||Unpublished||not enough here to justify a component||
  ||Threading||Unpublished||migrated over from Avalon Excalibur. Currently 
inactive.||
  ||xo||Unpublished||XML to Bean mapper.||

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[PROPOSAL] Commons Proxy

2005-08-21 Thread James Carman
Proposal for Commons Proxy

 

(0) rationale

 

Many projects require the use of proxies in order to support such features
as method interception/decoration, lazy

loading, dependency injection, etc.  There are many different techniques for
creating proxy objects which delegate to

other objects (JDK proxies, CGLIB, and Javassist to name a few).  Using
these technologies can prove to be quite

daunting.

 

(1) scope of the package

 

The package shall create and maintain a suite of utility classes for
creating proxy objects written in the Java language

to be distributed under the ASF license.  The package will include many
different object provider implementations.

The package will also serve as a repository for many useful
MethodInterceptor (AOP Alliance API) implementations.  The

package will provide multiple proxy factory implementations, supporting
different proxying technologies (JDK proxies,

CGLIB, Javassist).

 

(1.5) interaction with other packages

 

The package relies on some JDK5-specific features, such as generics and
read/write locks (java.util.concurrent.locks

package).  It utilizes the JUnit unit testing framework for developing and
executing unit tests, but this is of interest

only to developers of the component.  The original will include support for
the Hessian and Burlap remoting protocols.

The original codebase will also include support for CGLIB and Javassist-base
proxies.  Method interception will be done

using the AOP Alliance API.

 

(2) identify the initial source for the package

 

The initial codebase will be contributed by James Carman based on code in
the Syringe (http://syringe.dev.java.net)

project and can be distributed under the Apache license.

 

(2.1) identify the base name for the package

 

org.apache.commons.proxy

 

(2.2) identify the coding conventions for this package

 

The code uses the conventions from the Jakarta Turbine package.

 

(3) identify any Jakarta-Commons resources to be created

 

(3.1) mailing list

 

Discussions will take place on the general [EMAIL PROTECTED]
mailing list.  To

help list subscribers identify messages of interest, it is suggested that
the message subject

of messages about this component be prefixed with [proxy].

 

(3.2) SVN repositories

 

A new directory proxy will be needed in the jakarta-commons SVN
repository.

 

(3.3) Bugzilla

 

A new component proxy under the Commons product category, with
appropriate version

identifiers as needed.

 

(4) identify the initial set of committers to be listed in the Status File.

 

James Carman



svn commit: r234418 - in /jakarta/commons/sandbox/proxy/trunk: ./ src/java/org/apache/commons/proxy/provider/ src/test/org/apache/commons/proxy/util/

2005-08-21 Thread jcarman
Author: jcarman
Date: Sun Aug 21 19:33:10 2005
New Revision: 234418

URL: http://svn.apache.org/viewcvs?rev=234418view=rev
Log:
Removing unnecessary project dependencies.

Removed:

jakarta/commons/sandbox/proxy/trunk/src/java/org/apache/commons/proxy/provider/AbstractProvider.java
Modified:
jakarta/commons/sandbox/proxy/trunk/build.xml
jakarta/commons/sandbox/proxy/trunk/commons-proxy.iml

jakarta/commons/sandbox/proxy/trunk/src/java/org/apache/commons/proxy/provider/ProviderDecorator.java

jakarta/commons/sandbox/proxy/trunk/src/test/org/apache/commons/proxy/util/AbstractTestCase.java

Modified: jakarta/commons/sandbox/proxy/trunk/build.xml
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/sandbox/proxy/trunk/build.xml?rev=234418r1=234417r2=234418view=diff
==
--- jakarta/commons/sandbox/proxy/trunk/build.xml (original)
+++ jakarta/commons/sandbox/proxy/trunk/build.xml Sun Aug 21 19:33:10 2005
@@ -55,14 +55,11 @@
 

 

 target name=get-dependencies

-runtime-dependency groupId=commons-logging version=1.0.4/

-runtime-dependency groupId=log4j version=1.2.8/

 runtime-dependency groupId=aopalliance version=1.0/

 runtime-dependency groupId=cglib artifactId=cglib-full 
version=2.0.2/

 runtime-dependency groupId=burlap version=2.1.7/

 runtime-dependency groupId=hessian version=3.0.1/

 runtime-dependency groupId=javassist version=3.0/

-build-dependency groupId=easymock version=1.1/

 build-dependency groupId=junit version=3.8.1/

 /target

 


Modified: jakarta/commons/sandbox/proxy/trunk/commons-proxy.iml
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/sandbox/proxy/trunk/commons-proxy.iml?rev=234418r1=234417r2=234418view=diff
==
--- jakarta/commons/sandbox/proxy/trunk/commons-proxy.iml (original)
+++ jakarta/commons/sandbox/proxy/trunk/commons-proxy.iml Sun Aug 21 19:33:10 
2005
@@ -15,15 +15,6 @@
 orderEntry type=module-library

   library

 CLASSES

-  root 
url=jar://$MODULE_DIR$/lib/runtime/commons-logging/commons-logging.jar!/ /

-/CLASSES

-JAVADOC /

-SOURCES /

-  /library

-/orderEntry

-orderEntry type=module-library

-  library

-CLASSES

   root 
url=jar://$MODULE_DIR$/lib/runtime/aopalliance/aopalliance.jar!/ /

 /CLASSES

 JAVADOC /

@@ -42,15 +33,6 @@
 orderEntry type=module-library

   library

 CLASSES

-  root url=jar://$MODULE_DIR$/lib/runtime/log4j/log4j.jar!/ /

-/CLASSES

-JAVADOC /

-SOURCES /

-  /library

-/orderEntry

-orderEntry type=module-library

-  library

-CLASSES

   root url=jar://$MODULE_DIR$/lib/runtime/hessian/hessian.jar!/ /

 /CLASSES

 JAVADOC /

@@ -60,15 +42,6 @@
 orderEntry type=module-library

   library

 CLASSES

-  root url=jar://$MODULE_DIR$/lib/build/easymock/easymock.jar!/ /

-/CLASSES

-JAVADOC /

-SOURCES /

-  /library

-/orderEntry

-orderEntry type=module-library

-  library

-CLASSES

   root url=jar://$MODULE_DIR$/lib/runtime/javassist/javassist.jar!/ 
/

 /CLASSES

 JAVADOC /

@@ -88,15 +61,6 @@
   library

 CLASSES

   root url=jar://$MODULE_DIR$/lib/runtime/burlap/burlap.jar!/ /

-/CLASSES

-JAVADOC /

-SOURCES /

-  /library

-/orderEntry

-orderEntry type=module-library

-  library

-CLASSES

-  root url=jar://$MODULE_DIR$/lib/runtime/com.jamonapi/jamon.jar!/ 
/

 /CLASSES

 JAVADOC /

 SOURCES /


Modified: 
jakarta/commons/sandbox/proxy/trunk/src/java/org/apache/commons/proxy/provider/ProviderDecorator.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/sandbox/proxy/trunk/src/java/org/apache/commons/proxy/provider/ProviderDecorator.java?rev=234418r1=234417r2=234418view=diff
==
--- 
jakarta/commons/sandbox/proxy/trunk/src/java/org/apache/commons/proxy/provider/ProviderDecorator.java
 (original)
+++ 
jakarta/commons/sandbox/proxy/trunk/src/java/org/apache/commons/proxy/provider/ProviderDecorator.java
 Sun Aug 21 19:33:10 2005
@@ -21,7 +21,7 @@
  * @author James Carman

  * @version 1.0

  */

-public class ProviderDecoratorT extends AbstractProviderT

+public class ProviderDecoratorT implements ObjectProviderT

 {

 protected ObjectProvider? extends T inner;

 


Modified: 
jakarta/commons/sandbox/proxy/trunk/src/test/org/apache/commons/proxy/util/AbstractTestCase.java
URL: 

Re: [FileUpload] JSR-168 support in 1.1-dev: can we get a release (plan)?

2005-08-21 Thread Henri Yandell
On 8/21/05, Martin Cooper [EMAIL PROTECTED] wrote:
 On 8/21/05, Ate Douma [EMAIL PROTECTED] wrote:
  I'm working (as committer) on Jetspeed-2, Portals Bridges and Wicket 
  (wicket.sf.net).
  For all these projects I need to provide some form of JSR-168 based 
  FileUpload.
  Although I found the 1.1-dev release in cvs.apache.org/repository I'd 
  rather see a real 1.1 release.
  The current codebase hasn't been touched since December 2004 and although 
  it might not be 100% fail prove,
  a release simply based on the current codebase would be very much 
  appreciated.
  Reviewing the mailing lists (both dev and user) shows I'm not alone in this 
  respect...
  I've already seen some projects decide to pull in the code themselves 
  instead of waiting for ever.
  Could anyone from the FileUpload team please give an indication if, and 
  hopefully when, we can expect something?
 
 FileUpload 1.1 depends on IO 1.1. I've tried to nudge the IO folks
 several times to get their 1.1 release done, but there always seem to
 be a few more things that need to be finished up and nobody to do the
 finishing, so that has never happened. That has rather dampened the
 enthusiasm I once had for getting FileUpload 1.1 finished and out the
 door...
 
  And if need be, I'm willing to help out where I can: just let me know.
 
 If you can help in any way to get IO 1.1 released, then I'll be glad
 to jump back in and finish off FileUpload 1.1 shortly thereafter.

Ack. Let's make that happen. IO 1.1.

Easiest way; anything new that's not ready gets thrown overboard and
left til 1.2 :)

Hen

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [io] release?

2005-08-21 Thread Henri Yandell
On 6/26/05, Torsten Curdt [EMAIL PROTECTED] wrote:
  The main tasks for a release are all the release notes, clirr, jdiff,
  release candidates, votes etc
 
 
 
  Is the process docoumented somewhere?
 
 
  See http://jakarta.apache.org/commons/releases/index.html
 
 That's exensive! Awesome!
 Who is the release manager of commons-io?

I'm guessing no one was able to volunteer.

FileUpload's next release is blocked by IO's release, so it's in our
best interest to get something out asap :)

Anyone up for volunteering on making this move?

Failing that, what's the status on the release. Any reason not to
knock out the release notes, various reports and zap out a release
candidate?

Hen

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Commented: (JELLY-184) Using namespace-prefixes breaks Jelly

2005-08-21 Thread Tony Robertson (JIRA)
[ 
http://issues.apache.org/jira/browse/JELLY-184?page=comments#action_12319540 ] 

Tony Robertson commented on JELLY-184:
--

Here is an example jelly script that still doesn't work because of this bug:

?xml version=1.0 ?
j:jelly xmlns:j=jelly:core xmlns:x=jelly:xml
j:parse
  x:transform xslt=code2jelly.xsl
x:transform xml=operations.xml xslt=ops2code.xsl /
  /x:transform
/j:parse
/j:jelly

The code2jelly.xsl transform produces a jelly script which I want to run.
If I save the transform output to a file, then run it as a jelly script, it 
works OK.
However, when the script body is coming directly from the SAX event stream of 
the transform, the namespace definitions (eg xmlns:x=jelly:xml) show up as 
attributes that the script compiler chokes on, exactly as described above.

It looks like the following code is responsible:
In the org.apache.commons.jelly.parser.XMLParser class, the createTag 
method, where it loops through each attribute and does a 
script.addAttribute(attributeName, expression);
I think this code should check the namespace of the attributes (where 
available), and only add the attributes having the same namespace as the tag.

- Tony


 Using namespace-prefixes breaks Jelly
 -

  Key: JELLY-184
  URL: http://issues.apache.org/jira/browse/JELLY-184
  Project: jelly
 Type: Bug
   Components: core / taglib.core
 Reporter: dion gillard


 Using feature http://xml.org/sax/features/namespace-prefixes; breaks Jelly.
   SAXParserFactory pf = SAXParserFactory.newInstance();
   pf.setValidating (false);
   pf.setNamespaceAware (true);
   pf.setFeature (http://xml.org/sax/features/namespace-prefixes;, true);
   XMLReader reader = null;
 SAXParser parser = pf.newSAXParser();
   reader = parser.getXMLReader();
   InputSource inSrc = new InputSource
   (new FileReader(new File (util/test.jelly)));
   Jelly jelly = new Jelly();
   JellyContext context = new JellyContext ();
   ExtXMLParser jellyParser = new ExtXMLParser ();
   jellyParser.setContext(context);
   jellyParser.configure ();
   reader.setContentHandler(jellyParser);
   reader.parse (inSrc);
   Script script = jellyParser.getScript ();
   script.compile ();
   script.run (context, XMLOutput.createXMLOutput(System.out));
 results in:
 [junit] org.apache.commons.jelly.JellyTagException: null:-1:-1: null
 null:2:88: j:jelly This tag does not understand the '' attribute
 [junit]   at
 org.apache.commons.jelly.impl.TagScript.handleException(TagScript.java:600)
 [junit]   at 
 org.apache.commons.jelly.impl.TagScript.run(TagScript.java:239)
 [junit]   at 
 org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:89)
 The offending line is pf.setFeature
 (http://xml.org/sax/features/namespace-prefixes;, true)
 While setting this feature is, of course, not necessary for Jelly, the Jelly
 script I want to use in the real application is embedded within a larger XML
 file. This file is parsed into a SAX event buffer with the feature set 
 (because
 in general, namespace-prefixes are needed). The SAX events belonging to the
 Jelly script are then extracted and fed to Jelly. Of course, I can filter 
 out
 the namespace prefix attributes (and I will, as a workaround). But Jelly 
 should,
 of course, not break because of these attributes being reported.
  - Michael

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]