Sandbox vote on general@

2006-03-29 Thread Henri Yandell


In a day or so I'm going to call a vote on general@jakarta.apache.org to 
move the Commons and Taglibs sandboxes up to a Jakarta Sandbox. Informing 
these two dev lists so everyone has time to join the general@ list.


Hen

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



DO NOT REPLY [Bug 36529] - [lang] Fraction 0 to the zeroth power should throw an ArithmeticException

2006-03-29 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=36529.
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=36529





--- Additional Comments From [EMAIL PROTECTED]  2006-03-29 09:11 ---
My gut says to stick with the JVM way of doing it as per Brent's comment. I
think it's better to not be surprising users with unexpected exceptions (and
differences from the JVM) than to be trying to pick an option in what seems to
be a grey area of mathematics.

Does that sound reasonable Elliotte? 

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



RE: [all] Line width and such minutiae

2006-03-29 Thread Gary Gregory
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sandy
 McArthur
 Sent: Tuesday, March 28, 2006 11:03 PM
 To: Jakarta Commons Developers List
 Subject: Re: [all] Line width and such minutiae
 
 On 3/29/06, Jörg Schaible [EMAIL PROTECTED] wrote:
  Phil Steitz wrote on Wednesday, March 29, 2006 4:27 AM:
 
   On 3/28/06, Martin Cooper [EMAIL PROTECTED] wrote:
   On 3/28/06, Gary Gregory [EMAIL PROTECTED] wrote:
  
   -Original Message-
   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
   Of Martin Cooper Sent: Tuesday, March 28, 2006 3:02 PM
   To: Jakarta Commons Developers List
   Subject: Re: [all] Line width and such minutiae
  
   On 3/28/06, Henri Yandell [EMAIL PROTECTED] wrote:
  
   On 3/28/06, Phil Steitz [EMAIL PROTECTED] wrote:
  
   My personal preference is 80 column line widths, partly because
   this makes diffs readable.
  
   Sorry, forgot to add this to the other email.
  
   For the record, I like 120 column line widths. Java's a verbose
   language, 80 feels cramped. People can print in landscape :)
  
  
   For me, printing is not the issue, side-by-side diffs are the
   issue. I hate having to scroll horizontally all the time to see
   the actual diffs. That's why I'm with Phil on 80 character widths.
  
   This sounds to me like a problem with a particular diff tool. I do
   not think we should restrict our source code based on the
   limitations of /one/ tool.
 
  Try to use proportional fonts. Ist arted using it years ago and I will
 never go back. So linelength gets somewhat pointless :)
 
   For those of us using Eclipse, this is not an issue since the tool
   (Eclipse) presents a nice user-interface that allows me to focus on
   the nature of the changes as opposed to the changes and the format
   the changes are given in.
  
   We use 120 at work. I think we got the idea from Jakarata Commons
   but I cannot find a link right now. Plenty of Commons projects use
   120, so the number must come from some previous agreement.
  
  
   Perhaps agreement among some subset of us - the components I've
   worked on use 80 characters. ;-)
  
  
   The number 80 has numerological properties that imbue the code with a
   special quality that obviously only you and I appreciate, Martin.
  
   Mailers wrapping commit diffs is a sign that we have offended the Gods
   when we code beyond the end of the card ;-)
 
  STOP. We must limit the line length to 76. Any longer line will be
 wrapped by my mailer.
 
  :D
 
 I'd like to formally apologize for any of the times I've been more
 than the 4th person to respond in a thread. Oops I'm doing it now. :-)
 
 A little more seriously though, the svn-to-email script really could
 use some modernization. We live in an age of mime email and each part
 of commit message really should be it's own mime part of type
 text/x-patch or something. (I don't see an existing patch mime-type:
 http://www.iana.org/assignments/media-types/ ) Part of the problem
 something that is more structured than text/plain is being labeled as
 such. This could be a first step to mail clients with built in
 colorized diff view.

I just read about this thing called HTML. Has anyone heard of it?

Gary

 
 --
 Sandy McArthur
 
 He who dares not offend cannot be honest.
 - Thomas Paine
 
 -
 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]



[io] File checksum

2006-03-29 Thread Emmanuel Bourg

Hi,

I have found myself recoding a file checksum function for several 
projects, I wonder if such a function could be added to [io]. Something 
like this:


public static Checksum checksum(File file, Checksum cs)

the usage would look like this:

long crc = FileUtils.checksum(file, new CRC32()).getValue();

What do you think ?

Emmanuel Bourg

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



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

2006-03-29 Thread Stefan Bodewig
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-resources has an issue affecting its community integration.
This issue affects 1 projects,
 and has been outstanding for 43 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- commons-resources :  Commons resources


Full details are available at:

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

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Sole output [commons-resources-29032006.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-resources/gump_work/build_jakarta-commons_commons-resources.html
Work Name: build_jakarta-commons_commons-resources (Type: Build)
Work ended in a state of : Failed
Elapsed: 
Command Line: java -Djava.awt.headless=true 
-Xbootclasspath/p:/usr/local/gump/public/workspace/xml-xerces2/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 -Dmaven.final.name=commons-resources-29032006 -f 
build-gump.xml jar 
[Working Directory: /usr/local/gump/public/workspace/jakarta-commons/resources]
CLASSPATH: 
/opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/resources/target/classes:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/packages/junit3.8.1/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar:/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/jakarta-commons/digester/dist/commons-digester.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-29032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-29032006.jar:/usr/local/gump/public/workspace/jakarta-servletapi-4/lib/servlet.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar:/usr/local/gump/public/workspace/hsqldb/lib/hsqldb.jar
-
Buildfile: build-gump.xml does not exist!
Build failed
-

To subscribe to this information via syndicated feeds:
- RSS: 
http://vmgump.apache.org/gump/public/jakarta-commons/commons-resources/rss.xml
- Atom: 
http://vmgump.apache.org/gump/public/jakarta-commons/commons-resources/atom.xml

== Gump Tracking Only ===
Produced by Gump version 2.2.
Gump Run 2629032006, vmgump.apache.org:vmgump-public:2629032006
Gump E-mail Identifier (unique within run) #35.

--
Apache Gump
http://gump.apache.org/ [Instance: vmgump]

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



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

2006-03-29 Thread Stefan Bodewig
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-resources has an issue affecting its community integration.
This issue affects 1 projects,
 and has been outstanding for 43 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- commons-resources :  Commons resources


Full details are available at:

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

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Sole output [commons-resources-29032006.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-resources/gump_work/build_jakarta-commons_commons-resources.html
Work Name: build_jakarta-commons_commons-resources (Type: Build)
Work ended in a state of : Failed
Elapsed: 
Command Line: java -Djava.awt.headless=true 
-Xbootclasspath/p:/usr/local/gump/public/workspace/xml-xerces2/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 -Dmaven.final.name=commons-resources-29032006 -f 
build-gump.xml jar 
[Working Directory: /usr/local/gump/public/workspace/jakarta-commons/resources]
CLASSPATH: 
/opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/resources/target/classes:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/packages/junit3.8.1/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar:/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/jakarta-commons/digester/dist/commons-digester.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-29032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-29032006.jar:/usr/local/gump/public/workspace/jakarta-servletapi-4/lib/servlet.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar:/usr/local/gump/public/workspace/hsqldb/lib/hsqldb.jar
-
Buildfile: build-gump.xml does not exist!
Build failed
-

To subscribe to this information via syndicated feeds:
- RSS: 
http://vmgump.apache.org/gump/public/jakarta-commons/commons-resources/rss.xml
- Atom: 
http://vmgump.apache.org/gump/public/jakarta-commons/commons-resources/atom.xml

== Gump Tracking Only ===
Produced by Gump version 2.2.
Gump Run 2629032006, vmgump.apache.org:vmgump-public:2629032006
Gump E-mail Identifier (unique within run) #35.

--
Apache Gump
http://gump.apache.org/ [Instance: vmgump]

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



DO NOT REPLY [Bug 39140] New: - [cli] A weakness of parser

2006-03-29 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=39140.
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=39140

   Summary: [cli] A weakness of parser
   Product: Commons
   Version: unspecified
  Platform: All
OS/Version: other
Status: NEW
  Severity: normal
  Priority: P2
 Component: CLI
AssignedTo: commons-dev@jakarta.apache.org
ReportedBy: [EMAIL PROTECTED]


I found a weakness of Jakarta Commons CLI and want to explain it with a simple
example: 

Our program provides 2 options: 

1.  -a or --algo name: The -a option requires an argument.
2.  -k or --key value: The -k option requires an argument too.

a)

If you pass the following command line arguments everything will be ok:
-a Caesar –k A

After evaluation:

•   “Caesar” is the parameter of the -a option and
•   “A” is the parameter of the -k option.

b)

However an org.apache.commons.cli.MissingArgumentException: no argument for:k is
thrown if you pass the following input:

-a Caesar -k a

The Parser assumes that the argument “a” after the -k option, is the -a option
missing the hyphen. At the end of this description there is Java code for
executing this problem.

Information:

The handling of this command line 

-a Caesar -k a 

works in Getopt without any problem:

•   “Caesar” is the parameter of the -a option and
•   “a” of the -k option.

After parsing a valid option Getopt always takes the next (available) command
line argument as the option’s parameter if the option requires an argument –
means if you pass to the command line 

–k -a Caesar

After evaluation:

•   “a” is the parameter of the -k option
•   the “Caesar” argument is just ignored

If the option’s parameter (value) represents an optional argument the next
argument is not required, if it represents a valid option – means if you pass to
the command line 

–k -a Caesar

After evaluation:

•   “Caesar” is the parameter of the -a option
•   k option is set without a parameter – in this case a default value 
makes sense.

Last but not least here is the code snippet for the CLI Test:

import org.apache.commons.cli.CommandLine;
import org.apache.commons.cli.CommandLineParser;
import org.apache.commons.cli.Option;
import org.apache.commons.cli.Options;
import org.apache.commons.cli.ParseException;
import org.apache.commons.cli.PosixParser;

public class TestCommonsCLI {

/**
 * @param args
 */
public static void main(String[] args) {

Options options = new Options();

Option algorithm = new Option(a , algo, true, the 
algorithm which it to
perform executing);
algorithm.setArgName(algorithm name);
options.addOption(algorithm);

Option key = new Option(k , key, true, the key the setted 
algorithm uses
to process);
algorithm.setArgName(value);
options.addOption(key);

CommandLineParser parser = new PosixParser();

 try {
CommandLine line = parser.parse( options, args);

if(line.hasOption('a')){
System.out.println(algo: + line.getOptionValue( a 
));
}

if(line.hasOption('k')){
System.out.println(key:  + line.getOptionValue('k'));
}


} catch (ParseException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}

}

}

-- 
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 39140] - [cli] A weakness of parser

2006-03-29 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=39140.
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=39140





--- Additional Comments From [EMAIL PROTECTED]  2006-03-29 12:04 ---
Created an attachment (id=17999)
 -- (http://issues.apache.org/bugzilla/attachment.cgi?id=17999action=view)
code which can us for executing the described problem


-- 
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 39140] - [cli] A weakness of parser

2006-03-29 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=39140.
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=39140


[EMAIL PROTECTED] changed:

   What|Removed |Added

  Attachment #17999|code which can us for   |TestCommonsCLI.java is the
description|executing the described |code for executing the
   |problem |described problem




-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



Re: [io] File checksum

2006-03-29 Thread Stephen Colebourne
+1 to the idea.

I would suggest that we need one variation in [codec]
and one in [io] as checksums are not just file based.

Stephen


--- Emmanuel Bourg [EMAIL PROTECTED] wrote:
 Hi,
 
 I have found myself recoding a file checksum
 function for several 
 projects, I wonder if such a function could be added
 to [io]. Something 
 like this:
 
  public static Checksum checksum(File file,
 Checksum cs)
 
 the usage would look like this:
 
  long crc = FileUtils.checksum(file, new
 CRC32()).getValue();
 
 What do you think ?
 
 Emmanuel Bourg
 

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



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

2006-03-29 Thread Stefan Bodewig
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-chain has an issue affecting its community integration.
This issue affects 8 projects,
 and has been outstanding for 43 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- commons-chain :  GoF Chain of Responsibility pattern
- commons-jelly-tags-quartz :  Commons Jelly
- fulcrum-quartz :  Services Framework
- myfaces :  JavaServer(tm) Faces implementation
- portals-bridges-jsf :  Support for JSR168 compliant Portlet development
- quartz :  Job Scheduler
- struts-action :  Model 2 Model-View-Controller framework for Servlets and 
JSP
- struts-tiles :  Model 2 Model-View-Controller framework for Servlets and 
JSP


