Gary Gregory | 25 Aug 20:38 2015

[ANNOUNCEMENT] Apache Commons CSV 1.2

The Apache Commons CSV team is pleased to announce the 1.2 release!

The Apache Commons CSV library provides a simple interface for reading and
writing CSV files of various types.

This is our third release.

Apache Commons CSV requires at least Java 6.

This is a minor feature and bug fix release.

Changes in this version include:


o CSV-157:  Add enum CSVFormat.Predefined that contains the default
CSVFormat values.


o CSV-145:  CSVFormat.with* methods clear the header comments. Thanks to
Frank Ulbricht.
o CSV-156:  Incorrect Javadoc on QuoteMode.NONE. Thanks to Jason

Historical list of changes:

(Continue reading)

Patrick Brunmayr | 25 Aug 16:55 2015

[configuration] How to read an INI Configuration with brackets as list separator


How can i read a configuration like that ?

code = 200
description = Command completed successfully
queuetime = 0
runtime = 0.006
property[count][0] = 164
property[domain][0] = xxx
property[domain][1] = xxx
property[domain][2] = xxx


LINZ AG für Energie, Telekommunikation, Verkehr und Kommunale Dienste
A-4021 Linz, Wiener Straße 151, Postfach 1300, Tel. +43/732/3400-0, E-Mail: info <at>
Sinisa Zec | 25 Aug 10:42 2015

FSM sessions and sending messages

Dear all,

I have created two instances of FSM and I am keeping them in the HashMap. I
can distinguish sessions based on their SessionId:

this.currentSessionId =

I am trying to *send* the message from one FSM session to another. 

                           <send id="sessionIsOutOfService"


type="" event="do.something"


TargetSessionID is a Context variable which is successfuly evaluated by the
GroovyEvaluator to the #_scxml_sessionid, where sessionid is the id of
target session as got from the context (SCXMLSystemContext.SESSIONID_KEY).

The problem is that ioProcessor of the current session is not aware of the
next (target?!) session (checked with debugger). As I can see from the
sources, it is not possible to set the TargetSessionId as another session id
to the ioProcessor and ioProcessor is only aware of the current session.
Error message  is:

(Continue reading)

Dzmitry Shylovich | 19 Aug 11:11 2015


When you guys are planning to release first stable version of common configuration 2?

Best Regards,
Dzmirty Shylovich
Junior Software Engineer

EPAM Systems
Mogilev office, Belarus

Skype:                  dzmitry.shylovich
Mobile phone:         +375 (29) 323-58-41
E-mail:                 Dzmitry_Shylovich <at><mailto:Dzmitry_Shylovich <at>><>

This message is intended only for the use of the individual(s) or entity(ies) to which it is addressed and
contains information that is legally privileged and confidential. If you are not the intended
recipient, or the person responsible for delivering the message to the intended recipient, you are
hereby notified that any dissemination, distribution or copying of this communication is strictly
prohibited. All unintended recipients are obliged to delete this message and destroy any printed copies.

Stefan Bodewig | 19 Aug 05:33 2015

[ANN] Apache Commons Compress 1.10 Released

The Apache Commons Team is pleased to announce the release of Apache
Commons Compress 1.10.

Version 1.10 provides a new infrastructure that allows creating ZIP
archives in parallel as well as improvements and bug fixes for several
archiving and compression formats.

The Apache Commons Compress Library defines a Java API for working with
ar, cpio, tar, zip, 7z, arj, dump, gzip, pack200, bzip2, lzma, snappy,
Z, xz and deflate files.

Release 1.10 moves the former
org.apache.commons.compress.compressors.z._internal_ package which
breaks backwards compatibility for code which used the old package.

This also changes the superclass of ZCompressorInputStream which makes
this class binary incompatible with the one of Compress 1.9.  Code
that extends ZCompressorInputStream will need to be recompiled in
order to work with Compress 1.10.

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

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

Changes in this version include:
(Continue reading)

janulrich | 18 Aug 19:01 2015

[BCEL] How to generate Bytecode for Lambda Expression

