You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by Jackrabbit Continuum <ci...@jackrabbit.zones.apache.org> on 2008/02/18 13:51:54 UTC

[continuum] BUILD FAILURE: Apache Jackrabbit - Jackrabbit Core - Build Def: Jackrabbit build with Java 1.4

Online report : http://jackrabbit.zones.apache.org/continuum/buildResult.action?buildId=2318&projectId=6

Build statistics:
  State: Failed
  Previous State: Ok
  Started at: Mon 18 Feb 2008 12:51:28 +0000
  Finished at: Mon 18 Feb 2008 12:51:52 +0000
  Total time: 23s
  Build Trigger: Schedule
  Build Number: 111
  Exit code: 1
  Building machine hostname: jackrabbit.zones
  Operating system : SunOS(unknown)
  Java Home version : 
          java version "1.4.2_06"
          Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_06-b03)
          Java HotSpot(TM) Client VM (build 1.4.2_06-b03, mixed mode)
        
  Builder version :
          Maven version: 2.0.7
          Java version: 1.4.2_06
          OS name: "sunos" version: "5.10" arch: "x86"
    
****************************************************************************
SCM Changes:
****************************************************************************
Changed: martijnh @ Mon 18 Feb 2008 12:14:31 +0000
Comment: JCR-1087 Maintain the cluster revision table

- Added the LOCAL_REVISIONS table to the create scripts (*.ddl)
- Added InstanceRevision interface
- The InstanceRevision is now retrieved through the Journal instance
- Added logic to the DatabaseJournal to (i) migrate to a db based InstanceRevision,
  and (ii) start a janitor thread for cleaning up old cluster revision entries
Files changed:
  /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/cluster/ClusterNode.java ( 628697 )
  /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/journal/AbstractJournal.java ( 628697 )
  /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/journal/DatabaseJournal.java ( 628697 )
  /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/journal/FileJournal.java ( 628697 )
  /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/journal/FileRevision.java ( 628697 )
  /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/journal/InstanceRevision.java ( 628697 )
  /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/journal/Journal.java ( 628697 )
  /jackrabbit/trunk/jackrabbit-core/src/main/resources/org/apache/jackrabbit/core/journal/default.ddl ( 628697 )
  /jackrabbit/trunk/jackrabbit-core/src/main/resources/org/apache/jackrabbit/core/journal/derby.ddl ( 628697 )
  /jackrabbit/trunk/jackrabbit-core/src/main/resources/org/apache/jackrabbit/core/journal/h2.ddl ( 628697 )
  /jackrabbit/trunk/jackrabbit-core/src/main/resources/org/apache/jackrabbit/core/journal/mssql.ddl ( 628697 )
  /jackrabbit/trunk/jackrabbit-core/src/main/resources/org/apache/jackrabbit/core/journal/mysql.ddl ( 628697 )
  /jackrabbit/trunk/jackrabbit-core/src/main/resources/org/apache/jackrabbit/core/journal/oracle.ddl ( 628697 )
  /jackrabbit/trunk/jackrabbit-core/src/main/resources/org/apache/jackrabbit/core/journal/postgresql.ddl ( 628697 )

****************************************************************************
Dependencies Changes:
****************************************************************************
org.apache.jackrabbit:jackrabbit-api:1.5-SNAPSHOT

org.apache.jackrabbit:jackrabbit-jcr-commons:1.5-SNAPSHOT

org.apache.jackrabbit:jackrabbit-spi-commons:1.5-SNAPSHOT

org.apache.jackrabbit:jackrabbit-spi:1.5-SNAPSHOT

org.apache.jackrabbit:jackrabbit-text-extractors:1.5-SNAPSHOT

org.apache.jackrabbit:jackrabbit-jcr-tests:1.5-SNAPSHOT

org.apache.jackrabbit:jackrabbit:1.5-SNAPSHOT


****************************************************************************
Build Defintion:
****************************************************************************
POM filename: pom.xml
Goals: clean deploy   
Arguments: --batch-mode --non-recursive -DuniqueVersion=false
Build Fresh: false
Always Build: false
Default Build Definition: true
Schedule: DEFAULT_SCHEDULE
Profile Name: Java 1.4
Description: Jackrabbit build with Java 1.4

