Re: [VFS] ClassLoader pickle with OSGi (ClassCastException)

2012-06-13 Thread Ralph Goers
I have no idea why it worked in 1.0 and fails now. As far as I can tell the call to createManager has always been there. I have no idea why. But I also don't know why > Caused by: java.lang.ClassCastException: > org.apache.commons.vfs2.provider.local.DefaultLocalFileProvider cannot be > cast to

Re: [VOTE] Release Commons IO 2.4-RC2

2012-06-13 Thread Simone Tripodi
+1 just found .asc.(md5|sha1) files on repo that can be dropped all the best and confrats once again for the hard work! -Simo http://people.apache.org/~simonetripodi/ http://simonetripodi.livejournal.com/ http://twitter.com/simonetripodi http://www.99soft.org/ On Wed, Jun 13, 2012 at 9:36 PM,

Re: [Math] How to select a specific JDK ?

2012-06-13 Thread Gilles Sadowski
Hello. > > [...] The following: > >> > I should be able to do all combinations, i.e.: > >> >  1. Compile with javac 1.6 and run with java 1.6 > >> >  2. Compile with javac 1.7 and run with java 1.7 is achieved by those respective commands: $ JAVA_1_6_HOME=/usr/lib/jvm/java-6-sun mvn -X -Pjava

[VFS] ClassLoader pickle with OSGi (ClassCastException)

2012-06-13 Thread Gary Gregory
Hi All: When I run under our OSGi (Eclipse Equinox) set up with 2.0, I get this pickle: org.apache.commons.vfs2.FileSystemException: Could not create a file system manager of class "org.apache.commons.vfs2.impl.StandardFileSystemManager". at org.apache.commons.vfs2.VFS.createManager(VFS.java:

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

2012-06-13 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-exec-test has an issue affecting its community integration. This i

Re: [functor] modularization

2012-06-13 Thread Bruno P. Kinoshita
My +1 on this too :-) great idea Matt. Bruno P. Kinoshita http://kinoshita.eti.br http://tupilabs.com > > From: Matt Benson >To: dev@commons.apache.org >Sent: Wednesday, 13 June 2012 1:00 PM >Subject: [functor] modularization > >I think it would be useful to

Re: [VOTE] Release Commons IO 2.4-RC2

2012-06-13 Thread Oliver Heger
Maven and ant builds work fine on Windows 7 with JDK 1.6. Artifacts and site look good. +1 Oliver Am 13.06.2012 00:33, schrieb Gary Gregory: Hello All: This is a VOTE to release Commons IO 2.4-RC2. Changes since RC1: - Fix a bug in the new code for IO-326: Add new FileUtils.sizeOf[Directory

Re: [functor] modularization

2012-06-13 Thread James Carman
I like it! Sounds like something we should do with proxy2! :) On Wed, Jun 13, 2012 at 12:00 PM, Matt Benson wrote: > I think it would be useful to extract at least the interfaces to an > api module, so that other libraries could depend on [functor] without > bringing along everything.  Does any

Re: [Math] How to select a specific JDK ?

2012-06-13 Thread sebb
On 13 June 2012 18:30, Gilles Sadowski wrote: > On Wed, Jun 13, 2012 at 06:59:05PM +0200, Jörg Schaible wrote: >> Gilles Sadowski wrote: >> >> > On Wed, Jun 13, 2012 at 03:05:13PM +0200, Xavier Detant wrote: >> >> The byte code generated by the compiler is totally independent from the >> >> JVM th

Re: [functor] modularization

2012-06-13 Thread Simone Tripodi
great +1 on that - when working towards the first [functor] release, I was worried that if our intention is including [functor] in BVal, I would have brought a lot of unused stuff. count on my support! best, -Simo http://people.apache.org/~simonetripodi/ http://simonetripodi.livejournal.com/ htt

Re: [bsf]

2012-06-13 Thread Ralph Goers
I am sensing that he would like the "history" item at http://commons.apache.org/bsf/faq.html updated to include him. Ralph On Jun 13, 2012, at 10:19 AM, sebb wrote: > On 13 June 2012 17:01, Joseph Kesselman wrote: >> Just a quick note/quibble re BSF's history: >> >> I, Joe Kesselman (the sam

Re: [Math] How to select a specific JDK ?