I'm using the BCEL_6.0 Snapshot.
I want to implement a bytecode generator for lambda expressions. But
it doesn't seem to work.
I tried with BCELifier and the following imput class:

public class Lambda {

	Runnable methode(){
		return ()->System.out.println(this);

It succeeds in generating the BCEL code but the Lambda Expression is
just ignored by the BCELifier.

Is this going to be implemented in the near future?

Thanks in advance!
Sinisa Zec | 18 Aug 12:27 2015

SCXML and Script and context access


We are using Apache SCXML2 for the project which is based on FSM logic. I am
trying for some time to achieve the following:

1.Set some variables in (Groovy)context from Java – X set of variables

2.Read those values in from the <script> in Groovy (it might be any other
but we have chosen Groovy - other suggestions are welcomed).

3.Set the NEW set of variables (in GroovyContext) from Groovy script – Y set
of variables (in principle it is simple mapping)

4.Read the new values (Y set) from context in Java.

I didn't find another way for the scenario above, but to initialize Y set of
variables to empty values already in Java, before step 3. from above. 

Do you possible have a different suggestion?

Do you think it would be better to try this with Jexl (I did try, but
totally failed to do anything with Context from Jexl script)?

Are you possible aware of any useful examples of context manipulation from
<script> (Groovy or any other)?

Thank you very much in advance!

mit freundlichen Grüßen / with best regards / Lijepi pozdrav
Sinisa Zec 
(Continue reading)

Monty Hall | 13 Aug 23:20 2015

[math] BSP - so given a set of polygon's it'll generate a BSP for me?

Not exactly sure how it works.  I need a BSP on short order.  Given a set
of polygons, I'd like a BSP generated.  Please advise.  Any working code on
how to use it too?


Aman Agarwal | 10 Aug 20:14 2015

[lang] StringUtils.equals bug on non-Strings with identical leading prefix

StringUtils.equals(cs1,cs2) delegates to CharSequence.regionMatches(...) in a way that causes
IndexOutOfBounds when either of cs1/cs2 isn't a String.

Specifically, comparing "foo" and "foobar" for non-String CharSequences bombs due to
CharSequenceUtils.regionMatches(cs1, false, 0, cs2, 0, Math.max(cs1.length(), cs2.length()))
because regionMatches doesn't check for input exhaustion.

Bug appears in default.

-          Aman

Phil Steitz | 7 Aug 15:51 2015

[ANNOUNCEMENT] Apache Commons DBCP 2.1.1 released

The Apache Commons Team is pleased to announce the release of Apache Commons DBCP 2.1.1.

The Apache Commons DBCP open source software library implements database connection pooling. Version
2.1.1 is a patch release, including bug fixes only. Full details of all the changes in version 2.1.1 can be
found in the changelog:

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

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

For complete information on Commons DBCP, including instructions on how to submit bug reports, patches,
or suggestions for improvement, see the Apache Commons DBCP website:

Phil Steitz, on behalf of the Apache Commons community
Luca Vercelli | 3 Aug 11:13 2015

[io] cannot upload more files with ftp

Dear all,
I have a problem with FTP file upload of more than 1 file, using
I can connect to an FTP client, and I can upload 1 file. When I try to
upload a second file, the server disconnects.
Using commons-net 3.3 FTPClient. Here is a minimal Java code:

|||||	public static void main(String[] args) throws IOException {
	    String host = "xxx";
	    String username = "xxx";
	    String password = "xxx";
	    String localFile1 = "xxx";
	    String localFile2 = "xxx";
	    String remoteFolder = "xxx";

	    FTPClient client = new FTPClient();
	    client.connect(host, 21);
	    client.login(username, password);

	    File localfile = new File(localFile1);
	    FTPFile[] files = client.listFiles(localfile.getName());
	    OutputStream os = client.storeFileStream(localfile.getName());
	    FileUtils.copyFile(localfile, os);

	    localfile = new File(localFile2);
	    files = client.listFiles(localfile.getName());
(Continue reading)