Full details are available at:

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

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Sole output [commons-chain-29032006.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-chain/gump_work/build_jakarta-commons_commons-chain.html
Work Name: build_jakarta-commons_commons-chain (Type: Build)
Work ended in a state of : Failed
Elapsed: 17 secs
Command Line: java -Djava.awt.headless=true 
-Xbootclasspath/p:/usr/local/gump/public/workspace/xml-xerces2/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-chain-29032006 -f build.xml jar 
[Working Directory: /usr/local/gump/public/workspace/jakarta-commons/chain]
CLASSPATH: 
/opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/chain/target/classes:/usr/local/gump/public/workspace/jakarta-commons/chain/target/test-classes:/usr/local/gump/packages/jsf-1_1_01/lib/jsf-api.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/packages/junit3.8.1/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar:/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/jakarta-commons/digester/dist/commons-digester.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-29032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-29032006.jar:/usr/local/gump/public/workspace/portals-pluto-1.0/api/target/portlet-api-1.0.jar:/usr/local/gump/public/workspace/jakarta-servletapi-4/lib/servlet.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar
-
[junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed: 0.287 sec
[junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed: 0.287 sec

[junit] Testcase: testPristine took 0.039 sec
[junit] Testcase: testReadOnly took 0.002 sec
[junit] Testcase: testReadWrite took 0.001 sec
[junit] Testcase: testWriteOnly took 0 sec
[junit] Testcase: testAttributes took 0.002 sec
[junit] Testcase: testContains took 0 sec
[junit] Testcase: testEquals took 0.011 sec
[junit] Testcase: testKeySet took 0.001 sec
[junit] Testcase: testPutAll took 0.001 sec
[junit] Testcase: testSeriaization took 0.054 sec
[junit] Running org.apache.commons.chain.web.ChainResourcesTestCase
[junit] Testsuite: org.apache.commons.chain.web.ChainResourcesTestCase
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.273 sec
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.273 sec

[junit] Testcase: testGetPaths took 0.069 sec
[junit] Running 
org.apache.commons.chain.web.servlet.ServletGetLocaleCommandTestCase
[junit] Testsuite: 
org.apache.commons.chain.web.servlet.ServletGetLocaleCommandTestCase
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.296 sec
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.296 sec

[junit] Testcase: testConfigured took 0.058 sec
[junit] Testcase: testDefaut took 0.001 

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

2006-03-29 Thread Stefan Bodewig
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-chain has an issue affecting its community integration.
This issue affects 8 projects,
 and has been outstanding for 43 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- commons-chain :  GoF Chain of Responsibility pattern
- commons-jelly-tags-quartz :  Commons Jelly
- fulcrum-quartz :  Services Framework
- myfaces :  JavaServer(tm) Faces implementation
- portals-bridges-jsf :  Support for JSR168 compliant Portlet development
- quartz :  Job Scheduler
- struts-action :  Model 2 Model-View-Controller framework for Servlets and 
JSP
- struts-tiles :  Model 2 Model-View-Controller framework for Servlets and 
JSP


Full details are available at:

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

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Sole output [commons-chain-29032006.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-chain/gump_work/build_jakarta-commons_commons-chain.html
Work Name: build_jakarta-commons_commons-chain (Type: Build)
Work ended in a state of : Failed
Elapsed: 17 secs
Command Line: java -Djava.awt.headless=true 
-Xbootclasspath/p:/usr/local/gump/public/workspace/xml-xerces2/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-chain-29032006 -f build.xml jar 
[Working Directory: /usr/local/gump/public/workspace/jakarta-commons/chain]
CLASSPATH: 
/opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/chain/target/classes:/usr/local/gump/public/workspace/jakarta-commons/chain/target/test-classes:/usr/local/gump/packages/jsf-1_1_01/lib/jsf-api.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/packages/junit3.8.1/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar:/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/jakarta-commons/digester/dist/commons-digester.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-29032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-29032006.jar:/usr/local/gump/public/workspace/portals-pluto-1.0/api/target/portlet-api-1.0.jar:/usr/local/gump/public/workspace/jakarta-servletapi-4/lib/servlet.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar
-
[junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed: 0.287 sec
[junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed: 0.287 sec

[junit] Testcase: testPristine took 0.039 sec
[junit] Testcase: testReadOnly took 0.002 sec
[junit] Testcase: testReadWrite took 0.001 sec
[junit] Testcase: testWriteOnly took 0 sec
[junit] Testcase: testAttributes took 0.002 sec
[junit] Testcase: testContains took 0 sec
[junit] Testcase: testEquals took 0.011 sec
[junit] Testcase: testKeySet took 0.001 sec
[junit] Testcase: testPutAll took 0.001 sec
[junit] Testcase: testSeriaization took 0.054 sec
[junit] Running org.apache.commons.chain.web.ChainResourcesTestCase
[junit] Testsuite: org.apache.commons.chain.web.ChainResourcesTestCase
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.273 sec
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.273 sec

[junit] Testcase: testGetPaths took 0.069 sec
[junit] Running 
org.apache.commons.chain.web.servlet.ServletGetLocaleCommandTestCase
[junit] Testsuite: 
org.apache.commons.chain.web.servlet.ServletGetLocaleCommandTestCase
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.296 sec
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.296 sec

[junit] Testcase: testConfigured took 0.058 sec
[junit] Testcase: testDefaut took 0.001 

[EMAIL PROTECTED]: Project commons-jelly-tags-xml-test (in module commons-jelly) failed

2006-03-29 Thread commons-jelly-tags-xml development
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at [EMAIL PROTECTED]

Project commons-jelly-tags-xml-test has an issue affecting its community 
integration.
This issue affects 1 projects,
 and has been outstanding for 49 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- commons-jelly-tags-xml-test :  Commons Jelly


Full details are available at:

http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-xml-test/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Dependency on xml-xerces exists, no need to add for property 
maven.jar.xerces.
 -WARNING- Overriding Maven properties: 
[/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/build.properties]
 -DEBUG- (Gump generated) Maven Properties in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/build.properties
 -INFO- Failed with reason build failed
 -DEBUG- Maven POM in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/project.xml
 -DEBUG- Maven project properties in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/project.properties
 -INFO- Project Reports in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/target/test-reports



The following work was performed:
http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-xml-test/gump_work/build_commons-jelly_commons-jelly-tags-xml-test.html
Work Name: build_commons-jelly_commons-jelly-tags-xml-test (Type: Build)
Work ended in a state of : Failed
Elapsed: 29 secs
Command Line: maven --offline jar 
[Working Directory: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml]
CLASSPATH: 
/opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-29032006.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-29032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-29032006.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-29032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-29032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-29032006.jar:/usr/local/gump/public/workspace/dom4j/build/dom4j.jar:/usr/local/gump/packages/jaxen-1.1-beta-4/jaxen-1.1-beta-4.jar
-
[junit] at 
org.apache.commons.jelly.tags.junit.CaseTag$1.runTest(CaseTag.java:59)
[junit] 
[junit] 
[junit] Testcase: 
testSetSingleNodeAndAsString(org.apache.commons.jelly.tags.junit.CaseTag$1):
  Caused an ERROR
[junit] 
file:/x1/gump/public/workspace/commons-jelly/jelly-tags/xml/target/test-classes/org/apache/commons/jelly/tags/xml/suite.jelly:294:81:
 x:set You must define an attribute called 'select' for this tag.
[junit] org.apache.commons.jelly.MissingAttributeException: 
file:/x1/gump/public/workspace/commons-jelly/jelly-tags/xml/target/test-classes/org/apache/commons/jelly/tags/xml/suite.jelly:294:81:
 x:set You must define an attribute called 'select' for this tag.
[junit] at 
org.apache.commons.jelly.tags.xml.SetTag.doTag(SetTag.java:86)
[junit] at 
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:262)
[junit] at 
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
[junit] at 
org.apache.commons.jelly.tags.junit.CaseTag$1.runTest(CaseTag.java:59)
[junit] 
[junit] 
[junit] Testcase: 
testSetStringLists(org.apache.commons.jelly.tags.junit.CaseTag$1):
Caused an ERROR
[junit] 
file:/x1/gump/public/workspace/commons-jelly/jelly-tags/xml/target/test-classes/org/apache/commons/jelly/tags/xml/suite.jelly:339:82:
 x:set You must define an attribute called 'select' for this tag.
[junit] org.apache.commons.jelly.MissingAttributeException: 
file:/x1/gump/public/workspace/commons-jelly/jelly-tags/xml/target/test-classes/org/apache/commons/jelly/tags/xml/suite.jelly:339:82:
 x:set You must define an attribute called 'select' for this tag.
[junit] at 
org.apache.commons.jelly.tags.xml.SetTag.doTag(SetTag.java:86)
[junit] at 
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:262)
[junit] at 
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
[junit] at 
org.apache.commons.jelly.tags.junit.CaseTag$1.runTest(CaseTag.java:59)
[junit] 
[junit] 
[junit] Testcase: 
testEntities(org.apache.commons.jelly.tags.junit.CaseTag$1):  Caused an 
ERROR
[junit] 

[EMAIL PROTECTED]: Project commons-jelly-tags-xml-test (in module commons-jelly) failed

2006-03-29 Thread commons-jelly-tags-xml development
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at [EMAIL PROTECTED]

Project commons-jelly-tags-xml-test has an issue affecting its community 
integration.
This issue affects 1 projects,
 and has been outstanding for 49 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- commons-jelly-tags-xml-test :  Commons Jelly


Full details are available at:

http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-xml-test/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Dependency on xml-xerces exists, no need to add for property 
maven.jar.xerces.
 -WARNING- Overriding Maven properties: 
[/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/build.properties]
 -DEBUG- (Gump generated) Maven Properties in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/build.properties
 -INFO- Failed with reason build failed
 -DEBUG- Maven POM in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/project.xml
 -DEBUG- Maven project properties in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/project.properties
 -INFO- Project Reports in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/target/test-reports



The following work was performed:
http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-xml-test/gump_work/build_commons-jelly_commons-jelly-tags-xml-test.html
Work Name: build_commons-jelly_commons-jelly-tags-xml-test (Type: Build)
Work ended in a state of : Failed
Elapsed: 29 secs
Command Line: maven --offline jar 
[Working Directory: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml]
CLASSPATH: 
/opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-29032006.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-29032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-29032006.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-29032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-29032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-29032006.jar:/usr/local/gump/public/workspace/dom4j/build/dom4j.jar:/usr/local/gump/packages/jaxen-1.1-beta-4/jaxen-1.1-beta-4.jar
-
[junit] at 
org.apache.commons.jelly.tags.junit.CaseTag$1.runTest(CaseTag.java:59)
[junit] 
[junit] 
[junit] Testcase: 
testSetSingleNodeAndAsString(org.apache.commons.jelly.tags.junit.CaseTag$1):
  Caused an ERROR
[junit] 
file:/x1/gump/public/workspace/commons-jelly/jelly-tags/xml/target/test-classes/org/apache/commons/jelly/tags/xml/suite.jelly:294:81:
 x:set You must define an attribute called 'select' for this tag.
[junit] org.apache.commons.jelly.MissingAttributeException: 
file:/x1/gump/public/workspace/commons-jelly/jelly-tags/xml/target/test-classes/org/apache/commons/jelly/tags/xml/suite.jelly:294:81:
 x:set You must define an attribute called 'select' for this tag.
[junit] at 
org.apache.commons.jelly.tags.xml.SetTag.doTag(SetTag.java:86)
[junit] at 
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:262)
[junit] at 
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
[junit] at 
org.apache.commons.jelly.tags.junit.CaseTag$1.runTest(CaseTag.java:59)
[junit] 
[junit] 
[junit] Testcase: 
testSetStringLists(org.apache.commons.jelly.tags.junit.CaseTag$1):
Caused an ERROR
[junit] 
file:/x1/gump/public/workspace/commons-jelly/jelly-tags/xml/target/test-classes/org/apache/commons/jelly/tags/xml/suite.jelly:339:82:
 x:set You must define an attribute called 'select' for this tag.
[junit] org.apache.commons.jelly.MissingAttributeException: 
file:/x1/gump/public/workspace/commons-jelly/jelly-tags/xml/target/test-classes/org/apache/commons/jelly/tags/xml/suite.jelly:339:82:
 x:set You must define an attribute called 'select' for this tag.
[junit] at 
org.apache.commons.jelly.tags.xml.SetTag.doTag(SetTag.java:86)
[junit] at 
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:262)
[junit] at 
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
[junit] at 
org.apache.commons.jelly.tags.junit.CaseTag$1.runTest(CaseTag.java:59)
[junit] 
[junit] 
[junit] Testcase: 
testEntities(org.apache.commons.jelly.tags.junit.CaseTag$1):  Caused an 
ERROR
[junit] 

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

2006-03-29 Thread Ted Husted
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-latka has an issue affecting its community integration.
This issue affects 1 projects,
 and has been outstanding for 49 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- commons-latka :  Functional Testing Suite


Full details are available at:

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

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Sole output [commons-latka.jar] identifier set to project name
 -DEBUG- Dependency on jaxen exists, no need to add for property jaxen.jar.
 -INFO- Made directory 
[/usr/local/gump/public/workspace/jakarta-commons/latka/target/classes]
 -INFO- Made directory 
[/usr/local/gump/public/workspace/jakarta-commons/latka/target/test-classes]
 -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-latka/gump_work/build_jakarta-commons_commons-latka.html
Work Name: build_jakarta-commons_commons-latka (Type: Build)
Work ended in a state of : Failed
Elapsed: 
Command Line: java -Djava.awt.headless=true 
-Xbootclasspath/p:/usr/local/gump/public/workspace/xml-xerces2/build/xercesImpl.jar:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/usr/local/gump/public/workspace/xml-xalan/build/serializer.jar:/usr/local/gump/public/workspace/xml-xalan/build/xalan-unbundled.jar
 org.apache.tools.ant.Main -Dgump.merge=/x1/gump/public/gump/work/merge.xml 
-Dbuild.sysclasspath=only 
-Djaxen.jar=/usr/local/gump/public/workspace/jaxen/target/jaxen-29032006.jar 
dist 
[Working Directory: /usr/local/gump/public/workspace/jakarta-commons/latka]
CLASSPATH: 
/opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/latka/target/classes:/usr/local/gump/public/workspace/jakarta-commons/latka/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/packages/junit3.8.1/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar:/usr/local/gump/public/workspace/jakarta-commons/httpclient/dist/commons-httpclient.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-29032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-29032006.jar:/usr/local/gump/public/workspace/jakarta-commons/codec/dist/commons-codec-29032006.jar:/usr/local/gump/public/workspace/logging-log4j/dist/lib/log4j-29032006.jar:/usr/local/gump/public/workspace/jakarta-regexp/build/jakarta-regexp-29032006.jar:/usr/local/gump/public/workspace/jakarta-servletapi-4/lib/servlet.jar:/usr/local/gump/public/workspace/jdom/build/jdom.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar:/usr/local/gump/public/workspace/dom4j/build/dom4j.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-29032006.jar:/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-29032006.jar:/usr/local/gump/public/workspace/jakarta-commons/lang/dist/commons-lang-29032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-29032006.jar:/usr/local/gump/public/workspace/jaxen/target/jaxen-29032006.jar
-
Buildfile: build.xml does not exist!
Build failed
-

To subscribe to this information via syndicated feeds:
- RSS: 
http://vmgump.apache.org/gump/public/jakarta-commons/commons-latka/rss.xml
- Atom: 
http://vmgump.apache.org/gump/public/jakarta-commons/commons-latka/atom.xml

== Gump Tracking Only ===
Produced by Gump version 2.2.
Gump Run 2629032006, vmgump.apache.org:vmgump-public:2629032006
Gump E-mail Identifier (unique within run) #52.

--
Apache Gump
http://gump.apache.org/ [Instance: vmgump]

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



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

2006-03-29 Thread Ted Husted
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-latka has an issue affecting its community integration.
This issue affects 1 projects,
 and has been outstanding for 49 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- commons-latka :  Functional Testing Suite


Full details are available at:

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

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Sole output [commons-latka.jar] identifier set to project name
 -DEBUG- Dependency on jaxen exists, no need to add for property jaxen.jar.
 -INFO- Made directory 
[/usr/local/gump/public/workspace/jakarta-commons/latka/target/classes]
 -INFO- Made directory 
[/usr/local/gump/public/workspace/jakarta-commons/latka/target/test-classes]
 -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-latka/gump_work/build_jakarta-commons_commons-latka.html
Work Name: build_jakarta-commons_commons-latka (Type: Build)
Work ended in a state of : Failed
Elapsed: 
Command Line: java -Djava.awt.headless=true 
-Xbootclasspath/p:/usr/local/gump/public/workspace/xml-xerces2/build/xercesImpl.jar:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/usr/local/gump/public/workspace/xml-xalan/build/serializer.jar:/usr/local/gump/public/workspace/xml-xalan/build/xalan-unbundled.jar
 org.apache.tools.ant.Main -Dgump.merge=/x1/gump/public/gump/work/merge.xml 
-Dbuild.sysclasspath=only 
-Djaxen.jar=/usr/local/gump/public/workspace/jaxen/target/jaxen-29032006.jar 
dist 
[Working Directory: /usr/local/gump/public/workspace/jakarta-commons/latka]
CLASSPATH: 
/opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/latka/target/classes:/usr/local/gump/public/workspace/jakarta-commons/latka/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/packages/junit3.8.1/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar:/usr/local/gump/public/workspace/jakarta-commons/httpclient/dist/commons-httpclient.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-29032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-29032006.jar:/usr/local/gump/public/workspace/jakarta-commons/codec/dist/commons-codec-29032006.jar:/usr/local/gump/public/workspace/logging-log4j/dist/lib/log4j-29032006.jar:/usr/local/gump/public/workspace/jakarta-regexp/build/jakarta-regexp-29032006.jar:/usr/local/gump/public/workspace/jakarta-servletapi-4/lib/servlet.jar:/usr/local/gump/public/workspace/jdom/build/jdom.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar:/usr/local/gump/public/workspace/dom4j/build/dom4j.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-29032006.jar:/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-29032006.jar:/usr/local/gump/public/workspace/jakarta-commons/lang/dist/commons-lang-29032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-29032006.jar:/usr/local/gump/public/workspace/jaxen/target/jaxen-29032006.jar
-
Buildfile: build.xml does not exist!
Build failed
-

To subscribe to this information via syndicated feeds:
- RSS: 
http://vmgump.apache.org/gump/public/jakarta-commons/commons-latka/rss.xml
- Atom: 
http://vmgump.apache.org/gump/public/jakarta-commons/commons-latka/atom.xml

== Gump Tracking Only ===
Produced by Gump version 2.2.
Gump Run 2629032006, vmgump.apache.org:vmgump-public:2629032006
Gump E-mail Identifier (unique within run) #52.

--
Apache Gump
http://gump.apache.org/ [Instance: vmgump]

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



[EMAIL PROTECTED]: Project commons-jelly-tags-html (in module commons-jelly) failed

2006-03-29 Thread commons-jelly-tags-html development
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at [EMAIL PROTECTED]

Project commons-jelly-tags-html has an issue affecting its community 
integration.
This issue affects 1 projects,
 and has been outstanding for 49 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- commons-jelly-tags-html :  Commons Jelly


Full details are available at:

http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-html/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Sole output [commons-jelly-tags-html-29032006.jar] identifier set to 
project name
 -DEBUG- Dependency on xml-xerces exists, no need to add for property 
maven.jar.xerces.
 -DEBUG- (Gump generated) Maven Properties in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/html/build.properties
 -INFO- Failed with reason build failed
 -DEBUG- Maven POM in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/html/project.xml
 -DEBUG- Maven project properties in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/html/project.properties
 -INFO- Project Reports in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/html/target/test-reports
 -INFO- Failed to extract fallback artifacts from Gump Repository



The following work was performed:
http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-html/gump_work/build_commons-jelly_commons-jelly-tags-html.html
Work Name: build_commons-jelly_commons-jelly-tags-html (Type: Build)
Work ended in a state of : Failed
Elapsed: 12 secs
Command Line: maven --offline jar 
[Working Directory: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/html]
CLASSPATH: 
/opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/jakarta-commons/cli/target/commons-cli-29032006.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-29032006.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-29032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl/target/commons-jelly-tags-jsl-29032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-29032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/log/target/commons-jelly-tags-log-29032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/target/commons-jelly-tags-xml-29032006.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-29032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-29032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-29032006.jar:/usr/local/gump/public/workspace/dom4j/build/dom4j.jar:/usr/local/gump/packages/jaxen-1.1-beta-4/jaxen-1.1-beta-4.jar:/usr/local/gump/packages/nekohtml-0.9.5/nekohtml.jar
-
[junit] at 
org.apache.commons.jelly.tags.junit.CaseTag$1.runTest(CaseTag.java:59)
[junit] 
[junit] 
[junit] Testcase: 
testLowerCase(org.apache.commons.jelly.tags.junit.CaseTag$1): Caused an 
ERROR
[junit] 
file:/x1/gump/public/workspace/commons-jelly/jelly-tags/html/target/test-classes/org/apache/commons/jelly/html/suite.jelly:40:48:
 test:assert You must define an attribute called 'test' for this tag.
[junit] org.apache.commons.jelly.MissingAttributeException: 
file:/x1/gump/public/workspace/commons-jelly/jelly-tags/html/target/test-classes/org/apache/commons/jelly/html/suite.jelly:40:48:
 test:assert You must define an attribute called 'test' for this tag.
[junit] at 
org.apache.commons.jelly.tags.junit.AssertTag.doTag(AssertTag.java:54)
[junit] at 
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:262)
[junit] at 
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
[junit] at 
org.apache.commons.jelly.tags.junit.CaseTag$1.runTest(CaseTag.java:59)
[junit] 
[junit] 
[junit] Testcase: 
testMixedCase(org.apache.commons.jelly.tags.junit.CaseTag$1): Caused an 
ERROR
[junit] 
file:/x1/gump/public/workspace/commons-jelly/jelly-tags/html/target/test-classes/org/apache/commons/jelly/html/suite.jelly:47:48:
 test:assert You must define an attribute called 'test' for this tag.
[junit] org.apache.commons.jelly.MissingAttributeException: 
file:/x1/gump/public/workspace/commons-jelly/jelly-tags/html/target/test-classes/org/apache/commons/jelly/html/suite.jelly:47:48:
 test:assert You must define an attribute called 'test' for this tag.
[junit] at 

[EMAIL PROTECTED]: Project commons-jelly-tags-html (in module commons-jelly) failed

2006-03-29 Thread commons-jelly-tags-html development
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at [EMAIL PROTECTED]

Project commons-jelly-tags-html has an issue affecting its community 
integration.
This issue affects 1 projects,
 and has been outstanding for 49 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- commons-jelly-tags-html :  Commons Jelly


Full details are available at:

http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-html/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Sole output [commons-jelly-tags-html-29032006.jar] identifier set to 
project name
 -DEBUG- Dependency on xml-xerces exists, no need to add for property 
maven.jar.xerces.
 -DEBUG- (Gump generated) Maven Properties in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/html/build.properties
 -INFO- Failed with reason build failed
 -DEBUG- Maven POM in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/html/project.xml
 -DEBUG- Maven project properties in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/html/project.properties
 -INFO- Project Reports in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/html/target/test-reports
 -INFO- Failed to extract fallback artifacts from Gump Repository



The following work was performed:
http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-html/gump_work/build_commons-jelly_commons-jelly-tags-html.html
Work Name: build_commons-jelly_commons-jelly-tags-html (Type: Build)
Work ended in a state of : Failed
Elapsed: 12 secs
Command Line: maven --offline jar 
[Working Directory: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/html]
CLASSPATH: 
/opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/jakarta-commons/cli/target/commons-cli-29032006.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-29032006.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-29032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl/target/commons-jelly-tags-jsl-29032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-29032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/log/target/commons-jelly-tags-log-29032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/target/commons-jelly-tags-xml-29032006.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-29032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-29032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-29032006.jar:/usr/local/gump/public/workspace/dom4j/build/dom4j.jar:/usr/local/gump/packages/jaxen-1.1-beta-4/jaxen-1.1-beta-4.jar:/usr/local/gump/packages/nekohtml-0.9.5/nekohtml.jar
-
[junit] at 
org.apache.commons.jelly.tags.junit.CaseTag$1.runTest(CaseTag.java:59)
[junit] 
[junit] 
[junit] Testcase: 
testLowerCase(org.apache.commons.jelly.tags.junit.CaseTag$1): Caused an 
ERROR
[junit] 
file:/x1/gump/public/workspace/commons-jelly/jelly-tags/html/target/test-classes/org/apache/commons/jelly/html/suite.jelly:40:48:
 test:assert You must define an attribute called 'test' for this tag.
[junit] org.apache.commons.jelly.MissingAttributeException: 
file:/x1/gump/public/workspace/commons-jelly/jelly-tags/html/target/test-classes/org/apache/commons/jelly/html/suite.jelly:40:48:
 test:assert You must define an attribute called 'test' for this tag.
[junit] at 
org.apache.commons.jelly.tags.junit.AssertTag.doTag(AssertTag.java:54)
[junit] at 
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:262)
[junit] at 
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
[junit] at 
org.apache.commons.jelly.tags.junit.CaseTag$1.runTest(CaseTag.java:59)
[junit] 
[junit] 
[junit] Testcase: 
testMixedCase(org.apache.commons.jelly.tags.junit.CaseTag$1): Caused an 
ERROR
[junit] 
file:/x1/gump/public/workspace/commons-jelly/jelly-tags/html/target/test-classes/org/apache/commons/jelly/html/suite.jelly:47:48:
 test:assert You must define an attribute called 'test' for this tag.
