Bernd | 20 Jan 18:26 2015
Picon

Commos Vfs2 release state

Hello Helder,

it is hard to say how long the release process will take - it depends on
how often votes will fail and what will be required to make them pass.

I am working on it and I think I can start the vote next month. I am
somehwat positive that we will manage a release this year :)

You can track the state here or on dev <at> commons mailing list.

https://wiki.apache.org/commons/VfsReleaseState

It is generally a good idea to do testing now, I do not plan to add any
more bugfixes (unless somebody sends a clean and simple patch which
includes tests).

Gruss

Bernd

*Von:* Hélder Sousa [mailto:htmsousa <at> gmail.com]
*Gesendet:* Dienstag, 20. Januar 2015 18:08
*An:* ecki <at> apache.org
*Betreff:* Commos Vfs2

Hi Bernd,

Any idea when the Commos Vfs2 version 2.1 will be released?
Thanks

(Continue reading)

Jan Swaelens | 16 Jan 17:12 2015
Picon

[JCS] Dynamic Cache Expiration on get

Hello,

I have a region set up to expire its data lets say after 60 seconds.
There's also a shrink thread running every 100 seconds.

We add an event handler when storing certain items, in this handler we
implement some logic to re-insert the expired item on the same key.

The problem is, when an item expires 'on get' the expiry handler fires
async and we can't get the updated value in the requesting thread.

Is it possible to act before the item is actually removed to take the
keep/toss away call instead of re-inserting it? Any other suggestions for
solving this pattern?

thanks
ntysdd | 14 Jan 14:25 2015
Picon

[math] About Math.round

Hi,
  I found Oracle has changed the specification of Math.round and
StrictMath.round.
  See http://bugs.java.com/bugdatabase/view_bug.do?bug_id=6430675
  These methods had surprising behavior for some values. (The bug
report didn't mention that, but these methods would fail also on large
integers. I believe Java 7 still have this bug.)
  Does commons math plan to change the behavior?
Benedikt Ritter | 14 Jan 11:25 2015
Picon

[ANNOUNCEMENT] Apache Commons Validator 1.4.1 released!

The Apache Commons Team is pleased to announce the release of Apache
Commons Validator 1.4.1.

Apache Commons Validator provides the building blocks for both client side
validation and server side data validation. It may be used standalone or
with a framework like Struts.

1.4.1 is fully binary compatible to the last release. No client code
changes are required to migrate from version 1.4 to 1.4.1. The minimum
required JDK version for this release is 1.4.

Source and binary distributions are available for download from the Apache
Commons download site:
  http://commons.apache.org/proper/commons-validator/download_validator.cgi

When downloading, please verify signatures using the KEYS file available at
the above location when downloading the release.

Alternatively the release can be pulled via maven:
<dependency>
  <groupId>commons-validator</groupId>
  <artifactId>commons-validator</artifactId>
  <version>1.4.1</version>
</dependency>

Full details of all the changes in 1.4.1 can be found in the changelog:
  http://commons.apache.org/proper/commons-validator/changes-report.html

For complete information on Commons Validator, including instructions on
how to submit bug reports, patches, or suggestions for improvement, see the
(Continue reading)

Gilles | 9 Jan 16:01 2015

[Math] Statistics summary

Hi.

What is the suggested way to obtain the statistics summary
of an _array_ of values?

There is "SummaryStatistics" in "o.a.c.m.stat.descriptive"
but one need to explicitly write the loop to call "addValue"
for each element.
[Shouldn't there be a constructor that takes a "double[]"
argument?]

There are the methods "StatUtils" but I suspect that it's
not the most efficient way when several values must be
retrieved (mean, variance, ...). [Moreover, no method
exists to directly return the standard deviation.]

Best regards,
Gilles
jeevi tesh | 6 Jan 17:55 2015
Picon

Adding CData to xml property

Hi,

Need to add CDATA into XML Property element, but special character are
getting added. Here is my code. Please give your thoughts on the same.

Here is the code.

String cDataTagStart="\\<![CDATA[";

String cDataTagEnd="]]\\>";

credentialsURL =cDataTagStart+credentialsURL+cDataTagEnd;

xmlContentOfMetaData = CredentialProvider.*getInstance*();

xmlContentOfMetaData.addProperty("Resource(-1).ResourceName", resourceName);

xmlContentOfMetaData.addProperty("Resource.ResourceURL", credentialsURL);

But Special characters are getting added

ResourceName>TESTRESOURCENAME</ResourceName>

<ResourceURL>\&lt;![CDATA[TESTCredentialsURLS2]]\&gt;</ResourceURL>

Thanks

jeevitesh
Schalk Cronjé | 3 Jan 01:51 2015
Picon

[VFS] Is is safe to use FileObjects from different FileSystemManagers ?

Hi all,

I have been wondering about this one for a while.