2012-06-13 Thread Gilles Sadowski
On Wed, Jun 13, 2012 at 06:59:05PM +0200, Jörg Schaible wrote: > Gilles Sadowski wrote: > > > On Wed, Jun 13, 2012 at 03:05:13PM +0200, Xavier Detant wrote: > >> The byte code generated by the compiler is totally independent from the > >> JVM that will be used to run it. > > > > Totally independe

Re: [bsf]

2012-06-13 Thread sebb
On 13 June 2012 17:01, Joseph Kesselman wrote: > Just a quick note/quibble re BSF's history: > > I, Joe Kesselman (the same IBMer who contributed some code to Xerces and > quite a lot to Xalan) did a lot of the early prototyping work on BSF. The > concept and initial sketch was certainly Sanjiva's

Re: [Math] How to use a class from the "test" source tree?

2012-06-13 Thread sebb
On 13 June 2012 10:54, Gilles Sadowski wrote: > Hi. > >> > >> > Is there a way for an application to depend on the classes defined in the >> > "test" subtree of the code repository? >> >> If the component releases the test jar, then it should be possible. > > It seems that it's not released as a J

Re: [Math] How to select a specific JDK ?

2012-06-13 Thread Jörg Schaible
Gilles Sadowski wrote: > On Wed, Jun 13, 2012 at 03:05:13PM +0200, Xavier Detant wrote: >> The byte code generated by the compiler is totally independent from the >> JVM that will be used to run it. > > Totally independent? Compiling with 1.7 and running with 1.6 will raise > this error: > Unsu

Re: [Math] How to select a specific JDK ?

2012-06-13 Thread Bruno P. Kinoshita
Hi Gilles, I can't say for sure that this environment variable takes precedence over anything in the pom.xml, there may be some setting that override it or chooses a specific JVM :-) I'm compiling and testing commons-io using Sun JDK and IBM JDK setting the environment variable in a console.

Re: [Math] How to select a specific JDK ?

2012-06-13 Thread Gilles Sadowski
On Wed, Jun 13, 2012 at 05:32:14PM +0200, Xavier Detant wrote: > Ok, my bad, I didn't explain myself clearly… > I meant, the byte code generated by the compiler is totally independent > from the _kind_ of JVM > that will be used to run it. > > So a code compiled for 1.6 will run on a sun JDK as

Re: [Math] How to select a specific JDK ?

2012-06-13 Thread Gilles Sadowski
On Wed, Jun 13, 2012 at 10:53:08AM -0400, James Carman wrote: > You'd be better off using something like Jenkins for this. You could > set up different jobs to run your builds under different conditions > (windoze vs. linux, jdk7 vs. jdk6, etc.) I don't deny that such a tool is useful, but my pur

[bsf]

2012-06-13 Thread Joseph Kesselman
Just a quick note/quibble re BSF's history: I, Joe Kesselman (the same IBMer who contributed some code to Xerces and quite a lot to Xalan) did a lot of the early prototyping work on BSF. The concept and initial sketch was certainly Sanjiva's, as part of some other bean composition work we were

Re: [Math] How to select a specific JDK ?

2012-06-13 Thread Gilles Sadowski
On Wed, Jun 13, 2012 at 08:43:17AM -0700, Bruno P. Kinoshita wrote: > I agree with James, Jenkins is a great choice for such tasks. > > That's what I do when I want to test a project with a different JVM, but have > no time to set up Jenkins jobs. > > $ export JAVA_HOME=/opt/java/ibm... > $ mvn

[functor] modularization

2012-06-13 Thread Matt Benson
I think it would be useful to extract at least the interfaces to an api module, so that other libraries could depend on [functor] without bringing along everything. Does anyone have any feelings on further subdivisions within the [functor] codebase that might be useful? Matt

Re: [Math] How to select a specific JDK ?

2012-06-13 Thread Bruno P. Kinoshita
I agree with James, Jenkins is a great choice for such tasks. That's what I do when I want to test a project with a different JVM, but have no time to set up Jenkins jobs. $ export JAVA_HOME=/opt/java/ibm... $ mvn clean test install Just my 0.02 cents :-) Cheers Bruno P. Kinoshita http://kin

[Commons Wiki] Update of "Sanity Check of APIs, etc." by MattBenson