[junit] org.apache.commons.jelly.MissingAttributeException: 
file:/x1/gump/public/workspace/commons-jelly/jelly-tags/html/target/test-classes/org/apache/commons/jelly/html/suite.jelly:47:48:
 test:assert You must define an attribute called 'test' for this tag.
[junit] at 

[EMAIL PROTECTED]: Project commons-jelly-tags-jsl-test (in module commons-jelly) failed

2006-03-29 Thread commons-jelly-tags-jsl development
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at [EMAIL PROTECTED]

Project commons-jelly-tags-jsl-test has an issue affecting its community 
integration.
This issue affects 1 projects,
 and has been outstanding for 49 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- commons-jelly-tags-jsl-test :  Commons Jelly


Full details are available at:

http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-jsl-test/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Dependency on ant exists, no need to add for property 
maven.jar.ant-optional.
 -DEBUG- Dependency on xml-xerces exists, no need to add for property 
maven.jar.xerces.
 -WARNING- Overriding Maven properties: 
[/usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl/build.properties]
 -DEBUG- (Gump generated) Maven Properties in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl/build.properties
 -INFO- Failed with reason build failed
 -DEBUG- Maven POM in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl/project.xml
 -DEBUG- Maven project properties in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl/project.properties
 -INFO- Project Reports in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl/target/test-reports



The following work was performed:
http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-jsl-test/gump_work/build_commons-jelly_commons-jelly-tags-jsl-test.html
Work Name: build_commons-jelly_commons-jelly-tags-jsl-test (Type: Build)
Work ended in a state of : Failed
Elapsed: 15 secs
Command Line: maven --offline jar 
[Working Directory: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl]
CLASSPATH: 
/opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/jakarta-commons/cli/target/commons-cli-29032006.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-29032006.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-29032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/ant/target/commons-jelly-tags-ant-29032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-29032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/log/target/commons-jelly-tags-log-29032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/target/commons-jelly-tags-xml-29032006.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-29032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-29032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-29032006.jar:/usr/local/gump/public/workspace/dom4j/build/dom4j.jar:/usr/local/gump/packages/jaxen-1.1-beta-4/jaxen-1.1-beta-4.jar
-
[junit] at 
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:262)
[junit] at 
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
[junit] at 
org.apache.commons.jelly.TagSupport.getBodyText(TagSupport.java:234)
[junit] at 
org.apache.commons.jelly.tags.core.SetTag.doTag(SetTag.java:90)
[junit] at 
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:262)
[junit] at 
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
[junit] at 
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
[junit] at 
org.apache.commons.jelly.tags.jsl.TemplateTag$1.run(TemplateTag.java:160)
[junit] at org.dom4j.rule.Mode.fireRule(Mode.java:59)
[junit] at org.dom4j.rule.Mode.applyTemplates(Mode.java:80)
[junit] at org.dom4j.rule.RuleManager$1.run(RuleManager.java:171)
[junit] at org.dom4j.rule.Mode.fireRule(Mode.java:59)
[junit] at org.dom4j.rule.Stylesheet.run(Stylesheet.java:102)
[junit] at org.dom4j.rule.Stylesheet.run(Stylesheet.java:91)
[junit] at org.dom4j.rule.Stylesheet.run(Stylesheet.java:78)
[junit] at 

[EMAIL PROTECTED]: Project commons-jelly-tags-jsl-test (in module commons-jelly) failed

2006-03-29 Thread commons-jelly-tags-jsl development
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at [EMAIL PROTECTED]

Project commons-jelly-tags-jsl-test has an issue affecting its community 
integration.
This issue affects 1 projects,
 and has been outstanding for 49 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- commons-jelly-tags-jsl-test :  Commons Jelly


Full details are available at:

http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-jsl-test/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Dependency on ant exists, no need to add for property 
maven.jar.ant-optional.
 -DEBUG- Dependency on xml-xerces exists, no need to add for property 
maven.jar.xerces.
 -WARNING- Overriding Maven properties: 
[/usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl/build.properties]
 -DEBUG- (Gump generated) Maven Properties in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl/build.properties
 -INFO- Failed with reason build failed
 -DEBUG- Maven POM in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl/project.xml
 -DEBUG- Maven project properties in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl/project.properties
 -INFO- Project Reports in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl/target/test-reports



The following work was performed:
http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-jsl-test/gump_work/build_commons-jelly_commons-jelly-tags-jsl-test.html
Work Name: build_commons-jelly_commons-jelly-tags-jsl-test (Type: Build)
Work ended in a state of : Failed
Elapsed: 15 secs
Command Line: maven --offline jar 
[Working Directory: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl]
CLASSPATH: 
/opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/jakarta-commons/cli/target/commons-cli-29032006.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-29032006.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-29032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/ant/target/commons-jelly-tags-ant-29032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-29032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/log/target/commons-jelly-tags-log-29032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/target/commons-jelly-tags-xml-29032006.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-29032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-29032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-29032006.jar:/usr/local/gump/public/workspace/dom4j/build/dom4j.jar:/usr/local/gump/packages/jaxen-1.1-beta-4/jaxen-1.1-beta-4.jar
-
[junit] at 
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:262)
[junit] at 
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
[junit] at 
org.apache.commons.jelly.TagSupport.getBodyText(TagSupport.java:234)
[junit] at 
org.apache.commons.jelly.tags.core.SetTag.doTag(SetTag.java:90)
[junit] at 
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:262)
[junit] at 
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
[junit] at 
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
[junit] at 
org.apache.commons.jelly.tags.jsl.TemplateTag$1.run(TemplateTag.java:160)
[junit] at org.dom4j.rule.Mode.fireRule(Mode.java:59)
[junit] at org.dom4j.rule.Mode.applyTemplates(Mode.java:80)
[junit] at org.dom4j.rule.RuleManager$1.run(RuleManager.java:171)
[junit] at org.dom4j.rule.Mode.fireRule(Mode.java:59)
[junit] at org.dom4j.rule.Stylesheet.run(Stylesheet.java:102)
[junit] at org.dom4j.rule.Stylesheet.run(Stylesheet.java:91)
[junit] at org.dom4j.rule.Stylesheet.run(Stylesheet.java:78)
[junit] at 

[EMAIL PROTECTED]: Project commons-jelly-tags-define-test (in module commons-jelly) failed

2006-03-29 Thread commons-jelly-tags-define development
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at [EMAIL PROTECTED]

Project commons-jelly-tags-define-test has an issue affecting its community 
integration.
This issue affects 1 projects,
 and has been outstanding for 49 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- commons-jelly-tags-define-test :  Commons Jelly


Full details are available at:

http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-define-test/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Dependency on xml-xerces exists, no need to add for property 
maven.jar.xerces.
 -WARNING- Overriding Maven properties: 
[/usr/local/gump/public/workspace/commons-jelly/jelly-tags/define/build.properties]
 -DEBUG- (Gump generated) Maven Properties in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/define/build.properties
 -INFO- Failed with reason build failed
 -DEBUG- Maven POM in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/define/project.xml
 -DEBUG- Maven project properties in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/define/project.properties
 -INFO- Project Reports in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/define/target/test-reports



The following work was performed:
http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-define-test/gump_work/build_commons-jelly_commons-jelly-tags-define-test.html
Work Name: build_commons-jelly_commons-jelly-tags-define-test (Type: Build)
Work ended in a state of : Failed
Elapsed: 13 secs
Command Line: maven --offline jar 
[Working Directory: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/define]
CLASSPATH: 
/opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/jakarta-commons/cli/target/commons-cli-29032006.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-29032006.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-29032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/dynabean/target/commons-jelly-tags-dynabean-29032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-29032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/log/target/commons-jelly-tags-log-29032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/target/commons-jelly-tags-xml-29032006.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-29032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-29032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-29032006.jar:/usr/local/gump/public/workspace/dom4j/build/dom4j.jar:/usr/local/gump/packages/jaxen-1.1-beta-4/jaxen-1.1-beta-4.jar
-
[junit] at junit.framework.TestResult.runProtected(TestResult.java:124)
[junit] at junit.framework.TestResult.run(TestResult.java:109)
[junit] at junit.framework.TestCase.run(TestCase.java:118)
[junit] at junit.framework.TestSuite.runTest(TestSuite.java:208)
[junit] at junit.framework.TestSuite.run(TestSuite.java:203)
[junit] at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:325)
[junit] at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:536)
[junit] Mar 29, 2006 4:15:20 AM 
org.apache.commons.jelly.expression.xpath.XPathExpression evaluate
[junit] SEVERE: Error constructing xpath
[junit] org.jaxen.XPathSyntaxException: Node-set expected
[junit] at org.jaxen.BaseXPath.init(BaseXPath.java:131)
[junit] at org.jaxen.BaseXPath.init(BaseXPath.java:156)
[junit] at org.jaxen.dom4j.Dom4jXPath.init(Dom4jXPath.java:101)
[junit] at 
org.apache.commons.jelly.expression.xpath.XPathExpression.evaluate(XPathExpression.java:78)
[junit] at 
org.apache.commons.jelly.expression.ExpressionSupport.evaluateRecurse(ExpressionSupport.java:61)
[junit] at 
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:256)
[junit] at 
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
[junit] at 
org.apache.commons.jelly.tags.junit.CaseTag$1.runTest(CaseTag.java:59)
[junit] at junit.framework.TestCase.runBare(TestCase.java:127)
[junit] at junit.framework.TestResult$1.protect(TestResult.java:106)
[junit] at junit.framework.TestResult.runProtected(TestResult.java:124)
[junit] at 

[EMAIL PROTECTED]: Project commons-jelly-tags-define-test (in module commons-jelly) failed

2006-03-29 Thread commons-jelly-tags-define development
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at [EMAIL PROTECTED]

Project commons-jelly-tags-define-test has an issue affecting its community 
integration.
This issue affects 1 projects,
 and has been outstanding for 49 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- commons-jelly-tags-define-test :  Commons Jelly


Full details are available at:

http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-define-test/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Dependency on xml-xerces exists, no need to add for property 
maven.jar.xerces.
 -WARNING- Overriding Maven properties: 
[/usr/local/gump/public/workspace/commons-jelly/jelly-tags/define/build.properties]
 -DEBUG- (Gump generated) Maven Properties in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/define/build.properties
 -INFO- Failed with reason build failed
 -DEBUG- Maven POM in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/define/project.xml
 -DEBUG- Maven project properties in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/define/project.properties
 -INFO- Project Reports in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/define/target/test-reports



The following work was performed:
http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-define-test/gump_work/build_commons-jelly_commons-jelly-tags-define-test.html
Work Name: build_commons-jelly_commons-jelly-tags-define-test (Type: Build)
Work ended in a state of : Failed
Elapsed: 13 secs
Command Line: maven --offline jar 
[Working Directory: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/define]
CLASSPATH: 
/opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/jakarta-commons/cli/target/commons-cli-29032006.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-29032006.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-29032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/dynabean/target/commons-jelly-tags-dynabean-29032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-29032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/log/target/commons-jelly-tags-log-29032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/target/commons-jelly-tags-xml-29032006.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-29032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-29032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-29032006.jar:/usr/local/gump/public/workspace/dom4j/build/dom4j.jar:/usr/local/gump/packages/jaxen-1.1-beta-4/jaxen-1.1-beta-4.jar
-
[junit] at junit.framework.TestResult.runProtected(TestResult.java:124)
[junit] at junit.framework.TestResult.run(TestResult.java:109)
[junit] at junit.framework.TestCase.run(TestCase.java:118)
[junit] at junit.framework.TestSuite.runTest(TestSuite.java:208)
[junit] at junit.framework.TestSuite.run(TestSuite.java:203)
[junit] at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:325)
[junit] at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:536)
[junit] Mar 29, 2006 4:15:20 AM 
org.apache.commons.jelly.expression.xpath.XPathExpression evaluate
[junit] SEVERE: Error constructing xpath
[junit] org.jaxen.XPathSyntaxException: Node-set expected
[junit] at org.jaxen.BaseXPath.init(BaseXPath.java:131)
[junit] at org.jaxen.BaseXPath.init(BaseXPath.java:156)
[junit] at org.jaxen.dom4j.Dom4jXPath.init(Dom4jXPath.java:101)
[junit] at 
org.apache.commons.jelly.expression.xpath.XPathExpression.evaluate(XPathExpression.java:78)
[junit] at 
org.apache.commons.jelly.expression.ExpressionSupport.evaluateRecurse(ExpressionSupport.java:61)
[junit] at 
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:256)
[junit] at 
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
[junit] at 
org.apache.commons.jelly.tags.junit.CaseTag$1.runTest(CaseTag.java:59)
[junit] at junit.framework.TestCase.runBare(TestCase.java:127)
[junit] at junit.framework.TestResult$1.protect(TestResult.java:106)
[junit] at junit.framework.TestResult.runProtected(TestResult.java:124)
[junit] at 

Re: [io] File checksum

2006-03-29 Thread Emmanuel Bourg

Stephen Colebourne wrote:

+1 to the idea.

I would suggest that we need one variation in [codec]
and one in [io] as checksums are not just file based.


I don't know how it could be integrated to [codec], maybe in DigestUtils ?

It may be interesting to compute the checksums on streams too, maybe as 
a similar method in IOUtils


public static Checksum checksum(InputStream in, Checksum checksum);

or as a ChecksumInputStream computing automatically the checksum of the 
data read. Or both.


Emmanuel Bourg


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



Re: [io] File checksum

2006-03-29 Thread Emmanuel Bourg

Emmanuel Bourg wrote:
or as a ChecksumInputStream computing automatically the checksum of the 
data read. Or both.


Forget this idea, it already exists in the JDK as 
java.util.zip.CheckedInputStream.


Emmanuel Bourg


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



[math] Q-R -decomposition

2006-03-29 Thread Joni Salonen
Hello! I read from the commons math web page that  Q-R -decomposition
of matrices is on the wish list. Last night and this afternoon I had
some free time so I created a clean-room implementation of this
decomposition using Householder reflectors. The main source of
information was the description of the algorithm found in Wikipedia:
http://en.wikipedia.org/wiki/QR_decomposition

I would be interested in working towards getting this algorithm
integrated in commons-math, but how should I proceed? And does anyone
have suggestions on how to improve the implementation? The source code
is downloadable from
http://www.student.oulu.fi/~jonisalo/QRDecomp.java
(should be understandable but may not be up to Apache standards yet)

There is a problem with the current implementation though: it only
works for non-singular square matrices. What will the usage of the
algorithm be like? Should the singular and non-square cases be
implemented, too?

Kind regards,
Joni Salonen

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



svn commit: r389839 - in /jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite: BorrowPolicy.java ExhaustionPolicy.java LimitPolicy.java TrackingPolicy.java

2006-03-29 Thread sandymac
Author: sandymac
Date: Wed Mar 29 09:23:00 2006
New Revision: 389839

URL: http://svn.apache.org/viewcvs?rev=389839view=rev
Log:
Updated composite enum's javadocs to hopefully be clearer.
Tested to make sure when the enums are converted to Java 1.5 enums
in pool 3 that code compiled against pool 2 will continue to work fine.

Modified:

jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/BorrowPolicy.java

jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/ExhaustionPolicy.java

jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/LimitPolicy.java

jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/TrackingPolicy.java

Modified: 
jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/BorrowPolicy.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/BorrowPolicy.java?rev=389839r1=389838r2=389839view=diff
==
--- 
jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/BorrowPolicy.java
 (original)
+++ 
jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/BorrowPolicy.java
 Wed Mar 29 09:23:00 2006
@@ -23,7 +23,7 @@
 import java.lang.ref.SoftReference;
 
 /**
- * Specifies the order in which objects are borrowed and returned to the pool.
+ * Configures how objects are borrowed and returned to the pool.
  *
  * @see CompositeObjectPoolFactory#setBorrowPolicy(BorrowPolicy)
  * @see CompositeKeyedObjectPoolFactory#setBorrowPolicy(BorrowPolicy)
@@ -31,6 +31,7 @@
  * @since #.#
  * @version $Revision$ $Date$
  */
