Re: [VOTE] Release Commons Pool 1.6-RC2

2012-01-02 Thread Luc Maisonobe
Le 31/12/2011 20:21, Gary Gregory a écrit :
> Good day to you all:
> 
> I have prepared Commons Pool 1.6-RC2.
> 
> The changes from RC1 are to fix: \
> 
> - Relase notes txt are for 1.6, not 1.5.7.
> - Adjust copyright to 2012 from 2011.
> - Bin distro does not include SNAPSHOT files.
> 
> The only changes from 1.5.7 are the additions of generics and therefore
> requires Java 5.
> 
> Tag:
> 
> https://svn.apache.org/repos/asf/commons/proper/pool/tags/POOL_1_6_RC2/
> 
> Site:
> 
> https://people.apache.org/builds/commons/pool/1.6/RC2/
> 
> Binaries:
> 
> https://repository.apache.org/content/repositories/orgapachecommons-006/
> 
> The link above includes checksum files.
>



> [X] +1 release it

Luc

> [ ] +0 almost, please fix:
> [ ] -1 no because:
> 
> This VOTE is open for at least 72 hours (holidays, hangovers, and all),
> until Janurary 1 2011, 23:00 EST.
> 
> Changes:
> o [POOL-208] Support Java 1.5 Generics in version 1.x.
> 
> Thank you and happy new year,
> Gary
> 


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



Re: [VOTE] Release Commons Pool 1.6-RC2

2012-01-02 Thread Jörg Schaible
Hi Gary,

Gary Gregory wrote:

> Good day to you all:
> 
> I have prepared Commons Pool 1.6-RC2.
> 
> The changes from RC1 are to fix: \
> 
> - Relase notes txt are for 1.6, not 1.5.7.
> - Adjust copyright to 2012 from 2011.
> - Bin distro does not include SNAPSHOT files.
> 
> The only changes from 1.5.7 are the additions of generics and therefore
> requires Java 5.
> 
> Tag:
> 
> https://svn.apache.org/repos/asf/commons/proper/pool/tags/POOL_1_6_RC2/
> 
> Site:
> 
> https://people.apache.org/builds/commons/pool/1.6/RC2/
> 
> Binaries:
> 
> https://repository.apache.org/content/repositories/orgapachecommons-006/
> 
> The link above includes checksum files.
> 
> [ ] +1 release it
> [ ] +0 almost, please fix:
> [ ] -1 no because:

+1, builds from source with my compiler zoo

> This VOTE is open for at least 72 hours (holidays, hangovers, and all),
> until Janurary 1 2011, 23:00 EST.

Hard to match .. hehehe :)

- Jörg


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



Re: [VOTE] Release Commons Pool 1.6-RC2

2012-01-02 Thread Gary Gregory
On Jan 2, 2012, at 7:23, "Jörg Schaible"  wrote:

> Hi Gary,
>
> Gary Gregory wrote:
>
>> Good day to you all:
>>
>> I have prepared Commons Pool 1.6-RC2.
>>
>> The changes from RC1 are to fix: \
>>
>> - Relase notes txt are for 1.6, not 1.5.7.
>> - Adjust copyright to 2012 from 2011.
>> - Bin distro does not include SNAPSHOT files.
>>
>> The only changes from 1.5.7 are the additions of generics and therefore
>> requires Java 5.
>>
>> Tag:
>>
>> https://svn.apache.org/repos/asf/commons/proper/pool/tags/POOL_1_6_RC2/
>>
>> Site:
>>
>> https://people.apache.org/builds/commons/pool/1.6/RC2/
>>
>> Binaries:
>>
>> https://repository.apache.org/content/repositories/orgapachecommons-006/
>>
>> The link above includes checksum files.
>>
>> [ ] +1 release it
>> [ ] +0 almost, please fix:
>> [ ] -1 no because:
>
> +1, builds from source with my compiler zoo
>
>> This VOTE is open for at least 72 hours (holidays, hangovers, and all),
>> until Janurary 1 2011, 23:00 EST.
>
> Hard to match .. hehehe :)

Just a new year puzzle ;) it's January 3 of course.

Thank you,
Gary

>
> - Jörg
>
>
> -
> 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



[validator] Commons Validator 1.4.0 release

2012-01-02 Thread Raminderjeet Singh
Hi Devs,