2012-06-13 Thread Apache Wiki
Dear Wiki user, You have subscribed to a wiki page or wiki category on "Commons Wiki" for change notification. The "Sanity Check of APIs, etc." page has been changed by MattBenson: http://wiki.apache.org/commons/Sanity%20Check%20of%20APIs%2C%20etc.?action=diff&rev1=7&rev2=8 (Same question

[Commons Wiki] Update of "Sanity Check of APIs, etc." by MattBenson

2012-06-13 Thread Apache Wiki
Dear Wiki user, You have subscribed to a wiki page or wiki category on "Commons Wiki" for change notification. The "Sanity Check of APIs, etc." page has been changed by MattBenson: http://wiki.apache.org/commons/Sanity%20Check%20of%20APIs%2C%20etc.?action=diff&rev1=6&rev2=7 (Same question

Re: [VOTE] Release Commons IO 2.4-RC2

2012-06-13 Thread Gary Gregory
My +1. Gary On Tue, Jun 12, 2012 at 6:33 PM, Gary Gregory wrote: > Hello All: > > This is a VOTE to release Commons IO 2.4-RC2. > > Changes since RC1: > - Fix a bug in the new code for IO-326: Add new > FileUtils.sizeOf[Directory] APIs to return BigInteger. > - IO-336: Yottabyte (YB) incorrect

Re: [Math] How to select a specific JDK ?

2012-06-13 Thread Xavier Detant
Ok, my bad, I didn't explain myself clearly… I meant, the byte code generated by the compiler is totally independent from the _kind_ of JVM that will be used to run it. So a code compiled for 1.6 will run on a sun JDK as on a openJDK. Nevertheless, the code must be compiled for the right versio

[Commons Wiki] Update of "Sanity Check of APIs, etc." by MattBenson

2012-06-13 Thread Apache Wiki
Dear Wiki user, You have subscribed to a wiki page or wiki category on "Commons Wiki" for change notification. The "Sanity Check of APIs, etc." page has been changed by MattBenson: http://wiki.apache.org/commons/Sanity%20Check%20of%20APIs%2C%20etc.?action=diff&rev1=5&rev2=6 It doesn't seem

Re: [Math] How to select a specific JDK ?

2012-06-13 Thread James Carman
You'd be better off using something like Jenkins for this. You could set up different jobs to run your builds under different conditions (windoze vs. linux, jdk7 vs. jdk6, etc.) On Wed, Jun 13, 2012 at 10:47 AM, Gilles Sadowski wrote: > On Wed, Jun 13, 2012 at 03:05:13PM +0200, Xavier Detant wr

Re: [Math] How to select a specific JDK ?

2012-06-13 Thread Gilles Sadowski
On Wed, Jun 13, 2012 at 03:05:13PM +0200, Xavier Detant wrote: > The byte code generated by the compiler is totally independent from the JVM > that will be used to run it. Totally independent? Compiling with 1.7 and running with 1.6 will raise this error: Unsupported major.minor version 51.0 >

[GUMP@vmgump]: Project commons-jelly-tags-jmx (in module commons-jelly) failed

2012-06-13 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-jelly-tags-jmx has an issue affecting its community integration. T

Re: [Math] How to use a class from the "test" source tree?

2012-06-13 Thread Benedikt Ritter
Hi again, 2012/6/13 Gilles Sadowski : > On Wed, Jun 13, 2012 at 12:34:51PM +0200, Benedikt Ritter wrote: >> Hi, >> >> 2012/6/13 Gilles Sadowski : >> > Hi. >> > >> >> > >> >> > Is there a way for an application to depend on the classes defined in >> >> > the >> >> > "test" subtree of the code repo

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

2012-06-13 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-scxml-test has an issue affecting its community integration. This

Re: [Math] How to select a specific JDK ?

2012-06-13 Thread Xavier Detant
The byte code generated by the compiler is totally independent from the JVM that will be used to run it. So I think the point is not «How to compile using the right JDK?» but «How to run with using the right JVM?» Am I wrong? If so, this can't be done at compile time, so it can't be done via maven,

Re: [Math] How to select a specific JDK ?

2012-06-13 Thread Gilles Sadowski
Hello. > > With maven, you can configure the compiler to compile in the version you > want. > > Add this to the pom.xml and set the arguments as you which. > > > > > org.apache.maven.plugins > maven-compiler-plugin >

Re: [Math] How to select a specific JDK ?

