Re: [VOTE] Release Commons-Net 1.5.0-RC4

2009-07-21 Thread sebb
On 21/07/2009, Rory Winston  wrote:
> (As per Nialls request, I have created a new RC)
>
>  Tag:
> http://svn.apache.org/viewvc/commons/proper/net/tags/NET_1_5_0_RC4/

NOTICE.txt has:
Copyright 2001-2008

This needs to be updated to -2009.
The first year disagrees with inceptionYear in pom.xml - one of these is wrong.

"mvn test" shows some warnings:
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered
resources, i.e. build is platform dependent!

The POM needs to specify the encoding.


>  Binaries/sources etc:
> http://people.apache.org/~rwinston/commons-net-1.5.0-RC4/

Spurious file: *.bz2.md5

commons-net-1.5.0.pom.asc exists but there is no .pom or .pom.md5

Bad sigs:
commons-net-1.5.0-bin.tar.gz.asc
commons-net-1.5.0-bin.zip.asc
etc.

>  Fixes:
> https://issues.apache.org/jira/secure/IssueNavigator.jspa?reset=true&pid=12310487&fixfor=12312041
>
>
>  +1
>  +0
>  -0
>  -1

-1

>  --Rory
>
>

-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



Re: Commons Dbutils: Request feedback for possible patch; handling nested beans.

2009-07-21 Thread Dan Fabulich

Philip, Anil - Kansas City, MO wrote:


We use dbutils in my team and found a problem when a bean has nested object 
references.
The properties in the nested bean are obviously not filled in.


File a bug with an example?  I'm not sure I quite understand your 
scenario.


http://issues.apache.org/jira/browse/DBUTILS
(You need to login to file a bug.)

-Dan

-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



Re: [VOTE] Release Commons-Net 2.1

2009-07-21 Thread sebb
On 21/07/2009, Rory Winston  wrote:
> Hi folks
>
>  Fix release for the 2.0 branch.
>
>  Binaries/sources etc:
> http://people.apache.org/~rwinston/commons-net-2.1-RC1/

There's a pom.asc file, but no .pom nor a pom.md5

commons-net-2.1-SNAPSHOT-bin.tar.bz2.asc fails to validate
[commons-net-2.1-SNAPSHOT-bin.tar.bz2.md5 is OK, so I assume the
download of commons-net-2.1-SNAPSHOT-bin.tar.bz2 was OK]

Likewise for:

commons-net-2.1-SNAPSHOT-bin.tar.gz.asc
commons-net-2.1-SNAPSHOT-bin.zip.asc
commons-net-2.1-SNAPSHOT-javadoc.jar.asc
commons-net-2.1-SNAPSHOT-sources.jar.asc
commons-net-2.1-SNAPSHOT-src.tar.bz2.asc
commons-net-2.1-SNAPSHOT-src.tar.gz.asc
commons-net-2.1-SNAPSHOT-src.zip.asc

The only sigs which work for me are:

commons-net-2.1-SNAPSHOT.jar.asc
commons-net-ftp-2.1-SNAPSHOT.jar.asc

>  Tag:
> http://svn.apache.org/viewvc/commons/proper/net/tags/NET_2_1_RC1/

Missing AL header:
src/main/java/org/apache/commons/net/nntp/ThreadContainer.java

NOTICE.txt has:
Copyright 2001-2008

This needs to be updated to -2009.
The first year disagrees with inceptionYear in pom.xml - one of these is wrong.

"mvn test" shows some warnings:
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered
resources, i.e. build is platform dependent!

The POM needs to specify the encoding.

Also, I got the following test failure twice:

---
Test set: org.apache.commons.net.telnet.TelnetClientTest
---
Tests run: 8, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 44.063
sec <<< FAILURE!
testSetReaderThread(org.apache.commons.net.telnet.TelnetClientTest)
Time elapsed: 5.047 sec  <<< FAILURE!
junit.framework.AssertionFailedError: Expected negotiation1_ok to be
true, got false
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.assertTrue(Assert.java:20)
at 
org.apache.commons.net.telnet.TelnetClientTest.testSetReaderThread(TelnetClientTest.java:828)


This does not happen every time.

>  Fixes:
> https://issues.apache.org/jira/secure/IssueNavigator.jspa?reset=true&pid=12310487&fixfor=12313001
>
>  +1
>  +0
>  -0
>  -1

So -1 from me.

>  Thanks
>  -- Rory
>
>
>
> -
>  To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
>  For additional commands, e-mail: dev-h...@commons.apache.org
>
>

