On 25 October 2011 12:01, Maurizio Cucchiara <[email protected]> wrote:
> Simo,
> I am afraid that junit-benchmark was compiled with java 6, so
> basically we have 2 options:
> 1. change jdk settings on Jenkins (but I'm totally against it)
> 2. ask to JB team if there is a specific reason.
> 3. (that it was I'm currently trying to do) change build command on
> Jenkins in order to exclude benchmark profile

The dependency on Java 6 will potentially affect other developers, and
will cause unnecessary failures when testing with Java 1.5.
So rather than just fix Jenkins (and Gump and Continuum and Buildr
etc) I think the profile should check whether the appropriate Java
version is being used.

I'm pretty sure one of the existing POMs does something similar (BSF 3.x?).

Will try and find the POM later today.

> Twitter     :http://www.twitter.com/m_cucchiara
> G+          :https://plus.google.com/107903711540963855921
> Linkedin    :http://www.linkedin.com/in/mauriziocucchiara
>
> Maurizio Cucchiara
>
>
>
> On 25 October 2011 12:09, Simone Tripodi <[email protected]> wrote:
>> Hi all guys,
>> looks like there is a problem that cannot be managed by our side
>>
>> [INFO] -------------------------------------------------------------
>> [ERROR] COMPILATION ERROR :
>> [INFO] -------------------------------------------------------------
>> [ERROR] 
>> /home/jenkins/jenkins-slave/workspace/ognl/src/benchmarks/java/org/apache/commons/ognl/performance/BasePerformanceTest.java:[24,-1]
>> cannot access com.carrotsearch.junitbenchmarks.BenchmarkOptions
>> bad class file:
>> /home/jenkins/.m2/repository/com/carrotsearch/junit-benchmarks/0.3.0-SNAPSHOT/junit-benchmarks-0.3.0-SNAPSHOT.jar(com/carrotsearch/junitbenchmarks/BenchmarkOptions.class)
>> class file has wrong version 50.0, should be 49.0
>>
>> Maybe Olivier can help?
>> Thanks a lot in advance!
>> Simo
>>
>> http://people.apache.org/~simonetripodi/
>> http://simonetripodi.livejournal.com/
>> http://twitter.com/simonetripodi
>> http://www.99soft.org/
>>
>>
>>
>>
>> ---------- Forwarded message ----------
>> From: Apache Jenkins Server <[email protected]>
>> Date: Tue, Oct 25, 2011 at 11:59 AM
>> Subject: ognl - Build # 153 - Failure
>> To: [email protected]
>>
>>
>> The Apache Jenkins build system has built ognl (build #153)
>>
>> Status: Failure
>>
>> Check console output at https://builds.apache.org/job/ognl/153/ to
>> view the results.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to