We are using Common Validator in Apache Rave project and faced issue
related to validation of localhost URL's. Using 1.4.0-SNAPSHOT version i am
able to fix the problem but we cant release with Snapshot version jar. What
is the plan to Release 1.4.0 version?

Thanks
Raminder


Re: [lang] 3.2?

2012-01-02 Thread Stephen Colebourne
On 31 December 2011 08:45, Henri Yandell  wrote:
> Three changes of interest. Two are the removal of final on public
> methods. The other is the addition of Serializable to StrBuilder.

As described above, those are source and binary compatible.

Stephen


> Which is the worry? And is it a big enough worry to not keep the change?
>
> Hen
>
> On Wed, Dec 28, 2011 at 6:07 AM, Gary Gregory  wrote:
>> Fire it up! :)
>>
>> Despite what Clirr reports, are the changes really binary compatible?
>>
>> Gary
>>
>> On Wed, Dec 28, 2011 at 2:48 AM, Henri Yandell  wrote:
>>
>>> Of course, I mean 3.2. :)
>>>
>>> On Tue, Dec 27, 2011 at 11:46 PM, Henri Yandell 
>>> wrote:
>>> > Heads up that I'm thinking that 3.3 is ready to be released. 10 issues
>>> > resolved in trunk.
>>> >
>>> > Hen
>>>
>>> -
>>> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
>>> For additional commands, e-mail: dev-h...@commons.apache.org
>>>
>>>
>>
>>
>> --
>> E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
>> JUnit in Action, 2nd Ed: http://bit.ly/ECvg0
>> Spring Batch in Action: http://bit.ly/bqpbCK
>> Blog: http://garygregory.wordpress.com
>> Home: http://garygregory.com/
>> Tweet! http://twitter.com/GaryGregory
>
> -
> 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



[math] Help understanding lower/upper/initialDomain in AbstractContinuousDistribution