+/* XXX For Pool 3: public enum BorrowPolicy {FIFO, LIFO, SOFT_FIFO, SOFT_LIFO, 
NULL} but keep existing Javadoc. */
 public final class BorrowPolicy implements Serializable {
 
 private static final long serialVersionUID = 3357921765798594792L;

Modified: 
jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/ExhaustionPolicy.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/ExhaustionPolicy.java?rev=389839r1=389838r2=389839view=diff
==
--- 
jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/ExhaustionPolicy.java
 (original)
+++ 
jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/ExhaustionPolicy.java
 Wed Mar 29 09:23:00 2006
@@ -24,7 +24,7 @@
 import java.util.NoSuchElementException;
 
 /**
- * Specifies the behavior of the pool when the pool is out of idle objects.
+ * Configures the behavior of the pool when the pool is out of idle objects.
  *
  * @see CompositeObjectPoolFactory#setExhaustionPolicy(ExhaustionPolicy)
  * @see CompositeKeyedObjectPoolFactory#setExhaustionPolicy(ExhaustionPolicy)
@@ -32,6 +32,7 @@
  * @since #.#
  * @version $Revision$ $Date$
  */
+/* XXX For Pool 3: public enum ExhaustionPolicy {GROW, FAIL} but keep existing 
Javadoc. */
 public final class ExhaustionPolicy implements Serializable {
 
 private static final long serialVersionUID = -4895490364329810018L;

Modified: 
jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/LimitPolicy.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/LimitPolicy.java?rev=389839r1=389838r2=389839view=diff
==
--- 
jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/LimitPolicy.java
 (original)
+++ 
jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/LimitPolicy.java
 Wed Mar 29 09:23:00 2006
@@ -24,7 +24,7 @@
 import java.util.NoSuchElementException;
 
 /**
- * Specifies the behavior of when the max number of active objects has been 
reached.
+ * Configures the behavior of the pool when there is a limit on the number of 
concurrently borrowed objects.
  *
  * @see CompositeObjectPoolFactory#setLimitPolicy(LimitPolicy)
  * @see CompositeKeyedObjectPoolFactory#setLimitPolicy(LimitPolicy)
@@ -32,6 +32,7 @@
  * @since #.#
  * @version $Revision$ $Date$
  */
+/* XXX For Pool 3: public enum LimitPolicy {FAIL, WAIT} but keep existing 
Javadoc. */
 public final class LimitPolicy implements Serializable {
 
 private static final long serialVersionUID = -4325661345028907604L;

Modified: 
jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/TrackingPolicy.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/TrackingPolicy.java?rev=389839r1=389838r2=389839view=diff
==
--- 

Suggestion for all of Commons

2006-03-29 Thread Frank W. Zammetti
Hey all,

I just spent about 20 minutes working through a problem with FileUpload...
turned out to be my fault entirely, I didn't include Commons IO (FYI, I'm
not seeing a dependency list on the FileUpload site... maybe I missed it).

The problem is, it was one of those aggrevating problems to track down
because the stack trace didn't reveal the actual line where the failure
occured, and catching Exception didn't get triggered.  I wound up catching
Throwable, and I was then able to figure it out.

I know that missing dependencies is always a b**ch, and they tend to be
these annoying problems with no error messages or anything (sure, a
debugger helps, but that doesn't seem like the best answer to me).  So, I
have a suggestion that could well go all across Commons, or any other
project for that matter.

In Java Web Parts, we've gotten into the habit of putting this in all
classes:

/**
 * This static initializer block tries to load all the classes this one
 * depends on (those not from standard Java anyway) and prints an error
 * meesage if any cannot be loaded for any reason.
 */
static {
  try {
Class.forName(org.apache.commons.logging.Log);
Class.forName(org.apache.commons.logging.LogFactory);
  } catch (ClassNotFoundException e) {
System.err.println(CacheControlFilter +
   could not be loaded by classloader because classes it depends +
   on could not be found in the classpath...);
e.printStackTrace();
  }
}

It's just echoing the import list, minus classes found in the SDK (if
that's missing, you aren't getting *this* far!).  This saves a lot of time
and headache when you are missing a dependency.  I know that adds
something additional to maintain in the class, but it seems a fair
trade-off to me.

Does anyone see this as being something that might be helpful for Commons?
 If there is a better way to get the same effect I'm all ears too (I could
see setting a string to the name of the class being checked so that it
could be output as part of the error message, but I'm talking about a
whole other way to check for dependencies).

-- 
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
AIM: fzammetti
Yahoo: fzammetti
MSN: [EMAIL PROTECTED]
Java Web Parts -
http://javawebparts.sourceforge.net
Supplying the wheel, so you don't have to reinvent it!

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



Re: [all] Author tags [was Line width and such minutiae]

2006-03-29 Thread Rahul Akolkar
On 3/28/06, Sandy McArthur [EMAIL PROTECTED] wrote:
 On 3/28/06, Stephen Colebourne [EMAIL PROTECTED] wrote:
snip/
 
  AFAIR we haven't ever voted on this, as removing existing author tags is
  always been a touchy subject when brought up. At present, its a
  component-level choice.
 
snap/

And this will keep coming back and eating into our cycles. IMO,
[codec] took the right step. So, we're content with leaving this open
i.e. we are resigned to this fate since the belief is that no
consensus is ever possible?


  I believe that it is general practice in commons to refer to the author
  in commit comments, and to use the maven team list facility, but I could
  be wrong.
 
snip/

If its not, it should be the general practice -- or someone should
post objections.


  Certainly [collections] still has author tags, although I had recently
  considered proposing their removal as I now find them a hassle.
 
snap/

Join the club.


  Sandy McArthur wrote:
snip/

 I think the best policy is to stay true to yourself and be tolerant
 of people with different policies. In my mind that will work today,
 tomorrow, and up until the earth is swallowed by the sun.

snap/

I believe thats the crux -- freedom, personal conviction and tolerance
are *not* mutually exclusive in any combinations thereof.

-Rahul

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



Re: [all] Suggestion for all of Commons

2006-03-29 Thread Rahul Akolkar
Please prefix with [all], yup, its a bit tricky ;-)

On 3/29/06, Frank W. Zammetti [EMAIL PROTECTED] wrote:
 Hey all,

 I just spent about 20 minutes working through a problem with FileUpload...
 turned out to be my fault entirely, I didn't include Commons IO (FYI, I'm
 not seeing a dependency list on the FileUpload site... maybe I missed it).

snip/

Its here:

http://jakarta.apache.org/commons/fileupload/dependencies.html

snip-dependency-check-code-snippet/

Or maybe we should simply advertise the dependencies pages better?

-Rahul

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



Re: Suggestion for all of Commons

2006-03-29 Thread Martin Cooper
On 3/29/06, Frank W. Zammetti [EMAIL PROTECTED] wrote:

 Hey all,

 I just spent about 20 minutes working through a problem with FileUpload...
 turned out to be my fault entirely, I didn't include Commons IO (FYI, I'm
 not seeing a dependency list on the FileUpload site... maybe I missed it).


You did. See:

http://jakarta.apache.org/commons/fileupload/dependencies.html

This is the standard location for the dependency list for all Commons
components.

The problem is, it was one of those aggrevating problems to track down
 because the stack trace didn't reveal the actual line where the failure
 occured, and catching Exception didn't get triggered.  I wound up catching
 Throwable, and I was then able to figure it out.


The stack trace should have shown a NoClassDefFoundError indicating a class
in Commons IO. I haven't seen a situation where that's not the case, and
that's also been the case for all of the people who've asked about it on the
list, at least that I can recall.

I know that missing dependencies is always a b**ch, and they tend to be
 these annoying problems with no error messages or anything (sure, a
 debugger helps, but that doesn't seem like the best answer to me).  So, I
 have a suggestion that could well go all across Commons, or any other
 project for that matter.

 In Java Web Parts, we've gotten into the habit of putting this in all
 classes:

 /**
 * This static initializer block tries to load all the classes this one
 * depends on (those not from standard Java anyway) and prints an error
 * meesage if any cannot be loaded for any reason.
 */
 static {
   try {
 Class.forName(org.apache.commons.logging.Log);
 Class.forName(org.apache.commons.logging.LogFactory);
   } catch (ClassNotFoundException e) {
 System.err.println(CacheControlFilter +
could not be loaded by classloader because classes it depends +
on could not be found in the classpath...);
 e.printStackTrace();
   }
 }


Aside from the fact that Class.forName is generally not a good idea in a
J2EE environment, I personally have a strong dislike for static
initialisers, so I'm not inclined to do something like this for components I
work on. Other folks may like it, though. ;-)

--
Martin Cooper


It's just echoing the import list, minus classes found in the SDK (if
 that's missing, you aren't getting *this* far!).  This saves a lot of time
 and headache when you are missing a dependency.  I know that adds
 something additional to maintain in the class, but it seems a fair
 trade-off to me.

 Does anyone see this as being something that might be helpful for Commons?
 If there is a better way to get the same effect I'm all ears too (I could
 see setting a string to the name of the class being checked so that it
 could be output as part of the error message, but I'm talking about a
 whole other way to check for dependencies).

 --
 Frank W. Zammetti
 Founder and Chief Software Architect
 Omnytex Technologies
 http://www.omnytex.com
 AIM: fzammetti
 Yahoo: fzammetti
 MSN: [EMAIL PROTECTED]
 Java Web Parts -
 http://javawebparts.sourceforge.net
 Supplying the wheel, so you don't have to reinvent it!

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




Re: [all] Suggestion for all of Commons

2006-03-29 Thread Frank W. Zammetti
On Wed, March 29, 2006 1:33 pm, Rahul Akolkar said:
 Please prefix with [all], yup, its a bit tricky ;-)

Sorry, forgot :)

 Its here:

 http://jakarta.apache.org/commons/fileupload/dependencies.html

Hmm, weird... I go to:

http://jakarta.apache.org/commons/fileupload/

And I don't see a link to it... ah, I see... have to expand the Project
Info branch first.  Yes, I would suggest that being more front and
center, i.e., visible right away.  I know I'm the only person that has
ever been burned by missing dependencies, it would be much better if that
info was right there right away with no digging.

 snip-dependency-check-code-snippet/

 Or maybe we should simply advertise the dependencies pages better?

Certainly that would suffice.  I think the code telling you when a
dependency is missing is a little friendlier, but certainly it isn't
necessary, as long as the information is quick and easy to find.

 -Rahul

Frank

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



Re: [all] Suggestion for all of Commons

2006-03-29 Thread Frank W. Zammetti
On Wed, March 29, 2006 1:42 pm, Martin Cooper said:
 You did. See:

 http://jakarta.apache.org/commons/fileupload/dependencies.html

 This is the standard location for the dependency list for all Commons
 components.

Yep, was pointed out to me.  As I mentioned in the other thread, I'd
personally like to see that not buried beneath a branch like it is... I
for one didn't know that was the standard location for Commons, I can't
imagine I'm the only one that didn't know that.

 The stack trace should have shown a NoClassDefFoundError indicating a
 class
 in Commons IO. I haven't seen a situation where that's not the case, and
 that's also been the case for all of the people who've asked about it on
 the
 list, at least that I can recall.

It didn't... I think its because the method that uses FileUpload was
called from a piece of code that was reflectively creating its class and
calling it, so I was catching InvocationTargetException there, and that's
what was showing up in the logs... that's what I was seeing in the logs,
and the first line of the trace was the code inside the catch block, not
any code in the class using FileUpload.  It was a bit confusing for a few
minutes.

 Aside from the fact that Class.forName is generally not a good idea in a
 J2EE environment

I hadn't heard that.  Why is that?

 , I personally have a strong dislike for static
 initialisers, so I'm not inclined to do something like this for components
 I
 work on.

Fair enough, I just wanted to make the suggestion.  I'm interested though,
why don't you like static initializers?  Just curious ;)

 Martin Cooper

Frank


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



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

2006-03-29 Thread Stefan Bodewig
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-resources has an issue affecting its community integration.
This issue affects 1 projects.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- commons-resources :  Commons resources


Full details are available at:

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

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Sole output [commons-resources-29032006.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-resources/gump_work/build_jakarta-commons_commons-resources.html
Work Name: build_jakarta-commons_commons-resources (Type: Build)
Work ended in a state of : Failed
Elapsed: 
Command Line: java -Djava.awt.headless=true 
-Xbootclasspath/p:/usr/local/gump/public/workspace/xml-xerces2/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 -Dmaven.final.name=commons-resources-29032006 -f 
build-gump.xml jar 
[Working Directory: /usr/local/gump/public/workspace/jakarta-commons/resources]
CLASSPATH: 
/opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/resources/target/classes:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/packages/junit3.8.1/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar:/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/jakarta-commons/digester/dist/commons-digester.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-29032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-29032006.jar:/usr/local/gump/public/workspace/jakarta-servletapi-4/lib/servlet.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar:/usr/local/gump/public/workspace/hsqldb/lib/hsqldb.jar
-
Buildfile: build-gump.xml does not exist!
Build failed
-

To subscribe to this information via syndicated feeds:
- RSS: 
http://vmgump.apache.org/gump/public/jakarta-commons/commons-resources/rss.xml
- Atom: 
http://vmgump.apache.org/gump/public/jakarta-commons/commons-resources/atom.xml

== Gump Tracking Only ===
Produced by Gump version 2.2.
Gump Run 17000829032006, vmgump.apache.org:vmgump-public:17000829032006
Gump E-mail Identifier (unique within run) #2.

--
Apache Gump
http://gump.apache.org/ [Instance: vmgump]

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



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

2006-03-29 Thread Stefan Bodewig
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-resources has an issue affecting its community integration.
This issue affects 1 projects.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- commons-resources :  Commons resources


Full details are available at:

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

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Sole output [commons-resources-29032006.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-resources/gump_work/build_jakarta-commons_commons-resources.html
Work Name: build_jakarta-commons_commons-resources (Type: Build)
Work ended in a state of : Failed
Elapsed: 
Command Line: java -Djava.awt.headless=true 
-Xbootclasspath/p:/usr/local/gump/public/workspace/xml-xerces2/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 -Dmaven.final.name=commons-resources-29032006 -f 
build-gump.xml jar 
[Working Directory: /usr/local/gump/public/workspace/jakarta-commons/resources]
CLASSPATH: 
/opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/resources/target/classes:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/packages/junit3.8.1/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar:/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/jakarta-commons/digester/dist/commons-digester.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-29032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-29032006.jar:/usr/local/gump/public/workspace/jakarta-servletapi-4/lib/servlet.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar:/usr/local/gump/public/workspace/hsqldb/lib/hsqldb.jar
-
Buildfile: build-gump.xml does not exist!
Build failed
-

To subscribe to this information via syndicated feeds:
- RSS: 
http://vmgump.apache.org/gump/public/jakarta-commons/commons-resources/rss.xml
- Atom: 
http://vmgump.apache.org/gump/public/jakarta-commons/commons-resources/atom.xml

== Gump Tracking Only ===
Produced by Gump version 2.2.
Gump Run 17000829032006, vmgump.apache.org:vmgump-public:17000829032006
Gump E-mail Identifier (unique within run) #2.

--
Apache Gump
http://gump.apache.org/ [Instance: vmgump]

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



Re: [all] Suggestion for all of Commons

2006-03-29 Thread Rahul Akolkar
On 3/29/06, Frank W. Zammetti [EMAIL PROTECTED] wrote:
 On Wed, March 29, 2006 1:42 pm, Martin Cooper said:
  You did. See:
 
  http://jakarta.apache.org/commons/fileupload/dependencies.html
 
  This is the standard location for the dependency list for all Commons
  components.

 Yep, was pointed out to me.  As I mentioned in the other thread, I'd
 personally like to see that not buried beneath a branch like it is... I
 for one didn't know that was the standard location for Commons, I can't
 imagine I'm the only one that didn't know that.
snip/

OK, I will put the link in a more obvious place for one of the sandbox
components [scxml]. If others like it, it might become a popular
trend.



  Aside from the fact that Class.forName is generally not a good idea in a
  J2EE environment

 I hadn't heard that.  Why is that?

snip/

 * Many more classloaders in J2EE environments
 * Atleast need to use the three argument version using the TCCL, even
that isn't a given


  , I personally have a strong dislike for static
  initialisers, so I'm not inclined to do something like this for components
  I
  work on.

 Fair enough, I just wanted to make the suggestion.  I'm interested though,
 why don't you like static initializers?  Just curious ;)

snap/

 * Libraries may be in shared environments where some initializations
may not work well
 * Users have numerous classloader delegation models, loading classes
via static code can get tricky

-Rahul


  Martin Cooper

 Frank


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



svn commit: r389880 - /jakarta/commons/sandbox/scxml/trunk/xdocs/navigation.xml

2006-03-29 Thread rahul
Author: rahul
Date: Wed Mar 29 12:26:55 2006
New Revision: 389880

URL: http://svn.apache.org/viewcvs?rev=389880view=rev
Log:
Before I forget, make the dependencies link more conspicuous (for the site).

Suggestion by: Frank W. Zammetti (fzlists AT omnytex DOT com)

Modified:
jakarta/commons/sandbox/scxml/trunk/xdocs/navigation.xml

Modified: jakarta/commons/sandbox/scxml/trunk/xdocs/navigation.xml
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/sandbox/scxml/trunk/xdocs/navigation.xml?rev=389880r1=389879r2=389880view=diff
==
--- jakarta/commons/sandbox/scxml/trunk/xdocs/navigation.xml (original)
+++ jakarta/commons/sandbox/scxml/trunk/xdocs/navigation.xml Wed Mar 29 
12:26:55 2006
@@ -89,6 +89,9 @@
   item   name=Building  
   href=/building.html /
 
+  item   name=Dependencies
+  href=/dependencies.html /
+
   item   name=Mailing lists
   href=/mail-lists.html/
 



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



Re: [all] Suggestion for all of Commons

2006-03-29 Thread Sandy McArthur
On 3/29/06, Rahul Akolkar [EMAIL PROTECTED] wrote:
 Or maybe we should simply advertise the dependencies pages better?

Dependencies should be listed on the download page. The mind set of
someone wanting to to use a component is and I know this from having
done it a dozen or so times:

1. Find the component's site.
2. Find the download link on the site.
3. See want they want to download (src/bin, tar/zip)
4. Unpack
5. Find the jar and add it to their project.

Step #3 is where we have the most cranial activity available to us and
we should take advantage of that. Any other step and the end user is
just going through the motions trying to get their work done with as
little effort as possible.

--
Sandy McArthur

He who dares not offend cannot be honest.
- Thomas Paine

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



Re: [all] Suggestion for all of Commons

2006-03-29 Thread Frank W. Zammetti
On Wed, March 29, 2006 3:08 pm, Rahul Akolkar said:
  Aside from the fact that Class.forName is generally not a good idea in
 a
  J2EE environment

 I hadn't heard that.  Why is that?

 snip/

  * Many more classloaders in J2EE environments
  * Atleast need to use the three argument version using the TCCL, even
 that isn't a given

Hehe, based on my experience with Websphere and the Classloaders From Hell
that it is, I should have known that :)

Good point about the 3-argument version... I don't want the checked
classes to be initialized, so throwing false in there is fine (even though
the specified classloader would be equivalent).

 Fair enough, I just wanted to make the suggestion.  I'm interested
 though,
 why don't you like static initializers?  Just curious ;)

 snap/

  * Libraries may be in shared environments where some initializations
 may not work well
  * Users have numerous classloader delegation models, loading classes
 via static code can get tricky

But if the intent is just to test if a given class is available for use by
the loading class, aren't these points, if not irrelevant, than at least
minimized?  I totally see your point if we were talking about static
initialization of members or actually loading/intializing a class (i.e.,
JDBC driver or similar).  I'm not so sure I see the problem in the case of
a simple is class X available to me check.

Well, in any case, making the dependency list more visible addresses the
concern, so that's cool, I hope others agree and pick up on it.  Sandy's
point about it being on the download page is a good one too, I'd be more
than satisfied either way.  Thanks!

 -Rahul

Frank

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



Re: [all] Suggestion for all of Commons

2006-03-29 Thread Michael Heuer
Sandy McArthur wrote:

 On 3/29/06, Rahul Akolkar [EMAIL PROTECTED] wrote:
  Or maybe we should simply advertise the dependencies pages better?

 Dependencies should be listed on the download page. The mind set of
 someone wanting to to use a component is and I know this from having
 done it a dozen or so times:

 1. Find the component's site.
 2. Find the download link on the site.
 3. See want they want to download (src/bin, tar/zip)
 4. Unpack
 5. Find the jar and add it to their project.

 Step #3 is where we have the most cranial activity available to us and
 we should take advantage of that. Any other step and the end user is
 just going through the motions trying to get their work done with as
 little effort as possible.

With the advent of maven (and the maven ant tasks to a lesser extent) and
its central repository, I have found I almost never need to go through
that exercise any more.

A bit of doc something like...

p
To include commons-xxx as dependency for your maven 2.x project (and
transitively, commons-xxx's dependencies) use the following in your
codepom.xml/code:

source
dependency
  groupIdorg.apache.commons/groupId
  artifactIdcommons-xxx/artifactId
  version1.0/version
  scopecompile/scope
/dependency
/source
/p

p
To include commons-xxx as a dependency for your maven 1.x project use the
following in your codeproject.xml/code:

source
dependency
  groupIdorg.apache.commons/groupId
  artifactIdcommons-xxx/artifactId
  version1.0/version
/dependency
!-- dependencies for commons-xxx --
dependency
  groupIdorg.apache.commons/groupId
  artifactIdcommons-xxx-dependency0/artifactId
  version2.5/version
/dependency
dependency
  groupIdorg.apache.commons/groupId
  artifactIdcommons-xxx-dependency1/artifactId
  version3.0/version
/dependency
/source
/p

(and a similar example using the maven ant tasks)

...would be quite useful to have on a download page, and could probably
be generated via the maven 1.x or 2.x dependency plugin.

   michael


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



Re: [all] Suggestion for all of Commons

2006-03-29 Thread Henri Yandell
On 3/29/06, Sandy McArthur [EMAIL PROTECTED] wrote:
 On 3/29/06, Rahul Akolkar [EMAIL PROTECTED] wrote:
  Or maybe we should simply advertise the dependencies pages better?

 Dependencies should be listed on the download page. The mind set of
 someone wanting to to use a component is and I know this from having
 done it a dozen or so times:

I've come to believe that dependencies should be included in the
distribution. Also that we shouldn't bother with binary and source
distributions anymore; be like tapestry/hivemind (I think they're the
ones) and have just the one dist file.

 1. Find the component's site.
 2. Find the download link on the site.
 3. See want they want to download (src/bin, tar/zip)
 4. Unpack
 5. Find the jar and add it to their project.

 Step #3 is where we have the most cranial activity available to us and
 we should take advantage of that. Any other step and the end user is
 just going through the motions trying to get their work done with as
 little effort as possible.

Agreed.

Hen

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



Re: [fileupload] Suggestion for all of Commons

2006-03-29 Thread Stephen Colebourne

Frank W. Zammetti wrote:

I just spent about 20 minutes working through a problem with FileUpload...
turned out to be my fault entirely, I didn't include Commons IO (FYI, I'm
not seeing a dependency list on the FileUpload site... maybe I missed it).


We've seen a few fileupload/io issues come through. I think maybe I 
should have stuck to my guns on not adding an [io] dependency to 
[fileupload]... ;-)