-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



Re: svn commit: r796546 - in /commons/proper/math/trunk: ./ src/java/org/apache/commons/math/ src/java/org/apache/commons/math/random/ src/site/xdoc/ src/site/xdoc/userguide/ src/test/org/apache/commo

2009-07-21 Thread Luc Maisonobe
l...@apache.org a écrit :
> Author: luc
> Date: Tue Jul 21 21:38:55 2009
> New Revision: 796546
> 
> URL: http://svn.apache.org/viewvc?rev=796546&view=rev
> Log:
> added an implementation of the Mersenne twister pseudo random number generator
> the implementation comes from Mantissa and was a translation of the 2002 
> version
> in C by the algorithm authors, which was published under a BSD license
> 
> Added:
> 
> commons/proper/math/trunk/src/java/org/apache/commons/math/random/MersenneTwister.java
>(with props)
> 
> commons/proper/math/trunk/src/test/org/apache/commons/math/random/MersenneTwisterTest.java
>(with props)
> Modified:
> commons/proper/math/trunk/NOTICE.txt
> commons/proper/math/trunk/RELEASE-NOTES.txt
> 
> commons/proper/math/trunk/src/java/org/apache/commons/math/MessagesResources_fr.java
> commons/proper/math/trunk/src/site/xdoc/changes.xml
> commons/proper/math/trunk/src/site/xdoc/userguide/random.xml

This is an addition I forgot to do before. I felt it was important to
add it for 2.0 because we rely only on JDK PRNG which is really not as
good as the modern ones developed in the last decade. For now, I have
only added Mersenne twister despite it is quite old (1997) and as been
superseded by other generators. It is still a very good generator, fast
and well suited for Monte-Carlo analysis due to its very long period
(2^19937 - 1) and uniform distribution for all dimensions up to 623. The
more modern WELL generators by François Panneton, Pierre L'Ecuyer and
Makoto Matsumoto could be added after 2.0 now that the infrastructure is
in place.

Luc

-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



Commons Dbutils: Request feedback for possible patch; handling nested beans.

2009-07-21 Thread Philip, Anil - Kansas City, MO
Hi,
We use dbutils in my team and found a problem when a bean has nested object 
references.
The properties in the nested bean are obviously not filled in.
I had an idea and implemented a possible fix that works. I would like to know 
before I submit a patch, whether
it really is a solution or if there is a better way. In short, can I get 
feedback here? 
thanks,
Anil Philip
Olathe, KS

-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



Re: [math] RealMatrix.multply in 2.0

2009-07-21 Thread Luc Maisonobe
markus09 a écrit :
> Hello, 
> I am currently a graduate student in Computer Science and I would like to 
> contribute some code, but first I some questions about the architecture. 
> 
> I cannot see, why there is only a RealMatrix.preMultiply() method for
> vectors.
> Is there a reason, why it is not possible to do a (normal) multiplication
> like M*v?

It is possible. The method is called "operate".

> Where can I get more information about the library design choices?

There is no formal summary document. The design choices are discussed on
the developers mailing list (this list) whose archives you can browse at
several places, for example here:
http://commons.markmail.org/search/?q=list%3Aorg.apache.commons.dev

You can ask on the list for explanations too.

Luc

> 
> regards, 
> Markus
> 


-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



[math] RealMatrix.multply in 2.0

2009-07-21 Thread markus09

Hello, 
I am currently a graduate student in Computer Science and I would like to 
contribute some code, but first I some questions about the architecture. 

I cannot see, why there is only a RealMatrix.preMultiply() method for
vectors.
Is there a reason, why it is not possible to do a (normal) multiplication
like M*v?
Where can I get more information about the library design choices?

regards, 
Markus

-- 
View this message in context: 
http://www.nabble.com/-math--RealMatrix.multply-in-2.0-tp24584733p24584733.html
Sent from the Commons - Dev mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



[VOTE] Release Commons-Net 1.5.0-RC4

2009-07-21 Thread Rory Winston

(As per Nialls request, I have created a new RC)

Tag: http://svn.apache.org/viewvc/commons/proper/net/tags/NET_1_5_0_RC4/

Binaries/sources etc: http://people.apache.org/~rwinston/commons-net-1.5.0-RC4/

Fixes:  
https://issues.apache.org/jira/secure/IssueNavigator.jspa?reset=true&pid=12310487&fixfor=12312041


+1
+0
-0
-1


--Rory