****************************************************************************
Test Summary:
****************************************************************************
Tests: 0
Failures: 0
Total time: 0.0





RE: [continuum] BUILD FAILURE: Apache Jackrabbit - Jackrabbit Core - Build Def: Jackrabbit build with Java 1.4

Posted by Martijn Hendriks <ma...@gx.nl>.
Hi,

> The best workaround to this problem that I've come across so far is to
> create custom mvn4 and mvn5 scripts that start Maven with JAVA_HOME
> set to Java 1.4 and Java 5 installations respectively. Then you just
> need to use "mvn4 clean install" whenever compiling Jackrabbit trunk.

Thanks for the tip. That indeed also triggered the compilation error locally. The continuum failure has been fixed :)

Best wishes,

Martijn

Re: [continuum] BUILD FAILURE: Apache Jackrabbit - Jackrabbit Core - Build Def: Jackrabbit build with Java 1.4

Posted by Jukka Zitting <ju...@gmail.com>.
Hi,

On Feb 18, 2008 3:45 PM, Martijn Hendriks <ma...@gx.nl> wrote:
> Sorry about that. I see that I accidentally used a Java 1.5 method (java.lang.String.contains).
> The strange thing is, however, that it compiles fine locally despite of the configuration
> of the maven-compiler-plugin (source and target set to 1.4). I assumed that this setting
> would catch anything w.r.t. Java 1.5 features. Should it, or am I missing something here?

I've stumbled on the same thing a few times... The problem is that the
compiler plugin settings only affect the Java language features, not
the standard library against which the code is compiled. So even if
you're restricted from using generics or other Java 5 features, all
the new methods, classes and interfaces in the standard library are
still available if you use Java 5 or higher to run Maven and thus
compile the code.

The best workaround to this problem that I've come across so far is to
create custom mvn4 and mvn5 scripts that start Maven with JAVA_HOME
set to Java 1.4 and Java 5 installations respectively. Then you just
need to use "mvn4 clean install" whenever compiling Jackrabbit trunk.

> Anyway, going to fix it now.

ACK, thanks.

BR,

Jukka Zitting

RE: [continuum] BUILD FAILURE: Apache Jackrabbit - Jackrabbit Core - Build Def: Jackrabbit build with Java 1.4

Posted by Martijn Hendriks <ma...@gx.nl>.
Hi all,

Sorry about that. I see that I accidentally used a Java 1.5 method (java.lang.String.contains). The strange thing is, however, that it compiles fine locally despite of the configuration of the maven-compiler-plugin (source and target set to 1.4). I assumed that this setting would catch anything w.r.t. Java 1.5 features. Should it, or am I missing something here? Anyway, going to fix it now.

Best regards,

martijn