Assume that I have instances of FileSystemManager

   FileSystemManager fsm1
   FileSystemManager fsm2

   FileObject fo1 = fsm1.resolveFile( 'ftp://some-server/file1' )
   FileObject fo2 = fsm2.resolveFile( 'ftp://other-server/file2' )

Is it safe to allow the two FileObjects to co-operate?

   fo1.moveTo(fo2).

--

-- 
Schalk W. Cronjé
Twitter / Ello / Toeter :  <at> ysb33r
jeevi tesh | 2 Jan 19:50 2015
Picon

Adding New property

Hi,
I need to add a new property facing lots of issue suggestion required.
Here is my XML format
<?xml version="1.0" encoding="UTF-8"?>
<Resources>
 <Resource>
  <ResourceName>blackwoods</ResourceName>
  <ResourceURL><![CDATA[WWW.blackwoods.com]]></ResourceURL>
 </Resource>

 <Resource>
  <ResourceName>ordermax</ResourceName>
  <ResourceURL><![CDATA[http://www.ordermax.com]]></ResourceURL>
 </Resource>
</Resources>

I need to add new property like
 <Resource>
  <ResourceName>dell</ResourceName>
  <ResourceURL><![CDATA[http://www.dell.com]]></ResourceURL>
 </Resource>
i Have tried like
1. addProperty("Resource.ResourceName") -> issue with this approach is it
add within last element like
 <Resource>
  <ResourceName>ordermax</ResourceName>
  <ResourceURL><![CDATA[http://www.ordermax.com]]></ResourceURL>
<ResourceName>dell</ResourceName>
  <ResourceURL><![CDATA[http://www.dell.com]]></ResourceURL>
 </Resource>
(Continue reading)

Paulo Roberto Massa Cereda | 1 Jan 23:34 2015
Picon

[lang] SystemUtils and Cygwin

Dear friends,

I have to execute a certain system command according to the underlying 
operating system; so far, SystemUtils works like a charm. But now I'm 
facing a quite peculiar situation: I'd need to run a different code if 
my Java application is being invoked from a Cygwin session.

I do not have a Windows machine (that's good!) so I cannot test how 
things go (that's bad!). Do you guys know if it's possible to find out 
if my code is running with Cygwin?

Any help is greatly appreciated. :)

All the best and a happy new year!

Paulo
Phil Steitz | 31 Dec 15:52 2014
Picon

[ANNOUNCEMENT] Apache Commons Pool 2.3 released

The Apache Commons Team is pleased to announce the release of Apache
Commons Pool 2.3.

The Apache Commons Pool open source software library provides an
object-pooling API and a number of object pool implementations.

No client code changes are required to migrate from any of the 2.x
versions to 2.3. Users of version 1.x should consult the migration
guide on the Commons Pool web site.

Source and binary distributions are available for download from the
Apache Commons download site:
http://commons.apache.org/proper/commons-pool/download_pool.cgi

When downloading, please verify signatures using the KEYS file
available at the above location.

Full details of all the changes in 2.3 can be found in the changelog:
http://commons.apache.org/proper/commons-pool/changes-report.html

For complete information on Commons Pool, including instructions on
how to submit bug reports, patches, or suggestions for improvement,
see the Apache Commons Pool website:
http://commons.apache.org/proper/commons-pool/

Phil Steitz, on behalf of the Apache Commons community
Luc Maisonobe | 28 Dec 17:06 2014

[ANNOUNCEMENT] Apache Commons Math 3.4 Released

The Apache Commons Team is pleased to announce the availability of
Apache Commons Math 3.4.

Apache Commons Math is a library of lightweight, self-contained
mathematics and statistics components addressing the most common
problems not available in the Java programming language or Commons Lang.

Version 3.4 is a minor release: It combines bug fixes and new features.
Changes to existing features were made in a backwards-compatible way
such as to allow drop-in replacement of the v3.3 JAR file. Most notable
among the new features are: new distributions (Gumbel, Laplace,
Logistic, Nakagami), and improvements on percentiles algorithms (better
handling for NaNs in the regular algorithm, plus a new storeless
implementation). Bicubic and tricubic interpolators have been fixed and
new implementations added. There have been numerous bug fixes and
several improvements on performances or robustness. The minimum version
of the Java platform required to compile and use Apache Commons Math is
Java 5. Users are encouraged to upgrade to this version as this release
not only includes bug fixes but also deprecates numerous classes and
methods that will be deleted from the next major release (4.0).

A full list of all changes can be found in the release notes at
  http://www.apache.org/dist/commons/math/RELEASE-NOTES.txt

Source and binary distributions are available for download from the
Apache Commons download site:

http://commons.apache.org/proper/commons-math/download_math.cgi

When downloading, please verify signatures using the KEYS file available
(Continue reading)


Gmane