2012-06-13 Thread Xavier Detant
Hi, With maven, you can configure the compiler to compile in the version you want. Add this to the pom.xml and set the arguments as you which. org.apache.maven.plugins maven-compiler-plugin 2.4

Re: another new URL() question

2012-06-13 Thread James Carman
I like the artifact abstraction idea. On Jun 13, 2012 5:32 AM, "Mark Struberg" wrote: > I grabbed a bit deeper and it's even more fup. > > Some containers don't even add 'file://' to the externalForm() they return > in their URLs. You have to add this yourself when doing new URL(). > There is

Re: [Math] How to use a class from the "test" source tree?

2012-06-13 Thread Gilles Sadowski
On Wed, Jun 13, 2012 at 12:34:51PM +0200, Benedikt Ritter wrote: > Hi, > > 2012/6/13 Gilles Sadowski : > > Hi. > > > >> > > >> > Is there a way for an application to depend on the classes defined in the > >> > "test" subtree of the code repository? > >> > >> If the component releases the test jar,

Re: [Math] How to select a specific JDK ?

2012-06-13 Thread Gilles Sadowski
On Wed, Jun 13, 2012 at 12:48:31PM +0200, Jochen Wiedmann wrote: > Yes, that switch is called PATH (environment variable). Do you mean that I should change the PATH variable just to build Commons Math? I surely hope that there is a more flexible way. With "ant", all that's needed is to define JAV

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

2012-06-13 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

Re: [Math] How to select a specific JDK ?

2012-06-13 Thread Jochen Wiedmann
Yes, that switch is called PATH (environment variable). On Wed, Jun 13, 2012 at 12:19 PM, Gilles Sadowski wrote: > Hello. > > Are there command-line switches that will select a specific JDK? > I.e. I have several of them installed: > > $ ls -l /usr/lib/jvm > total 36 > lrwxrwxrwx  1 root root   2

Re: [Math] How to use a class from the "test" source tree?

2012-06-13 Thread Benedikt Ritter
Hi, 2012/6/13 Gilles Sadowski : > Hi. > >> > >> > Is there a way for an application to depend on the classes defined in the >> > "test" subtree of the code repository? >> >> If the component releases the test jar, then it should be possible. > > It seems that it's not released as a JAR (probably o

[continuum] BUILD FAILURE: Apache Commons - Commons Math - Default Maven 2 Build Definition (Java 1.5)

2012-06-13 Thread Continuum@vmbuild
Online report : http://vmbuild.apache.org/continuum/buildResult.action?buildId=23174&projectId=97 Build statistics: State: Failed Previous State: Failed Started at: Wed 13 Jun 2012 10:20:54 + Finished at: Wed 13 Jun 2012 10:24:10 + Total time: 3m 16s Build Trigger: Schedule

[Math] How to select a specific JDK ?

2012-06-13 Thread Gilles Sadowski
Hello. Are there command-line switches that will select a specific JDK? I.e. I have several of them installed: $ ls -l /usr/lib/jvm total 36 lrwxrwxrwx 1 root root 24 Dec 17 11:04 default-java -> java-1.6.0-openjdk-amd64 lrwxrwxrwx 1 root root 18 Jan 5 18:27 java-1.5.0-gcj -> java-1.5.0-g

Re: [Math] How to use a class from the "test" source tree?

2012-06-13 Thread Gilles Sadowski
Hi. > > > > Is there a way for an application to depend on the classes defined in the > > "test" subtree of the code repository? > > If the component releases the test jar, then it should be possible. It seems that it's not released as a JAR (probably only in the zip/tar and source archive). >

Re: another new URL() question

2012-06-13 Thread Mark Struberg
I grabbed a bit deeper and it's even more fup. Some containers don't even add 'file://' to the externalForm() they return in their URLs. You have to add this yourself when doing new URL(). There is no way to have new URL() working properly in a generic way. We must go Davids route via an 'Ar

[GUMP@vmgump]: Project commons-graph (in module commons-sandbox) failed

2012-06-13 Thread commons-graph 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 gene...@gump.apache.org. Project commons-graph has an issue affecting its community integration. This issue

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

2012-06-13 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-digester3 has an issue affecting its community integration. This i

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

2012-06-13 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-jxpath has an issue affecting its community integration. This issu

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

2012-06-13 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-math has an issue affecting its community integration. This issue