Stephen

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



Re: [fileupload] Suggestion for all of Commons

2006-03-29 Thread Frank W. Zammetti
On Wed, March 29, 2006 4:36 pm, Stephen Colebourne said:
 Frank W. Zammetti wrote:
 I just spent about 20 minutes working through a problem with
 FileUpload...
 turned out to be my fault entirely, I didn't include Commons IO (FYI,
 I'm
 not seeing a dependency list on the FileUpload site... maybe I missed
 it).

 We've seen a few fileupload/io issues come through. I think maybe I
 should have stuck to my guns on not adding an [io] dependency to
 [fileupload]... ;-)

We came to the same conclusion as Henri when it comes to dependencies with
Java Web Parts, that's why things like Commons Lang is included.  We
actually took it a bit further and put those classes in our package
structure, but that was to avoid even having to have more JARs floating
around, i.e., you include javawebparts-core.jar all the time, then just
include the JARs you are interested in beyond that... the only external
depenendency we left was JCL, just to hopefully avoid any classloader
issues that might arise.

IO doesn't at all strike me as an unreasonable dependency, so don't fret
it too much :)  I think simply making sure it is well-known is enough, and
that just means prominently on the web site (whether on the download page,
front page, or whatever, but it should be very hard to miss).

 Stephen

Frank

-- 
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
AIM: fzammetti
Yahoo: fzammetti
MSN: [EMAIL PROTECTED]
Java Web Parts -
http://javawebparts.sourceforge.net
Supplying the wheel, so you don't have to reinvent it!


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



Re: [all] Suggestion for all of Commons

2006-03-29 Thread Sandy McArthur
On 3/29/06, Henri Yandell [EMAIL PROTECTED] wrote:
 On 3/29/06, Sandy McArthur [EMAIL PROTECTED] wrote:
  On 3/29/06, Rahul Akolkar [EMAIL PROTECTED] wrote:
   Or maybe we should simply advertise the dependencies pages better?
 
  Dependencies should be listed on the download page. The mind set of
  someone wanting to to use a component is and I know this from having
  done it a dozen or so times:

 I've come to believe that dependencies should be included in the
 distribution. Also that we shouldn't bother with binary and source
 distributions anymore; be like tapestry/hivemind (I think they're the
 ones) and have just the one dist file.

I'm almost cool with that. I'd be happy with a full download
(binary.jar, sources, docs, etc) and just the raw binary.jar

85% of the time downloading the binary distrobution is just an extra
step to get to what I want: the binary.jar

  1. Find the component's site.
  2. Find the download link on the site.
  3. See want they want to download (src/bin, tar/zip)
  4. Unpack
  5. Find the jar and add it to their project.
 
  Step #3 is where we have the most cranial activity available to us and
  we should take advantage of that. Any other step and the end user is
  just going through the motions trying to get their work done with as
  little effort as possible.

 Agreed.

 Hen

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




--
Sandy McArthur

He who dares not offend cannot be honest.
- Thomas Paine

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



svn commit: r389900 - in /jakarta/commons/proper/lang/trunk/src: java/org/apache/commons/lang/exception/ExceptionUtils.java test/org/apache/commons/lang/exception/ExceptionUtilsTestCase.java

2006-03-29 Thread scolebourne
Author: scolebourne
Date: Wed Mar 29 14:07:53 2006
New Revision: 389900

URL: http://svn.apache.org/viewcvs?rev=389900view=rev
Log:
Fix infinite loops leading to OutOfMemory with circular cause chain
bug 37038

Modified:

jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/exception/ExceptionUtils.java

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

Modified: 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/exception/ExceptionUtils.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/exception/ExceptionUtils.java?rev=389900r1=389899r2=389900view=diff
==
--- 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/exception/ExceptionUtils.java
 (original)
+++ 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/exception/ExceptionUtils.java
 Wed Mar 29 14:07:53 2006
@@ -233,6 +233,7 @@
 return ArrayUtils.indexOf(CAUSE_METHOD_NAMES, methodName) = 0;
 }
 
+//---
 /**
  * pIntrospects the codeThrowable/code to obtain the cause./p
  *
@@ -319,19 +320,19 @@
  * root of the tree, using [EMAIL PROTECTED] #getCause(Throwable)}, and
  * returns that exception./p
  *
+ * pFrom version 2.2, this method handles recursive cause structures
+ * that might otherwise cause infinite loops. If the throwable parameter
+ * has a cause of itself, then null will be returned. If the throwable
+ * parameter cause chain loops, the last element in the chain before the
+ * loop is returned./p
+ *
  * @param throwable  the throwable to get the root cause for, may be null
  * @return the root cause of the codeThrowable/code,
  *  codenull/code if none found or null throwable input
  */
 public static Throwable getRootCause(Throwable throwable) {
-Throwable cause = getCause(throwable);
-if (cause != null) {
-throwable = cause;
-while ((throwable = getCause(throwable)) != null) {
-cause = throwable;
-}
-}
-return cause;
+List list = getThrowableList(throwable);
+return (list.size()  2 ? null : (Throwable)list.get(list.size() - 1));
 }
 
 /**
@@ -490,16 +491,16 @@
  * A throwable with one cause will return code2/code and so on.
  * A codenull/code throwable will return code0/code./p
  *
+ * pFrom version 2.2, this method handles recursive cause structures
+ * that might otherwise cause infinite loops. The cause chain is
+ * processed until the end is reached, or until the next item in the
+ * chain is already in the result set./p
+ *
  * @param throwable  the throwable to inspect, may be null
  * @return the count of throwables, zero if null input
  */
 public static int getThrowableCount(Throwable throwable) {
-int count = 0;
-while (throwable != null) {
-count++;
-throwable = ExceptionUtils.getCause(throwable);
-}
-return count;
+return getThrowableList(throwable).size();
 }
 
 /**
@@ -510,18 +511,48 @@
  * one element - the input throwable.
  * A throwable with one cause will return an array containing
  * two elements. - the input throwable and the cause throwable.
- * A codenull/code throwable will return an array size zero./p
+ * A codenull/code throwable will return an array of size zero./p
+ *
+ * pFrom version 2.2, this method handles recursive cause structures
+ * that might otherwise cause infinite loops. The cause chain is
+ * processed until the end is reached, or until the next item in the
+ * chain is already in the result set./p
  *
+ * @see #getThrowableList(Throwable)
  * @param throwable  the throwable to inspect, may be null
  * @return the array of throwables, never null
  */
 public static Throwable[] getThrowables(Throwable throwable) {
+List list = getThrowableList(throwable);
+return (Throwable[]) list.toArray(new Throwable[list.size()]);
+}
+
+/**
+ * pReturns the list of codeThrowable/code objects in the
+ * exception chain./p
+ *
+ * pA throwable without cause will return a list containing
+ * one element - the input throwable.
+ * A throwable with one cause will return a list containing
+ * two elements. - the input throwable and the cause throwable.
+ * A codenull/code throwable will return a list of size zero./p
+ *
+ * pThis method handles recursive cause structures that might
+ * otherwise cause infinite loops. The cause chain is processed until
+ * the end is reached, or until the next item in the chain is already
+ * in the result set./p
+   

DO NOT REPLY [Bug 37038] - [lang] ExceptionUtils goes into infinite loop in getThrowables is throwable.getCause() == throwable

2006-03-29 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=37038.
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=37038


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Additional Comments From [EMAIL PROTECTED]  2006-03-29 23:08 ---
Fixed in SVN

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 39147] New: - Issue with host settings in a shared Server environment

2006-03-29 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=39147.
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=39147

   Summary: Issue with host settings in a shared Server environment
   Product: Commons
   Version: unspecified
  Platform: All
OS/Version: other
Status: NEW
  Severity: normal
  Priority: P2
 Component: Email
AssignedTo: commons-dev@jakarta.apache.org
ReportedBy: [EMAIL PROTECTED]


So the quick and dirty is I'm setting up an HTMLEmail and the server is in a
shared environment, there is another site on the server using commons-email, and
I have no control over that site.  I set the hostname and the authentication but
after that it's taking the settings from the System.properies. Below is a snip
from my code.


org.apache.commons.mail.HtmlEmail email = new 
org.apache.commons.mail.HtmlEmail();
email.setHostName(server);
email.setAuthentication(username, password);


After that point I can get the session:
Session sess = email.getMailSession();
sess.getProperty(mail.smtp.host);
 and the result of the getProperty(mail.smtp.host) does not equal the setting
from the above server variable.  It is now set to the value from
System.propeties, again, not my setting.

-- 
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: r389908 - in /jakarta/commons/sandbox/scxml/trunk/src/main/java/org/apache/commons/scxml: env/SimpleContext.java env/jsp/ELEvaluator.java env/jsp/RootContext.java semantics/SCXMLSemanticsI

2006-03-29 Thread rahul
Author: rahul
Date: Wed Mar 29 14:17:29 2006
New Revision: 389908

URL: http://svn.apache.org/viewcvs?rev=389908view=rev
Log:
All logs are now private, with getters and setters where subclassing may be 
anticipated.

Modified:

jakarta/commons/sandbox/scxml/trunk/src/main/java/org/apache/commons/scxml/env/SimpleContext.java

jakarta/commons/sandbox/scxml/trunk/src/main/java/org/apache/commons/scxml/env/jsp/ELEvaluator.java

jakarta/commons/sandbox/scxml/trunk/src/main/java/org/apache/commons/scxml/env/jsp/RootContext.java

jakarta/commons/sandbox/scxml/trunk/src/main/java/org/apache/commons/scxml/semantics/SCXMLSemanticsImpl.java

Modified: 
jakarta/commons/sandbox/scxml/trunk/src/main/java/org/apache/commons/scxml/env/SimpleContext.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/sandbox/scxml/trunk/src/main/java/org/apache/commons/scxml/env/SimpleContext.java?rev=389908r1=389907r2=389908view=diff
==
--- 
jakarta/commons/sandbox/scxml/trunk/src/main/java/org/apache/commons/scxml/env/SimpleContext.java
 (original)
+++ 
jakarta/commons/sandbox/scxml/trunk/src/main/java/org/apache/commons/scxml/env/SimpleContext.java
 Wed Mar 29 14:17:29 2006
@@ -31,7 +31,7 @@
 public class SimpleContext implements Context {
 
 /** Implementation independent log category. */
-protected Log log = LogFactory.getLog(Context.class);
+private Log log = LogFactory.getLog(Context.class);
 /** The parent Context to this Context. */
 private Context parent;
 /** The Map of variables and their values in this Context. */
@@ -180,6 +180,24 @@
  */
 public Map getVars() {
 return vars;
+}
+
+/**
+ * Set the log used by this codeContext/code instance.
+ *
+ * @param log The new log.
+ */
+protected void setLog(final Log log) {
+this.log = log;
+}
+
+/**
+ * Get the log used by this codeContext/code instance.
+ *
+ * @return Log The log being used.
+ */
+protected Log getLog() {
+return log;
 }
 
 }

Modified: 
jakarta/commons/sandbox/scxml/trunk/src/main/java/org/apache/commons/scxml/env/jsp/ELEvaluator.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/sandbox/scxml/trunk/src/main/java/org/apache/commons/scxml/env/jsp/ELEvaluator.java?rev=389908r1=389907r2=389908view=diff
==
--- 
jakarta/commons/sandbox/scxml/trunk/src/main/java/org/apache/commons/scxml/env/jsp/ELEvaluator.java
 (original)
+++ 
jakarta/commons/sandbox/scxml/trunk/src/main/java/org/apache/commons/scxml/env/jsp/ELEvaluator.java
 Wed Mar 29 14:17:29 2006