2012-01-02 Thread David Erickson
Hi all-
I'm new to using the Math package but it looks great.  I need a couple
distributions that aren't currently included, one as an example is the
Generalized Extreme Value distribution
(http://en.wikipedia.org/wiki/Generalized_extreme_value_distribution).
 I've created a new class GeneralizedExtremeValueDistributionImpl that
extends AbstractContinuousDistribution and implements
cumulativeProbability:

@Override
public double cumulativeProbability(double x) throws MathException {
if (xi != 0) {
return -FastMath.pow(FastMath.E, FastMath.pow(1d+xi*((x -
mu)/sigma), -1/xi));
} else {
return -FastMath.pow(FastMath.E, FastMath.pow(FastMath.E,
-(x-mu)/sigma));
}
}

According to the API I also need to implement getInitialDomain,
getDomainLowerBound, getDomainUpperBound, I looked at the existing
docs and other implementations but I'm still unclear on how these are
used, and what I should be returning, particularly since the existing
implementations primarily check if p is < or > .5 and return a
(frequently) static value.  If anyone could help me shed some light on
this I would be very appreciative.  Primarily I just need to use the
distribution to generate RandomVariable values.

Thanks,
David

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



[GUMP@vmgump]: Project commons-sanselan-test (in module apache-commons) failed

2012-01-02 Thread Gump
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 gene...@gump.apache.org.

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


Full details are available at:

http://vmgump.apache.org/gump/public/apache-commons/commons-sanselan-test/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -WARNING- Overriding Maven settings: 
[/srv/gump/public/workspace/apache-commons/sanselan/gump_mvn_settings.xml]
 -DEBUG- (Apache Gump generated) Apache Maven Settings in: 
/srv/gump/public/workspace/apache-commons/sanselan/gump_mvn_settings.xml
 -INFO- Failed with reason build failed
 -DEBUG- Maven POM in: 
/srv/gump/public/workspace/apache-commons/sanselan/pom.xml
 -INFO- Project Reports in: 
/srv/gump/public/workspace/apache-commons/sanselan/target/surefire-reports



The following work was performed:
http://vmgump.apache.org/gump/public/apache-commons/commons-sanselan-test/gump_work/build_apache-commons_commons-sanselan-test.html
Work Name: build_apache-commons_commons-sanselan-test (Type: Build)
Work ended in a state of : Failed
Elapsed: 2 mins 26 secs
Command Line: /opt/maven2/bin/mvn --batch-mode --settings 
/srv/gump/public/workspace/apache-commons/sanselan/gump_mvn_settings.xml test 
[Working Directory: /srv/gump/public/workspace/apache-commons/sanselan]
M2_HOME: /opt/maven2
-
Running org.apache.commons.sanselan.formats.jpeg.exif.TextFieldTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.54 sec
Running 
org.apache.commons.sanselan.formats.jpeg.exif.WriteExifMetadataExampleTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.774 sec
Running org.apache.commons.sanselan.formats.jpeg.exif.ExifRewriteTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.376 sec
Running org.apache.commons.sanselan.formats.jpeg.exif.MakerNoteFieldTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.528 sec
Running org.apache.commons.sanselan.formats.jpeg.exif.AsciiFieldTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.094 sec
Running org.apache.commons.sanselan.formats.jpeg.exif.ExifDumpTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.485 sec
Running org.apache.commons.sanselan.formats.jpeg.exif.WriteTagsTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.apache.commons.sanselan.formats.jpeg.exif.GpsTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.456 sec
Running org.apache.commons.sanselan.formats.jpeg.iptc.IptcDumpTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.469 sec
Running org.apache.commons.sanselan.formats.jpeg.iptc.IptcUpdateTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.631 sec
Running org.apache.commons.sanselan.common.BinaryFileFunctionsTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.045 sec
Running org.apache.commons.sanselan.common.RationalNumberTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec
Running org.apache.commons.sanselan.common.bytesource.ByteSourceImageTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 17.209 sec
Running org.apache.commons.sanselan.common.bytesource.ByteSourceDataTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.063 sec
Running org.apache.commons.sanselan.color.ColorConversionsTest
Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.025 sec <<< 
FAILURE!

Results :

Failed tests:   
testCMYKtoRGB(org.apache.commons.sanselan.color.ColorConversionsTest): {C: 0.0, 
M: 0.0, Y: 64.0, K: 64.0} expected: but was:

Tests run: 86, Failures: 1, Errors: 0, Skipped: 0

[INFO] 
[ERROR] BUILD FAILURE
[INFO] 
[INFO] There are test failures.

Please refer to 
/srv/gump/public/workspace/apache-commons/sanselan/target/surefire-reports for 
the individual test results.
[INFO] 
[INFO] For more information, run Maven with the -e switch
[INFO] 
[INFO] Total time: 2 minutes 25 seconds
[INFO] Finished at: Tue Jan 03 02:21:57 UTC 2012
[INFO] Final Memory: 34M/83M
[INFO] 

Re: [validator] Commons Validator 1.4.0 release

2012-01-02 Thread Nick Burch

On Mon, 2 Jan 2012, Raminderjeet Singh wrote:
We are using Common Validator in Apache Rave project and faced issue 
related to validation of localhost URL's. Using 1.4.0-SNAPSHOT version i 
am able to fix the problem but we cant release with Snapshot version 
jar. What is the plan to Release 1.4.0 version?


I was hoping to have some time in late December to roll another release, 
but alas I didn't :/


There are a few user contributed fixes in JIRA that need to be applied 
(which fix issues raised in the last release vote), then the site needs a 
few updates, then a release can be built and the vote started


If no-one beats me to it, I'll hopefully get a chance to do all that in a 
week or two


Nick

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



[GUMP@vmgump]: Project commons-proxy-test (in module apache-commons) failed

2012-01-02 Thread Gump
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 gene...@gump.apache.org.

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


Full details are available at:

http://vmgump.apache.org/gump/public/apache-commons/commons-proxy-test/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -WARNING- Overriding Maven settings: 
[/srv/gump/public/workspace/apache-commons/proxy/gump_mvn_settings.xml]
 -DEBUG- (Apache Gump generated) Apache Maven Settings in: 
/srv/gump/public/workspace/apache-commons/proxy/gump_mvn_settings.xml
 -INFO- Failed with reason build failed
 -DEBUG- Maven POM in: /srv/gump/public/workspace/apache-commons/proxy/pom.xml
 -INFO- Project Reports in: 
/srv/gump/public/workspace/apache-commons/proxy/target/surefire-reports



The following work was performed:
http://vmgump.apache.org/gump/public/apache-commons/commons-proxy-test/gump_work/build_apache-commons_commons-proxy-test.html
Work Name: build_apache-commons_commons-proxy-test (Type: Build)
Work ended in a state of : Failed
Elapsed: 11 secs
Command Line: /opt/maven2/bin/mvn --batch-mode --settings 
/srv/gump/public/workspace/apache-commons/proxy/gump_mvn_settings.xml test 
[Working Directory: /srv/gump/public/workspace/apache-commons/proxy]
M2_HOME: /opt/maven2
-
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.apache.commons.proxy.factory.util.TestMethodSignature
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.apache.commons.proxy.provider.TestConstantProvider
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.apache.commons.proxy.interceptor.TestFilteredInterceptor
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.032 sec
Running org.apache.commons.proxy.interceptor.filter.TestPatternFilter
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running org.apache.commons.proxy.interceptor.TestSerializingInterceptor
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec
Running org.apache.commons.proxy.interceptor.TestInterceptorChain
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec
Running org.apache.commons.proxy.invoker.TestNullInvoker
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 sec
Running org.apache.commons.proxy.provider.remoting.TestBurlapProvider
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec
Running org.apache.commons.proxy.exception.TestDelegateProviderException
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.apache.commons.proxy.invoker.TestChainInvoker
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec
Running org.apache.commons.proxy.factory.javassist.TestJavassistProxyFactory
Tests run: 37, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.186 sec
Running org.apache.commons.proxy.exception.TestProxyFactoryException
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.apache.commons.proxy.interceptor.filter.TestReturnTypeFilter
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.apache.commons.proxy.provider.TestBeanProvider
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 sec

Results :

Tests in error: 
  testInvalidHandlerName(org.apache.commons.proxy.invoker.TestXmlRpcInvoker)

Tests run: 179, Failures: 0, Errors: 1, Skipped: 0

[INFO] 
[ERROR] BUILD FAILURE
[INFO] 
[INFO] There are test failures.

Please refer to 
/srv/gump/public/workspace/apache-commons/proxy/target/surefire-reports for the 
individual test results.
[INFO] 
[INFO] For more information, run Maven with the -e switch
[INFO] 
[INFO] Total time: 10 seconds
[INFO] Finished at: Tue Jan 03 05:28:20 UTC 2012
[INFO] Final Memory: 24M/58M
[INFO] 
-

To subscribe to this information via syndicated feeds:
- RSS: 
http://vmgump.apache.org/gump/public/apache-commons/commons-proxy-test/rss.xml
- Atom: 
http://vmgump.apache.o

Re: [math] Help understanding lower/upper/initialDomain in AbstractContinuousDistribution

2012-01-02 Thread Sébastien Brisard
Hi David,
2012/1/2 David Erickson :
> Hi all-
> I'm new to using the Math package but it looks great.  I need a couple
> distributions that aren't currently included, one as an example is the
> Generalized Extreme Value distribution
> (http://en.wikipedia.org/wiki/Generalized_extreme_value_distribution).
>  I've created a new class GeneralizedExtremeValueDistributionImpl that
> extends AbstractContinuousDistribution and implements
> cumulativeProbability:
>
>    @Override
>    public double cumulativeProbability(double x) throws MathException {
>        if (xi != 0) {
>            return -FastMath.pow(FastMath.E, FastMath.pow(1d+xi*((x -
> mu)/sigma), -1/xi));
>        } else {
>            return -FastMath.pow(FastMath.E, FastMath.pow(FastMath.E,
> -(x-mu)/sigma));
>        }
>    }
>
> According to the API I also need to implement getInitialDomain,
> getDomainLowerBound, getDomainUpperBound, I looked at the existing
> docs and other implementations but I'm still unclear on how these are
> used, and what I should be returning, particularly since the existing
> implementations primarily check if p is < or > .5 and return a
> (frequently) static value.  If anyone could help me shed some light on
> this I would be very appreciative.  Primarily I just need to use the
> distribution to generate RandomVariable values.
>
the methods you are referring to are used to provide an initial
bracket to the solver for the computation of the inverse cumulative
probability. It can be a very crude initial guess, provided that it
indeed brackets the root (the solver will do the rest): hence the
static values you are referring to.

Please note that these methods have recently been removed in the
latest version (3.0-SNAPSHOT). The implementation of new distributions
should now be much more straightforward. Are you adverse to using this
version?

Best regards,
Sébastien


>
> Thanks,
> David
>
> -
> 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