Re: svn commit: r240382 - /jakarta/commons/sandbox/proxy/trunk/project.xml

2005-08-26 Thread Brett Porter
Hi James,

Looks like you need svn:eol-style and autoprops setup there.

http://www.apache.org/dev/version-control.html#https-svn

Cheers,
Brett

[EMAIL PROTECTED] wrote:

>Author: jcarman
>Date: Fri Aug 26 20:31:31 2005
>New Revision: 240382
>
>URL: http://svn.apache.org/viewcvs?rev=240382&view=rev
>Log:
>Updating Maven information for site generation.
>
>Modified:
>jakarta/commons/sandbox/proxy/trunk/project.xml
>
>Modified: jakarta/commons/sandbox/proxy/trunk/project.xml
>URL: 
>http://svn.apache.org/viewcvs/jakarta/commons/sandbox/proxy/trunk/project.xml?rev=240382&r1=240381&r2=240382&view=diff
>==
>--- jakarta/commons/sandbox/proxy/trunk/project.xml (original)
>+++ jakarta/commons/sandbox/proxy/trunk/project.xml Fri Aug 26 20:31:31 2005
>@@ -73,7 +73,7 @@
> developer
>
> 
>
> http://www.carmanconsulting.com/
>
>-+1
>
>+-5
>
> 
>
> 
>
> Knut Wannheden
>
>@@ -121,8 +121,8 @@
> 
>
> 
>
> cglib
>
>-cglib
>
>-2.1
>
>+cglib-full
>
>+2.0.2
>
> http://cglib.sourceforge.net
>
> 
>
> code generation library
>
>@@ -228,6 +228,15 @@
> collection API
>
> 
>
> 
>
>+
>
>+commons-discovery
>
>+commons-discovery
>
>+0.2
>
>+http://jakarta.apache.org/commons/discovery/
>
>+
>
>+discovery API
>
>+
>
>+
>
> 
>
> 
>
> 
>
>@@ -239,7 +248,7 @@
> 
>
> 
>
> 
>
>-**/*TC.java
>
>+**/Test*.java
>
> 
>
> 
>
> 
>
>
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>  
>


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



svn commit: r240383 - /jakarta/commons/proper/math/trunk/src/test/org/apache/commons/math/fraction/FractionFormatTest.java

2005-08-26 Thread brentworden
Author: brentworden
Date: Fri Aug 26 20:31:40 2005
New Revision: 240383

URL: http://svn.apache.org/viewcvs?rev=240383&view=rev
Log:
added test cases to increase test coverage.

Modified:

jakarta/commons/proper/math/trunk/src/test/org/apache/commons/math/fraction/FractionFormatTest.java

Modified: 
jakarta/commons/proper/math/trunk/src/test/org/apache/commons/math/fraction/FractionFormatTest.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/math/trunk/src/test/org/apache/commons/math/fraction/FractionFormatTest.java?rev=240383&r1=240382&r2=240383&view=diff
==
--- 
jakarta/commons/proper/math/trunk/src/test/org/apache/commons/math/fraction/FractionFormatTest.java
 (original)
+++ 
jakarta/commons/proper/math/trunk/src/test/org/apache/commons/math/fraction/FractionFormatTest.java
 Fri Aug 26 20:31:40 2005
@@ -16,6 +16,7 @@
 

 package org.apache.commons.math.fraction;

 

+import java.text.NumberFormat;

 import java.text.ParseException;

 import java.util.Locale;

 

@@ -106,6 +107,60 @@
 }

 }

 

+public void testParseInteger() {

+   String source = "10";

+   try {

+Fraction c = properFormat.parse(source);

+assertNotNull(c);

+assertEquals(10, c.getNumerator());

+assertEquals(1, c.getDenominator());

+} catch (ParseException ex) {

+fail(ex.getMessage());

+}

+   try {

+Fraction c = improperFormat.parse(source);

+assertNotNull(c);

+assertEquals(10, c.getNumerator());

+assertEquals(1, c.getDenominator());

+} catch (ParseException ex) {

+fail(ex.getMessage());

+}

+}

+

+public void testParseInvalid() {

+   String source = "a";

+String msg = "should not be able to parse '10 / a'.";

+   try {

+properFormat.parse(source);

+   fail(msg);

+} catch (ParseException ex) {

+   // success

+}

+   try {

+improperFormat.parse(source);

+   fail(msg);

+} catch (ParseException ex) {

+   // success

+}

+}

+

+public void testParseInvalidDenominator() {

+   String source = "10 / a";

+String msg = "should not be able to parse '10 / a'.";

+   try {

+properFormat.parse(source);

+   fail(msg);

+} catch (ParseException ex) {

+   // success

+}

+   try {

+improperFormat.parse(source);

+   fail(msg);

+} catch (ParseException ex) {

+   // success

+}

+}

+

 public void testParseNegative() {

 

 try {

@@ -172,5 +227,43 @@
 } catch (ParseException ex) {

 // success

 }

+}

+

+public void testNumeratorFormat() {

+   NumberFormat old = properFormat.getNumeratorFormat();

+   NumberFormat nf = NumberFormat.getIntegerInstance();

+   properFormat.setNumeratorFormat(nf);

+   assertEquals(nf, properFormat.getNumeratorFormat());

+   properFormat.setNumeratorFormat(old);

+

+   old = improperFormat.getNumeratorFormat();

+   nf = NumberFormat.getIntegerInstance();

+   improperFormat.setNumeratorFormat(nf);

+   assertEquals(nf, improperFormat.getNumeratorFormat());

+   improperFormat.setNumeratorFormat(old);

+}

+

+public void testDenominatorFormat() {

+   NumberFormat old = properFormat.getDenominatorFormat();

+   NumberFormat nf = NumberFormat.getIntegerInstance();

+   properFormat.setDenominatorFormat(nf);

+   assertEquals(nf, properFormat.getDenominatorFormat());

+   properFormat.setDenominatorFormat(old);

+

+   old = improperFormat.getDenominatorFormat();

+   nf = NumberFormat.getIntegerInstance();

+   improperFormat.setDenominatorFormat(nf);

+   assertEquals(nf, improperFormat.getDenominatorFormat());

+   improperFormat.setDenominatorFormat(old);

+}

+

+public void testWholeFormat() {

+   ProperFractionFormat format = (ProperFractionFormat)properFormat;

+   

+   NumberFormat old = format.getWholeFormat();

+   NumberFormat nf = NumberFormat.getIntegerInstance();

+   format.setWholeFormat(nf);

+   assertEquals(nf, format.getWholeFormat());

+   format.setWholeFormat(old);

 }

 }




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



svn commit: r240382 - /jakarta/commons/sandbox/proxy/trunk/project.xml

2005-08-26 Thread jcarman
Author: jcarman
Date: Fri Aug 26 20:31:31 2005
New Revision: 240382

URL: http://svn.apache.org/viewcvs?rev=240382&view=rev
Log:
Updating Maven information for site generation.

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

Modified: jakarta/commons/sandbox/proxy/trunk/project.xml
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/sandbox/proxy/trunk/project.xml?rev=240382&r1=240381&r2=240382&view=diff
==
--- jakarta/commons/sandbox/proxy/trunk/project.xml (original)
+++ jakarta/commons/sandbox/proxy/trunk/project.xml Fri Aug 26 20:31:31 2005
@@ -73,7 +73,7 @@
 developer

 

 http://www.carmanconsulting.com/

-+1

+-5

 

 

 Knut Wannheden

@@ -121,8 +121,8 @@
 

 

 cglib

-cglib

-2.1

+cglib-full

+2.0.2

 http://cglib.sourceforge.net

 

 code generation library

@@ -228,6 +228,15 @@
 collection API

 

 

+

+commons-discovery

+commons-discovery

+0.2

+http://jakarta.apache.org/commons/discovery/

+

+discovery API

+

+

 

 

 

@@ -239,7 +248,7 @@
 

 

 

-**/*TC.java

+**/Test*.java

 

 

 




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



Re: [site] Incorrect SVN Url for Commons Trunk on Jakarta site

2005-08-26 Thread Brett Porter
If you checkout trunks-proper it works, however it is done by
svn:externals which do not display in the web interface.

- Brett

Bindul Bhowmik wrote:

>Hi,
>
>I was trying to check out the commons truk code (email) from SVN and I saw a 
>link on the Jakarta site (http://jakarta.apache.org/site/cvsindex.html) 
>which pointed me to 
>http://svn.apache.org/repos/asf/jakarta/commons/trunks-proper/ to check out 
>commons trunk code, but was surprised to find that there were only a few 
>html and text files at that location.
>
>The commons email site however pointed me to the correct location 
>http://svn.apache.org/viewcvs.cgi/jakarta/commons/proper/[email/trunk/] in 
>SVN.
>
>Guess it would be great if someone could update the commons site to point to 
>the correct location. BTW the Developer HTTPS access URL on the jakarta site 
>also points to commons/trunks-proper.
>
>Regards,
>Bindul
>
>  
>


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



[site] Incorrect SVN Url for Commons Trunk on Jakarta site

2005-08-26 Thread Bindul Bhowmik
Hi,

I was trying to check out the commons truk code (email) from SVN and I saw a 
link on the Jakarta site (http://jakarta.apache.org/site/cvsindex.html) 
which pointed me to 
http://svn.apache.org/repos/asf/jakarta/commons/trunks-proper/ to check out 
commons trunk code, but was surprised to find that there were only a few 
html and text files at that location.

The commons email site however pointed me to the correct location 
http://svn.apache.org/viewcvs.cgi/jakarta/commons/proper/[email/trunk/] in 
SVN.

Guess it would be great if someone could update the commons site to point to 
the correct location. BTW the Developer HTTPS access URL on the jakarta site 
also points to commons/trunks-proper.

Regards,
Bindul


DO NOT REPLY [Bug 33265] - [pool] Number of tested objects in eviction runs of GenericObjectPool

2005-08-26 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
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=33265





--- Additional Comments From [EMAIL PROTECTED]  2005-08-27 04:55 ---
"To fix this, the corresponding ELSE body should always be executed, regardless
whether the eviction cursor was reset or not."

However, the validation test itself need a previous item to determine the
timestamp pair. Hence, without a previous item, then where do we derive the
timestamp from? Any suggestion?

ObjectTimestampPair pair = (ObjectTimestampPair)(_evictionCursor.previous());



-- 
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: r240378 - /jakarta/commons/sandbox/scxml/trunk/src/main/java/org/apache/commons/scxml/env/ELEvaluator.java

2005-08-26 Thread rahul
Author: rahul
Date: Fri Aug 26 19:40:47 2005
New Revision: 240378

URL: http://svn.apache.org/viewcvs?rev=240378&view=rev
Log:
Found by FindBugs:

SIC: Should org.apache.commons.scxml.env.ELEvaluator$CtxWrapper be a _static_ 
inner class?

SIC: Should org.apache.commons.scxml.env.ELEvaluator$FunctWrapper be a _static_ 
inner class?

Yes to both.

Modified:

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

Modified: 
jakarta/commons/sandbox/scxml/trunk/src/main/java/org/apache/commons/scxml/env/ELEvaluator.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/sandbox/scxml/trunk/src/main/java/org/apache/commons/scxml/env/ELEvaluator.java?rev=240378&r1=240377&r2=240378&view=diff
==
--- 
jakarta/commons/sandbox/scxml/trunk/src/main/java/org/apache/commons/scxml/env/ELEvaluator.java
 (original)
+++ 
jakarta/commons/sandbox/scxml/trunk/src/main/java/org/apache/commons/scxml/env/ELEvaluator.java
 Fri Aug 26 19:40:47 2005
@@ -133,7 +133,7 @@
 /**
  * A Context wrapper that implements VariableResolver.
  */
-class CtxWrapper implements VariableResolver {
+static class CtxWrapper implements VariableResolver {
 /** Context to be wrapped. */
 private Context ctx = null;
 /**
@@ -156,7 +156,7 @@
 /**
  * A simple function mapper for SCXML defined functions.
  */
-class FunctWrapper implements FunctionMapper {
+static class FunctWrapper implements FunctionMapper {
 
 /**
  * @see FunctionMapper#resolveFunction(String, String)



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



svn commit: r240377 - in /jakarta/commons/sandbox/scxml/trunk/src/main/java/org/apache/commons/scxml/model: Action.java Transition.java TransitionTarget.java

2005-08-26 Thread rahul
Author: rahul
Date: Fri Aug 26 19:37:44 2005
New Revision: 240377

URL: http://svn.apache.org/viewcvs?rev=240377&view=rev
Log:
Found by FindBugs:

UwF: Field not initialized in constructor: 
org.apache.commons.scxml.model.Action.parent

UwF: Field not initialized in constructor: 
org.apache.commons.scxml.model.Transition.notifReg

UwF: Field not initialized in constructor: 
org.apache.commons.scxml.model.TransitionTarget.notifReg

The model artifacts are instantiated (and fields are set) by the SCXMLDigester; 
willing to humor FindBugs on this one.

Modified:

jakarta/commons/sandbox/scxml/trunk/src/main/java/org/apache/commons/scxml/model/Action.java

jakarta/commons/sandbox/scxml/trunk/src/main/java/org/apache/commons/scxml/model/Transition.java

jakarta/commons/sandbox/scxml/trunk/src/main/java/org/apache/commons/scxml/model/TransitionTarget.java

Modified: 
jakarta/commons/sandbox/scxml/trunk/src/main/java/org/apache/commons/scxml/model/Action.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/sandbox/scxml/trunk/src/main/java/org/apache/commons/scxml/model/Action.java?rev=240377&r1=240376&r2=240377&view=diff
==
--- 
jakarta/commons/sandbox/scxml/trunk/src/main/java/org/apache/commons/scxml/model/Action.java
 (original)
+++ 
jakarta/commons/sandbox/scxml/trunk/src/main/java/org/apache/commons/scxml/model/Action.java
 Fri Aug 26 19:37:44 2005
@@ -34,6 +34,7 @@
  */
 public Action() {
 super();
+this.parent = null;
 }
 
 /**

Modified: 
jakarta/commons/sandbox/scxml/trunk/src/main/java/org/apache/commons/scxml/model/Transition.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/sandbox/scxml/trunk/src/main/java/org/apache/commons/scxml/model/Transition.java?rev=240377&r1=240376&r2=240377&view=diff
==
--- 
jakarta/commons/sandbox/scxml/trunk/src/main/java/org/apache/commons/scxml/model/Transition.java
 (original)
+++ 
jakarta/commons/sandbox/scxml/trunk/src/main/java/org/apache/commons/scxml/model/Transition.java
 Fri Aug 26 19:37:44 2005
@@ -60,13 +60,16 @@
  * The path for this transition.
  * @see Path
  */
-private Path path = null;
+private Path path;
 
 /**
  * Constructor.
  */
 public Transition() {
 super();
+this.target = null;
+this.notifReg = null;
+this.path = null;
 }
 
 /**

Modified: 
jakarta/commons/sandbox/scxml/trunk/src/main/java/org/apache/commons/scxml/model/TransitionTarget.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/sandbox/scxml/trunk/src/main/java/org/apache/commons/scxml/model/TransitionTarget.java?rev=240377&r1=240376&r2=240377&view=diff
==
--- 
jakarta/commons/sandbox/scxml/trunk/src/main/java/org/apache/commons/scxml/model/TransitionTarget.java
 (original)
+++ 
jakarta/commons/sandbox/scxml/trunk/src/main/java/org/apache/commons/scxml/model/TransitionTarget.java
 Fri Aug 26 19:37:44 2005
@@ -66,6 +66,8 @@
 onEntry.setParent(this);
 onExit = new OnExit();   //empty defaults
 onExit.setParent(this);
+parent = null;
+notifReg = null;
 }
 
 /**



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



svn commit: r240376 - /jakarta/commons/sandbox/scxml/trunk/src/main/java/org/apache/commons/scxml/env/RootContext.java

2005-08-26 Thread rahul
Author: rahul
Date: Fri Aug 26 19:19:45 2005
New Revision: 240376

URL: http://svn.apache.org/viewcvs?rev=240376&view=rev
Log:
We're not going anywhere, might as well curl up and die here, while we can 
produce a reasonable error message.

Modified:

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

Modified: 
jakarta/commons/sandbox/scxml/trunk/src/main/java/org/apache/commons/scxml/env/RootContext.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/sandbox/scxml/trunk/src/main/java/org/apache/commons/scxml/env/RootContext.java?rev=240376&r1=240375&r2=240376&view=diff
==
--- 
jakarta/commons/sandbox/scxml/trunk/src/main/java/org/apache/commons/scxml/env/RootContext.java
 (original)
+++ 
jakarta/commons/sandbox/scxml/trunk/src/main/java/org/apache/commons/scxml/env/RootContext.java
 Fri Aug 26 19:19:45 2005
@@ -32,6 +32,10 @@
 
 /** Host JSP's VariableResolver. */
 private VariableResolver vr;
+/** Bark if JSP Context is null */
+private static final String ERR_HOST_JSP_CTX_NULL =
+"Host JSP Context cannot be null";
+
 /**
  * Constructor.
  *
@@ -40,10 +44,12 @@
 public RootContext(final JspContext ctx) {
 super();
 if (ctx == null) {
-LOG.error("Host JSP Context cannot be null");
+LOG.error(ERR_HOST_JSP_CTX_NULL);
+throw new IllegalArgumentException(ERR_HOST_JSP_CTX_NULL);
+} else {
+  // only retain the VariableResolver
+  this.vr = ctx.getVariableResolver();
 }
-// only retain the VariableResolver
-this.vr = ctx.getVariableResolver();
 }
 
 /**



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



svn commit: r240375 - in /jakarta/commons/sandbox/scxml/trunk/src/main/java/org/apache/commons/scxml/env: ELContext.java RootContext.java

2005-08-26 Thread rahul
Author: rahul
Date: Fri Aug 26 19:07:39 2005
New Revision: 240375

URL: http://svn.apache.org/viewcvs?rev=240375&view=rev
Log:
Found by FindBugs:

MS: org.apache.commons.scxml.env.ELContext.log isn't final but should be

True, since the intent is to share one Log for ELContext and its derivatives in 
the scxml.env package.

Modified:

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

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

Modified: 
jakarta/commons/sandbox/scxml/trunk/src/main/java/org/apache/commons/scxml/env/ELContext.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/sandbox/scxml/trunk/src/main/java/org/apache/commons/scxml/env/ELContext.java?rev=240375&r1=240374&r2=240375&view=diff
==
--- 
jakarta/commons/sandbox/scxml/trunk/src/main/java/org/apache/commons/scxml/env/ELContext.java
 (original)
+++ 
jakarta/commons/sandbox/scxml/trunk/src/main/java/org/apache/commons/scxml/env/ELContext.java
 Fri Aug 26 19:07:39 2005
@@ -35,7 +35,7 @@
 public class ELContext implements Context , VariableResolver {
 
 /** Implementation independent log category. */
-protected static Log log = LogFactory.getLog(Context.class);
+protected static final Log LOG = LogFactory.getLog(Context.class);
 /** The parent Context to this Context. */
 protected Context parent = null;
 /** The Map of variables and their values in this Context. */
@@ -150,8 +150,8 @@
  */
 public void setLocal(final String name, final Object value) {
 vars.put(name, value);
-if (log.isDebugEnabled() && !name.equals("_ALL_STATES")) {
-log.debug(name + " = " + String.valueOf(value));
+if (LOG.isDebugEnabled() && !name.equals("_ALL_STATES")) {
+LOG.debug(name + " = " + String.valueOf(value));
 }
 }
 

Modified: 
jakarta/commons/sandbox/scxml/trunk/src/main/java/org/apache/commons/scxml/env/RootContext.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/sandbox/scxml/trunk/src/main/java/org/apache/commons/scxml/env/RootContext.java?rev=240375&r1=240374&r2=240375&view=diff
==
--- 
jakarta/commons/sandbox/scxml/trunk/src/main/java/org/apache/commons/scxml/env/RootContext.java
 (original)
+++ 
jakarta/commons/sandbox/scxml/trunk/src/main/java/org/apache/commons/scxml/env/RootContext.java
 Fri Aug 26 19:07:39 2005
@@ -40,7 +40,7 @@
 public RootContext(final JspContext ctx) {
 super();
 if (ctx == null) {
-log.error("Host JSP Context cannot be null");
+LOG.error("Host JSP Context cannot be null");
 }
 // only retain the VariableResolver
 this.vr = ctx.getVariableResolver();
@@ -59,7 +59,7 @@
 try {
 value = vr.resolveVariable(name);
 } catch (ELException ele) {
-log.error(ele.getMessage(), ele);
+LOG.error(ele.getMessage(), ele);
 }
 }
 return value;
@@ -79,7 +79,7 @@
 try {
 value = vr.resolveVariable(name);
 } catch (ELException ele) {
-log.error(ele.getMessage(), ele);
+LOG.error(ele.getMessage(), ele);
 }
 if (value != null) {
 exists = true;



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



svn commit: r240367 - in /jakarta/commons/sandbox/scxml/trunk: project.properties scxml-asl-header.txt scxml-checks.xml

2005-08-26 Thread rahul
Author: rahul
Date: Fri Aug 26 17:43:33 2005
New Revision: 240367

URL: http://svn.apache.org/viewcvs?rev=240367&view=rev
Log:
Use a customized set of checkstyle rules. These are the Sun checks with three 
changes as discussed on the dev list:

1) Use a regexp header check for ASL
2) Disable 'hide a field' check (lot of noise from setters)
3) Disable 'method design for extension' check

Added:
jakarta/commons/sandbox/scxml/trunk/scxml-asl-header.txt   (with props)
jakarta/commons/sandbox/scxml/trunk/scxml-checks.xml   (with props)
Modified:
jakarta/commons/sandbox/scxml/trunk/project.properties

Modified: jakarta/commons/sandbox/scxml/trunk/project.properties
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/sandbox/scxml/trunk/project.properties?rev=240367&r1=240366&r2=240367&view=diff
==
--- jakarta/commons/sandbox/scxml/trunk/project.properties (original)
+++ jakarta/commons/sandbox/scxml/trunk/project.properties Fri Aug 26 17:43:33 
2005
@@ -20,4 +20,14 @@
 maven.xdoc.includeProjectDocumentation=yes
 
 maven.javadoc.links=http://java.sun.com/j2se/1.4.2/docs/api/
+
+### dev properties ###
 maven.changelog.factory=org.apache.maven.svnlib.SvnChangeLogFactory
+
+#maven.username=
+
+#maven.clover.license.path=
+
+maven.checkstyle.properties=scxml-checks.xml
+maven.checkstyle.header.file=scxml-asl-header.txt
+

Added: jakarta/commons/sandbox/scxml/trunk/scxml-asl-header.txt
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/sandbox/scxml/trunk/scxml-asl-header.txt?rev=240367&view=auto
==
--- jakarta/commons/sandbox/scxml/trunk/scxml-asl-header.txt (added)
+++ jakarta/commons/sandbox/scxml/trunk/scxml-asl-header.txt Fri Aug 26 
17:43:33 2005
@@ -0,0 +1,17 @@
+^/\*$
+^ \*$
+^ \*   Copyright (\d{4}-)?\d{4} The Apache Software Foundation.$
+^ \*$
+^ \*  Licensed under the Apache License, Version 2.0 \(the "License"\);$
+^ \*  you may not use this file except in compliance with the License.$
+^ \*  You may obtain a copy of the License at$
+^ \*$
+^ \*  http://www.apache.org/licenses/LICENSE-2.0$
+^ \*$
+^ \*  Unless required by applicable law or agreed to in writing, software$
+^ \*  distributed under the License is distributed on an "AS IS" BASIS,$
+^ \*  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.$
+^ \*  See the License for the specific language governing permissions and$
+^ \*  limitations under the License.$
+^ \*$
+^ \*/$

Propchange: jakarta/commons/sandbox/scxml/trunk/scxml-asl-header.txt
--
svn:eol-style = native

Propchange: jakarta/commons/sandbox/scxml/trunk/scxml-asl-header.txt
--
svn:keywords = Date Author Id Revision HeadURL

Added: jakarta/commons/sandbox/scxml/trunk/scxml-checks.xml
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/sandbox/scxml/trunk/scxml-checks.xml?rev=240367&view=auto
==
--- jakarta/commons/sandbox/scxml/trunk/scxml-checks.xml (added)
+++ jakarta/commons/sandbox/scxml/trunk/scxml-checks.xml Fri Aug 26 17:43:33 
2005
@@ -0,0 +1,207 @@
+
+
+
+http://www.puppycrawl.com/dtds/configuration_1_1.dtd";>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+

Propchange: jakarta/commons/sandbox/scxml/trunk/scxml-checks.xml
--
svn:eol-style = native

Propchange: jakarta/commons/sandbox/scxml/trunk/scxml-checks.xml
--
svn:keywords = Date Author Id Revision HeadURL



---

Re: karma request for commons sandbox

2005-08-26 Thread Martin Cooper
On 8/26/05, Knut Wannheden <[EMAIL PROTECTED]> wrote:
> Hi all,
> 
> I'd like to get SVN commit karma for the Commons Sandbox. I'll be
> helping out James Carman on the commons-proxy project.

Done.

--
Martin Cooper


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

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



svn commit: r240361 - /jakarta/commons/sandbox/proxy/trunk/project.xml

2005-08-26 Thread jcarman
Author: jcarman
Date: Fri Aug 26 17:10:20 2005
New Revision: 240361

URL: http://svn.apache.org/viewcvs?rev=240361&view=rev
Log:
Updating Maven information for site generation.

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

Modified: jakarta/commons/sandbox/proxy/trunk/project.xml
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/sandbox/proxy/trunk/project.xml?rev=240361&r1=240360&r2=240361&view=diff
==
--- jakarta/commons/sandbox/proxy/trunk/project.xml (original)
+++ jakarta/commons/sandbox/proxy/trunk/project.xml Fri Aug 26 17:10:20 2005
@@ -17,8 +17,8 @@
 Java library for dynamic proxying

 http://jakarta.apache.org/commons/sandbox/proxy

 http://issues.apache.org/bugzilla

-jakarta.apache.org

-/somewhere/commons/sandbox/proxy/

+cvs.apache.org

+
/www/jakarta.apache.org/commons/sandbox/proxy/

 

Re: [exec] Outstanding patches

2005-08-26 Thread Brett Porter
Hi Niklas,

Thanks for your work. It's on my radar, but its been a busy week.

- Brett

Niklas Gustavsson wrote:

>Hi
>
>Is there a commiter out there with enough spare cycles to have a look at
>the outstanding patches for exec? I belive this list covers all active:
>http://shorl.org/fanivajuhiva
>
>/niklas
>
>--
>Niklas Gustavsson
>[EMAIL PROTECTED]
>http://www.protocol7.com
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>  
>


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



DO NOT REPLY [Bug 31151] - [cli] Setting description of a Option

2005-08-26 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
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=31151


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|LATER   |




--- Additional Comments From [EMAIL PROTECTED]  2005-08-26 23:19 ---
I'm wondering if this can be committed. This is a really simple change. Almost 
every other member in that class can be set except the description field. We 
use it to change the description dynamically with value that's generated at 
runtime. 

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



[exec] Outstanding patches

2005-08-26 Thread Niklas Gustavsson
Hi

Is there a commiter out there with enough spare cycles to have a look at
the outstanding patches for exec? I belive this list covers all active:
http://shorl.org/fanivajuhiva

/niklas

--
Niklas Gustavsson
[EMAIL PROTECTED]
http://www.protocol7.com


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



RE: [proxy] vs proxytoys

2005-08-26 Thread James Carman
I use cygwin.  I tried just executing sftp manually and it failed with that
error.  So, I've got some issue going on, I think.  I manually copied the
site up.

-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Jörg Schaible
Sent: Friday, August 26, 2005 3:37 PM
To: commons-dev@jakarta.apache.org
Subject: RE: [proxy] vs proxytoys

Hi James,

James Carman wrote:

> It's failing on the call to scp:
> 
> [exec] [VERBOSE] Current OS is Windows XP
> [exec] [VERBOSE] Executing 'scp' with arguments:
> 'commons-proxy-0.1-site.tar.gz'
> '[EMAIL PROTECTED]:/www/jakarta.apache.org/commons/sandbox/proxy/'
> 
> The ' characters around the executable and arguments are
> not part of the command.
> 
> [exec] [DEBUG] Execute:Java13CommandLauncher: Executing 'scp' with
> arguments
> :
> 'commons-proxy-0.1-site.tar.gz'
> '[EMAIL PROTECTED]:/www/jakarta.apache.org/commons/sandbox/proxy/'
> 
> The ' characters around the executable and arguments are
> not part of the command.
> 
> [exec] xfree: NULL pointer given as argument
> [exec] lost connection
> [exec] [ERROR] Result: 1

well, if you're on Windows, what is your scp/ssh? Do you use Cygwin or
plink?

- Jörg



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



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



DO NOT REPLY [Bug 36387] New: - Digester Default ClassLoader policy unusable in EAR archive

2005-08-26 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
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=36387

   Summary: Digester Default ClassLoader policy unusable in EAR
archive
   Product: Commons
   Version: 1.6 Final
  Platform: Other
OS/Version: other
Status: NEW
  Keywords: PatchAvailable
  Severity: blocker
  Priority: P2
 Component: Digester
AssignedTo: commons-dev@jakarta.apache.org
ReportedBy: [EMAIL PROTECTED]


When used in an EAR archive the Digester default classloading/resource loading
implementation makes many major frameworks unusable.  For Example, if I use
Struts/Tiles (uses digester) in Web App war files and use Digester from any EJB
component library or in the EAR classloader space either the Tiles definitions
cannot be loaded or other classes cannot be found.  This is because Digester by
default sets useContextClassloader = false.  Since most users and frameworks
(Struts, Tiles, JSF, etc) do not set useContextClassloader = true, Digester
essentially breaks enterprise Applications where the Digester is used from more
than one module.  Note that end users do not control the uses of Digester, the
default useContextClassloader policy should = true.  

Patch by changing:

useContextClassloader = false

to:

useContextClassloader = true


//
This solves the problem - which Google turns up endless hits.

-- 
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: [proxy] vs proxytoys

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

James Carman wrote:

> It's failing on the call to scp:
> 
> [exec] [VERBOSE] Current OS is Windows XP
> [exec] [VERBOSE] Executing 'scp' with arguments:
> 'commons-proxy-0.1-site.tar.gz'
> '[EMAIL PROTECTED]:/www/jakarta.apache.org/commons/sandbox/proxy/'
> 
> The ' characters around the executable and arguments are
> not part of the command.
> 
> [exec] [DEBUG] Execute:Java13CommandLauncher: Executing 'scp' with
> arguments
> :
> 'commons-proxy-0.1-site.tar.gz'
> '[EMAIL PROTECTED]:/www/jakarta.apache.org/commons/sandbox/proxy/'
> 
> The ' characters around the executable and arguments are
> not part of the command.
> 
> [exec] xfree: NULL pointer given as argument
> [exec] lost connection
> [exec] [ERROR] Result: 1

well, if you're on Windows, what is your scp/ssh? Do you use Cygwin or
plink?

- Jörg



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



Re: svn commit: r239940 - /jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/analysis/

2005-08-26 Thread Zhang
In svn r239940, source files in .../java/.../analysis/ are committed,
but test files in .../test/.../analysis/ are not. Related ASF bugs
are closed, do we need those test files?

Also, it seems property svn:keywords is not set properly because
$Revision$ and $Date$ are not substituted. Is it the problem of
my svn client settings?

Regards,
Xiaogang Zhang


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

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



RE: [proxy] vs proxytoys

2005-08-26 Thread James Carman
It's failing on the call to scp:

[exec] [VERBOSE] Current OS is Windows XP
[exec] [VERBOSE] Executing 'scp' with arguments:
'commons-proxy-0.1-site.tar.gz'
'[EMAIL PROTECTED]:/www/jakarta.apache.org/commons/sandbox/proxy/'

The ' characters around the executable and arguments are
not part of the command.

[exec] [DEBUG] Execute:Java13CommandLauncher: Executing 'scp' with
arguments
:
'commons-proxy-0.1-site.tar.gz'
'[EMAIL PROTECTED]:/www/jakarta.apache.org/commons/sandbox/proxy/'

The ' characters around the executable and arguments are
not part of the command.

[exec] xfree: NULL pointer given as argument
[exec] lost connection
[exec] [ERROR] Result: 1

-Original Message-
From: Jörg Schaible [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 26, 2005 11:12 AM
To: Jakarta Commons Developers List
Subject: RE: [proxy] vs proxytoys

Hi James,

I just realized form your output, that you must have changed this locally.
Try running maven with -X option and see if there's a problem reported.

- Jörg


Jörg Schaible wrote on Friday, August 26, 2005 5:10 PM:

> I checked the project.xml that is in subversion and you have
> to make proper values for the following entries (taken from
> sandbox/id): 
> 
> 
> 
> http://issues.apache.org/bugzilla/buglist.cg
> i?query_format=specific&bug_status=__open__&prod
> uct=Commons&content=id
>   cvs.apache.org
> 
> /www/jakarta.apache.org/commons/sandbox/id/ teDirectory> 
> 
> /www/jakarta.apache.org/builds/jakarta-
> commons-sandbox/id/
> 
> 
> - Jörg
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

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




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



[jira] Created: (JELLY-220) core:forEach doesn't use a nested context

2005-08-26 Thread Diogo Bacelar Quintela (JIRA)
core:forEach doesn't use a nested context
-

 Key: JELLY-220
 URL: http://issues.apache.org/jira/browse/JELLY-220
 Project: jelly
Type: Bug
 Reporter: Diogo Bacelar Quintela


As said in summary, analising ForEachTag.java and a simple test (see below) 
this tags set's variables into current JellyContext, not using childContext.

This could be another source for a memory leak, don't know for sure.

JSTL states that a nested context should be used - this tag aims to be JSTL 
compliant.
http://java.sun.com/products/jsp/jstl/1.1/docs/tlddocs/c/forEach.html





${util.getName(class1)}

${util.getName(class1)}



${util.getName(class2)}


${util.getName(class2)}




resulting in 




  
TestName
TestName
TestName

  





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


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



DO NOT REPLY [Bug 36383] - [configuration] properties file with include in subdir does not work as expected

2005-08-26 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
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=36383


[EMAIL PROTECTED] changed:

   What|Removed |Added

Summary|properties file with include|[configuration] properties
   |in subdir does not work as  |file with include in subdir
   |expected|does not work as expected




-- 
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 36383] New: - properties file with include in subdir does not work as expected

2005-08-26 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
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=36383

   Summary: properties file with include in subdir does not work as
expected
   Product: Commons
   Version: 1.1 Final
  Platform: PC
OS/Version: Windows XP
Status: NEW
  Severity: minor
  Priority: P2
 Component: Configuration
AssignedTo: commons-dev@jakarta.apache.org
ReportedBy: [EMAIL PROTECTED]


I use a Configuration Factory to create a Composite Configuration which points
to properties files in subdirectories. If these properties files use the include
statement to include other files, these files are expected at the root directory
instead of the directory of the properties files. 
eg:
config/config.xml (points to properties files below)
config/module1/module1.properties
config/module1/extra.properties
config/module2/module2.properties

If I want to include extra.properties in module1.properties, then I need to
write include=module1/extra.properties, which is ackward

-- 
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 36215] - [Math] HypergeometricDistributionImpl cumulativeProbability calculation overflown

2005-08-26 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
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=36215





--- Additional Comments From [EMAIL PROTECTED]  2005-08-26 17:49 ---
I saw your post and actually bugzilla told me 
Mid-air collision detected!
Someone else has made changes to this bug at the same time you were trying to.
The changes made were:
pretty cool huh?:)

anyways, it seems like that for some cases your are using 1-small probabilities,
while in the example I mentioned it's not calculated this way: why there seems
to be two ways to calculate this? is it for performance concern? personally I'd
rather get the accurate answer than saving time, and I'm currently doing the
slow looping thing to get the right answer.

thanks!

-- 
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 36215] - [Math] HypergeometricDistributionImpl cumulativeProbability calculation overflown

2005-08-26 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
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=36215





--- Additional Comments From [EMAIL PROTECTED]  2005-08-26 17:39 ---
OKay, for the love of Java, let's see the details of all the bugs. I tend to
believe they're not all caught yet, but if I have the jar I can definitely test
them out. 

for the current build 8-25-05, the code below
HypergeometricDistributionImpl hDist = new HypergeometricDistributionImpl(26932,
270, 823);

double probability = hDist.probability(52);
double utprobability = hDist.upperCumulativeProbability(52);
double cprobability = hDist.cumulativeProbability(52);

System.out.println(probability);
System.out.println(utprobability);
System.out.println(cprobability);
System.out.println(1 - cprobability);
will return:
1.018427824183987E-26
-2.437485768780334E-10
1.02437486
-2.437485768780334E-10
this shows that in this example, the upper tail cumPro is just 1 - cumPro, which
is wrong because of the numeric error accumulation we discusse earlier.

but this is obviously not always happening, as when I tried 6000 200 100 50, it
returned 6.02E-49, as I expected. what's the mystery here?

furthermore, if you run the above code but change it so that it runs
HypergeometricDistributionImpl hDist = new HypergeometricDistributionImpl(26932,
823, 270);
the result will be different:
1.0184278236099406E-26
3.7159353372118176E-10
0.962840647
3.7159353372118176E-10
but by textbook definition of hypergeometric distribution, the order of
numSuccess and sample shouldn't matter at all, notice here: A. the raw
probability is slightly different, at the 9th digit; B. this should have
generated what the earlier calculation had, but it's totally different.

so, summarizing the bugs here:
1. upper tail cumulative probability when running some examples, will overflow
and give negative values;
2. upper tail cumPro obviously is not consistently calculating in the same
fashion, sometimes it works, sometimes not;
3. the order of numSuccess and sample sometimes matters to the code, while it
should not, ever;
4. the raw probability, when change the order of numSuccess and sample, will
differ slightly, if it's calculated in exactly the same way then it shouldn't.

I suggest that when you have a fix, test it out further with many more examples,
like what we suggested here, and in reversing order, etc. and if you could send
me the jar or post it here I can test it out as well, rather than waiting for
the nightly build to include it. 

pop numSuccess sample query upperCumPro
26932 823 270 53 1.4160591836816684E-27
26932 270 823 53
6000 200 100 50 6.020909331626761E-49
6000 100 200 50
26896 895 55 15 2.077516591801479E-10
26896 55 895 15

-- 
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: [proxy] vs proxytoys

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

I just realized form your output, that you must have changed this locally.
Try running maven with -X option and see if there's a problem reported.

- Jörg


Jörg Schaible wrote on Friday, August 26, 2005 5:10 PM:

> I checked the project.xml that is in subversion and you have
> to make proper values for the following entries (taken from
> sandbox/id): 
> 
> 
> 
> http://issues.apache.org/bugzilla/buglist.cg
> i?query_format=specific&bug_status=__open__&prod
> uct=Commons&content=id
>   cvs.apache.org
> 
> /www/jakarta.apache.org/commons/sandbox/id/ teDirectory> 
> 
> /www/jakarta.apache.org/builds/jakarta-
> commons-sandbox/id/
> 
> 
> - Jörg
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

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



RE: [proxy] vs proxytoys

2005-08-26 Thread Jörg Schaible
I checked the project.xml that is in subversion and you have to make proper 
values for the following entries (taken from sandbox/id):


  
http://issues.apache.org/bugzilla/buglist.cgi?query_format=specific&bug_status=__open__&prod
uct=Commons&content=id  
  cvs.apache.org
  /www/jakarta.apache.org/commons/sandbox/id/
  
/www/jakarta.apache.org/builds/jakarta-commons-sandbox/id/
 


- Jörg

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



RE: [proxy] vs proxytoys

2005-08-26 Thread James Carman
Yes, you're correct, but that doesn't fix my problem connecting.  I made the
appropriate change in the project.xml file but still...

site:sshdeploy:
[echo]
  siteAddress = cvs.apache.org
  siteDirectory = /www/jakarta.apache.org/commons/sandbox/proxy/
  siteUser = jcarman

[tar] Building tar: C:\Documents and
Settings\jcarman\IdeaProjects\commons-p
roxy\target\commons-proxy-0.1-site.tar
[gzip] Building: C:\Documents and
Settings\jcarman\IdeaProjects\commons-prox
y\target\commons-proxy-0.1-site.tar.gz
[delete] Deleting: C:\Documents and
Settings\jcarman\IdeaProjects\commons-pr
oxy\target\commons-proxy-0.1-site.tar
[exec] xfree: NULL pointer given as argument
[exec] lost connection
[exec] [ERROR] Result: 1
[exec] commons-proxy-0.1-site.tar.gz: No such file or directory
[exec] tar: Error opening archive: Failed to open
'commons-proxy-0.1-site.ta
r': No such file or directory
[exec] chmod: *: No such file or directory
[exec] rm: commons-proxy-0.1-site.tar: No such file or directory
[exec] [ERROR] Result: 1
[delete] Deleting: C:\Documents and
Settings\jcarman\IdeaProjects\commons-pr
oxy\target\commons-proxy-0.1-site.tar.gz
BUILD SUCCESSFUL
Total time: 6 seconds
Finished at: Fri Aug 26 11:00:22 EDT 2005


-Original Message-
From: Jörg Schaible [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 26, 2005 10:55 AM
To: Jakarta Commons Developers List
Subject: RE: [proxy] vs proxytoys

James Carman wrote on Friday, August 26, 2005 4:51 PM:

> I met all of the qualifications, but my site:sshdeploy fails...
> 
> site:sshdeploy:
> [echo]
>   siteAddress = cvs.apache.org
>   siteDirectory = /www/jakarta.apache.org/commons/proxy/  

should go to /www/jakarta.apache.org/commons/sandbox/proxy/ though ...
   
- Jörg

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




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



RE: [proxy] vs proxytoys

2005-08-26 Thread Jörg Schaible
James Carman wrote on Friday, August 26, 2005 4:51 PM:

> I met all of the qualifications, but my site:sshdeploy fails...
> 
> site:sshdeploy:
> [echo]
>   siteAddress = cvs.apache.org
>   siteDirectory = /www/jakarta.apache.org/commons/proxy/  

should go to /www/jakarta.apache.org/commons/sandbox/proxy/ though ...
   
- Jörg

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



RE: [proxy] vs proxytoys

2005-08-26 Thread James Carman
I met all of the qualifications, but my site:sshdeploy fails...

site:sshdeploy:
[echo]
  siteAddress = cvs.apache.org
  siteDirectory = /www/jakarta.apache.org/commons/proxy/
  siteUser = jcarman

[tar] Building tar: C:\Documents and
Settings\jcarman\IdeaProjects\commons-p
roxy\target\commons-proxy-0.1-site.tar
[gzip] Building: C:\Documents and
Settings\jcarman\IdeaProjects\commons-prox
y\target\commons-proxy-0.1-site.tar.gz
[delete] Deleting: C:\Documents and
Settings\jcarman\IdeaProjects\commons-pr
oxy\target\commons-proxy-0.1-site.tar
[exec] xfree: NULL pointer given as argument
[exec] lost connection
[exec] [ERROR] Result: 1
[exec] commons-proxy-0.1-site.tar.gz: No such file or directory
[exec] tar: Error opening archive: Failed to open
'commons-proxy-0.1-site.ta
r': No such file or directory
[exec] chmod: *: No such file or directory
[exec] rm: commons-proxy-0.1-site.tar: No such file or directory
[exec] [ERROR] Result: 1
[delete] Deleting: C:\Documents and
Settings\jcarman\IdeaProjects\commons-pr
oxy\target\commons-proxy-0.1-site.tar.gz
BUILD SUCCESSFUL
Total time: 6 seconds
Finished at: Fri Aug 26 10:49:33 EDT 2005

-Original Message-
From: Rahul Akolkar [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 26, 2005 10:15 AM
To: Jakarta Commons Developers List
Subject: Re: [proxy] vs proxytoys

On 8/26/05, James Carman <[EMAIL PROTECTED]> wrote:

> How do I actually get the generated site to be viewable when you go to...
> 
> http://jakarta.apache.org/commons/sandbox/proxy


See "Updating the public site" on [
http://jakarta.apache.org/commons/building.html ]

-Rahul

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




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



Re: [proxy] vs proxytoys

2005-08-26 Thread Rahul Akolkar
On 8/26/05, James Carman <[EMAIL PROTECTED]> wrote:

> How do I actually get the generated site to be viewable when you go to...
> 
> http://jakarta.apache.org/commons/sandbox/proxy


See "Updating the public site" on [
http://jakarta.apache.org/commons/building.html ]

-Rahul

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



svn commit: r240245 - in /jakarta/commons/proper/math/trunk/src: java/org/apache/commons/math/analysis/ java/org/apache/commons/math/distribution/ test/org/apache/commons/math/ test/org/apache/commons

2005-08-26 Thread brentworden
Author: brentworden
Date: Fri Aug 26 07:05:45 2005
New Revision: 240245

URL: http://svn.apache.org/viewcvs?rev=240245&view=rev
Log:
Merged changes in MATH_1_1 branch to trunk.  This includes revision 234481 
through revision 240244.

Modified:

jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/analysis/UnivariateRealSolverImpl.java

jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/distribution/HypergeometricDistributionImpl.java

jakarta/commons/proper/math/trunk/src/test/org/apache/commons/math/RetryTestCase.java

jakarta/commons/proper/math/trunk/src/test/org/apache/commons/math/TestUtils.java

jakarta/commons/proper/math/trunk/src/test/org/apache/commons/math/distribution/HypergeometricDistributionTest.java

jakarta/commons/proper/math/trunk/src/test/org/apache/commons/math/linear/BigMatrixImplTest.java

jakarta/commons/proper/math/trunk/src/test/org/apache/commons/math/linear/RealMatrixImplTest.java

jakarta/commons/proper/math/trunk/src/test/org/apache/commons/math/stat/FrequencyTest.java

Modified: 
jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/analysis/UnivariateRealSolverImpl.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/analysis/UnivariateRealSolverImpl.java?rev=240245&r1=240244&r2=240245&view=diff
==
--- 
jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/analysis/UnivariateRealSolverImpl.java
 (original)
+++ 
jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/analysis/UnivariateRealSolverImpl.java
 Fri Aug 26 07:05:45 2005
@@ -265,7 +265,9 @@
  */
 protected boolean isBracketing(double lower, double upper, 
 UnivariateRealFunction f) throws FunctionEvaluationException {
-return  (f.value(lower) * f.value(upper) < 0);
+   double f1 = f.value(lower);
+   double f2 = f.value(upper);
+   return ((f1 > 0 && f2 < 0) || (f1 < 0 && f2 > 0));
 }
 
 /**

Modified: 
jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/distribution/HypergeometricDistributionImpl.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/distribution/HypergeometricDistributionImpl.java?rev=240245&r1=240244&r2=240245&view=diff
==
--- 
jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/distribution/HypergeometricDistributionImpl.java
 (original)
+++ 
jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/distribution/HypergeometricDistributionImpl.java
 Fri Aug 26 07:05:45 2005
@@ -82,10 +82,8 @@
 ret = 0.0;
 } else if(x >= domain[1]) {
 ret = 1.0;
-} else if (x - domain[0] < domain[1] - x) {
-ret = lowerCumulativeProbability(domain[0], x, n, m, k);
 } else {
-   ret = 1.0 - upperCumulativeProbability(x + 1, domain[1], n, m, 
k);
+ret = innerCumulativeProbability(domain[0], x, 1, n, m, k);
 }
 
 return ret;
@@ -179,28 +177,6 @@
 }
 
 /**
- * For this disbution, X, this method returns P(x0 ≤ X ≤ x1).  This
- * probability is computed by summing the point probabilities for the 
values
- * x0, x0 + 1, x0 + 2, ..., x1, in that order. 
- * @param x0 the inclusive, lower bound
- * @param x1 the inclusive, upper bound
- * @param n the population size.
- * @param m number of successes in the population.
- * @param k the sample size.
- * @return P(x0 ≤ X ≤ x1). 
- */
-private double lowerCumulativeProbability(
-int x0, int x1, int n, int m, int k)
-{
-   double ret;
-   ret = 0.0;
-   for (int i = x0; i <= x1; ++i) {
-   ret += probability(n, m, k, i);
-   }
-   return ret;
-   }
-
-/**
  * For this disbution, X, this method returns P(X = x).
  * 
  * @param x the value at which the PMF is evaluated.
@@ -281,7 +257,8 @@
 /**
  * For this disbution, X, this method returns P(X ≥ x).
  * @param x the value at which the CDF is evaluated.
- * @return upper tail CDF for this distribution. 
+ * @return upper tail CDF for this distribution.
+ * @since 1.1
  */
public double upperCumulativeProbability(int x) {
double ret;
@@ -293,36 +270,36 @@
 int[] domain = getDomain(n, m, k);
 if (x < domain[0]) {
 ret = 1.0;
-} else if(x >= domain[1]) {
+} else if(x > domain[1]) {
 ret = 0.0;
-} else if (x - domain[0] < domain[1] - x) {
-   ret = 1.0 - lowerCumulativeProbability(domain[0], x - 1, n, m, 
k);
 } else {
-   ret = upperCumulativeProbability(x, domain[1], n, m, k);
+  

[Digester] - object-param-rule strange attribute

2005-08-26 Thread Sébastien
Hi,
I looked at the DTD of digester-rules and I found something strange. It defines
an attribute named param for the tag object-param-rule. This attribute is
marked as REQUIRED but is never used in the factory... What is its purpose (I
guess none but why is it there then ?)
Best Regards
Sébastien

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



svn commit: r240244 - in /jakarta/commons/proper/math/branches/MATH_1_1: ./ src/test/org/apache/commons/math/linear/ src/test/org/apache/commons/math/stat/

2005-08-26 Thread brentworden
Author: brentworden
Date: Fri Aug 26 06:40:32 2005
New Revision: 240244

URL: http://svn.apache.org/viewcvs?rev=240244&view=rev
Log:
added test cases to provide better test code coverage.

Modified:
jakarta/commons/proper/math/branches/MATH_1_1/project.xml

jakarta/commons/proper/math/branches/MATH_1_1/src/test/org/apache/commons/math/linear/BigMatrixImplTest.java

jakarta/commons/proper/math/branches/MATH_1_1/src/test/org/apache/commons/math/linear/RealMatrixImplTest.java

jakarta/commons/proper/math/branches/MATH_1_1/src/test/org/apache/commons/math/stat/FrequencyTest.java

Modified: jakarta/commons/proper/math/branches/MATH_1_1/project.xml
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/math/branches/MATH_1_1/project.xml?rev=240244&r1=240243&r2=240244&view=diff
==
--- jakarta/commons/proper/math/branches/MATH_1_1/project.xml (original)
+++ jakarta/commons/proper/math/branches/MATH_1_1/project.xml Fri Aug 26 
06:40:32 2005
@@ -191,10 +191,10 @@
   
   
 maven-changes-plugin
-

Modified: 
jakarta/commons/proper/math/branches/MATH_1_1/src/test/org/apache/commons/math/linear/BigMatrixImplTest.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/math/branches/MATH_1_1/src/test/org/apache/commons/math/linear/BigMatrixImplTest.java?rev=240244&r1=240243&r2=240244&view=diff
==
--- 
jakarta/commons/proper/math/branches/MATH_1_1/src/test/org/apache/commons/math/linear/BigMatrixImplTest.java
 (original)
+++ 
jakarta/commons/proper/math/branches/MATH_1_1/src/test/org/apache/commons/math/linear/BigMatrixImplTest.java
 Fri Aug 26 06:40:32 2005
@@ -174,6 +174,37 @@
 } catch (NumberFormatException ex) {
 // expected
 }
+try {
+BigMatrix m4 = new BigMatrixImpl(new String[][] {});
+fail("Expecting IllegalArgumentException");
+} catch (IllegalArgumentException ex) {
+// expected
+}
+try {
+BigMatrix m4 = new BigMatrixImpl(new String[][] {{},{}});
+fail("Expecting IllegalArgumentException");
+} catch (IllegalArgumentException ex) {
+// expected
+}
+try {
+BigMatrix m4 = new BigMatrixImpl(new String[][] {{"a", 
"b"},{"c"}});
+fail("Expecting IllegalArgumentException");
+} catch (IllegalArgumentException ex) {
+// expected
+}
+
+try {
+BigMatrix m4 = new BigMatrixImpl(0, 1);
+fail("Expecting IllegalArgumentException");
+} catch (IllegalArgumentException ex) {
+// expected
+}
+try {
+BigMatrix m4 = new BigMatrixImpl(1, 0);
+fail("Expecting IllegalArgumentException");
+} catch (IllegalArgumentException ex) {
+// expected
+}
 }
 
 /** test add */

Modified: 
jakarta/commons/proper/math/branches/MATH_1_1/src/test/org/apache/commons/math/linear/RealMatrixImplTest.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/math/branches/MATH_1_1/src/test/org/apache/commons/math/linear/RealMatrixImplTest.java?rev=240244&r1=240243&r2=240244&view=diff
==
--- 
jakarta/commons/proper/math/branches/MATH_1_1/src/test/org/apache/commons/math/linear/RealMatrixImplTest.java
 (original)
+++ 
jakarta/commons/proper/math/branches/MATH_1_1/src/test/org/apache/commons/math/linear/RealMatrixImplTest.java
 Fri Aug 26 06:40:32 2005
@@ -668,6 +668,19 @@
 } catch (NullPointerException e) {
 // expected
 }
+RealMatrixImpl m2 = new RealMatrixImpl();
+try {
+m2.setSubMatrix(testData,0,1);
+fail("expecting MatrixIndexException");
+} catch (MatrixIndexException e) {
+// expected
+}
+try {
+m2.setSubMatrix(testData,1,0);
+fail("expecting MatrixIndexException");
+} catch (MatrixIndexException e) {
+// expected
+}
 
 // ragged
 try {

Modified: 
jakarta/commons/proper/math/branches/MATH_1_1/src/test/org/apache/commons/math/stat/FrequencyTest.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/math/branches/MATH_1_1/src/test/org/apache/commons/math/stat/FrequencyTest.java?rev=240244&r1=240243&r2=240244&view=diff
==
--- 
jakarta/commons/proper/math/branches/MATH_1_1/src/test/org/apache/commons/math/stat/FrequencyTest.java
 (original)
+++ 
jakarta/commons/proper/math/branches/MATH_1_1/src/test/org/apache/commons/math/stat/FrequencyTest.java
 Fri Aug 26 06:40:32 2005
@@ -128,6 +128,7 @@
 assertEquals(2L, f.getCumFreq('b'));
 assertEquals(0.25, f.getPct('a'), 0.0);
 asser

Re: R: Re: [vfs] unexpected error compiling commons-vfs 20050825

2005-08-26 Thread Mario Ivankovits

[EMAIL PROTECTED] wrote:
The only version of WebdavFileObject that I can successfully compile is the sandbox. 
This statement introduced in RC1 
 

Sure, this method is new in webdavlib.
If you use this webdavlib snapshot 
http://www.ibiblio.org/maven/slide/jars/jakarta-slide-webdavlib-20050629.161100.jar 
it should work.



---
Mario


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



DO NOT REPLY [Bug 36215] - [Math] HypergeometricDistributionImpl cumulativeProbability calculation overflown

2005-08-26 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
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=36215





--- Additional Comments From [EMAIL PROTECTED]  2005-08-26 15:25 ---
(In reply to comment #15)

I have not had time to get the fix pushed to the trunk, soit will not be in the 
nightly builds yet.  I hope to get around to this today.

Both problems have been resolved.  The problem with returning 0 was caused by a 
simple erroneous boundry value check.  The poor accuracy for small cumulative 
probabilities was the result of a truncation error when performing 1.0 - 
verySmallProbability in certain circumstances.

Of note, the performance for these routines is quite poor for large population 
sizes.  I plan to address these limitations and improve performance post 
release 1.1.




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

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



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

2005-08-26 Thread commons-vfs 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-vfs has an issue affecting its community integration.
This issue affects 8 projects,
 and has been outstanding for 152 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- commons-vfs :  Jakarta commons
- excalibur-fortress-bean :  Repository of reusable components.
- excalibur-fortress-container-impl :  Repository of reusable components.
- excalibur-fortress-container-test :  Repository of reusable components.
- excalibur-monitor :  Repository of reusable components.
- excalibur-sourceresolve :  Repository of reusable components.
- excalibur-xmlutil :  Repository of reusable components.
- logging-log4j-chainsaw :  Chainsaw log viewer


Full details are available at:
http://vmgump.apache.org/gump/public/jakarta-commons/commons-vfs/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Sole output [commons-vfs-26082005.jar] identifier set to project name
 -INFO- Optional dependency slide-webdavclient prerequisite failed with reason 
build timed out
 -INFO- Optional dependency commons-httpclient-2.0-branch failed with reason 
build timed out
 -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-vfs/gump_work/build_jakarta-commons_commons-vfs.html
Work Name: build_jakarta-commons_commons-vfs (Type: Build)
Work ended in a state of : Failed
Elapsed: 5 secs
Command Line: java -Djava.awt.headless=true 
-Xbootclasspath/p:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/usr/local/gump/public/workspace/xml-xerces2/java/build/xercesImpl.jar
 org.apache.tools.ant.Main -Dgump.merge=/x1/gump/public/gump/work/merge.xml 
-Dbuild.sysclasspath=only -Dfinal.name=commons-vfs-26082005 dist 
[Working Directory: /usr/local/gump/public/workspace/jakarta-commons/vfs]
CLASSPATH: 
/opt/jdk1.4/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/vfs/target/classes:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-26082005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-api-26082005.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-26082005.jar:/usr/local/gump/public/workspace/jakarta-commons-sandbox/compress/target/commons-compress-26082005.jar:commons-httpclient-2.0-branch-gump-25082005.jar:/usr/local/gump/public/workspace/jakarta-commons/net/dist/commons-net-26082005.jar:/usr/local/gump/public/workspace/jakarta-slide/webdavclient/dist/lib/jakarta-slide-webdavlib-26082005.jar:/usr/local/gump/packages/jcifs/jcifs-0.8.1.jar:/usr/local/gump/packages/jsch-0.1.18/dist/lib/jsch-gump.jar
-
[javac] location: class org.apache.commons.vfs.provider.http.HttpFileObject
[javac] final Header header = 
method.getResponseHeader("content-length");
[javac]   ^
[javac] 
/x1/gump/public/workspace/jakarta-commons/vfs/src/java/org/apache/commons/vfs/provider/http/HttpFileObject.java:131:
 cannot resolve symbol
[javac] symbol  : class Header 
[javac] location: class org.apache.commons.vfs.provider.http.HttpFileObject
[javac] final Header header = 
method.getResponseHeader("last-modified");
[javac]   ^
[javac] 
/x1/gump/public/workspace/jakarta-commons/vfs/src/java/org/apache/commons/vfs/provider/http/HttpFileObject.java:136:
 cannot resolve symbol
[javac] symbol  : variable DateParser 
[javac] location: class org.apache.commons.vfs.provider.http.HttpFileObject
[javac] return DateParser.parseDate(header.getValue()).getTime();
[javac]^
[javac] 
/x1/gump/public/workspace/jakarta-commons/vfs/src/java/org/apache/commons/vfs/provider/http/HttpFileObject.java:151:
 cannot resolve symbol
[javac] symbol  : class GetMethod 
[javac] location: class org.apache.commons.vfs.provider.http.HttpFileObject
[javac] fina

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

2005-08-26 Thread commons-vfs 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-vfs has an issue affecting its community integration.
This issue affects 8 projects,
 and has been outstanding for 152 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- commons-vfs :  Jakarta commons
- excalibur-fortress-bean :  Repository of reusable components.
- excalibur-fortress-container-impl :  Repository of reusable components.
- excalibur-fortress-container-test :  Repository of reusable components.
- excalibur-monitor :  Repository of reusable components.
- excalibur-sourceresolve :  Repository of reusable components.
- excalibur-xmlutil :  Repository of reusable components.
- logging-log4j-chainsaw :  Chainsaw log viewer


Full details are available at:
http://vmgump.apache.org/gump/public/jakarta-commons/commons-vfs/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Sole output [commons-vfs-26082005.jar] identifier set to project name
 -INFO- Optional dependency slide-webdavclient prerequisite failed with reason 
build timed out
 -INFO- Optional dependency commons-httpclient-2.0-branch failed with reason 
build timed out
 -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-vfs/gump_work/build_jakarta-commons_commons-vfs.html
Work Name: build_jakarta-commons_commons-vfs (Type: Build)
Work ended in a state of : Failed
Elapsed: 5 secs
Command Line: java -Djava.awt.headless=true 
-Xbootclasspath/p:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/usr/local/gump/public/workspace/xml-xerces2/java/build/xercesImpl.jar
 org.apache.tools.ant.Main -Dgump.merge=/x1/gump/public/gump/work/merge.xml 
-Dbuild.sysclasspath=only -Dfinal.name=commons-vfs-26082005 dist 
[Working Directory: /usr/local/gump/public/workspace/jakarta-commons/vfs]
CLASSPATH: 
/opt/jdk1.4/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/vfs/target/classes:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-26082005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-api-26082005.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-26082005.jar:/usr/local/gump/public/workspace/jakarta-commons-sandbox/compress/target/commons-compress-26082005.jar:commons-httpclient-2.0-branch-gump-25082005.jar:/usr/local/gump/public/workspace/jakarta-commons/net/dist/commons-net-26082005.jar:/usr/local/gump/public/workspace/jakarta-slide/webdavclient/dist/lib/jakarta-slide-webdavlib-26082005.jar:/usr/local/gump/packages/jcifs/jcifs-0.8.1.jar:/usr/local/gump/packages/jsch-0.1.18/dist/lib/jsch-gump.jar
-
[javac] location: class org.apache.commons.vfs.provider.http.HttpFileObject
[javac] final Header header = 
method.getResponseHeader("content-length");
[javac]   ^
[javac] 
/x1/gump/public/workspace/jakarta-commons/vfs/src/java/org/apache/commons/vfs/provider/http/HttpFileObject.java:131:
 cannot resolve symbol
[javac] symbol  : class Header 
[javac] location: class org.apache.commons.vfs.provider.http.HttpFileObject
[javac] final Header header = 
method.getResponseHeader("last-modified");
[javac]   ^
[javac] 
/x1/gump/public/workspace/jakarta-commons/vfs/src/java/org/apache/commons/vfs/provider/http/HttpFileObject.java:136:
 cannot resolve symbol
[javac] symbol  : variable DateParser 
[javac] location: class org.apache.commons.vfs.provider.http.HttpFileObject
[javac] return DateParser.parseDate(header.getValue()).getTime();
[javac]^
[javac] 
/x1/gump/public/workspace/jakarta-commons/vfs/src/java/org/apache/commons/vfs/provider/http/HttpFileObject.java:151:
 cannot resolve symbol
[javac] symbol  : class GetMethod 
[javac] location: class org.apache.commons.vfs.provider.http.HttpFileObject
[javac] fina

R: Re: [vfs] unexpected error compiling commons-vfs 20050825

2005-08-26 Thread andrea.rombaldi
I have checked out from the svn.apache.org/repos/asf repository the following 
vfs 
versions: sandbox, rc1, rc2, rc3 and the current trunk. I am using eclipse with 
subclipse.

The only version of WebdavFileObject that I can successfully compile is the 
sandbox. 
This statement introduced in RC1 

fileObject.resource.addRequestHeader("Range", "bytes="
+ filePointer + "-");

seems to be wrong because the member variable 'resource' is a 
org.apache.webdav.lib.
WebdavResource, which does not provide the addRequestHeader() method.

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



Re: [all] SVN down?

2005-08-26 Thread Henri Yandell
On 8/25/05, James Carman <[EMAIL PROTECTED]> wrote:
> Thanks, Rahul.  Again, I'm somewhat new to this stuff and I appreciate all
> of you folks who are patient with us newbie's and help us along.  Does
> anyone have any idea when this will be back online?  It doesn't look like
> this is a scheduled outage.

The answer to that is always 'ASAP'. :)

IRC'ing to irc.freenode.net #asfinfra usually lets you eavesdrop on
the problem at hand; otherwise someone has been paged relatively
quickly and is trying to understand why X is broken.

Hen

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



svn commit: r240225 - /jakarta/commons/sandbox/proxy/trunk/commons-proxy.iml

2005-08-26 Thread jcarman
Author: jcarman
Date: Fri Aug 26 05:44:40 2005
New Revision: 240225

URL: http://svn.apache.org/viewcvs?rev=240225&view=rev
Log:
Adding back in commons-discovery dependency.

Modified:
jakarta/commons/sandbox/proxy/trunk/commons-proxy.iml

Modified: jakarta/commons/sandbox/proxy/trunk/commons-proxy.iml
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/sandbox/proxy/trunk/commons-proxy.iml?rev=240225&r1=240224&r2=240225&view=diff
==
--- jakarta/commons/sandbox/proxy/trunk/commons-proxy.iml (original)
+++ jakarta/commons/sandbox/proxy/trunk/commons-proxy.iml Fri Aug 26 05:44:40 
2005
@@ -138,6 +138,15 @@
 

   

 

+

+  

+

+  

+

+

+

+  

+

 

   

 




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



svn commit: r240224 - in /jakarta/commons/sandbox/proxy/trunk: ./ commons-proxy.iml

2005-08-26 Thread jcarman
Author: jcarman
Date: Fri Aug 26 05:43:49 2005
New Revision: 240224

URL: http://svn.apache.org/viewcvs?rev=240224&view=rev
Log:
Adding ignore entries.

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

Propchange: jakarta/commons/sandbox/proxy/trunk/
--
--- svn:ignore (original)
+++ svn:ignore Fri Aug 26 05:43:49 2005
@@ -2,5 +2,6 @@
 lib
 build
 dist
+target
 build.properties
 velocity.log

Modified: jakarta/commons/sandbox/proxy/trunk/commons-proxy.iml
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/sandbox/proxy/trunk/commons-proxy.iml?rev=240224&r1=240223&r2=240224&view=diff
==
--- jakarta/commons/sandbox/proxy/trunk/commons-proxy.iml (original)
+++ jakarta/commons/sandbox/proxy/trunk/commons-proxy.iml Fri Aug 26 05:43:49 
2005
@@ -87,16 +87,7 @@
 

   

 

-  

-

-

-

-  

-

-

-  

-

-  

+  

 

 

 

@@ -105,7 +96,7 @@
 

   

 

-  

+  

 

 

 

@@ -114,7 +105,7 @@
 

   

 

-  

+  

 

 

 

@@ -123,7 +114,7 @@
 

   

 

-  

+  

 

 

 

@@ -132,7 +123,7 @@
 

   

 

-  

+  

 

 

 

@@ -141,7 +132,7 @@
 

   

 

-  

+  

 

 

 




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



svn commit: r240223 - /jakarta/commons/sandbox/proxy/trunk/STATUS.html

2005-08-26 Thread jcarman
Author: jcarman
Date: Fri Aug 26 05:43:01 2005
New Revision: 240223

URL: http://svn.apache.org/viewcvs?rev=240223&view=rev
Log:
Adding status file.

Added:
jakarta/commons/sandbox/proxy/trunk/STATUS.html

Added: jakarta/commons/sandbox/proxy/trunk/STATUS.html
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/sandbox/proxy/trunk/STATUS.html?rev=240223&view=auto
==
--- jakarta/commons/sandbox/proxy/trunk/STATUS.html (added)
+++ jakarta/commons/sandbox/proxy/trunk/STATUS.html Fri Aug 26 05:43:01 2005
@@ -0,0 +1,144 @@
+

+

+

+Status File for Jakarta Commons "Proxy" Package

+

+

+

+

+

+

+The Jakarta Commons Proxy Package

+$Id$

+[Introduction]

+[Dependencies]

+[Release Info]

+[Committers]

+[Action Items]

+

+

+

+

+

+

+1. INTRODUCTION

+

+The Proxy package contains a set of Java classes that facilitate 
the creation of dynamic proxies.

+

+

+

+2. DEPENDENCIES

+

+The Collections package is dependent upon the following external

+components for development and use:

+

+

+http://java.sun.com/j2se";>Java Development Kit

+(Version 1.5 or later)

+

+

+http://jakarta.apache.org/commons/logging";>Jakarta Commons 
Logging

+(Version 1.0.4 or later) - for logging, required for deployment

+

+

+http://aopalliance.sourceforge.net/";>AOP Alliance

+(Version 1.0 or later) - for method interceptor support, 
required for deployment

+

+

+http://www.junit.org";>JUnit Testing Framework

+(Version 3.8.1 or later) - for unit tests only, not required

+for deployment

+

+

+http://ws.apache.org/axis/";>Apache Axis

+(Version 1.2.1 or later) - used for testing JaxRpcProvider, not 
required for deployment

+(JaxRpcProvider requires some JAX-RPC implementation at runtime if you 
wish to use it)

+

+

+http://jakarta.apache.org/commons/discovery/";>Jakarta Commons 
Discovery

+(Version 0.2 or later) - used for testing JaxRpcProvider (required by 
Axis), not required

+for deployment

+

+

+http://jakarta.apache.org/commons/pool/";>Jakarta Commons 
Pool

+(Version 1.2 or later) - used for testing PooledProvider, not required

+for deployment unless you wish to use PooledProvider

+

+

+http://jakarta.apache.org/commons/collections/";>Jakarta 
Commons Collections

+(Version 3.1 or later) - used for testing PooledProvider (required by 
Jakarta Commons Pool), not required

+for deployment unless you wish to use PooledProvider

+

+

+http://www.jboss.org/products/javassist";>Javassist

+(Version 3.0 or later) - used by JavassistProxyFactory for dynamic 
proxy generation, not

+required for deployment unless you wish to use JavassistProxyFactory

+

+

+http://cglib.sourceforge.net/";>CGLIB

+(Version 2.0.2 or later) - used by CglibProxyFactory for dynamic proxy 
generation, not

+required for deployment unless you wish to use CglibProxyFactory

+

+

+http://www.caucho.com/burlap/index.xtp";>Burlap

+(Version 2.1.7 or later) - used by BurlapProvider, not required for 
deployment unless you wish to

+use BurlapProvider

+

+

+http://www.caucho.com/hessian/index.xtp";>Hessian

+(Version 3.0.1 or later) - used by HessianProvider, not required for 
deployment unless you wish to

+use HessianProvider

+

+

+

+

+

+

+3. RELEASE INFO

+

+Current Release:

+http://jakarta.apache.org/site/binindex.cgi";>Version 0.1

+

+Planned Next Release: 1.0

+

+

+

+4. COMMITTERS

+

+The following individuals are the primary developers and maintainers of this

+component. Developers who plan to use Collections in their own

+projects are encouraged to collaborate on the future development of this

+component to ensure that it continues to meet a variety of needs.

+

+mailto:[EMAIL PROTECTED]">James Carman

+mailto:[EMAIL PROTECTED]">Knut Wannheden

+mailto:[EMAIL PROTECTED]">Jörg Hohwiller

+

+

+

+

+5. ACTION ITEMS

+

+

+Want to help?

+All ideas and suggestions should be made to the commons mailing lists,

+commons-user at jakarta.apache.org and commons-dev at jakarta.apache.org.

+Please prefix any emails by [collections] to pass mail filters.

+

+

+

+
\ No newline at end of file



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



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

2005-08-26 Thread jcarman
Author: jcarman
Date: Fri Aug 26 05:42:45 2005
New Revision: 240222

URL: http://svn.apache.org/viewcvs?rev=240222&view=rev
Log:
Changed version number.

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

Modified: jakarta/commons/sandbox/proxy/trunk/build.xml
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/sandbox/proxy/trunk/build.xml?rev=240222&r1=240221&r2=240222&view=diff
==
--- jakarta/commons/sandbox/proxy/trunk/build.xml (original)
+++ jakarta/commons/sandbox/proxy/trunk/build.xml Fri Aug 26 05:42:45 2005
@@ -1,6 +1,6 @@
 

 

-

+

 

 

 




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



RE: [proxy] vs proxytoys

2005-08-26 Thread Jörg Schaible
James Carman wrote on Friday, August 26, 2005 2:02 PM:

> Jörg (is that pronounced "yorg" or "george"?),

"yerk" seems closest

:)

- Jörg

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



[jira] Closed: (JELLY-219) Fix for JELLY-214 broke attribute behaviour of define:tag

2005-08-26 Thread peter royal (JIRA)
 [ http://issues.apache.org/jira/browse/JELLY-219?page=all ]
 
peter royal closed JELLY-219:
-

Fix Version: 1.1-beta-1
 Resolution: Fixed

Fixed! Thanks!

> Fix for JELLY-214 broke attribute behaviour of define:tag
> -
>
>  Key: JELLY-219
>  URL: http://issues.apache.org/jira/browse/JELLY-219
>  Project: jelly
> Type: Bug
>   Components: core / taglib.core, taglib.define
> Versions: 1.0-beta-4, 1.1-beta-1, 1.0-beta-5
>  Environment: Window XP, JDK1.5, Ant 1.6.5
> Reporter: Tony Robertson
>  Fix For: 1.1-beta-1

>
> When using the "tag" tag of the jelly:define taglib, the resulting tag is 
> supposed to support attributes getting exposed as context variables. eg:
>   
>   
>   message attribute is ${msg}
>   tag body is 
>   
>   
>   
> ...
>   other stuff
> This was broken by change to "org.apache.commons.jelly.impl.StaticTagScript" 
> that was introduced at revision 219726 as a fix for "JELLY-214" 
> Now, if any attributes are set on the tag, you get a class-cast exception 
> thrown when line 103 tries to cast the dynamic tag to a static tag.
> In fact, the condition on line 102 really doesn't make sense. Clearly the 
> "tag instanceof StaticTag" should be always required. I think the || 
> condition should probably be an &&.
> The following patch fixes this problem, but paul should probably check what 
> the intention of that line originally was.
> - Tony
> Index: StaticTagScript.java
> ===
> --- StaticTagScript.java  (revision 233399)
> +++ StaticTagScript.java  (working copy)
> @@ -99,7 +99,7 @@
>  value = expression.evaluate(context);
>  }
>  
> -if(expat.prefix!=null || expat.prefix.length()>0 && tag 
> instanceof StaticTag)
> +if (expat.prefix!=null && expat.prefix.length()>0 && tag 
> instanceof StaticTag)
>  ((StaticTag) dynaTag).setAttribute(name,expat.prefix, 
> expat.nsURI,value);
>  else
>  dynaTag.setAttribute(name, value);

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


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



DO NOT REPLY [Bug 36215] - [Math] HypergeometricDistributionImpl cumulativeProbability calculation overflown

2005-08-26 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
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=36215





--- Additional Comments From [EMAIL PROTECTED]  2005-08-26 14:18 ---
hello - i show no change in the behavior of the upperCumulativeProbability(x) 
returning 0.0 when x = 
numsuccess or x = sample size.   i am not sure about the other issue (raised by 
mike hu on 0825).  
perhaps the fix did not make the 0826 build or it is still not fixed.

-- 
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: r240216 - /jakarta/commons/sandbox/proxy/trunk/src/java/org/apache/commons/proxy/factory/javassist/JavassistProxyFactory.java

2005-08-26 Thread jcarman
Author: jcarman
Date: Fri Aug 26 05:18:06 2005
New Revision: 240216

URL: http://svn.apache.org/viewcvs?rev=240216&view=rev
Log:
Now uses log variable from parent class.

Modified:

jakarta/commons/sandbox/proxy/trunk/src/java/org/apache/commons/proxy/factory/javassist/JavassistProxyFactory.java

Modified: 
jakarta/commons/sandbox/proxy/trunk/src/java/org/apache/commons/proxy/factory/javassist/JavassistProxyFactory.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/sandbox/proxy/trunk/src/java/org/apache/commons/proxy/factory/javassist/JavassistProxyFactory.java?rev=240216&r1=240215&r2=240216&view=diff
==
--- 
jakarta/commons/sandbox/proxy/trunk/src/java/org/apache/commons/proxy/factory/javassist/JavassistProxyFactory.java
 (original)
+++ 
jakarta/commons/sandbox/proxy/trunk/src/java/org/apache/commons/proxy/factory/javassist/JavassistProxyFactory.java
 Fri Aug 26 05:18:06 2005
@@ -24,8 +24,6 @@
 import javassist.NotFoundException;

 import org.aopalliance.intercept.MethodInterceptor;

 import org.aopalliance.intercept.MethodInvocation;

-import org.apache.commons.logging.Log;

-import org.apache.commons.logging.LogFactory;

 import org.apache.commons.proxy.ObjectProvider;

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

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

@@ -42,7 +40,6 @@
  */

 public class JavassistProxyFactory extends AbstractProxyFactory

 {

-private static final Log log = LogFactory.getLog( 
JavassistProxyFactory.class );

 private static int classNumber = 0;

 private static final ClassPool classPool = ClassPool.getDefault();

 

@@ -121,7 +118,7 @@
 constructorBody.append( "\tthis.target = $1;\n" );

 for( int i = 0; i < argumentTypes.length; i++ )

 {

-constructorBody.append( "\tthis.argument" + i + " = $" + ( 2 + 
i ) + ";\n" );

+constructorBody.append( "\tthis.argument" ).append( i 
).append( " = $" ).append( 2 + i ).append( ";\n" );

 

 }

 constructorBody.append( "}" );

@@ -153,10 +150,10 @@
 {

 proceedBody.append( "\t" );

 }

-proceedBody.append( "target." + method.getName() + "(" );

+proceedBody.append( "target." ).append( method.getName() ).append( "(" 
);

 for( int i = 0; i < argumentTypes.length; ++i )

 {

-proceedBody.append( "argument" + i );

+proceedBody.append( "argument" ).append( i );

 if( i != argumentTypes.length - 1 )

 {

 proceedBody.append( ", " );




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



svn commit: r240215 - /jakarta/commons/sandbox/proxy/trunk/src/java/org/apache/commons/proxy/factory/AbstractProxyFactory.java

2005-08-26 Thread jcarman
Author: jcarman
Date: Fri Aug 26 05:17:48 2005
New Revision: 240215

URL: http://svn.apache.org/viewcvs?rev=240215&view=rev
Log:
Added log member variable.

Modified:

jakarta/commons/sandbox/proxy/trunk/src/java/org/apache/commons/proxy/factory/AbstractProxyFactory.java

Modified: 
jakarta/commons/sandbox/proxy/trunk/src/java/org/apache/commons/proxy/factory/AbstractProxyFactory.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/sandbox/proxy/trunk/src/java/org/apache/commons/proxy/factory/AbstractProxyFactory.java?rev=240215&r1=240214&r2=240215&view=diff
==
--- 
jakarta/commons/sandbox/proxy/trunk/src/java/org/apache/commons/proxy/factory/AbstractProxyFactory.java
 (original)
+++ 
jakarta/commons/sandbox/proxy/trunk/src/java/org/apache/commons/proxy/factory/AbstractProxyFactory.java
 Fri Aug 26 05:17:48 2005
@@ -18,6 +18,8 @@
 import org.aopalliance.intercept.MethodInterceptor;

 import org.apache.commons.proxy.ProxyFactory;

 import org.apache.commons.proxy.ObjectProvider;

+import org.apache.commons.logging.Log;

+import org.apache.commons.logging.LogFactory;

 

 /**

  * A helpful superclass for [EMAIL PROTECTED] 
org.apache.commons.proxy.ProxyFactory} implementations.

@@ -26,6 +28,13 @@
  */

 public abstract class AbstractProxyFactory implements ProxyFactory

 {

+protected Log log = LogFactory.getLog( getClass() );

+

+public void setLog( Log log )

+{

+this.log = log;

+}

+

 public Object createInterceptorProxy( Object target, MethodInterceptor 
interceptor, Class... proxyInterfaces )

 {

 return createInterceptorProxy( 
Thread.currentThread().getContextClassLoader(), target, interceptor, 
proxyInterfaces );




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



svn commit: r240214 - /jakarta/commons/sandbox/proxy/trunk/PROPOSAL.html

2005-08-26 Thread jcarman
Author: jcarman
Date: Fri Aug 26 05:06:32 2005
New Revision: 240214

URL: http://svn.apache.org/viewcvs?rev=240214&view=rev
Log:
Updated copyright year.

Modified:
jakarta/commons/sandbox/proxy/trunk/PROPOSAL.html

Modified: jakarta/commons/sandbox/proxy/trunk/PROPOSAL.html
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/sandbox/proxy/trunk/PROPOSAL.html?rev=240214&r1=240213&r2=240214&view=diff
==
--- jakarta/commons/sandbox/proxy/trunk/PROPOSAL.html (original)
+++ jakarta/commons/sandbox/proxy/trunk/PROPOSAL.html Fri Aug 26 05:06:32 2005
@@ -1,5 +1,5 @@
 

RE: [proxy] vs proxytoys

2005-08-26 Thread James Carman
Jörg (is that pronounced "yorg" or "george"?),

I checked in the maven files and everything looks great (as you mentioned).
How do I actually get the generated site to be viewable when you go to...

http://jakarta.apache.org/commons/sandbox/proxy



-Original Message-
From: Joerg Hohwiller [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 25, 2005 5:18 PM
To: Jakarta Commons Developers List
Subject: Re: [proxy] vs proxytoys

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi James,

James Carman wrote:
> That's one thing that I could definitely use help with ("mavenization").
> I'm not at all familiar with what it takes to get a project set up with
> Gump, Maven, and all the other stuff. 
Promise is promise:
I made it and it works quite well. You only have to get the jaxrpc.jar
yourself and put it into ~/.maven/repository/jaxrpc/jars/jaxrpc-1.1.jar
I used maven 1.0.2 and a simple
"maven jar" builds the project and "maven site" builds the website
that will occur under target/docs/index.html and is quite nice for 1
hour work :)

I could not check in the maven config to the subversion so I will post
it here. Befor you call "svn add", do not forget to add the following
lines to "~/.subversion/config" in the "[auto-props]" section at the end
 of the file:
*.java = svn:keywords=Id;svn:eol-style=native
*.properties = svn:keywords=Id;svn:eol-style=native
*.xml = svn:keywords=Id;svn:eol-style=native

Put the files on toplevel (in the trunk folder):

project.xml
- ---



  3
  commons-proxy
  Commons Proxy
  commons-proxy
  0.1
  
Apache Software Foundation
http://apache.org
http://apache.org/images/asf_logo_wide.png
  
  2005
  org.apache.commons.proxy
  /images/logo.png
  Java library for dynamic proxying
  http://jakarta.apache.org/commons/sandbox/proxy
  http://issues.apache.org/bugzilla
  jakarta.apache.org
  /somewhere/commons/sandbox/proxy/
  

  

scm:svn:http:svn.apache.org:repos/asf/jakarta/commons/sandbox/pr
oxy:trunk

scm:svn:https:svn.apache.org:repos/asf/jakarta/commons/
sandbox/proxy:trunk

http://svn.apache.org/viewcvs.cgi/jakarta/commons/sandbox/proxy/trunk/<
/url>
  

  

  0.1
  0.1
  Version_0_1

  

  
  

  
commons-dev@jakarta.apache.org
  

  

  James Carman
  carman
  [EMAIL PROTECTED]
  carmanconsulting.com
  
admin
designer
developer
  
  http://www.carmanconsulting.com/
  +1


  

  

  J#246;rg Hohwiller
  [EMAIL PROTECTED]
  
  
mavenizer
  
  


  J#246;rg Schaible
  [EMAIL PROTECTED]
  
  

  
  

  

  

  ASL
  http://www.apache.org/licenses/LICENSE-2.0.txt
  repro

  

  

  cglib
  cglib
  2.1
  http://cglib.sourceforge.net
  
code generation library
  


  javassist
  javassist
  3.0
  http://www.csg.is.titech.ac.jp/~chiba/javassist/
  
java programming assistant - library for bytecode
maniplation
  


  aopalliance
  aopalliance
  1.0
  http://aopalliance.sourceforge.net/
  
AOP standard API
  


  jaxrpc
  jaxrpc
  1.1
  http://java.sun.com/j2ee/
  
XML remote procedure call API
  


  hessian
  hessian
  3.0.1
  http://www.caucho.com/hessian/
  
binary webservices protocol
  


  burlap
  burlap
  2.1.7
  http://www.caucho.com/burlap/
  
library for building webservices really easy
  


  commons-logging
  commons-logging
  1.0.4
  http://jakarta.apache.org/commons/logging/
  
logging abstraction layer
  

  

  
[EMAIL PROTECTED]
${basedir}/src/java
${basedir}/src/test




  
**/*TC.java
  
  
  

  ${maven.src.dir}/test
  
**/*.dtd
**/*.properties
**/*.x*
**/*.mf
**/*.jar
  

  



  
${maven.src.dir}/java

  **/*.dtd
  **/*.properties
  **/*.x*

  
  


  

  
maven-changes-plugin
maven-changelog-plugin
maven-developer-activity-plugin
maven-file-activity-plugin
maven-checkstyle-plugin
maven-javadoc-plugin
maven-jdepend-plugin
maven-junit-report-plugin
maven-jxr-plugin
maven-license-plugin
maven-linkcheck-plugin
maven-tasklist-plugin
maven-faq-plugin

  



project.properties
- --
#$Id: project.properties$

#enable subversion support
maven.changelog.factory=org.apache.maven.svnlib.SvnChangeLogFactory

#xdoc settings
maven.xdoc.data=left

#checkstyle settings
#maven.checkstyle.properties=${basedir}/checkstyle.xml
#maven.checkstyle.header.file=${basedir}/checkstyle.header.txt

###EOF#

DO NOT REPLY [Bug 36352] - [io] create memory efficient ThreadableInputStream

2005-08-26 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
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=36352





--- Additional Comments From [EMAIL PROTECTED]  2005-08-26 14:00 ---
Thanks for the extra info. I agree that it seems a little specialised for 
commons.

-- 
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: r240213 - /jakarta/commons/sandbox/proxy/trunk/project.xml

2005-08-26 Thread jcarman
Author: jcarman
Date: Fri Aug 26 04:59:11 2005
New Revision: 240213

URL: http://svn.apache.org/viewcvs?rev=240213&view=rev
Log:
Updated project.xml file to reflect current project team (fixed umlauts also).

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

Modified: jakarta/commons/sandbox/proxy/trunk/project.xml
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/sandbox/proxy/trunk/project.xml?rev=240213&r1=240212&r2=240213&view=diff
==
--- jakarta/commons/sandbox/proxy/trunk/project.xml (original)
+++ jakarta/commons/sandbox/proxy/trunk/project.xml Fri Aug 26 04:59:11 2005
@@ -64,9 +64,9 @@
 

 

 James Carman

-carman

+jcarman

 [EMAIL PROTECTED]

-carmanconsulting.com

+Carman Consulting, Inc.

 

 admin

 designer

@@ -75,25 +75,36 @@
 http://www.carmanconsulting.com/

 +1

 

-

-

-

-

-

-J#246;rg Hohwiller

+

+Knut Wannheden

+knut

+[EMAIL PROTECTED]

+

+designer

+developer

+

++6

+

+

+Jörg Hohwiller

 [EMAIL PROTECTED]

 

 

 mavenizer

+developer

 

 

-

+

+

+

+

 

-J#246;rg Schaible

+Jörg Schaible

 [EMAIL PROTECTED]

 

 

-

+advisor

+designer

 

 

 




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



DO NOT REPLY [Bug 36352] - [io] create memory efficient ThreadableInputStream

2005-08-26 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
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=36352





--- Additional Comments From [EMAIL PROTECTED]  2005-08-26 13:40 ---
Thanks for further explaining. Well, I really see this as a very special
requirement and not really suitable for a general IO library. It also has the
appearance that you're trying to solve a very specific problem there. But I may
be wrong about that. Maybe you should wait for a second opinion before closing
the issue.

-- 
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: r240202 - /jakarta/commons/sandbox/proxy/trunk/

2005-08-26 Thread jcarman
Author: jcarman
Date: Fri Aug 26 04:15:29 2005
New Revision: 240202

URL: http://svn.apache.org/viewcvs?rev=240202&view=rev
Log:
Ignoring velocity.log (artifact of maven build)

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

Propchange: jakarta/commons/sandbox/proxy/trunk/
--
--- svn:ignore (original)
+++ svn:ignore Fri Aug 26 04:15:29 2005
@@ -3,3 +3,4 @@
 build
 dist
 build.properties
+velocity.log



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



RE: [proxy] vs proxytoys

2005-08-26 Thread James Carman
I actually use the Axis version for unit testing and this works quite fine.
The maven files are checked in, now that everything seems to be back online
at Apache.

-Original Message-
From: Jörg Schaible [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 26, 2005 3:36 AM
To: Jakarta Commons Developers List
Subject: RE: [proxy] vs proxytoys

Joerg Hohwiller wrote on Thursday, August 25, 2005 11:18 PM:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Hi James,
> 
> James Carman wrote:
>> That's one thing that I could definitely use help with
>> ("mavenization"). I'm not at all familiar with what it takes to get a
>> project set up with Gump, Maven, and all the other stuff.
> Promise is promise:
> I made it and it works quite well. You only have to get the
> jaxrpc.jar yourself and put it into
> ~/.maven/repository/jaxrpc/jars/jaxrpc-1.1.jar

Have you tried the one from Geronimo? I started to use these at least for
compile time everywhere.

- Jörg

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




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



svn commit: r240201 - in /jakarta/commons/sandbox/proxy/trunk: project.properties project.xml

2005-08-26 Thread jcarman
Author: jcarman
Date: Fri Aug 26 04:05:30 2005
New Revision: 240201

URL: http://svn.apache.org/viewcvs?rev=240201&view=rev
Log:
Mavenization.

Added:
jakarta/commons/sandbox/proxy/trunk/project.properties
jakarta/commons/sandbox/proxy/trunk/project.xml

Added: jakarta/commons/sandbox/proxy/trunk/project.properties
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/sandbox/proxy/trunk/project.properties?rev=240201&view=auto
==
--- jakarta/commons/sandbox/proxy/trunk/project.properties (added)
+++ jakarta/commons/sandbox/proxy/trunk/project.properties Fri Aug 26 04:05:30 
2005
@@ -0,0 +1,11 @@
+#$Id: project.properties$

+

+#enable subversion support

+maven.changelog.factory=org.apache.maven.svnlib.SvnChangeLogFactory

+

+#xdoc settings

+maven.xdoc.data=left

+

+#checkstyle settings

+#maven.checkstyle.properties=${basedir}/checkstyle.xml

+#maven.checkstyle.header.file=${basedir}/checkstyle.header.txt


Added: jakarta/commons/sandbox/proxy/trunk/project.xml
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/sandbox/proxy/trunk/project.xml?rev=240201&view=auto
==
--- jakarta/commons/sandbox/proxy/trunk/project.xml (added)
+++ jakarta/commons/sandbox/proxy/trunk/project.xml Fri Aug 26 04:05:30 2005
@@ -0,0 +1,293 @@
+

+

+

+3

+commons-proxy

+Commons Proxy

+commons-proxy

+0.1

+

+Apache Software Foundation

+http://apache.org

+http://apache.org/images/asf_logo_wide.png

+

+2005

+org.apache.commons.proxy

+/images/logo.png

+Java library for dynamic proxying

+http://jakarta.apache.org/commons/sandbox/proxy

+http://issues.apache.org/bugzilla

+jakarta.apache.org

+/somewhere/commons/sandbox/proxy/

+

+

+

+

+
scm:svn:http:svn.apache.org:repos/asf/jakarta/commons/sandbox/proxy:trunk

+

+

+
scm:svn:https:svn.apache.org:repos/asf/jakarta/commons/sandbox/proxy:trunk

+

+
http://svn.apache.org/viewcvs.cgi/jakarta/commons/sandbox/proxy/trunk/

+

+

+

+

+0.1

+0.1

+Version_0_1

+

+

+

+

+

+

+

+commons-dev@jakarta.apache.org

+

+

+

+

+James Carman

+carman

+[EMAIL PROTECTED]

+carmanconsulting.com

+

+admin

+designer

+developer

+

+http://www.carmanconsulting.com/

++1

+

+

+

+

+

+

+J#246;rg Hohwiller

+[EMAIL PROTECTED]

+

+

+mavenizer

+

+

+

+

+J#246;rg Schaible

+[EMAIL PROTECTED]

+

+

+

+

+

+

+

+

+

+

+ASL

+http://www.apache.org/licenses/LICENSE-2.0.txt

+repro

+

+

+

+

+

+cglib

+cglib

+2.1

+http://cglib.sourceforge.net

+

+code generation library

+

+

+

+javassist

+javassist

+3.0

+http://www.csg.is.titech.ac.jp/~chiba/javassist/

+

+java programming assistant - library for bytecode 
maniplation

+

+

+

+aopalliance

+aopalliance

+1.0

+http://aopalliance.sourceforge.net/

+

+AOP standard API

+

+

+

+

+axis

+axis

+1.2.1

+http://ws.apache.org/axis/index.html

+

+XML remote procedure call API

+

+

+

+axis

+axis-jaxrpc

+1.2.1

+http://ws.apache.org/axis/index.html

+

+XML remote procedure call API

+

+

+

+axis

+axis-saaj

+1.2.1

+http://ws.apache.org/axis/index.html

+

+XML remote procedure call API

+

+

+

+axis

+axis-wsdl4j

+1.5.1

+http://ws.apache.org/axis/index.html

+

+XML remote procedure call API

+

+

+

+hessian

+hessian

+3.0.1

+http://www.caucho.com/hessian/

+

+binary webservices protocol

+

+

+

+burlap

+burlap

+2.1.7

+

svn commit: r240200 - in /jakarta/commons/sandbox/proxy/trunk: ./ src/java/org/apache/commons/proxy/provider/ src/java/org/apache/commons/proxy/provider/cache/ src/test/org/apache/commons/proxy/provid

2005-08-26 Thread jcarman
Author: jcarman
Date: Fri Aug 26 04:05:04 2005
New Revision: 240200

URL: http://svn.apache.org/viewcvs?rev=240200&view=rev
Log:
Added cached object providers (threaded/pooled)

Added:

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

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

jakarta/commons/sandbox/proxy/trunk/src/java/org/apache/commons/proxy/provider/cache/

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

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

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

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

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

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

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

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

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

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

Modified: jakarta/commons/sandbox/proxy/trunk/build.xml
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/sandbox/proxy/trunk/build.xml?rev=240200&r1=240199&r2=240200&view=diff
==
--- jakarta/commons/sandbox/proxy/trunk/build.xml (original)
+++ jakarta/commons/sandbox/proxy/trunk/build.xml Fri Aug 26 04:05:04 2005
@@ -58,6 +58,8 @@
 

 

 

+

+

 

 

 


Modified: jakarta/commons/sandbox/proxy/trunk/commons-proxy.iml
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/sandbox/proxy/trunk/commons-proxy.iml?rev=240200&r1=240199&r2=240200&view=diff
==
--- jakarta/commons/sandbox/proxy/trunk/commons-proxy.iml (original)
+++ jakarta/commons/sandbox/proxy/trunk/commons-proxy.iml Fri Aug 26 04:05:04 
2005
@@ -129,6 +129,24 @@
 

   

 

+

+  

+

+  

+

+

+

+  

+

+

+  

+

+  

+

+

+

+  

+

 

   

 


Added: 
jakarta/commons/sandbox/proxy/trunk/src/java/org/apache/commons/proxy/provider/CachedProvider.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/sandbox/proxy/trunk/src/java/org/apache/commons/proxy/provider/CachedProvider.java?rev=240200&view=auto
==
--- 
jakarta/commons/sandbox/proxy/trunk/src/java/org/apache/commons/proxy/provider/CachedProvider.java
 (added)
+++ 
jakarta/commons/sandbox/proxy/trunk/src/java/org/apache/commons/proxy/provider/CachedProvider.java
 Fri Aug 26 04:05:04 2005
@@ -0,0 +1,51 @@
+/*

+ *  Copyright 2005 The Apache Software Foundation

+ *

+ *  Licensed under the Apache License, Version 2.0 (the "License");

+ *  you may not use this file except in compliance with the License.

+ *  You may obtain a copy of the License at

+ *

+ *  http://www.apache.org/licenses/LICENSE-2.0

+ *

+ *  Unless required by applicable law or agreed to in writing, software

+ *  distributed under the License is distributed on an "AS IS" BASIS,

+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+ *  See the License for the specific language governing permissions and

+ *  limitations under the License.

+ */

+package org.apache.commons.proxy.provider;

+

+import org.apache.commons.proxy.ObjectProvider;

+import org.apache.commons.proxy.provider.cache.Cache;

+

+/**

+ * @author James Carman

+ * @version 1.0

+ */

+public class CachedProvider extends ProviderDecorator

+{

+private final Object cacheKey = new Object();

+

+private Cache cache;

+

+public CachedProvider( ObjectProvider inner )

+{

+super( inner );

+}

+

+public void setCache( Cache cache )

+{

+this.cache = cache;

+}

+

+public T getObject()

+{

+T object = ( T )cache.retrieveObject( cacheKey );

+if( object == null )

+{

+object = super.getObject();

+cache.storeObject( cacheKey, object );

+}

+return object;

+}

+}


Added: 
jakarta/commons/sandbox/proxy/trunk/src/jav

karma request for commons sandbox

2005-08-26 Thread Knut Wannheden
Hi all,

I'd like to get SVN commit karma for the Commons Sandbox. I'll be
helping out James Carman on the commons-proxy project.

TIA,

--knut

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



DO NOT REPLY [Bug 36215] - [Math] HypergeometricDistributionImpl cumulativeProbability calculation overflown

2005-08-26 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
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=36215





--- Additional Comments From [EMAIL PROTECTED]  2005-08-26 12:27 ---
will this fix be in the 0826 nightly?  does it address both issues raised by 
mike hu?

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

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



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

2005-08-26 Thread dIon Gillard
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-email has an issue affecting its community integration.
This issue affects 8 projects,
 and has been outstanding for 2 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- commons-email :  Commons Email Package
- fulcrum-intake :  Services Framework
- fulcrum-security-adapter-turbine :  Services Framework
- fulcrum-template :  Services Framework
- jakarta-jetspeed :  Enterprise Information Portal
- jakarta-turbine-2 :  A servlet based framework.
- jakarta-turbine-3 :  A servlet based framework.
- scarab :  Issue Tracking Built for the Ages


Full details are available at:

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

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Sole output [commons-email-26082005.jar] identifier set to project name
 -DEBUG- (Gump generated) Maven Properties in: 
/usr/local/gump/public/workspace/jakarta-commons/email/build.properties
 -INFO- Failed with reason build failed
 -DEBUG- Maven POM in: 
/usr/local/gump/public/workspace/jakarta-commons/email/project.xml
 -DEBUG- Maven project properties in: 
/usr/local/gump/public/workspace/jakarta-commons/email/project.properties
 -INFO- Failed to extract fallback artifacts from Gump Repository



The following work was performed:
http://vmgump.apache.org/gump/public/jakarta-commons/commons-email/gump_work/build_jakarta-commons_commons-email.html
Work Name: build_jakarta-commons_commons-email (Type: Build)
Work ended in a state of : Failed
Elapsed: 3 secs
Command Line: maven --offline jar 
[Working Directory: /usr/local/gump/public/workspace/jakarta-commons/email]
CLASSPATH: 
/opt/jdk1.4/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/target/classes:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar:/usr/local/gump/public/workspace/jakarta-commons/lang/dist/commons-lang-26082005.jar:/usr/local/gump/public/workspace/dumbster/build/dumbster.jar:/usr/local/gump/packages/javamail-1.3.2/mail.jar:/usr/local/gump/packages/javamail-1.3.2/lib/mailapi.jar:/usr/local/gump/packages/jaf-1.0.1/activation.jar
-
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0.2

The build cannot continue because of the following unsatisfied dependency:

maven-findbugs-plugin-0.9.1.jar (try downloading from 
http://maven-plugins.sourceforge.net/maven-findbugs-plugin/)

Total time: 2 seconds
Finished at: Fri Aug 26 03:00:45 PDT 2005

-

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

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

--
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-email (in module jakarta-commons) failed

2005-08-26 Thread dIon Gillard
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-email has an issue affecting its community integration.
This issue affects 8 projects,
 and has been outstanding for 2 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- commons-email :  Commons Email Package
- fulcrum-intake :  Services Framework
- fulcrum-security-adapter-turbine :  Services Framework
- fulcrum-template :  Services Framework
- jakarta-jetspeed :  Enterprise Information Portal
- jakarta-turbine-2 :  A servlet based framework.
- jakarta-turbine-3 :  A servlet based framework.
- scarab :  Issue Tracking Built for the Ages


Full details are available at:

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

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Sole output [commons-email-26082005.jar] identifier set to project name
 -DEBUG- (Gump generated) Maven Properties in: 
/usr/local/gump/public/workspace/jakarta-commons/email/build.properties
 -INFO- Failed with reason build failed
 -DEBUG- Maven POM in: 
/usr/local/gump/public/workspace/jakarta-commons/email/project.xml
 -DEBUG- Maven project properties in: 
/usr/local/gump/public/workspace/jakarta-commons/email/project.properties
 -INFO- Failed to extract fallback artifacts from Gump Repository



The following work was performed:
http://vmgump.apache.org/gump/public/jakarta-commons/commons-email/gump_work/build_jakarta-commons_commons-email.html
Work Name: build_jakarta-commons_commons-email (Type: Build)
Work ended in a state of : Failed
Elapsed: 3 secs
Command Line: maven --offline jar 
[Working Directory: /usr/local/gump/public/workspace/jakarta-commons/email]
CLASSPATH: 
/opt/jdk1.4/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/target/classes:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar:/usr/local/gump/public/workspace/jakarta-commons/lang/dist/commons-lang-26082005.jar:/usr/local/gump/public/workspace/dumbster/build/dumbster.jar:/usr/local/gump/packages/javamail-1.3.2/mail.jar:/usr/local/gump/packages/javamail-1.3.2/lib/mailapi.jar:/usr/local/gump/packages/jaf-1.0.1/activation.jar
-
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0.2

The build cannot continue because of the following unsatisfied dependency:

maven-findbugs-plugin-0.9.1.jar (try downloading from 
http://maven-plugins.sourceforge.net/maven-findbugs-plugin/)

Total time: 2 seconds
Finished at: Fri Aug 26 03:00:45 PDT 2005

-

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

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

--
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 36352] - [io] create memory efficient ThreadableInputStream

2005-08-26 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
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=36352


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |NEEDINFO




--- Additional Comments From [EMAIL PROTECTED]  2005-08-26 09:59 ---
If you start by having a byte[] e.g. in a singleton, your argument is right.
However if you start by having a ByteArrayInputStream (e.g. received from mysql
jdbc), each time you construct a new ByteArrayInputStream for an additional
thread by doing a java.io.ByteArrayInputStream.read(byte b[], int off, int len)
where len equals the entire array length as per available(), to obtain the
byte[] for constructing the java.io.ByteArrayInputStream for the next Thread,
you always get a System.arraycopy(buf, pos, b, off, len), so by allocating b,
your memory consumption grows with each additional thread.

So, yes, by actively managing one single byte[] once instead of a
ByteArrayInputStream and use it to construct a java.io.ByteArrayInputStream for
each Thread, a ThreadableInputStream class may become obsolete.
So, if you think this pattern is the way to go I am fine with resolving this as
"WONTFIX" - what do you think?

-- 
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: r240163 - in /jakarta/commons/proper/math/branches/MATH_1_1/src: java/org/apache/commons/math/distribution/ test/org/apache/commons/math/ test/org/apache/commons/math/distribution/

2005-08-26 Thread brentworden
Author: brentworden
Date: Thu Aug 25 22:00:02 2005
New Revision: 240163

URL: http://svn.apache.org/viewcvs?rev=240163&view=rev
Log:
PR 36215: Fixed summation problem from adding very small point probabilities.

Modified:

jakarta/commons/proper/math/branches/MATH_1_1/src/java/org/apache/commons/math/distribution/HypergeometricDistributionImpl.java

jakarta/commons/proper/math/branches/MATH_1_1/src/test/org/apache/commons/math/TestUtils.java

jakarta/commons/proper/math/branches/MATH_1_1/src/test/org/apache/commons/math/distribution/HypergeometricDistributionTest.java

Modified: 
jakarta/commons/proper/math/branches/MATH_1_1/src/java/org/apache/commons/math/distribution/HypergeometricDistributionImpl.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/math/branches/MATH_1_1/src/java/org/apache/commons/math/distribution/HypergeometricDistributionImpl.java?rev=240163&r1=240162&r2=240163&view=diff
==
--- 
jakarta/commons/proper/math/branches/MATH_1_1/src/java/org/apache/commons/math/distribution/HypergeometricDistributionImpl.java
 (original)
+++ 
jakarta/commons/proper/math/branches/MATH_1_1/src/java/org/apache/commons/math/distribution/HypergeometricDistributionImpl.java
 Thu Aug 25 22:00:02 2005
@@ -81,11 +81,9 @@
 if (x < domain[0]) {
 ret = 0.0;
 } else if(x >= domain[1]) {
-ret = 1.0;
-} else if (x - domain[0] < domain[1] - x) {
-ret = lowerCumulativeProbability(domain[0], x, n, m, k);
+   ret = 1.0;
 } else {
-   ret = 1.0 - upperCumulativeProbability(x + 1, domain[1], n, m, 
k);
+ret = innerCumulativeProbability(domain[0], x, 1, n, m, k);
 }
 
 return ret;
@@ -179,28 +177,6 @@
 }
 
 /**
- * For this disbution, X, this method returns P(x0 ≤ X ≤ x1).  This
- * probability is computed by summing the point probabilities for the 
values
- * x0, x0 + 1, x0 + 2, ..., x1, in that order. 
- * @param x0 the inclusive, lower bound
- * @param x1 the inclusive, upper bound
- * @param n the population size.
- * @param m number of successes in the population.
- * @param k the sample size.
- * @return P(x0 ≤ X ≤ x1). 
- */
-private double lowerCumulativeProbability(
-int x0, int x1, int n, int m, int k)
-{
-   double ret;
-   ret = 0.0;
-   for (int i = x0; i <= x1; ++i) {
-   ret += probability(n, m, k, i);
-   }
-   return ret;
-   }
-
-/**
  * For this disbution, X, this method returns P(X = x).
  * 
  * @param x the value at which the PMF is evaluated.
@@ -294,36 +270,36 @@
 int[] domain = getDomain(n, m, k);
 if (x < domain[0]) {
 ret = 1.0;
-} else if(x >= domain[1]) {
+} else if(x > domain[1]) {
 ret = 0.0;
-} else if (x - domain[0] < domain[1] - x) {
-   ret = 1.0 - lowerCumulativeProbability(domain[0], x - 1, n, m, 
k);
 } else {
-   ret = upperCumulativeProbability(x, domain[1], n, m, k);
+   ret = innerCumulativeProbability(domain[1], x, -1, n, m, k);
 }
 
 return ret;
 }
-
+   
 /**
  * For this disbution, X, this method returns P(x0 ≤ X ≤ x1).  This
  * probability is computed by summing the point probabilities for the 
values
- * x1, x1 - 1, x1 - 2, ..., x0, in that order. 
+ * x0, x0 + 1, x0 + 2, ..., x1, in the order directed by dx. 
  * @param x0 the inclusive, lower bound
  * @param x1 the inclusive, upper bound
+ * @param dx the direction of summation. 1 indicates summing from x0 to x1.
+ *   0 indicates summing from x1 to x0.
  * @param n the population size.
  * @param m number of successes in the population.
  * @param k the sample size.
  * @return P(x0 ≤ X ≤ x1). 
  */
-private double upperCumulativeProbability(
-   int x0, int x1, int n, int m, int k)
+private double innerCumulativeProbability(
+   int x0, int x1, int dx, int n, int m, int k)
 {
-   double ret = 0.0;
-   for (int i = x1; i >= x0; --i) {
-   ret += probability(n, m, k, i);
+   double ret = probability(n, m, k, x0);
+   while (x0 != x1) {
+   x0 += dx;
+   ret += probability(n, m, k, x0);
}
return ret;
}
-
 }

Modified: 
jakarta/commons/proper/math/branches/MATH_1_1/src/test/org/apache/commons/math/TestUtils.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/math/branches/MATH_1_1/src/test/org/apache/commons/math/TestUtils.java?rev=240163&r1=240162&r2=240163&view=diff
==
--- 
jakarta/commons/proper/math/branches/MATH_1_1/src/test/org/apache/commons/m

DO NOT REPLY [Bug 36352] - [io] create memory efficient ThreadableInputStream

2005-08-26 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
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=36352





--- Additional Comments From [EMAIL PROTECTED]  2005-08-26 08:17 ---
I don't understand why you think you need this. A ByteArrayInputStream does 
not modify or duplicate the byte[] that it receives in its constructor. It is 
safe to create multiple ByteArrayInputStreams on the same byte[] instance and 
to access it concurrently. Puzzled, sorry.

-- 
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: [proxy] vs proxytoys

2005-08-26 Thread Jörg Schaible
Joerg Hohwiller wrote on Thursday, August 25, 2005 11:18 PM:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Hi James,
> 
> James Carman wrote:
>> That's one thing that I could definitely use help with
>> ("mavenization"). I'm not at all familiar with what it takes to get a
>> project set up with Gump, Maven, and all the other stuff.
> Promise is promise:
> I made it and it works quite well. You only have to get the
> jaxrpc.jar yourself and put it into
> ~/.maven/repository/jaxrpc/jars/jaxrpc-1.1.jar

Have you tried the one from Geronimo? I started to use these at least for 
compile time everywhere.

- Jörg

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



svn commit: r240164 - /jakarta/commons/proper/fileupload/trunk/src/java/org/apache/commons/fileupload/MultipartStream.java

2005-08-26 Thread martinc
Author: martinc
Date: Thu Aug 25 22:11:10 2005
New Revision: 240164

URL: http://svn.apache.org/viewcvs?rev=240164&view=rev
Log:
Avoid magic number. Reported by Jian Chen. Thanks!

Modified:

jakarta/commons/proper/fileupload/trunk/src/java/org/apache/commons/fileupload/MultipartStream.java

Modified: 
jakarta/commons/proper/fileupload/trunk/src/java/org/apache/commons/fileupload/MultipartStream.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/fileupload/trunk/src/java/org/apache/commons/fileupload/MultipartStream.java?rev=240164&r1=240163&r2=240164&view=diff
==
--- 
jakarta/commons/proper/fileupload/trunk/src/java/org/apache/commons/fileupload/MultipartStream.java
 (original)
+++ 
jakarta/commons/proper/fileupload/trunk/src/java/org/apache/commons/fileupload/MultipartStream.java
 Thu Aug 25 22:11:10 2005
@@ -427,7 +427,7 @@
 ByteArrayOutputStream baos = new ByteArrayOutputStream();
 int sizeMax = HEADER_PART_SIZE_MAX;
 int size = 0;
-while (i < 4) {
+while (i < HEADER_SEPARATOR.length) {
 try {
 b[0] = readByte();
 } catch (IOException e) {



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



DO NOT REPLY [Bug 36215] - [Math] HypergeometricDistributionImpl cumulativeProbability calculation overflown

2005-08-26 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
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=36215


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution||FIXED




--- Additional Comments From [EMAIL PROTECTED]  2005-08-26 07:14 ---
Fixed.  SVN revision 240613.  Fixed in MATH_1_1 branch.

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