@@ -43,7 +43,7 @@
 public class ELEvaluator implements Evaluator {
 
 /** Implementation independent log category. */
-protected Log log = LogFactory.getLog(Evaluator.class);
+private Log log = LogFactory.getLog(Evaluator.class);
 /** Function Mapper for SCXML expressions. */
 private FunctionMapper functionMapper = new BuiltinFunctionMapper();
 /** Pattern for recognizing the SCXML In() special predicate. */
@@ -153,6 +153,24 @@
  */
 public Context newContext(final Context parent) {
 return new ELContext(parent);
+}
+
+/**
+ * Set the log used by this codeEvaluator/code instance.
+ *
+ * @param log The new log.
+ */
+protected void setLog(final Log log) {
+this.log = log;
+}
+
+/**
+ * Get the log used by this codeEvaluator/code instance.
+ *
+ * @return Log The log being used.
+ */
+protected Log getLog() {
+return log;
 }
 
 /**

Modified: 
jakarta/commons/sandbox/scxml/trunk/src/main/java/org/apache/commons/scxml/env/jsp/RootContext.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/sandbox/scxml/trunk/src/main/java/org/apache/commons/scxml/env/jsp/RootContext.java?rev=389908r1=389907r2=389908view=diff
==
--- 
jakarta/commons/sandbox/scxml/trunk/src/main/java/org/apache/commons/scxml/env/jsp/RootContext.java
 (original)
+++ 
jakarta/commons/sandbox/scxml/trunk/src/main/java/org/apache/commons/scxml/env/jsp/RootContext.java
 Wed Mar 29 14:17:29 2006
@@ -42,7 +42,7 @@
 public RootContext(final JspContext ctx) {
 super();
 if (ctx == null) {
-log.error(ERR_HOST_JSP_CTX_NULL);
+getLog().error(ERR_HOST_JSP_CTX_NULL);
 throw new IllegalArgumentException(ERR_HOST_JSP_CTX_NULL);
 } else {
   // only retain the VariableResolver
@@ -63,7 +63,7 @@
 try {
 value = variableResolver.resolveVariable(name);
 } catch (ELException ele) {
-log.error(ele.getMessage(), ele);
+getLog().error(ele.getMessage(), ele);
 }
 }
 return value;
@@ -83,7 +83,7 @@
 try {
 

svn commit: r389911 - in /jakarta/commons/proper/lang/trunk/src: java/org/apache/commons/lang/SystemUtils.java test/org/apache/commons/lang/SystemUtilsTest.java

2006-03-29 Thread scolebourne
Author: scolebourne
Date: Wed Mar 29 14:22:32 2006
New Revision: 389911

URL: http://svn.apache.org/viewcvs?rev=389911view=rev
Log:
Handle badly formatted java version numbers without exceptions

Modified:

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

jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/SystemUtilsTest.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=389911r1=389910r2=389911view=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
 Wed Mar 29 14:22:32 2006
@@ -1,5 +1,5 @@
 /*
- * Copyright 2002-2005 The Apache Software Foundation.
+ * Copyright 2002-2006 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.
@@ -1114,7 +1114,11 @@
 if (JAVA_VERSION_TRIMMED.length() = 5) {
 str = str + JAVA_VERSION_TRIMMED.substring(4, 5);
 }
-return Float.parseFloat(str);
+try {
+return Float.parseFloat(str);
+} catch (Exception ex) {
+return 0;
+}
 }
 
 /**
@@ -1142,7 +1146,11 @@
 } else {
 str = str + 0;
 }
-return Integer.parseInt(str);
+try {
+return Integer.parseInt(str);
+} catch (Exception ex) {
+return 0;
+}
 }
 
 /**

Modified: 
jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/SystemUtilsTest.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/SystemUtilsTest.java?rev=389911r1=389910r2=389911view=diff
==
--- 
jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/SystemUtilsTest.java
 (original)
+++ 
jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/SystemUtilsTest.java
 Wed Mar 29 14:22:32 2006
@@ -1,5 +1,5 @@
 /*
- * Copyright 2003,2004 The Apache Software Foundation.
+ * Copyright 2003,2004,2006 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.
@@ -83,7 +83,11 @@
 if (JAVA_VERSION_TRIMMED.length() = 5) {
 str = str + JAVA_VERSION_TRIMMED.substring(4, 5);
 }
-return Float.parseFloat(str);
+try {
+return Float.parseFloat(str);
+} catch (Exception ex) {
+return 0;
+}
 }
 
 /**
@@ -111,7 +115,11 @@
 } else {
 str = str + 0;
 }
-return Integer.parseInt(str);
+try {
+return Integer.parseInt(str);
+} catch (Exception ex) {
+return 0;
+}
 }
 
 /**
@@ -324,6 +332,9 @@
 JAVA_VERSION = JavaVM-1.3.1;  //HP-UX
 JAVA_VERSION_TRIMMED = getJavaVersionTrimmed();
 assertEquals(1.31f, getJavaVersionAsFloat(), 0.01f);
+JAVA_VERSION = XXX-1.3.x;  //error
+JAVA_VERSION_TRIMMED = getJavaVersionTrimmed();
+assertEquals(0.0f, getJavaVersionAsFloat(), 0.01f);
 }
 
 public void testJavaVersionAsInt() {
@@ -357,6 +368,9 @@
 JAVA_VERSION = JavaVM-1.3.1;  //HP-UX
 JAVA_VERSION_TRIMMED = getJavaVersionTrimmed();
 assertEquals(131, getJavaVersionAsInt());
+JAVA_VERSION = XXX-1.3.x;  //error
+JAVA_VERSION_TRIMMED = getJavaVersionTrimmed();
+assertEquals(0, getJavaVersionAsInt());
 }
 
 public void testJavaVersionAtLeastFloat() {



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



Re: [all] Suggestion for all of Commons

2006-03-29 Thread Henri Yandell
On 3/29/06, Sandy McArthur [EMAIL PROTECTED] wrote:
 On 3/29/06, Henri Yandell [EMAIL PROTECTED] wrote:
  On 3/29/06, Sandy McArthur [EMAIL PROTECTED] wrote:
   On 3/29/06, Rahul Akolkar [EMAIL PROTECTED] wrote:
Or maybe we should simply advertise the dependencies pages better?
  
   Dependencies should be listed on the download page. The mind set of
   someone wanting to to use a component is and I know this from having
   done it a dozen or so times:
 
  I've come to believe that dependencies should be included in the
  distribution. Also that we shouldn't bother with binary and source
  distributions anymore; be like tapestry/hivemind (I think they're the
  ones) and have just the one dist file.

 I'm almost cool with that. I'd be happy with a full download
 (binary.jar, sources, docs, etc) and just the raw binary.jar

 85% of the time downloading the binary distrobution is just an extra
 step to get to what I want: the binary.jar

Yeah, +1.

I tend to go to ibiblio to get downloads half the time now; sad :) 
Definitely valuable to be able to download just the jar, especially
for Commons things.

Hen

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



svn commit: r389912 - in /jakarta/commons/proper/lang/trunk/src: java/org/apache/commons/lang/SystemUtils.java test/org/apache/commons/lang/SystemUtilsTest.java

2006-03-29 Thread scolebourne
Author: scolebourne
Date: Wed Mar 29 14:27:48 2006
New Revision: 389912

URL: http://svn.apache.org/viewcvs?rev=389912view=rev
Log:
Add checks for JDK1.6

Modified:

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

jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/SystemUtilsTest.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=389912r1=389911r2=389912view=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
 Wed Mar 29 14:27:48 2006
@@ -876,6 +876,14 @@
  */
 public static final boolean IS_JAVA_1_5 = getJavaVersionMatches(1.5);
 
+/**
+ * pIs codetrue/code if this is Java version 1.6 (also 1.6.x 
versions)./p
+ *
+ * pThe field will return codefalse/code if [EMAIL PROTECTED] 
#JAVA_VERSION} is
+ * codenull/code./p
+ */
+public static final boolean IS_JAVA_1_6 = getJavaVersionMatches(1.6);
+
 // Operating system checks
 //---
 // These MUST be declared after those above as they depend on the

Modified: 
jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/SystemUtilsTest.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/SystemUtilsTest.java?rev=389912r1=389911r2=389912view=diff
==
--- 
jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/SystemUtilsTest.java
 (original)
+++ 
jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/SystemUtilsTest.java
 Wed Mar 29 14:27:48 2006
@@ -245,16 +245,49 @@
 assertEquals(false, SystemUtils.IS_JAVA_1_3);
 assertEquals(false, SystemUtils.IS_JAVA_1_4);
 assertEquals(false, SystemUtils.IS_JAVA_1_5);
+assertEquals(false, SystemUtils.IS_JAVA_1_6);
 } else if (javaVersion.startsWith(1.1)) {
-assertTrue(SystemUtils.IS_JAVA_1_1);
+assertEquals(true, SystemUtils.IS_JAVA_1_1);
+assertEquals(false, SystemUtils.IS_JAVA_1_2);
+assertEquals(false, SystemUtils.IS_JAVA_1_3);
+assertEquals(false, SystemUtils.IS_JAVA_1_4);
+assertEquals(false, SystemUtils.IS_JAVA_1_5);
+assertEquals(false, SystemUtils.IS_JAVA_1_6);
 } else if (javaVersion.startsWith(1.2)) {
-assertTrue(SystemUtils.IS_JAVA_1_2);
+assertEquals(false, SystemUtils.IS_JAVA_1_1);
+assertEquals(true, SystemUtils.IS_JAVA_1_2);
+assertEquals(false, SystemUtils.IS_JAVA_1_3);
+assertEquals(false, SystemUtils.IS_JAVA_1_4);
+assertEquals(false, SystemUtils.IS_JAVA_1_5);
+assertEquals(false, SystemUtils.IS_JAVA_1_6);
 } else if (javaVersion.startsWith(1.3)) {
-assertTrue(SystemUtils.IS_JAVA_1_3);
+assertEquals(false, SystemUtils.IS_JAVA_1_1);
+assertEquals(false, SystemUtils.IS_JAVA_1_2);
+assertEquals(true, SystemUtils.IS_JAVA_1_3);
+assertEquals(false, SystemUtils.IS_JAVA_1_4);
+assertEquals(false, SystemUtils.IS_JAVA_1_5);
+assertEquals(false, SystemUtils.IS_JAVA_1_6);
 } else if (javaVersion.startsWith(1.4)) {
-assertTrue(SystemUtils.IS_JAVA_1_4);
+assertEquals(false, SystemUtils.IS_JAVA_1_1);
+assertEquals(false, SystemUtils.IS_JAVA_1_2);
+assertEquals(false, SystemUtils.IS_JAVA_1_3);
+assertEquals(true, SystemUtils.IS_JAVA_1_4);
+assertEquals(false, SystemUtils.IS_JAVA_1_5);
+assertEquals(false, SystemUtils.IS_JAVA_1_6);
 } else if (javaVersion.startsWith(1.5)) {
-assertTrue(SystemUtils.IS_JAVA_1_5);
+assertEquals(false, SystemUtils.IS_JAVA_1_1);
+assertEquals(false, SystemUtils.IS_JAVA_1_2);
+assertEquals(false, SystemUtils.IS_JAVA_1_3);
+assertEquals(false, SystemUtils.IS_JAVA_1_4);
+assertEquals(true, SystemUtils.IS_JAVA_1_5);
+assertEquals(false, SystemUtils.IS_JAVA_1_6);
+} else if (javaVersion.startsWith(1.6)) {
+assertEquals(false, SystemUtils.IS_JAVA_1_1);
+assertEquals(false, SystemUtils.IS_JAVA_1_2);
+assertEquals(false, SystemUtils.IS_JAVA_1_3);
+assertEquals(false, SystemUtils.IS_JAVA_1_4);
+assertEquals(false, SystemUtils.IS_JAVA_1_5);
+assertEquals(true, SystemUtils.IS_JAVA_1_6);
 } else {
 

Re: [math] Q-R -decomposition

2006-03-29 Thread Phil Steitz
On 3/29/06, Joni Salonen [EMAIL PROTECTED] wrote:
 Hello! I read from the commons math web page that  Q-R -decomposition
 of matrices is on the wish list. Last night and this afternoon I had
 some free time so I created a clean-room implementation of this
 decomposition using Householder reflectors. The main source of
 information was the description of the algorithm found in Wikipedia:
 http://en.wikipedia.org/wiki/QR_decomposition

 I would be interested in working towards getting this algorithm
 integrated in commons-math, but how should I proceed? And does anyone
 have suggestions on how to improve the implementation? The source code
 is downloadable from
 http://www.student.oulu.fi/~jonisalo/QRDecomp.java
 (should be understandable but may not be up to Apache standards yet)

Great!  The first thing to do is to open a Bugzilla ticket and attach
the code to it, with that apache license in the class file headers
(look at any apache java class for an example).   Ideally, you should
also develop and include a test class.  Your main method could be the
start of this.  Have a look at the RealMatrix test classes for
examples.  We can talk further about design here on the list.   From a
quick glance at your code, it looks like you have just implemented the
decomp algorithm statically (which is a great start) and we should
talk about how to structure the API, class name, numerical stability,
and package placement.

Let me know if you need help with mechanics of getting set up with
Junit, maven, Bugzilla, etc.

 There is a problem with the current implementation though: it only
 works for non-singular square matrices. What will the usage of the
 algorithm be like? Should the singular and non-square cases be
 implemented, too?

Just handling square, non-singular is a great start, IMO.  Thanks for
your contribution!

Phil

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



[lang] Help wanted testing on JDK1.6 - Re: svn commit: r389912

2006-03-29 Thread Stephen Colebourne
I have checked in the SystemUtils code to check the java.version system 
property for JDK1.6. However, I don't have JDK1.6 installed, so I can't 
test it easily. Please mail the list if this statement is true on 1.6.


SystemUtils.IS_JAVA_1_6 = true

Thanks
Stephen


[EMAIL PROTECTED] wrote:

Author: scolebourne
Date: Wed Mar 29 14:27:48 2006
New Revision: 389912

URL: http://svn.apache.org/viewcvs?rev=389912view=rev
Log:
Add checks for JDK1.6

Modified:

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

jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/SystemUtilsTest.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=389912r1=389911r2=389912view=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
 Wed Mar 29 14:27:48 2006
@@ -876,6 +876,14 @@
  */
 public static final boolean IS_JAVA_1_5 = getJavaVersionMatches(1.5);
 
+/**

+ * pIs codetrue/code if this is Java version 1.6 (also 1.6.x 
versions)./p
+ *
+ * pThe field will return codefalse/code if [EMAIL PROTECTED] 
#JAVA_VERSION} is
+ * codenull/code./p
+ */
+public static final boolean IS_JAVA_1_6 = getJavaVersionMatches(1.6);
+
 // Operating system checks
 //---
 // These MUST be declared after those above as they depend on the

Modified: 
jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/SystemUtilsTest.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/SystemUtilsTest.java?rev=389912r1=389911r2=389912view=diff
==
--- 
jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/SystemUtilsTest.java
 (original)
+++ 
jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/SystemUtilsTest.java
 Wed Mar 29 14:27:48 2006
@@ -245,16 +245,49 @@
 assertEquals(false, SystemUtils.IS_JAVA_1_3);
 assertEquals(false, SystemUtils.IS_JAVA_1_4);
 assertEquals(false, SystemUtils.IS_JAVA_1_5);
+assertEquals(false, SystemUtils.IS_JAVA_1_6);
 } else if (javaVersion.startsWith(1.1)) {
-assertTrue(SystemUtils.IS_JAVA_1_1);
+assertEquals(true, SystemUtils.IS_JAVA_1_1);
+assertEquals(false, SystemUtils.IS_JAVA_1_2);
+assertEquals(false, SystemUtils.IS_JAVA_1_3);
+assertEquals(false, SystemUtils.IS_JAVA_1_4);
+assertEquals(false, SystemUtils.IS_JAVA_1_5);
+assertEquals(false, SystemUtils.IS_JAVA_1_6);
 } else if (javaVersion.startsWith(1.2)) {
-assertTrue(SystemUtils.IS_JAVA_1_2);
+assertEquals(false, SystemUtils.IS_JAVA_1_1);
+assertEquals(true, SystemUtils.IS_JAVA_1_2);
+assertEquals(false, SystemUtils.IS_JAVA_1_3);
+assertEquals(false, SystemUtils.IS_JAVA_1_4);
+assertEquals(false, SystemUtils.IS_JAVA_1_5);
+assertEquals(false, SystemUtils.IS_JAVA_1_6);
 } else if (javaVersion.startsWith(1.3)) {
-assertTrue(SystemUtils.IS_JAVA_1_3);
+assertEquals(false, SystemUtils.IS_JAVA_1_1);
+assertEquals(false, SystemUtils.IS_JAVA_1_2);
+assertEquals(true, SystemUtils.IS_JAVA_1_3);
+assertEquals(false, SystemUtils.IS_JAVA_1_4);
+assertEquals(false, SystemUtils.IS_JAVA_1_5);
+assertEquals(false, SystemUtils.IS_JAVA_1_6);
 } else if (javaVersion.startsWith(1.4)) {
-assertTrue(SystemUtils.IS_JAVA_1_4);
+assertEquals(false, SystemUtils.IS_JAVA_1_1);
+assertEquals(false, SystemUtils.IS_JAVA_1_2);
+assertEquals(false, SystemUtils.IS_JAVA_1_3);
+assertEquals(true, SystemUtils.IS_JAVA_1_4);
+assertEquals(false, SystemUtils.IS_JAVA_1_5);
+assertEquals(false, SystemUtils.IS_JAVA_1_6);
 } else if (javaVersion.startsWith(1.5)) {
-assertTrue(SystemUtils.IS_JAVA_1_5);
+assertEquals(false, SystemUtils.IS_JAVA_1_1);
+assertEquals(false, SystemUtils.IS_JAVA_1_2);
+assertEquals(false, SystemUtils.IS_JAVA_1_3);
+assertEquals(false, SystemUtils.IS_JAVA_1_4);
+assertEquals(true, SystemUtils.IS_JAVA_1_5);
+assertEquals(false, SystemUtils.IS_JAVA_1_6);
+} else if (javaVersion.startsWith(1.6)) {
+assertEquals(false, SystemUtils.IS_JAVA_1_1);
+

Re: [all] Suggestion for all of Commons

2006-03-29 Thread Martin Cooper
On 3/29/06, Henri Yandell [EMAIL PROTECTED] wrote:

 On 3/29/06, Sandy McArthur [EMAIL PROTECTED] wrote:
  On 3/29/06, Rahul Akolkar [EMAIL PROTECTED] wrote:
   Or maybe we should simply advertise the dependencies pages better?
 
  Dependencies should be listed on the download page. The mind set of
  someone wanting to to use a component is and I know this from having
  done it a dozen or so times:

 I've come to believe that dependencies should be included in the
 distribution. Also that we shouldn't bother with binary and source
 distributions anymore; be like tapestry/hivemind (I think they're the
 ones) and have just the one dist file.


Urk. No thanks. If I download a couple of Commons components, and they share
a couple of dependencies, and the bundled versions of those dependencies are
different, what should I, as a user, do? I think that would just cause more
confusion within the user base.

As for having just a single distribution, I'm not in favour of that either.
The vast majority of users don't give a dickey bird about the source, and it
just bulks up the distribution, and therefore the size of the end user's
distribution as well. I doubt our users will thank us for increasing the
size of their own applications, potentially increasing their bandwidth usage
for customers to download their products.

--
Martin Cooper


 1. Find the component's site.
  2. Find the download link on the site.
  3. See want they want to download (src/bin, tar/zip)
  4. Unpack
  5. Find the jar and add it to their project.
 
  Step #3 is where we have the most cranial activity available to us and
  we should take advantage of that. Any other step and the end user is
  just going through the motions trying to get their work done with as
  little effort as possible.

 Agreed.

 Hen

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




DO NOT REPLY [Bug 36584] - [lang] adding a StringUtils.replace method that takes an array or List of replacement strings

2006-03-29 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=36584.
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=36584


[EMAIL PROTECTED] changed:

   What|Removed |Added

   Severity|normal  |enhancement




-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 20015] - [lang] Make Entities public and unit test

2006-03-29 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=20015.
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=20015


[EMAIL PROTECTED] changed:

   What|Removed |Added

   Severity|normal  |enhancement




-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 36839] - [lang] StringUtils.splitByWholeSeparator ignores empty items

2006-03-29 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=36839.
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=36839