> -----Original Message-----
> From: Jackrabbit Continuum [mailto:ci@jackrabbit.zones.apache.org]
> Sent: Monday, February 18, 2008 1:52 PM
> To: dev@jackrabbit.apache.org
> Subject: [continuum] BUILD FAILURE: Apache Jackrabbit - Jackrabbit Core
> - Build Def: Jackrabbit build with Java 1.4
>
> Online report :
> http://jackrabbit.zones.apache.org/continuum/buildResult.action?buildId
> =2318&projectId=6
>
> Build statistics:
>   State: Failed
>   Previous State: Ok
>   Started at: Mon 18 Feb 2008 12:51:28 +0000
>   Finished at: Mon 18 Feb 2008 12:51:52 +0000
>   Total time: 23s
>   Build Trigger: Schedule
>   Build Number: 111
>   Exit code: 1
>   Building machine hostname: jackrabbit.zones
>   Operating system : SunOS(unknown)
>   Java Home version :
>           java version "1.4.2_06"
>           Java(TM) 2 Runtime Environment, Standard Edition (build
> 1.4.2_06-b03)
>           Java HotSpot(TM) Client VM (build 1.4.2_06-b03, mixed mode)
>
>   Builder version :
>           Maven version: 2.0.7
>           Java version: 1.4.2_06
>           OS name: "sunos" version: "5.10" arch: "x86"
>
> ***********************************************************************
> *****
> SCM Changes:
> ***********************************************************************
> *****
> Changed: martijnh @ Mon 18 Feb 2008 12:14:31 +0000
> Comment: JCR-1087 Maintain the cluster revision table
>
> - Added the LOCAL_REVISIONS table to the create scripts (*.ddl)
> - Added InstanceRevision interface
> - The InstanceRevision is now retrieved through the Journal instance
> - Added logic to the DatabaseJournal to (i) migrate to a db based
> InstanceRevision,
>   and (ii) start a janitor thread for cleaning up old cluster revision
> entries
> Files changed:
>   /jackrabbit/trunk/jackrabbit-
> core/src/main/java/org/apache/jackrabbit/core/cluster/ClusterNode.java
> ( 628697 )
>   /jackrabbit/trunk/jackrabbit-
> core/src/main/java/org/apache/jackrabbit/core/journal/AbstractJournal.j
> ava ( 628697 )
>   /jackrabbit/trunk/jackrabbit-
> core/src/main/java/org/apache/jackrabbit/core/journal/DatabaseJournal.j
> ava ( 628697 )
>   /jackrabbit/trunk/jackrabbit-
> core/src/main/java/org/apache/jackrabbit/core/journal/FileJournal.java
> ( 628697 )
>   /jackrabbit/trunk/jackrabbit-
> core/src/main/java/org/apache/jackrabbit/core/journal/FileRevision.java
> ( 628697 )
>   /jackrabbit/trunk/jackrabbit-
> core/src/main/java/org/apache/jackrabbit/core/journal/InstanceRevision.
> java ( 628697 )
>   /jackrabbit/trunk/jackrabbit-
> core/src/main/java/org/apache/jackrabbit/core/journal/Journal.java (
> 628697 )
>   /jackrabbit/trunk/jackrabbit-
> core/src/main/resources/org/apache/jackrabbit/core/journal/default.ddl
> ( 628697 )
>   /jackrabbit/trunk/jackrabbit-
> core/src/main/resources/org/apache/jackrabbit/core/journal/derby.ddl (
> 628697 )
>   /jackrabbit/trunk/jackrabbit-
> core/src/main/resources/org/apache/jackrabbit/core/journal/h2.ddl (
> 628697 )
>   /jackrabbit/trunk/jackrabbit-
> core/src/main/resources/org/apache/jackrabbit/core/journal/mssql.ddl (
> 628697 )
>   /jackrabbit/trunk/jackrabbit-
> core/src/main/resources/org/apache/jackrabbit/core/journal/mysql.ddl (
> 628697 )
>   /jackrabbit/trunk/jackrabbit-
> core/src/main/resources/org/apache/jackrabbit/core/journal/oracle.ddl (
> 628697 )
>   /jackrabbit/trunk/jackrabbit-
> core/src/main/resources/org/apache/jackrabbit/core/journal/postgresql.d
> dl ( 628697 )
>
> ***********************************************************************
> *****
> Dependencies Changes:
> ***********************************************************************
> *****
> org.apache.jackrabbit:jackrabbit-api:1.5-SNAPSHOT
>
> org.apache.jackrabbit:jackrabbit-jcr-commons:1.5-SNAPSHOT
>
> org.apache.jackrabbit:jackrabbit-spi-commons:1.5-SNAPSHOT
>
> org.apache.jackrabbit:jackrabbit-spi:1.5-SNAPSHOT
>
> org.apache.jackrabbit:jackrabbit-text-extractors:1.5-SNAPSHOT
>
> org.apache.jackrabbit:jackrabbit-jcr-tests:1.5-SNAPSHOT
>
> org.apache.jackrabbit:jackrabbit:1.5-SNAPSHOT
>
>
> ***********************************************************************
> *****
> Build Defintion:
> ***********************************************************************
> *****
> POM filename: pom.xml
> Goals: clean deploy
> Arguments: --batch-mode --non-recursive -DuniqueVersion=false
> Build Fresh: false
> Always Build: false
> Default Build Definition: true
> Schedule: DEFAULT_SCHEDULE
> Profile Name: Java 1.4
> Description: Jackrabbit build with Java 1.4
>
> ***********************************************************************
> *****
> Test Summary:
> ***********************************************************************
> *****
> Tests: 0
> Failures: 0
> Total time: 0.0
>
>
>