[EMAIL PROTECTED] changed:

   What|Removed |Added

   Severity|normal  |enhancement




--- Additional Comments From [EMAIL PROTECTED]  2006-03-29 23:47 ---
This will be covered by the StrTokenizer class in v2.2

-- 
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 36512] - [lang] Enhanced Class.forName version

2006-03-29 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=36512.
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=36512


[EMAIL PROTECTED] changed:

   What|Removed |Added

   Severity|normal  |enhancement




-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



Re: [all] Suggestion for all of Commons

2006-03-29 Thread Rahul Akolkar
On 3/29/06, Frank W. Zammetti [EMAIL PROTECTED] wrote:
snip/

 Well, in any case, making the dependency list more visible addresses the
 concern, so that's cool, I hope others agree and pick up on it.  Sandy's
 point about it being on the download page is a good one too, I'd be more
 than satisfied either way.  Thanks!

snap/

OK, I did this [1]. A small step.

-Rahul

[1] http://jakarta.apache.org/commons/sandbox/scxml/



 Frank


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



svn commit: r389921 - /jakarta/commons/proper/lang/trunk/project.xml

2006-03-29 Thread scolebourne
Author: scolebourne
Date: Wed Mar 29 14:58:43 2006
New Revision: 389921

URL: http://svn.apache.org/viewcvs?rev=389921view=rev
Log:
Add contributor from rv387322, mutable add/subtract

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

Modified: jakarta/commons/proper/lang/trunk/project.xml
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/lang/trunk/project.xml?rev=389921r1=389920r2=389921view=diff
==
--- jakarta/commons/proper/lang/trunk/project.xml (original)
+++ jakarta/commons/proper/lang/trunk/project.xml Wed Mar 29 14:58:43 2006
@@ -300,6 +300,9 @@
 nameEric Pugh/name
 /contributor
 contributor
+nameStephen Putman/name
+/contributor
+contributor
 nameTravis Reeder/name
 /contributor
 contributor



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



svn commit: r389931 - /jakarta/commons/dormant/latka/trunk/project.xml

2006-03-29 Thread rahul
Author: rahul
Date: Wed Mar 29 15:54:11 2006
New Revision: 389931

URL: http://svn.apache.org/viewcvs?rev=389931view=rev
Log:
statcvs breaks the site build for me, the other two may not be particularly 
relevant here anyway.


Modified:
jakarta/commons/dormant/latka/trunk/project.xml

Modified: jakarta/commons/dormant/latka/trunk/project.xml
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/dormant/latka/trunk/project.xml?rev=389931r1=389930r2=389931view=diff
==
--- jakarta/commons/dormant/latka/trunk/project.xml (original)
+++ jakarta/commons/dormant/latka/trunk/project.xml Wed Mar 29 15:54:11 2006
@@ -292,15 +292,15 @@
reportmaven-changelog-plugin/report
reportmaven-changes-plugin/report
reportmaven-checkstyle-plugin/report
-   reportmaven-developer-activity-plugin/report
-   reportmaven-file-activity-plugin/report
+   !--reportmaven-developer-activity-plugin/report--
+   !--reportmaven-file-activity-plugin/report--
reportmaven-javadoc-plugin/report
reportmaven-jdepend-plugin/report
reportmaven-jellydoc-plugin/report
reportmaven-junit-report-plugin/report
reportmaven-jxr-plugin/report
reportmaven-license-plugin/report
-   reportmaven-statcvs-plugin/report
+   !--reportmaven-statcvs-plugin/report--
reportmaven-tasklist-plugin/report
   /reports
 



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



svn commit: r389934 - in /jakarta/commons/proper/commons-build/trunk: menus/components-items.ent menus/dormant-items.ent parts/components-table.ent parts/dormant-table.ent

2006-03-29 Thread rahul
Author: rahul
Date: Wed Mar 29 16:03:11 2006
New Revision: 389934

URL: http://svn.apache.org/viewcvs?rev=389934view=rev
Log:
We can republish the Commons site now that the moved component sites have been 
republished.

Modified:
jakarta/commons/proper/commons-build/trunk/menus/components-items.ent
jakarta/commons/proper/commons-build/trunk/menus/dormant-items.ent
jakarta/commons/proper/commons-build/trunk/parts/components-table.ent
jakarta/commons/proper/commons-build/trunk/parts/dormant-table.ent

Modified: jakarta/commons/proper/commons-build/trunk/menus/components-items.ent
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/commons-build/trunk/menus/components-items.ent?rev=389934r1=389933r2=389934view=diff
==
--- jakarta/commons/proper/commons-build/trunk/menus/components-items.ent 
(original)
+++ jakarta/commons/proper/commons-build/trunk/menus/components-items.ent Wed 
Mar 29 16:03:11 2006
@@ -20,7 +20,6 @@
 item name=Jexl  
href=http://jakarta.apache.org/commons/jexl//
 item name=JXPath
href=http://jakarta.apache.org/commons/jxpath//
 item name=Lang  
href=http://jakarta.apache.org/commons/lang//
-item name=Latka 
href=http://jakarta.apache.org/commons/latka//
 item name=Launcher  
href=http://jakarta.apache.org/commons/launcher//
 item name=Logging   
href=http://jakarta.apache.org/commons/logging//
 item name=Math  
href=http://jakarta.apache.org/commons/math//
@@ -28,7 +27,6 @@
 item name=Net   
href=http://jakarta.apache.org/commons/net//
 item name=Pool  
href=http://jakarta.apache.org/commons/pool//
 item name=Primitives
href=http://jakarta.apache.org/commons/primitives//
-item name=Resources 
href=http://jakarta.apache.org/commons/resources//
 item name=Transaction   
href=http://jakarta.apache.org/commons/transaction//
 item name=Validator 
href=http://jakarta.apache.org/commons/validator//
 item name=VFS   
href=http://jakarta.apache.org/commons/vfs//

Modified: jakarta/commons/proper/commons-build/trunk/menus/dormant-items.ent
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/commons-build/trunk/menus/dormant-items.ent?rev=389934r1=389933r2=389934view=diff
==
--- jakarta/commons/proper/commons-build/trunk/menus/dormant-items.ent 
(original)
+++ jakarta/commons/proper/commons-build/trunk/menus/dormant-items.ent Wed Mar 
29 16:03:11 2006
@@ -7,8 +7,10 @@
 item name=Functor   
href=http://jakarta.apache.org/commons/sandbox/functor//
 item name=Javaflow  
href=http://jakarta.apache.org/commons/sandbox/javaflow//
 item name=JJar  
href=http://jakarta.apache.org/commons/sandbox/jjar//
+item name=Latka 
href=http://jakarta.apache.org/commons/sandbox/latka//
 item name=Mapper
href=http://jakarta.apache.org/commons/sandbox/mapper//
 item name=Messenger 
href=http://jakarta.apache.org/commons/sandbox/messenger//
+item name=Resources 
href=http://jakarta.apache.org/commons/sandbox/resources//
 item name=Scaffold  
href=http://jakarta.apache.org/commons/sandbox/scaffold//
 item name=ThreadPool
href=http://jakarta.apache.org/commons/sandbox/threadpool//
 item name=Workflow  
href=http://jakarta.apache.org/commons/sandbox/workflow//

Modified: jakarta/commons/proper/commons-build/trunk/parts/components-table.ent
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/commons-build/trunk/parts/components-table.ent?rev=389934r1=389933r2=389934view=diff
==
--- jakarta/commons/proper/commons-build/trunk/parts/components-table.ent 
(original)
+++ jakarta/commons/proper/commons-build/trunk/parts/components-table.ent Wed 
Mar 29 16:03:11 2006
@@ -155,13 +155,6 @@
 /td
 /tr
 tr
-tda href=http://jakarta.apache.org/commons/latka/;Latka/a/td
-td
- Commons-Latka is an HTTP functional testing suite for automated QA, 
- acceptance and regression testing.
-/td
-/tr
-tr
 tda href=http://jakarta.apache.org/commons/launcher/;Launcher/a/td
 td
  The Launcher Component is designed to be a cross platform Java 
application launcher.
@@ -212,14 +205,6 @@
  Commons-Primitives provides smaller, faster and easier to work with 
  types supporting Java primitive types.
  Currently Primitives is primarily focused on collections of primitives.
-/td
-/tr
-tr
-tda 
href=http://jakarta.apache.org/commons/resources/;Resources/a/td
-td
- Resources provides a lightweight framework for defining and 

Re: [all] Suggestion for all of Commons

2006-03-29 Thread Henri Yandell
On 3/29/06, Rahul Akolkar [EMAIL PROTECTED] wrote:
 On 3/29/06, Frank W. Zammetti [EMAIL PROTECTED] wrote:
 snip/
 
  Well, in any case, making the dependency list more visible addresses the
  concern, so that's cool, I hope others agree and pick up on it.  Sandy's
  point about it being on the download page is a good one too, I'd be more
  than satisfied either way.  Thanks!
 
 snap/

 OK, I did this [1]. A small step.

 -Rahul

 [1] http://jakarta.apache.org/commons/sandbox/scxml/

The one thing I wish we could do on that page (well the dependencies
one linked from it) is a nice link to ibiblio (or the asf repository)
to download the jar there. Oh, and the m2 snippet that someone else
mentioned, but the ibiblio link would be nice too.

Hen

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



Re: [all] Suggestion for all of Commons

2006-03-29 Thread Phil Steitz
On 3/29/06, Henri Yandell [EMAIL PROTECTED] wrote:
 On 3/29/06, Sandy McArthur [EMAIL PROTECTED] wrote:
  On 3/29/06, Henri Yandell [EMAIL PROTECTED] wrote:
   On 3/29/06, Sandy McArthur [EMAIL PROTECTED] wrote:
On 3/29/06, Rahul Akolkar [EMAIL PROTECTED] wrote:
 Or maybe we should simply advertise the dependencies pages better?
   
Dependencies should be listed on the download page. The mind set of
someone wanting to to use a component is and I know this from having
done it a dozen or so times:
  
   I've come to believe that dependencies should be included in the
   distribution. Also that we shouldn't bother with binary and source
   distributions anymore; be like tapestry/hivemind (I think they're the
   ones) and have just the one dist file.
 
  I'm almost cool with that. I'd be happy with a full download
  (binary.jar, sources, docs, etc) and just the raw binary.jar
 
  85% of the time downloading the binary distrobution is just an extra
  step to get to what I want: the binary.jar

 Yeah, +1.

 I tend to go to ibiblio to get downloads half the time now; sad :)
 Definitely valuable to be able to download just the jar, especially
 for Commons things.

If you don't like ibiblio, you can of course always use
http://www.apache.org/dist/java-repository/

Bundling dependencies is a last century waste of bandwidth, IMHO.  I
agree though that making it clear what they are is important.  Might
we worth a maven ticket to get them moved up in the default nav .  I
vaguely remember this being discussed before either here or on
maven-user.

Phil

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



svn commit: r389965 - in /jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool: TestObjectPool.java composite/TestCompositeObjectPool.java

2006-03-29 Thread sandymac
Author: sandymac
Date: Wed Mar 29 18:19:39 2006
New Revision: 389965

URL: http://svn.apache.org/viewcvs?rev=389965view=rev
Log:
Some more unit tests for CompositeObjectPool

Modified:

jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/TestObjectPool.java

jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/composite/TestCompositeObjectPool.java

Modified: 
jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/TestObjectPool.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/TestObjectPool.java?rev=389965r1=389964r2=389965view=diff
==
--- 
jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/TestObjectPool.java
 (original)
+++ 
jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/TestObjectPool.java
 Wed Mar 29 18:19:39 2006
@@ -330,6 +330,31 @@
 pool.close();
 }
 
+public void testSetFactory() throws Exception {
+ObjectPool pool;
+try {
+pool = makeEmptyPool(new MethodCallPoolableObjectFactory());
+} catch (UnsupportedOperationException uoe) {
+return; // test not supported
+}
+final MethodCallPoolableObjectFactory factory = new 
MethodCallPoolableObjectFactory();
+try {
+pool.setFactory(factory);
+} catch (UnsupportedOperationException uoe) {
+return;
+}
+}
+
+public void testToString() {
+ObjectPool pool;
+try {
+pool = makeEmptyPool(new MethodCallPoolableObjectFactory());
+} catch (UnsupportedOperationException uoe) {
+return; // test not supported
+}
+pool.toString();
+}
+
 static void removeDestroyObjectCall(List calls) {
 Iterator iter = calls.iterator();
 while (iter.hasNext()) {

Modified: 
jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/composite/TestCompositeObjectPool.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/composite/TestCompositeObjectPool.java?rev=389965r1=389964r2=389965view=diff
==
--- 
jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/composite/TestCompositeObjectPool.java
 (original)
+++ 
jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/composite/TestCompositeObjectPool.java
 Wed Mar 29 18:19:39 2006
@@ -66,6 +66,57 @@
 return copf.createPool();
 }
 
+public void testConstructors() {
+try {
+new CompositeObjectPool(null, new GrowManager(), new FifoLender(), 
new SimpleTracker(), false);
+fail(IllegalArgumentException expected on null 
PoolableObjectFactory.);
+} catch (IllegalArgumentException iae) {
+// expected
+}
+
+try {
+new CompositeObjectPool(new MethodCallPoolableObjectFactory(), 
null, new FifoLender(), new SimpleTracker(), false);
+fail(IllegalArgumentException expected on null Manager.);
+} catch (IllegalArgumentException iae) {
+// expected
+}
+
+try {
+new CompositeObjectPool(new MethodCallPoolableObjectFactory(), new 
GrowManager(), null, new SimpleTracker(), false);
+fail(IllegalArgumentException expected on null Lender.);
+} catch (IllegalArgumentException iae) {
+// expected
+}
+
+try {
+new CompositeObjectPool(new MethodCallPoolableObjectFactory(), new 
GrowManager(), new FifoLender(), null, false);
+fail(IllegalArgumentException expected on null Tracker.);
+} catch (IllegalArgumentException iae) {
+// expected
+}
+
+try {
+new CompositeObjectPool(new MethodCallPoolableObjectFactory(), 
null, new GrowManager(), new FifoLender(), new SimpleTracker(), false, null);
+fail(IllegalArgumentException expected on null List.);
+} catch (IllegalArgumentException iae) {
+// expected
+}
+}
+
+public void testSetFactory() throws Exception {
+super.testSetFactory();
+final MethodCallPoolableObjectFactory factory = new 
MethodCallPoolableObjectFactory();
+final CompositeObjectPoolFactory copf = new 
CompositeObjectPoolFactory(factory);
+final CompositeObjectPool pool = 
(CompositeObjectPool)copf.createPool();
+pool.setFactory(factory);
+}
+
+public void testToString() {
+super.testToString();
+final ObjectPool pool = new CompositeObjectPool(new 
MethodCallPoolableObjectFactory(), new FailManager(), new FifoLender(), new 
DebugTracker(), false);
+pool.toString();
+}
+
 // Test Managers --
 
 /**




svn commit: r389976 - /jakarta/commons/proper/modeler/trunk/src/java/org/apache/commons/modeler/Registry.java

2006-03-29 Thread billbarker
Author: billbarker
Date: Wed Mar 29 19:10:56 2006
New Revision: 389976

URL: http://svn.apache.org/viewcvs?rev=389976view=rev
Log:
Add Long as a recognized type conversion.

Fix for Bug #31608
Submitted By: Rainer Jung 

Modified:

jakarta/commons/proper/modeler/trunk/src/java/org/apache/commons/modeler/Registry.java

Modified: 
jakarta/commons/proper/modeler/trunk/src/java/org/apache/commons/modeler/Registry.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/modeler/trunk/src/java/org/apache/commons/modeler/Registry.java?rev=389976r1=389975r2=389976view=diff
==
--- 
jakarta/commons/proper/modeler/trunk/src/java/org/apache/commons/modeler/Registry.java
 (original)
+++ 
jakarta/commons/proper/modeler/trunk/src/java/org/apache/commons/modeler/Registry.java
 Wed Mar 29 19:10:56 2006
@@ -713,6 +713,9 @@
 } else if( java.lang.Integer.equals( type ) ||
 int.equals( type )) {
 objValue=new Integer( value );
+} else if(java.lang.Long.equals( type ) ||
+  long.equals( type )) {
+objValue = new Long( value );
 } else if( java.lang.Boolean.equals( type ) ||
 boolean.equals( type )) {
 objValue=new Boolean( value );



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



DO NOT REPLY [Bug 31608] - [modeler] Registry.convertValue doesn't support longs

2006-03-29 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=31608.
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=31608


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Additional Comments From [EMAIL PROTECTED]  2006-03-30 04:11 ---
Patch applied.  Thanks much!



-- 
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 39151] New: - The Form cannot be used for the validator's method parameter.

2006-03-29 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=39151.
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=39151

   Summary: The Form cannot be used for the validator's method
parameter.
   Product: Commons
   Version: 1.3 Final
  Platform: All
OS/Version: Windows XP
Status: NEW
  Severity: normal
  Priority: P2
 Component: Validator
AssignedTo: commons-dev@jakarta.apache.org
ReportedBy: [EMAIL PROTECTED]


The form is declared as a validator's method parameter.
The exception occur.

org.apache.commons.validator.ValidatorException: argument type mismatch
at org.apache.commons.validator.ValidatorAction.executeValidationMethod
(ValidatorAction.java:549)
at org.apache.commons.validator.Field.validateForRule(Field.java:766)
at org.apache.commons.validator.Field.validate(Field.java:845)
at org.apache.commons.validator.Form.validate(Form.java:290)
at org.apache.commons.validator.Validator.validate(Validator.java:353)
at org.apache.commons.validator.ValidatorParameterTest.testAllValid
(ValidatorParameterTest.java:120)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests
(RemoteTestRunner.java:478)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run
(RemoteTestRunner.java:344)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main
(RemoteTestRunner.java:196)

-- 
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 39150] New: - The Form cannot be used for the validator's method parameter.

2006-03-29 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=39150.
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=39150

   Summary: The Form cannot be used for the validator's method
parameter.
   Product: Commons
   Version: 1.3 Final
  Platform: All
OS/Version: Windows XP
Status: NEW
  Severity: normal
  Priority: P2
 Component: Validator
AssignedTo: commons-dev@jakarta.apache.org
ReportedBy: [EMAIL PROTECTED]


The form is declared as a validator's method parameter.
The exception occur.

org.apache.commons.validator.ValidatorException: argument type mismatch
at org.apache.commons.validator.ValidatorAction.executeValidationMethod
(ValidatorAction.java:549)
at org.apache.commons.validator.Field.validateForRule(Field.java:766)
at org.apache.commons.validator.Field.validate(Field.java:845)
at org.apache.commons.validator.Form.validate(Form.java:290)
at org.apache.commons.validator.Validator.validate(Validator.java:353)
at org.apache.commons.validator.ValidatorParameterTest.testAllValid
(ValidatorParameterTest.java:120)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests
(RemoteTestRunner.java:478)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run
(RemoteTestRunner.java:344)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main
(RemoteTestRunner.java:196)

-- 
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: r389995 - in /jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite: CompositeKeyedObjectPool.java CompositeObjectPool.java CompositeObjectPoolFactory.java

2006-03-29 Thread sandymac
Author: sandymac
Date: Wed Mar 29 21:42:45 2006
New Revision: 389995

URL: http://svn.apache.org/viewcvs?rev=389995view=rev
Log:
Removed clone support from the CompositeObjectPools as it
didn't handle all corner cases and didn't provide any real benefit.

Modified:

jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/CompositeKeyedObjectPool.java

jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/CompositeObjectPool.java

jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/CompositeObjectPoolFactory.java

Modified: 
jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/CompositeKeyedObjectPool.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/CompositeKeyedObjectPool.java?rev=389995r1=389994r2=389995view=diff
==
--- 
jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/CompositeKeyedObjectPool.java
 (original)
+++ 
jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/CompositeKeyedObjectPool.java
 Wed Mar 29 21:42:45 2006
@@ -440,28 +440,6 @@
 }
 
 /**
- * Creates a new keyed object pool with the same settings as this one. The 
new instance will not contian any
- * existing idle objects nor should you return active objects to it.
- *
- * @return a new keyed object pool with the same settings.
- */
-public Object clone() throws CloneNotSupportedException {
-if (!getClass().equals(CompositeKeyedObjectPool.class)) {
-throw new CloneNotSupportedException(Subclasses must not call 
super.clone());
-}
-if (poolFactory instanceof CompositeObjectPoolFactory) {
-final PoolableObjectFactory pof = 
((CompositeObjectPoolFactory)poolFactory).getFactory();
-if (pof instanceof KeyedPoolableObjectFactoryAdapter) {
-final KeyedPoolableObjectFactory kopf = 
((KeyedPoolableObjectFactoryAdapter)pof).getDelegate();
-final CompositeObjectPoolFactory opf = 
(CompositeObjectPoolFactory)((CompositeObjectPoolFactory)poolFactory).clone();
-opf.setFactory(new KeyedPoolableObjectFactoryAdapter(kopf));
-return new CompositeKeyedObjectPool(opf);
-}
-}
-return new CompositeKeyedObjectPool(poolFactory);
-}
-
-/**
  * The [EMAIL PROTECTED] ThreadLocal} keys is not serializable and final, 
must create a new instance for this to be correct.
  */
 private Object readResolve() throws ObjectStreamException {

Modified: 
jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/CompositeObjectPool.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/CompositeObjectPool.java?rev=389995r1=389994r2=389995view=diff
==
--- 
jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/CompositeObjectPool.java
 (original)
+++ 
jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/CompositeObjectPool.java
 Wed Mar 29 21:42:45 2006
@@ -441,17 +441,4 @@
 sb.append('}');
 return sb.toString();
 }
-
-/**
- * Create a new pool with the same settings. Active or Idle objects are 
not shared with the new pool.
- *
- * @return a new [EMAIL PROTECTED] CompositeObjectPool} with the same 
configuration.
- * @throws CloneNotSupportedException when this pool was contstucted 
without a factoryConfig.
- */
-public Object clone() throws CloneNotSupportedException {
-if (factoryConfig == null) {
-throw new CloneNotSupportedException(Cloning not supported 
without a factoryConfig.);
-}
-return CompositeObjectPoolFactory.createPool(factoryConfig);
-}
 }

Modified: 
jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/CompositeObjectPoolFactory.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/CompositeObjectPoolFactory.java?rev=389995r1=389994r2=389995view=diff
==
--- 
jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/CompositeObjectPoolFactory.java
 (original)
+++ 
jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/CompositeObjectPoolFactory.java
 Wed Mar 29 21:42:45 2006
@@ -694,7 +694,13 @@
  * @throws CloneNotSupportedException if [EMAIL PROTECTED] Object#clone()} 
does.
  */
 public Object clone() throws CloneNotSupportedException {
-return super.clone();
+final CompositeObjectPoolFactory copf = 
(CompositeObjectPoolFactory)super.clone();
+ 

svn commit: r389997 - in /jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool: ./ composite/ impl/

2006-03-29 Thread sandymac
Author: sandymac
Date: Wed Mar 29 21:44:13 2006
New Revision: 389997

URL: http://svn.apache.org/viewcvs?rev=389997view=rev
Log:
Reworked and created unit tests for KeyedObjectPool and implementations.

Added:

jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/composite/TestCompositeKeyedObjectPool.java
   (with props)

jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/composite/TestCompositeKeyedObjectPool2.java
   (with props)
Modified:

jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/TestBaseKeyedObjectPool.java

jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/TestBaseObjectPool.java

jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/TestKeyedObjectPool.java

jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/composite/TestAll.java

jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/composite/TestCompositeObjectPool.java

jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/composite/TestWaitLimitManager.java

jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestGenericKeyedObjectPool.java

jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestStackKeyedObjectPool.java

Modified: 
jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/TestBaseKeyedObjectPool.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/TestBaseKeyedObjectPool.java?rev=389997r1=389996r2=389997view=diff
==
--- 
jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/TestBaseKeyedObjectPool.java
 (original)
+++ 
jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/TestBaseKeyedObjectPool.java
 Wed Mar 29 21:44:13 2006
@@ -16,7 +16,6 @@
 package org.apache.commons.pool;
 
 import junit.framework.Test;
-import junit.framework.TestCase;
 import junit.framework.TestSuite;
 
 /**
@@ -24,17 +23,71 @@
  * @author Sandy McArthur
  * @version $Revision$ $Date$
  */
-public class TestBaseKeyedObjectPool extends TestCase {
-public TestBaseKeyedObjectPool(String testName) {
+public class TestBaseKeyedObjectPool extends TestKeyedObjectPool {
+private KeyedObjectPool _pool = null;
+
+public TestBaseKeyedObjectPool(final String testName) {
 super(testName);
 }
 
+protected KeyedObjectPool makeEmptyPool(KeyedPoolableObjectFactory 
factory) {
+if (this.getClass() != TestBaseKeyedObjectPool.class) {
+throw new AssertionError(Subclasses of TestBaseKeyedObjectPool 
must reimplement this method.);
+}
+throw new UnsupportedOperationException(BaseKeyedObjectPool isn't a 
complete implementation.);
+}
+
+/**
+ * Create an [EMAIL PROTECTED] KeyedObjectPool} instance
+ * that can contain at least imincapacity/i
+ * idle and active objects, or
+ * throw [EMAIL PROTECTED] IllegalArgumentException}
+ * if such a pool cannot be created.
+ */
+protected KeyedObjectPool makeEmptyPool(int mincapacity) {
+if (this.getClass() != TestBaseKeyedObjectPool.class) {
+throw new AssertionError(Subclasses of TestBaseKeyedObjectPool 
must reimplement this method.);
+}
+throw new UnsupportedOperationException(BaseKeyedObjectPool isn't a 
complete implementation.);
+}
+
+/**
+ * Return what we expect to be the nsupth/sup
+ * object (zero indexed) created by the pool
+ * for the given key.
+ */
+protected Object getNthObject(Object key, int n) {
+if (this.getClass() != TestBaseKeyedObjectPool.class) {
+throw new AssertionError(Subclasses of TestBaseKeyedObjectPool 
must reimplement this method.);
+}
+throw new UnsupportedOperationException(BaseKeyedObjectPool isn't a 
complete implementation.);
+}
+
+protected Object makeKey(int n) {
+if (this.getClass() != TestBaseKeyedObjectPool.class) {
+throw new AssertionError(Subclasses of TestBaseKeyedObjectPool 
must reimplement this method.);
+}
+throw new UnsupportedOperationException(BaseKeyedObjectPool isn't a 
complete implementation.);
+}
+
 public static Test suite() {
 return new TestSuite(TestBaseKeyedObjectPool.class);
 }
-
+
 // tests
+public void setUp() throws Exception {
+super.setUp();
+}
+
+public void tearDown() throws Exception {
+_pool = null;
+super.tearDown();
+}
+
 public void testUnsupportedOperations() throws Exception {
+if (!getClass().equals(TestBaseKeyedObjectPool.class)) {
+return; // skip redundant tests
+}
 KeyedObjectPool pool = new BaseKeyedObjectPool() { 
 public Object borrowObject(Object key) throws Exception {
 return null;
@@ -43,7 +96,7 @@
 

DO NOT REPLY [Bug 39150] - The Form cannot be used for the validator's method parameter.

2006-03-29 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=39150.
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=39150





--- Additional Comments From [EMAIL PROTECTED]  2006-03-30 06:45 ---
*** Bug 39151 has been marked as a duplicate of this bug. ***

-- 
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 39151] - The Form cannot be used for the validator's method parameter.

2006-03-29 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=39151.
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=39151


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||DUPLICATE




--- Additional Comments From [EMAIL PROTECTED]  2006-03-30 06:45 ---


*** This bug has been marked as a duplicate of 39150 ***

-- 
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 39150] - [validator] The Form cannot be used for the validator's method parameter.

2006-03-29 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=39150.
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=39150


[EMAIL PROTECTED] changed:

   What|Removed |Added

Summary|The Form cannot be used for |[validator] The Form cannot
   |the validator's method  |be used for the validator's
   |parameter.  |method parameter.




-- 
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: r390002 - in /jakarta/commons/proper/pool/trunk/src: java/org/apache/commons/pool/composite/CompositeObjectPoolFactory.java test/org/apache/commons/pool/impl/TestAll.java

2006-03-29 Thread sandymac
Author: sandymac
Date: Wed Mar 29 22:02:07 2006
New Revision: 390002

URL: http://svn.apache.org/viewcvs?rev=390002view=rev
Log:
Removed a comment about cloneability that should have been removed with a 
previous commit.

Modified:

jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/CompositeObjectPoolFactory.java

jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestAll.java

Modified: 
jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/CompositeObjectPoolFactory.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/CompositeObjectPoolFactory.java?rev=390002r1=390001r2=390002view=diff
==
--- 
jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/CompositeObjectPoolFactory.java
 (original)
+++ 
jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/CompositeObjectPoolFactory.java
 Wed Mar 29 22:02:07 2006
@@ -125,9 +125,6 @@
  *  liDeserialized [EMAIL PROTECTED] ObjectPool}s produced by this factory 
will not retain their idle objects. Active objects
  *  borrowed from the serialized [EMAIL PROTECTED] ObjectPool} must not be 
returned to the deserialized [EMAIL PROTECTED] ObjectPool}.
  *  All other behavior and settings of the [EMAIL PROTECTED] ObjectPool} 
will be maintained./li
- *  li[EMAIL PROTECTED] ObjectPool}s created by this factory are [EMAIL 
PROTECTED] Cloneable}. Cloned instances do not retain the idle
- *  objects of the original instance and any active objects borrowed from 
the original must not be returned to the
- *  new clone./li
  * /ul
  * /p
  *

Modified: 
jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestAll.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestAll.java?rev=390002r1=390001r2=390002view=diff
==
--- 
jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestAll.java
 (original)
+++ 
jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestAll.java
 Wed Mar 29 22:02:07 2006
@@ -39,7 +39,7 @@
 suite.addTest(TestGenericObjectPool.suite());
 suite.addTest(TestGenericKeyedObjectPool.suite());
 suite.addTest(TestSoftReferenceObjectPool.suite());
-//suite.addTest(TestSoftRefOutOfMemory.suite()); // isn't reliable
+suite.addTest(TestSoftRefOutOfMemory.suite()); // isn't reliable
 return suite;
 }
 



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



DO NOT REPLY [Bug 39151] - The Form cannot be used for the validator's method parameter.

2006-03-29 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=39151.
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=39151





--- Additional Comments From [EMAIL PROTECTED]  2006-03-30 07:10 ---
Created an attachment (id=18003)
 -- (http://issues.apache.org/bugzilla/attachment.cgi?id=18003action=view)
TestCode And Patch

The correction method that I devised is described. 


-- 
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 39151] - [validator] The Form cannot be used for the validator's method parameter.

2006-03-29 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=39151.
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=39151


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|DUPLICATE   |
Summary|The Form cannot be used for |[validator] The Form cannot
   |the validator's method  |be used for the validator's
   |parameter.  |method parameter.




-- 
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 39150] - [validator] The Form cannot be used for the validator's method parameter.

2006-03-29 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=39150.
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=39150


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||DUPLICATE




--- Additional Comments From [EMAIL PROTECTED]  2006-03-30 07:22 ---


*** This bug has been marked as a duplicate of 39151 ***

-- 
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 39151] - [validator] The Form cannot be used for the validator's method parameter.

2006-03-29 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=39151.
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=39151





--- Additional Comments From [EMAIL PROTECTED]  2006-03-30 07:22 ---
*** Bug 39150 has been marked as a duplicate of this bug. ***

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



Re: [lang] Help wanted testing on JDK1.6 - Re: svn commit: r389912

2006-03-29 Thread Henri Yandell
Yep, it's true (1.6beta2 on linux).

We have other tests that fail under 1.6 (and not 1.4), will dig into
those a bit more.

Hen

On 3/29/06, Stephen Colebourne [EMAIL PROTECTED] wrote:
 I have checked in the SystemUtils code to check the java.version system
 property for JDK1.6. However, I don't have JDK1.6 installed, so I can't
 test it easily. Please mail the list if this statement is true on 1.6.

 SystemUtils.IS_JAVA_1_6 = true

 Thanks
 Stephen


 [EMAIL PROTECTED] wrote:
  Author: scolebourne
  Date: Wed Mar 29 14:27:48 2006
  New Revision: 389912
 
  URL: http://svn.apache.org/viewcvs?rev=389912view=rev
  Log:
  Add checks for JDK1.6
 
  Modified:
  
  jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/SystemUtils.java
  
  jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/SystemUtilsTest.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=389912r1=389911r2=389912view=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
   Wed Mar 29 14:27:48 2006
  @@ -876,6 +876,14 @@
*/
   public static final boolean IS_JAVA_1_5 = getJavaVersionMatches(1.5);
 
  +/**
  + * pIs codetrue/code if this is Java version 1.6 (also 1.6.x 
  versions)./p
  + *
  + * pThe field will return codefalse/code if [EMAIL PROTECTED] 
  #JAVA_VERSION} is
  + * codenull/code./p
  + */
  +public static final boolean IS_JAVA_1_6 = getJavaVersionMatches(1.6);
  +
   // Operating system checks
   
  //---
   // These MUST be declared after those above as they depend on the
 
  Modified: 
  jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/SystemUtilsTest.java
  URL: 
  http://svn.apache.org/viewcvs/jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/SystemUtilsTest.java?rev=389912r1=389911r2=389912view=diff
  ==
  --- 
  jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/SystemUtilsTest.java
   (original)
  +++ 
  jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/SystemUtilsTest.java
   Wed Mar 29 14:27:48 2006
  @@ -245,16 +245,49 @@
   assertEquals(false, SystemUtils.IS_JAVA_1_3);
   assertEquals(false, SystemUtils.IS_JAVA_1_4);
   assertEquals(false, SystemUtils.IS_JAVA_1_5);
  +assertEquals(false, SystemUtils.IS_JAVA_1_6);
   } else if (javaVersion.startsWith(1.1)) {
  -assertTrue(SystemUtils.IS_JAVA_1_1);
  +assertEquals(true, SystemUtils.IS_JAVA_1_1);
  +assertEquals(false, SystemUtils.IS_JAVA_1_2);
  +assertEquals(false, SystemUtils.IS_JAVA_1_3);
  +assertEquals(false, SystemUtils.IS_JAVA_1_4);
  +assertEquals(false, SystemUtils.IS_JAVA_1_5);
  +assertEquals(false, SystemUtils.IS_JAVA_1_6);
   } else if (javaVersion.startsWith(1.2)) {
  -assertTrue(SystemUtils.IS_JAVA_1_2);
  +assertEquals(false, SystemUtils.IS_JAVA_1_1);
  +assertEquals(true, SystemUtils.IS_JAVA_1_2);
  +assertEquals(false, SystemUtils.IS_JAVA_1_3);
  +assertEquals(false, SystemUtils.IS_JAVA_1_4);
  +assertEquals(false, SystemUtils.IS_JAVA_1_5);
  +assertEquals(false, SystemUtils.IS_JAVA_1_6);
   } else if (javaVersion.startsWith(1.3)) {
  -assertTrue(SystemUtils.IS_JAVA_1_3);
  +assertEquals(false, SystemUtils.IS_JAVA_1_1);
  +assertEquals(false, SystemUtils.IS_JAVA_1_2);
  +assertEquals(true, SystemUtils.IS_JAVA_1_3);
  +assertEquals(false, SystemUtils.IS_JAVA_1_4);
  +assertEquals(false, SystemUtils.IS_JAVA_1_5);
  +assertEquals(false, SystemUtils.IS_JAVA_1_6);
   } else if (javaVersion.startsWith(1.4)) {
  -assertTrue(SystemUtils.IS_JAVA_1_4);
  +assertEquals(false, SystemUtils.IS_JAVA_1_1);
  +assertEquals(false, SystemUtils.IS_JAVA_1_2);
  +assertEquals(false, SystemUtils.IS_JAVA_1_3);
  +assertEquals(true, SystemUtils.IS_JAVA_1_4);
  +assertEquals(false, SystemUtils.IS_JAVA_1_5);
  +assertEquals(false, SystemUtils.IS_JAVA_1_6);
   } else if (javaVersion.startsWith(1.5)) {
  -assertTrue(SystemUtils.IS_JAVA_1_5);
  +assertEquals(false, SystemUtils.IS_JAVA_1_1);
  +assertEquals(false,