Jenkins build is back to normal : cayenne-master » h2,JDK 1.7 (latest),Ubuntu #109

2014-11-28 Thread Apache Jenkins Server
See 




Jenkins build is back to normal : cayenne-master » hsql,JDK 1.6 (latest),Ubuntu #109

2014-11-28 Thread Apache Jenkins Server
See 




Jenkins build is back to normal : cayenne-master » hsql,jdk1.8.0_11,Ubuntu #109

2014-11-28 Thread Apache Jenkins Server
See 




Jenkins build is back to normal : cayenne-master » hsql,JDK 1.7 (latest),Ubuntu #109

2014-11-28 Thread Apache Jenkins Server
See 




Jenkins build is back to normal : cayenne-master » h2,JDK 1.6 (latest),Ubuntu #109

2014-11-28 Thread Apache Jenkins Server
See 




Jenkins build is back to normal : cayenne-master » derby,JDK 1.6 (latest),Ubuntu #109

2014-11-28 Thread Apache Jenkins Server
See 




Jenkins build is back to normal : cayenne-master » h2,jdk1.8.0_11,Ubuntu #109

2014-11-28 Thread Apache Jenkins Server
See 




Jenkins build is back to normal : cayenne-master » derby,JDK 1.7 (latest),Ubuntu #109

2014-11-28 Thread Apache Jenkins Server
See 




Jenkins build is back to normal : cayenne-master » derby,jdk1.8.0_11,Ubuntu #109

2014-11-28 Thread Apache Jenkins Server
See 




[2/2] cayenne git commit: switching tutorials to new apis

2014-11-28 Thread aadamchik
switching tutorials to new apis


Project: http://git-wip-us.apache.org/repos/asf/cayenne/repo
Commit: http://git-wip-us.apache.org/repos/asf/cayenne/commit/924a6696
Tree: http://git-wip-us.apache.org/repos/asf/cayenne/tree/924a6696
Diff: http://git-wip-us.apache.org/repos/asf/cayenne/diff/924a6696

Branch: refs/heads/master
Commit: 924a6696a9a28201d80b367337514e6d851ac07d
Parents: a6fcc2e
Author: aadamchik 
Authored: Fri Nov 28 18:27:53 2014 +0300
Committer: aadamchik 
Committed: Fri Nov 28 18:27:53 2014 +0300

--
 .../org/apache/cayenne/tutorial/persistent/client/Main.java  | 2 +-
 .../src/main/java/org/apache/cayenne/tutorial/Main.java  | 8 
 2 files changed, 5 insertions(+), 5 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/cayenne/blob/924a6696/tutorials/tutorial-rop-client/src/main/java/org/apache/cayenne/tutorial/persistent/client/Main.java
--
diff --git 
a/tutorials/tutorial-rop-client/src/main/java/org/apache/cayenne/tutorial/persistent/client/Main.java
 
b/tutorials/tutorial-rop-client/src/main/java/org/apache/cayenne/tutorial/persistent/client/Main.java
index 638484f..278b8c9 100644
--- 
a/tutorials/tutorial-rop-client/src/main/java/org/apache/cayenne/tutorial/persistent/client/Main.java
+++ 
b/tutorials/tutorial-rop-client/src/main/java/org/apache/cayenne/tutorial/persistent/client/Main.java
@@ -79,7 +79,7 @@ public class Main {
 SelectQuery select1 = SelectQuery.query(Painting.class);
 List paintings1 = context.select(select1);
 
-Expression qualifier2 = Painting.NAME.likeInsensitive("gi%");
+Expression qualifier2 = Painting.NAME.likeIgnoreCase("gi%");
 SelectQuery select2 = SelectQuery.query(Painting.class, 
qualifier2);
 List paintings2 = context.select(select2);
 }

http://git-wip-us.apache.org/repos/asf/cayenne/blob/924a6696/tutorials/tutorial/src/main/java/org/apache/cayenne/tutorial/Main.java
--
diff --git 
a/tutorials/tutorial/src/main/java/org/apache/cayenne/tutorial/Main.java 
b/tutorials/tutorial/src/main/java/org/apache/cayenne/tutorial/Main.java
index 96e6bc5..5fb8774 100644
--- a/tutorials/tutorial/src/main/java/org/apache/cayenne/tutorial/Main.java
+++ b/tutorials/tutorial/src/main/java/org/apache/cayenne/tutorial/Main.java
@@ -18,8 +18,9 @@
  /
 package org.apache.cayenne.tutorial;
 
+import static org.apache.cayenne.exp.ExpressionFactory.exp;
+
 import java.util.Calendar;
-import java.util.Collections;
 import java.util.GregorianCalendar;
 import java.util.List;
 
@@ -80,15 +81,14 @@ public class Main {
 SelectQuery select1 = SelectQuery.query(Painting.class, 
null);
 List paintings1 = context.select(select1);
 
-Expression qualifier2 = Painting.NAME.likeInsensitive("gi%");
+Expression qualifier2 = Painting.NAME.likeIgnoreCase("gi%");
 SelectQuery select2 = SelectQuery.query(Painting.class, 
qualifier2);
 List paintings2 = context.select(select2);
 
 Calendar c = new GregorianCalendar();
 c.set(c.get(Calendar.YEAR) - 100, 0, 1, 0, 0, 0);
 
-Expression qualifier3 = Expression.fromString("artist.dateOfBirth < 
$date");
-qualifier3 = 
qualifier3.expWithParameters(Collections.singletonMap("date", c.getTime()));
+Expression qualifier3 = exp("artist.dateOfBirth < $date", c.getTime());
 SelectQuery select3 = SelectQuery.query(Painting.class, 
qualifier3);
 List paintings3 = context.select(select3);
 }



[1/2] cayenne git commit: making tutorial poms inherit from Cayenne pom for consistency

2014-11-28 Thread aadamchik
Repository: cayenne
Updated Branches:
  refs/heads/master 5331b8c5c -> 924a6696a


making tutorial poms inherit from Cayenne pom for consistency


Project: http://git-wip-us.apache.org/repos/asf/cayenne/repo
Commit: http://git-wip-us.apache.org/repos/asf/cayenne/commit/a6fcc2ee
Tree: http://git-wip-us.apache.org/repos/asf/cayenne/tree/a6fcc2ee
Diff: http://git-wip-us.apache.org/repos/asf/cayenne/diff/a6fcc2ee

Branch: refs/heads/master
Commit: a6fcc294c2062f8acb1577d3b9236c95aa62
Parents: 5331b8c
Author: aadamchik 
Authored: Fri Nov 28 18:25:48 2014 +0300
Committer: aadamchik 
Committed: Fri Nov 28 18:25:48 2014 +0300

--
 tutorials/pom.xml |  3 ++-
 tutorials/tutorial-rop-client/pom.xml | 36 ++---
 tutorials/tutorial-rop-server/pom.xml | 37 ++
 tutorials/tutorial/pom.xml| 21 ++---
 4 files changed, 23 insertions(+), 74 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/cayenne/blob/a6fcc2ee/tutorials/pom.xml
--
diff --git a/tutorials/pom.xml b/tutorials/pom.xml
index 39a2bcc..9170a5d 100644
--- a/tutorials/pom.xml
+++ b/tutorials/pom.xml
@@ -24,7 +24,8 @@
cayenne-parent
4.0.M2-SNAPSHOT

-   org.apache.cayenne.parents
+   
+   org.apache.cayenne.tutorials
cayenne-tutorials-parent
Cayenne Tutorials
pom

http://git-wip-us.apache.org/repos/asf/cayenne/blob/a6fcc2ee/tutorials/tutorial-rop-client/pom.xml
--
diff --git a/tutorials/tutorial-rop-client/pom.xml 
b/tutorials/tutorial-rop-client/pom.xml
index 6125c67..3fd1621 100644
--- a/tutorials/tutorial-rop-client/pom.xml
+++ b/tutorials/tutorial-rop-client/pom.xml
@@ -15,21 +15,24 @@
 -->
 http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
4.0.0
-   org.apache.cayenne
+   
+   org.apache.cayenne.tutorials
+   cayenne-tutorials-parent
+   4.0.M2-SNAPSHOT
+   
+
tutorial-rop-client
Cayenne ROP Client Tutorial
-   4.0.M2-SNAPSHOT
 


org.apache.cayenne
cayenne-client
-   4.0.M2-SNAPSHOT
+   ${project.version}


com.caucho
resin-hessian
-   3.1.6



@@ -37,37 +40,12 @@


org.apache.maven.plugins
-   maven-compiler-plugin
-   2.3.2
-   
-   1.6
-   1.6
-   
-   
-   
-   org.apache.maven.plugins
maven-deploy-plugin
-   2.5

true




-   
-   
-   
-   objectstyle
-   ObjectStyle Repository
-   
http://maven.objectstyle.org/nexus/content/groups/cayenne-deps
-   default
-   
-   false
-   
-   
-   true
-   
-   
-   
 
 

http://git-wip-us.apache.org/repos/asf/cayenne/blob/a6fcc2ee/tutorials/tutorial-rop-server/pom.xml
--
diff --git a/tutorials/tutorial-rop-server/pom.xml 
b/tutorials/tutorial-rop-server/pom.xml
index 36c5741..03e2120 100644
--- a/tutorials/tutorial-rop-server/pom.xml
+++ b/tutorials/tutorial-rop-server/pom.xml
@@ -15,42 +15,35 @@
 -->
 http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
4.0.0
-   org.apache.cayenne
+   
+   org.apache.cayenne.tutorials
+   cayenne-tutorials-parent
+   4.0.M2-SNAPSHOT
+   
+
tutorial-rop-server
Cayenne ROP Server Tutorial
-   4.0.M2-SNAPSHOT
 war
 


org.apache.cayenne
cayenne-server
-  

Build failed in Jenkins: cayenne-master » derby,jdk1.8.0_11,Ubuntu #108

2014-11-28 Thread Apache Jenkins Server
See 


Changes:

[aadamchik] CAY-1971 Variants of Property.like(..) : contains(..), 
startsWith(..), endsWith(..)

[aadamchik] CAY-1971 Variants of Property.like(..) : contains(..), 
startsWith(..), endsWith(..)

[aadamchik] CAY-1959 Chainable API for SelectQuery

[aadamchik] CAY-1958 SelectById - a new full-featured select query to get 
objects by id

--
[...truncated 66062 lines...]
[INFO] Installing 
/x1/jenkins/jenkins-slave/workspace/cayenne-master/cayenneTestConnection/derby/jdk/jdk1.8.0_11/label/Ubuntu/modeler/cayenne-modeler-win/target/cayenne-modeler-win-4.0.M2-SNAPSHOT.jar
 to 
/home/jenkins/.m2/repository/org/apache/cayenne/modeler/cayenne-modeler-win/4.0.M2-SNAPSHOT/cayenne-modeler-win-4.0.M2-SNAPSHOT.jar
[INFO] Installing 
/x1/jenkins/jenkins-slave/workspace/cayenne-master/cayenneTestConnection/derby/jdk/jdk1.8.0_11/label/Ubuntu/modeler/cayenne-modeler-win/pom.xml
 to 
/home/jenkins/.m2/repository/org/apache/cayenne/modeler/cayenne-modeler-win/4.0.M2-SNAPSHOT/cayenne-modeler-win-4.0.M2-SNAPSHOT.pom
[INFO] Installing 
/x1/jenkins/jenkins-slave/workspace/cayenne-master/cayenneTestConnection/derby/jdk/jdk1.8.0_11/label/Ubuntu/modeler/cayenne-modeler-win/target/cayenne-modeler-win-4.0.M2-SNAPSHOT-sources.jar
 to 
/home/jenkins/.m2/repository/org/apache/cayenne/modeler/cayenne-modeler-win/4.0.M2-SNAPSHOT/cayenne-modeler-win-4.0.M2-SNAPSHOT-sources.jar
[INFO] 
[INFO] 
[INFO] Building Cayenne Modeler Maven Plugin 4.0.M2-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ 
maven-cayenne-modeler-plugin ---
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.9.1:check (default) @ 
maven-cayenne-modeler-plugin ---
[WARNING] File encoding has not been set, using platform encoding 
ANSI_X3.4-1968, i.e. build is platform dependent!
[INFO] Starting audit...
Audit done.

[INFO] 
[INFO] >>> maven-pmd-plugin:3.2:check (default) @ maven-cayenne-modeler-plugin 
>>>
[INFO] 
[INFO] --- maven-pmd-plugin:3.2:pmd (pmd) @ maven-cayenne-modeler-plugin ---
[INFO] 
[INFO] <<< maven-pmd-plugin:3.2:check (default) @ maven-cayenne-modeler-plugin 
<<<
[INFO] 
[INFO] --- maven-pmd-plugin:3.2:check (default) @ maven-cayenne-modeler-plugin 
---
[INFO] PMD Failure: org.apache.cayenne.tools.CayenneModelerMojo:82 
Rule:AvoidPrintStackTrace Priority:1 Avoid printStackTrace(); use a logger call 
instead..
[INFO] You have 1 PMD violation. For more details 
see:/x1/jenkins/jenkins-slave/workspace/cayenne-master/cayenneTestConnection/derby/jdk/jdk1.8.0_11/label/Ubuntu/plugins/maven-cayenne-modeler-plugin/target/pmd.xml
[INFO] 
[INFO] --- maven-plugin-plugin:3.3:descriptor (default-descriptor) @ 
maven-cayenne-modeler-plugin ---
[ERROR] 

Artifact Ids of the format maven-___-plugin are reserved for 
plugins in the Group Id org.apache.maven.plugins
Please change your artifactId to the format ___-maven-plugin
In the future this error will break the build.


[WARNING] 

Goal prefix is specified as: 'signature'. Maven currently expects it to be 
'cayenne-modeler'.

[WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to read mojo 
metadata, i.e. build is platform dependent!
[INFO] Applying mojo extractor for language: java
[WARNING] org.apache.cayenne.tools.CayenneModelerMojo#modelFile:
[WARNING]   The syntax
[WARNING] @parameter expression="${property}"
[WARNING]   is deprecated, please use
[WARNING] @parameter property="property"
[WARNING]   instead.
[INFO] Mojo extractor for language: java found 1 mojo descriptors.
[INFO] Applying mojo extractor for language: bsh
[INFO] Mojo extractor for language: bsh found 0 mojo descriptors.
[INFO] Applying mojo extractor for language: java-annotations
[INFO] Mojo extractor for language: java-annotations found 0 mojo descriptors.
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ 
maven-cayenne-modeler-plugin ---
[INFO] 
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ 
maven-cayenne-modeler-plugin ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
/x1/jenkins/jenkins-slave/workspace/cayenne-master/cayenneTestConnection/derby/jdk/jdk1.8.0_11/label/Ubuntu/plugins/maven-cayenne-modeler-plugin/src/main/resources
[INFO] Copying 4 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ 
maven-cayenne-modeler-plugin ---
[INFO] Compiling 1 source file to 
/x1/jenkins/jenkins-slave/workspace/cayenne-master/cayenneTestConnection/derby/jdk/jdk1.8.0_11/label/Ubuntu/plugins/maven-cayenne-modeler-plugin/target/classes
[INFO] 
[INFO] --- maven-plugin-plugin:3.3:descriptor (default) @ 

Build failed in Jenkins: cayenne-master » hsql,jdk1.8.0_11,Ubuntu #108

2014-11-28 Thread Apache Jenkins Server
See 


Changes:

[aadamchik] CAY-1971 Variants of Property.like(..) : contains(..), 
startsWith(..), endsWith(..)

[aadamchik] CAY-1971 Variants of Property.like(..) : contains(..), 
startsWith(..), endsWith(..)

[aadamchik] CAY-1959 Chainable API for SelectQuery

[aadamchik] CAY-1958 SelectById - a new full-featured select query to get 
objects by id

--
[...truncated 69394 lines...]
[INFO] Installing 

 to 
/home/jenkins/.m2/repository/org/apache/cayenne/modeler/cayenne-modeler-win/4.0.M2-SNAPSHOT/cayenne-modeler-win-4.0.M2-SNAPSHOT.jar
[INFO] Installing 

 to 
/home/jenkins/.m2/repository/org/apache/cayenne/modeler/cayenne-modeler-win/4.0.M2-SNAPSHOT/cayenne-modeler-win-4.0.M2-SNAPSHOT.pom
[INFO] Installing 

 to 
/home/jenkins/.m2/repository/org/apache/cayenne/modeler/cayenne-modeler-win/4.0.M2-SNAPSHOT/cayenne-modeler-win-4.0.M2-SNAPSHOT-sources.jar
[INFO] 
[INFO] 
[INFO] Building Cayenne Modeler Maven Plugin 4.0.M2-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ 
maven-cayenne-modeler-plugin ---
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.9.1:check (default) @ 
maven-cayenne-modeler-plugin ---
[WARNING] File encoding has not been set, using platform encoding ISO-8859-1, 
i.e. build is platform dependent!
[INFO] Starting audit...
Audit done.

[INFO] 
[INFO] >>> maven-pmd-plugin:3.2:check (default) @ maven-cayenne-modeler-plugin 
>>>
[INFO] 
[INFO] --- maven-pmd-plugin:3.2:pmd (pmd) @ maven-cayenne-modeler-plugin ---
[INFO] 
[INFO] <<< maven-pmd-plugin:3.2:check (default) @ maven-cayenne-modeler-plugin 
<<<
[INFO] 
[INFO] --- maven-pmd-plugin:3.2:check (default) @ maven-cayenne-modeler-plugin 
---
[INFO] PMD Failure: org.apache.cayenne.tools.CayenneModelerMojo:82 
Rule:AvoidPrintStackTrace Priority:1 Avoid printStackTrace(); use a logger call 
instead..
[INFO] You have 1 PMD violation. For more details 
see:
[INFO] 
[INFO] --- maven-plugin-plugin:3.3:descriptor (default-descriptor) @ 
maven-cayenne-modeler-plugin ---
[ERROR] 

Artifact Ids of the format maven-___-plugin are reserved for 
plugins in the Group Id org.apache.maven.plugins
Please change your artifactId to the format ___-maven-plugin
In the future this error will break the build.


[WARNING] 

Goal prefix is specified as: 'signature'. Maven currently expects it to be 
'cayenne-modeler'.

[WARNING] Using platform encoding (ISO-8859-1 actually) to read mojo metadata, 
i.e. build is platform dependent!
[INFO] Applying mojo extractor for language: java
[WARNING] org.apache.cayenne.tools.CayenneModelerMojo#modelFile:
[WARNING]   The syntax
[WARNING] @parameter expression="${property}"
[WARNING]   is deprecated, please use
[WARNING] @parameter property="property"
[WARNING]   instead.
[INFO] Mojo extractor for language: java found 1 mojo descriptors.
[INFO] Applying mojo extractor for language: bsh
[INFO] Mojo extractor for language: bsh found 0 mojo descriptors.
[INFO] Applying mojo extractor for language: java-annotations
[INFO] Mojo extractor for language: java-annotations found 0 mojo descriptors.
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ 
maven-cayenne-modeler-plugin ---
[INFO] 
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ 
maven-cayenne-modeler-plugin ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 

[INFO] Copying 4 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ 
maven-cayenne-modeler-plugin ---
[INFO] Compiling 1 source file to 

[INFO] 
[INFO] --- maven-plugin-plugin:3.3:descriptor (default) @ 
maven-cayenne-modeler

Build failed in Jenkins: cayenne-master » h2,JDK 1.7 (latest),Ubuntu #108

2014-11-28 Thread Apache Jenkins Server
See 


Changes:

[aadamchik] CAY-1971 Variants of Property.like(..) : contains(..), 
startsWith(..), endsWith(..)

[aadamchik] CAY-1971 Variants of Property.like(..) : contains(..), 
startsWith(..), endsWith(..)

[aadamchik] CAY-1959 Chainable API for SelectQuery

[aadamchik] CAY-1958 SelectById - a new full-featured select query to get 
objects by id

--
[...truncated 69367 lines...]
[INFO] Installing 

 to 
/home/jenkins/.m2/repository/org/apache/cayenne/modeler/cayenne-modeler-win/4.0.M2-SNAPSHOT/cayenne-modeler-win-4.0.M2-SNAPSHOT.jar
[INFO] Installing 

 to 
/home/jenkins/.m2/repository/org/apache/cayenne/modeler/cayenne-modeler-win/4.0.M2-SNAPSHOT/cayenne-modeler-win-4.0.M2-SNAPSHOT.pom
[INFO] Installing 

 to 
/home/jenkins/.m2/repository/org/apache/cayenne/modeler/cayenne-modeler-win/4.0.M2-SNAPSHOT/cayenne-modeler-win-4.0.M2-SNAPSHOT-sources.jar
[INFO] 
[INFO] 
[INFO] Building Cayenne Modeler Maven Plugin 4.0.M2-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ 
maven-cayenne-modeler-plugin ---
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.9.1:check (default) @ 
maven-cayenne-modeler-plugin ---
[WARNING] File encoding has not been set, using platform encoding ISO-8859-1, 
i.e. build is platform dependent!
[INFO] Starting audit...
Audit done.

[INFO] 
[INFO] >>> maven-pmd-plugin:3.2:check (default) @ maven-cayenne-modeler-plugin 
>>>
[INFO] 
[INFO] --- maven-pmd-plugin:3.2:pmd (pmd) @ maven-cayenne-modeler-plugin ---
[INFO] 
[INFO] <<< maven-pmd-plugin:3.2:check (default) @ maven-cayenne-modeler-plugin 
<<<
[INFO] 
[INFO] --- maven-pmd-plugin:3.2:check (default) @ maven-cayenne-modeler-plugin 
---
[INFO] PMD Failure: org.apache.cayenne.tools.CayenneModelerMojo:82 
Rule:AvoidPrintStackTrace Priority:1 Avoid printStackTrace(); use a logger call 
instead..
[INFO] You have 1 PMD violation. For more details 
see:
[INFO] 
[INFO] --- maven-plugin-plugin:3.3:descriptor (default-descriptor) @ 
maven-cayenne-modeler-plugin ---
[ERROR] 

Artifact Ids of the format maven-___-plugin are reserved for 
plugins in the Group Id org.apache.maven.plugins
Please change your artifactId to the format ___-maven-plugin
In the future this error will break the build.


[WARNING] 

Goal prefix is specified as: 'signature'. Maven currently expects it to be 
'cayenne-modeler'.

[WARNING] Using platform encoding (ISO-8859-1 actually) to read mojo metadata, 
i.e. build is platform dependent!
[INFO] Applying mojo extractor for language: java-annotations
[INFO] Mojo extractor for language: java-annotations found 0 mojo descriptors.
[INFO] Applying mojo extractor for language: java
[WARNING] org.apache.cayenne.tools.CayenneModelerMojo#modelFile:
[WARNING]   The syntax
[WARNING] @parameter expression="${property}"
[WARNING]   is deprecated, please use
[WARNING] @parameter property="property"
[WARNING]   instead.
[INFO] Mojo extractor for language: java found 1 mojo descriptors.
[INFO] Applying mojo extractor for language: bsh
[INFO] Mojo extractor for language: bsh found 0 mojo descriptors.
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ 
maven-cayenne-modeler-plugin ---
[INFO] 
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ 
maven-cayenne-modeler-plugin ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 

[INFO] Copying 4 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ 
maven-cayenne-modeler-plugin ---
[INFO] Compiling 1 source file to 

[INFO] 
[INFO] --- maven-plugin-plugin:

Build failed in Jenkins: cayenne-master » derby,JDK 1.6 (latest),Ubuntu #108

2014-11-28 Thread Apache Jenkins Server
See 


Changes:

[aadamchik] CAY-1971 Variants of Property.like(..) : contains(..), 
startsWith(..), endsWith(..)

[aadamchik] CAY-1971 Variants of Property.like(..) : contains(..), 
startsWith(..), endsWith(..)

[aadamchik] CAY-1959 Chainable API for SelectQuery

[aadamchik] CAY-1958 SelectById - a new full-featured select query to get 
objects by id

--
[...truncated 49953 lines...]
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - --- transaction 
started.
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - SELECT NEXT_ID FROM 
AUTO_PK_SUPPORT WHERE TABLE_NAME = ? FOR UPDATE [bind: 1:'FLATTENED_TEST_2']
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - SELECT NEXT_ID FROM 
AUTO_PK_SUPPORT WHERE TABLE_NAME = ? FOR UPDATE [bind: 1:'FLATTENED_TEST_3']
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - INSERT INTO 
FLATTENED_TEST_1 (FT1_ID, NAME) VALUES (?, ?)
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - [batch bind: 
1->FT1_ID:200, 2->NAME:'t11']
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - [batch bind: 
1->FT1_ID:201, 2->NAME:'t01']
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - === updated 2 rows.
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - INSERT INTO 
FLATTENED_TEST_2 (FT1_ID, FT2_ID, NAME) VALUES (?, ?, ?)
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - [batch bind: 
1->FT1_ID:201, 2->FT2_ID:200, 3->NAME:'t02']
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - [batch bind: 
1->FT1_ID:200, 2->FT2_ID:201, 3->NAME:'t12']
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - === updated 2 rows.
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - INSERT INTO 
FLATTENED_TEST_3 (FT2_ID, FT3_ID, NAME) VALUES (?, ?, ?)
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - [batch bind: 
1->FT2_ID:201, 2->FT3_ID:200, 3->NAME:'t131']
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - [batch bind: 
1->FT2_ID:200, 2->FT3_ID:201, 3->NAME:'t032']
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - [batch bind: 
1->FT2_ID:200, 2->FT3_ID:202, 3->NAME:'t031']
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - === updated 3 rows.
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - +++ transaction 
committed.
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - --- transaction 
started.
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - SELECT DISTINCT 
t0.NAME, t0.FT1_ID FROM FLATTENED_TEST_1 t0 JOIN FLATTENED_TEST_2 t1 ON 
(t0.FT1_ID = t1.FT1_ID) JOIN FLATTENED_TEST_3 t2 ON (t1.FT2_ID = t2.FT2_ID) 
WHERE t2.NAME = ? [bind: 1->NAME:'t031']
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - === returned 1 row. 
- took 10 ms.
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - +++ transaction 
committed.
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - --- transaction 
started.
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - SELECT DISTINCT 
t0.NAME, t0.FT1_ID FROM FLATTENED_TEST_1 t0 JOIN FLATTENED_TEST_2 t1 ON 
(t0.FT1_ID = t1.FT1_ID) JOIN FLATTENED_TEST_3 t2 ON (t1.FT2_ID = t2.FT2_ID) 
WHERE t2.FT3_ID = ? [bind: 1->FT3_ID:200]
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - === returned 1 row. 
- took 7 ms.
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - +++ transaction 
committed.
[main] INFO org.apache.cayenne.configuration.XMLDataChannelDescriptorLoader - 
Loading XML configuration resource from 

[main] INFO org.apache.cayenne.configuration.XMLDataChannelDescriptorLoader - 
Loading XML DataMap resource from 

[main] INFO org.apache.cayenne.configuration.XMLDataChannelDescriptorLoader - 
Loading XML configuration resource from 

[main] INFO org.apache.cayenne.configuration.XMLDataChannelDescriptorLoader - 
Loading XML DataMap resource from 

[main] INFO org.apache.cayenne.test.jdbc.UtilityLogger - delete from 
COMPLEX_JOIN
[main] INFO org.apache.cayenne.test.jdbc.UtilityLogger - delete from 
FLATTENED_TEST_4
[main] INFO org.apache.cayenne.test.jdbc.UtilityLogger - delete from 
FLATTENED_

Build failed in Jenkins: cayenne-master » derby,JDK 1.7 (latest),Ubuntu #108

2014-11-28 Thread Apache Jenkins Server
See 


Changes:

[aadamchik] CAY-1971 Variants of Property.like(..) : contains(..), 
startsWith(..), endsWith(..)

[aadamchik] CAY-1971 Variants of Property.like(..) : contains(..), 
startsWith(..), endsWith(..)

[aadamchik] CAY-1959 Chainable API for SelectQuery

[aadamchik] CAY-1958 SelectById - a new full-featured select query to get 
objects by id

--
[...truncated 50261 lines...]
[main] INFO org.apache.cayenne.test.jdbc.UtilityLogger - delete from 
ARTIST_EXHIBIT
[main] INFO org.apache.cayenne.test.jdbc.UtilityLogger - delete from 
ARTIST_GROUP
[main] INFO org.apache.cayenne.test.jdbc.UtilityLogger - delete from PAINTING
[main] INFO org.apache.cayenne.test.jdbc.UtilityLogger - delete from PAINTING1
[main] INFO org.apache.cayenne.test.jdbc.UtilityLogger - delete from ARTGROUP
[main] INFO org.apache.cayenne.test.jdbc.UtilityLogger - delete from EXHIBIT
[main] INFO org.apache.cayenne.test.jdbc.UtilityLogger - delete from 
GENERATED_COLUMN
[main] INFO org.apache.cayenne.test.jdbc.UtilityLogger - delete from ARTIST_CT
[main] INFO org.apache.cayenne.test.jdbc.UtilityLogger - delete from GALLERY
[main] INFO org.apache.cayenne.test.jdbc.UtilityLogger - delete from ARTIST
[main] INFO org.apache.cayenne.test.jdbc.UtilityLogger - delete from NULL_TEST
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - --- transaction 
started.
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - INSERT INTO GALLERY 
(GALLERY_ID, GALLERY_NAME) VALUES (?, ?)
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - [batch bind: 
1->GALLERY_ID:204, 2->GALLERY_NAME:'yT']
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - === updated 1 row.
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - INSERT INTO 
PAINTING (ARTIST_ID, ESTIMATED_PRICE, GALLERY_ID, PAINTING_DESCRIPTION, 
PAINTING_ID, PAINTING_TITLE) VALUES (?, ?, ?, ?, ?, ?)
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - [batch bind: 
1->ARTIST_ID:NULL, 2->ESTIMATED_PRICE:NULL, 3->GALLERY_ID:204, 
4->PAINTING_DESCRIPTION:NULL, 5->PAINTING_ID:245, 6->PAINTING_TITLE:'xa']
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - === updated 1 row.
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - +++ transaction 
committed.
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - --- transaction 
started.
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - SELECT 
t0.ESTIMATED_PRICE, t0.PAINTING_DESCRIPTION, t0.PAINTING_TITLE, t0.ARTIST_ID, 
t0.GALLERY_ID, t0.PAINTING_ID FROM PAINTING t0
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - === returned 1 row. 
- took 0 ms.
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - +++ transaction 
committed.
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - --- transaction 
started.
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - SELECT 
t0.ESTIMATED_PRICE, t0.PAINTING_DESCRIPTION, t0.PAINTING_TITLE, t0.ARTIST_ID, 
t0.GALLERY_ID, t0.PAINTING_ID FROM PAINTING t0 WHERE t0.GALLERY_ID = ? [bind: 
1->GALLERY_ID:204]
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - === returned 1 row. 
- took 1 ms.
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - +++ transaction 
committed.
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - --- transaction 
started.
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - UPDATE PAINTING SET 
GALLERY_ID = ? WHERE PAINTING_ID = ?
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - [batch bind: 
1->GALLERY_ID:NULL, 2->PAINTING_ID:245]
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - === updated 1 row.
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - +++ transaction 
committed.
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - --- transaction 
started.
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - SELECT 
t0.ESTIMATED_PRICE, t0.PAINTING_DESCRIPTION, t0.PAINTING_TITLE, t0.ARTIST_ID, 
t0.GALLERY_ID, t0.PAINTING_ID FROM PAINTING t0
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - === returned 1 row. 
- took 0 ms.
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - +++ transaction 
committed.
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.799 sec - in 
org.apache.cayenne.CDOMany2OneIT
Running org.apache.cayenne.CDOMany2OneNoRevIT
[main] INFO org.apache.cayenne.configuration.XMLDataChannelDescriptorLoader - 
Loading XML configuration resource from 

[main] INFO org.apache.cayenne.configuration.XMLDataChannelDescriptorLoader - 
Loading XML DataMap resource from 


Build failed in Jenkins: cayenne-master » hsql,JDK 1.7 (latest),Ubuntu #108

2014-11-28 Thread Apache Jenkins Server
See 


Changes:

[aadamchik] CAY-1971 Variants of Property.like(..) : contains(..), 
startsWith(..), endsWith(..)

[aadamchik] CAY-1971 Variants of Property.like(..) : contains(..), 
startsWith(..), endsWith(..)

[aadamchik] CAY-1959 Chainable API for SelectQuery

[aadamchik] CAY-1958 SelectById - a new full-featured select query to get 
objects by id

--
[...truncated 53031 lines...]
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - SELECT ARTIST_ID, 
ARTIST_NAME  FROM ARTIST
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - === returned 1 row. 
- took 1 ms.
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - +++ transaction 
committed.
[main] INFO org.apache.cayenne.configuration.XMLDataChannelDescriptorLoader - 
Loading XML configuration resource from 
file:/x1/jenkins/jenkins-slave/workspace/cayenne-master/cayenneTestConnection/hsql/jdk/JDK%201.7%20(latest)/label/Ubuntu/cayenne-server/target/test-classes/cayenne-testmap.xml
[main] INFO org.apache.cayenne.configuration.XMLDataChannelDescriptorLoader - 
Loading XML DataMap resource from 
file:/x1/jenkins/jenkins-slave/workspace/cayenne-master/cayenneTestConnection/hsql/jdk/JDK%201.7%20(latest)/label/Ubuntu/cayenne-server/target/test-classes/testmap.map.xml
[main] INFO org.apache.cayenne.map.EntityResolver - added runtime complimentary 
DbRelationship from ARTIST to PAINTING1
[main] INFO org.apache.cayenne.configuration.XMLDataChannelDescriptorLoader - 
Loading XML configuration resource from 
file:/x1/jenkins/jenkins-slave/workspace/cayenne-master/cayenneTestConnection/hsql/jdk/JDK%201.7%20(latest)/label/Ubuntu/cayenne-server/target/test-classes/cayenne-testmap.xml
[main] INFO org.apache.cayenne.configuration.XMLDataChannelDescriptorLoader - 
Loading XML DataMap resource from 
file:/x1/jenkins/jenkins-slave/workspace/cayenne-master/cayenneTestConnection/hsql/jdk/JDK%201.7%20(latest)/label/Ubuntu/cayenne-server/target/test-classes/testmap.map.xml
[main] INFO org.apache.cayenne.test.jdbc.UtilityLogger - delete from 
PAINTING_INFO
[main] INFO org.apache.cayenne.test.jdbc.UtilityLogger - delete from 
ARTIST_GROUP
[main] INFO org.apache.cayenne.test.jdbc.UtilityLogger - delete from PAINTING
[main] INFO org.apache.cayenne.test.jdbc.UtilityLogger - delete from 
ARTIST_EXHIBIT
[main] INFO org.apache.cayenne.test.jdbc.UtilityLogger - delete from PAINTING1
[main] INFO org.apache.cayenne.test.jdbc.UtilityLogger - delete from ARTIST
[main] INFO org.apache.cayenne.test.jdbc.UtilityLogger - delete from EXHIBIT
[main] INFO org.apache.cayenne.test.jdbc.UtilityLogger - delete from ARTIST_CT
[main] INFO org.apache.cayenne.test.jdbc.UtilityLogger - delete from NULL_TEST
[main] INFO org.apache.cayenne.test.jdbc.UtilityLogger - delete from GALLERY
[main] INFO org.apache.cayenne.test.jdbc.UtilityLogger - delete from 
GENERATED_COLUMN
[main] INFO org.apache.cayenne.test.jdbc.UtilityLogger - delete from ARTGROUP
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - INSERT INTO ARTIST 
(ARTIST_ID, ARTIST_NAME, DATE_OF_BIRTH) VALUES (?, ?, ?) [bind: 1:1, 
2:'ArtistToTestResult', 3:NULL]
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - === updated 1 row.
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - --- transaction 
started.
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - SELECT 
t0.ARTIST_NAME, t0.DATE_OF_BIRTH, t0.ARTIST_ID FROM ARTIST t0
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - === returned 1 row. 
- took 1 ms.
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - +++ transaction 
committed.
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - --- transaction 
started.
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - SELECT ARTIST_ID, 
ARTIST_NAME FROM ARTIST
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - === returned 1 row. 
- took 1 ms.
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - +++ transaction 
committed.
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.332 sec - in 
org.apache.cayenne.velocity.ResultDirectiveIT
Running org.apache.cayenne.ejbql.EJBQLCompiledExpressionIT
[main] INFO org.apache.cayenne.configuration.XMLDataChannelDescriptorLoader - 
Loading XML configuration resource from 
file:/x1/jenkins/jenkins-slave/workspace/cayenne-master/cayenneTestConnection/hsql/jdk/JDK%201.7%20(latest)/label/Ubuntu/cayenne-server/target/test-classes/cayenne-testmap.xml
[main] INFO org.apache.cayenne.configuration.XMLDataChannelDescriptorLoader - 
Loading XML DataMap resource from 
file:/x1/jenkins/jenkins-slave/workspace/cayenne-master/cayenneTestConnection/hsql/jdk/JDK%201.7%20(latest)/label/Ubuntu/cayenne-server/target/test-classes/testmap.map.xml
[main] INFO org.apache.cayenne.map.EntityResolver - added runtime complimentary 
DbRelationship from ARTIST to PAINTIN

Build failed in Jenkins: cayenne-master » h2,JDK 1.6 (latest),Ubuntu #108

2014-11-28 Thread Apache Jenkins Server
See 


Changes:

[aadamchik] CAY-1971 Variants of Property.like(..) : contains(..), 
startsWith(..), endsWith(..)

[aadamchik] CAY-1971 Variants of Property.like(..) : contains(..), 
startsWith(..), endsWith(..)

[aadamchik] CAY-1959 Chainable API for SelectQuery

[aadamchik] CAY-1958 SelectById - a new full-featured select query to get 
objects by id

--
[...truncated 69333 lines...]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ 
maven-cayenne-modeler-plugin ---
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.9.1:check (default) @ 
maven-cayenne-modeler-plugin ---
[WARNING] File encoding has not been set, using platform encoding ISO-8859-1, 
i.e. build is platform dependent!
[INFO] Starting audit...
Audit done.

[INFO] 
[INFO] >>> maven-pmd-plugin:3.2:check (default) @ maven-cayenne-modeler-plugin 
>>>
[INFO] 
[INFO] --- maven-pmd-plugin:3.2:pmd (pmd) @ maven-cayenne-modeler-plugin ---
[INFO] 
[INFO] <<< maven-pmd-plugin:3.2:check (default) @ maven-cayenne-modeler-plugin 
<<<
[INFO] 
[INFO] --- maven-pmd-plugin:3.2:check (default) @ maven-cayenne-modeler-plugin 
---
[INFO] PMD Failure: org.apache.cayenne.tools.CayenneModelerMojo:82 
Rule:AvoidPrintStackTrace Priority:1 Avoid printStackTrace(); use a logger call 
instead..
[INFO] You have 1 PMD violation. For more details 
see:
[INFO] 
[INFO] --- maven-plugin-plugin:3.3:descriptor (default-descriptor) @ 
maven-cayenne-modeler-plugin ---
[ERROR] 

Artifact Ids of the format maven-___-plugin are reserved for 
plugins in the Group Id org.apache.maven.plugins
Please change your artifactId to the format ___-maven-plugin
In the future this error will break the build.


[WARNING] 

Goal prefix is specified as: 'signature'. Maven currently expects it to be 
'cayenne-modeler'.

[WARNING] Using platform encoding (ISO-8859-1 actually) to read mojo metadata, 
i.e. build is platform dependent!
[INFO] Applying mojo extractor for language: java-annotations
[INFO] Mojo extractor for language: java-annotations found 0 mojo descriptors.
[INFO] Applying mojo extractor for language: java
[WARNING] org.apache.cayenne.tools.CayenneModelerMojo#modelFile:
[WARNING]   The syntax
[WARNING] @parameter expression="${property}"
[WARNING]   is deprecated, please use
[WARNING] @parameter property="property"
[WARNING]   instead.
[INFO] Mojo extractor for language: java found 1 mojo descriptors.
[INFO] Applying mojo extractor for language: bsh
[INFO] Mojo extractor for language: bsh found 0 mojo descriptors.
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ 
maven-cayenne-modeler-plugin ---
[INFO] 
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ 
maven-cayenne-modeler-plugin ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 

[INFO] Copying 4 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ 
maven-cayenne-modeler-plugin ---
[INFO] Compiling 1 source file to 

[INFO] 
[INFO] --- maven-plugin-plugin:3.3:descriptor (default) @ 
maven-cayenne-modeler-plugin ---
[ERROR] 

Artifact Ids of the format maven-___-plugin are reserved for 
plugins in the Group Id org.apache.maven.plugins
Please change your artifactId to the format ___-maven-plugin
In the future this error will break the build.


[WARNING] 

Goal prefix is specified as: 'signature'. Maven currently expects it to be 
'cayenne-modeler'.

[WARNING] Using platform encoding (ISO-8859-1 actually) to read mojo metadata, 
i.e. build is platform dependent!
[INFO] Applying mojo extractor for language: java-annotations
[INFO] Mojo extractor for language: java-annotations found 0 mojo descriptors.
[INFO] Applying mojo extractor for language: java
[WARNING] org.apache.cayenne.tools.CayenneModelerMojo#modelFile:
[WARNING]   The syntax
[WARNING] @parameter expression="${property}"
[WARNING]   is deprecated, please use
[WARNING] @parameter property="property"
[WARNING]   instead.
[INFO] Mojo extractor for language: java found 1 mojo descriptors.
[INFO] Applying mojo extractor for language: bsh
[INFO] Mojo extractor for language: bsh found 0 mojo descriptors.
[INFO] 
[INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ 
maven-cayenne-modeler-plugin ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] sk

Build failed in Jenkins: cayenne-master » hsql,JDK 1.6 (latest),Ubuntu #108

2014-11-28 Thread Apache Jenkins Server
See 


Changes:

[aadamchik] CAY-1971 Variants of Property.like(..) : contains(..), 
startsWith(..), endsWith(..)

[aadamchik] CAY-1971 Variants of Property.like(..) : contains(..), 
startsWith(..), endsWith(..)

[aadamchik] CAY-1959 Chainable API for SelectQuery

[aadamchik] CAY-1958 SelectById - a new full-featured select query to get 
objects by id

--
[...truncated 69387 lines...]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ 
maven-cayenne-modeler-plugin ---
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.9.1:check (default) @ 
maven-cayenne-modeler-plugin ---
[WARNING] File encoding has not been set, using platform encoding ISO-8859-1, 
i.e. build is platform dependent!
[INFO] Starting audit...
Audit done.

[INFO] 
[INFO] >>> maven-pmd-plugin:3.2:check (default) @ maven-cayenne-modeler-plugin 
>>>
[INFO] 
[INFO] --- maven-pmd-plugin:3.2:pmd (pmd) @ maven-cayenne-modeler-plugin ---
[INFO] 
[INFO] <<< maven-pmd-plugin:3.2:check (default) @ maven-cayenne-modeler-plugin 
<<<
[INFO] 
[INFO] --- maven-pmd-plugin:3.2:check (default) @ maven-cayenne-modeler-plugin 
---
[INFO] PMD Failure: org.apache.cayenne.tools.CayenneModelerMojo:82 
Rule:AvoidPrintStackTrace Priority:1 Avoid printStackTrace(); use a logger call 
instead..
[INFO] You have 1 PMD violation. For more details 
see:
[INFO] 
[INFO] --- maven-plugin-plugin:3.3:descriptor (default-descriptor) @ 
maven-cayenne-modeler-plugin ---
[ERROR] 

Artifact Ids of the format maven-___-plugin are reserved for 
plugins in the Group Id org.apache.maven.plugins
Please change your artifactId to the format ___-maven-plugin
In the future this error will break the build.


[WARNING] 

Goal prefix is specified as: 'signature'. Maven currently expects it to be 
'cayenne-modeler'.

[WARNING] Using platform encoding (ISO-8859-1 actually) to read mojo metadata, 
i.e. build is platform dependent!
[INFO] Applying mojo extractor for language: java-annotations
[INFO] Mojo extractor for language: java-annotations found 0 mojo descriptors.
[INFO] Applying mojo extractor for language: java
[WARNING] org.apache.cayenne.tools.CayenneModelerMojo#modelFile:
[WARNING]   The syntax
[WARNING] @parameter expression="${property}"
[WARNING]   is deprecated, please use
[WARNING] @parameter property="property"
[WARNING]   instead.
[INFO] Mojo extractor for language: java found 1 mojo descriptors.
[INFO] Applying mojo extractor for language: bsh
[INFO] Mojo extractor for language: bsh found 0 mojo descriptors.
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ 
maven-cayenne-modeler-plugin ---
[INFO] 
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ 
maven-cayenne-modeler-plugin ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 

[INFO] Copying 4 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ 
maven-cayenne-modeler-plugin ---
[INFO] Compiling 1 source file to 

[INFO] 
[INFO] --- maven-plugin-plugin:3.3:descriptor (default) @ 
maven-cayenne-modeler-plugin ---
[ERROR] 

Artifact Ids of the format maven-___-plugin are reserved for 
plugins in the Group Id org.apache.maven.plugins
Please change your artifactId to the format ___-maven-plugin
In the future this error will break the build.


[WARNING] 

Goal prefix is specified as: 'signature'. Maven currently expects it to be 
'cayenne-modeler'.

[WARNING] Using platform encoding (ISO-8859-1 actually) to read mojo metadata, 
i.e. build is platform dependent!
[INFO] Applying mojo extractor for language: java-annotations
[INFO] Mojo extractor for language: java-annotations found 0 mojo descriptors.
[INFO] Applying mojo extractor for language: java
[WARNING] org.apache.cayenne.tools.CayenneModelerMojo#modelFile:
[WARNING]   The syntax
[WARNING] @parameter expression="${property}"
[WARNING]   is deprecated, please use
[WARNING] @parameter property="property"
[WARNING]   instead.
[INFO] Mojo extractor for language: java found 1 mojo descriptors.
[INFO] Applying mojo extractor for language: bsh
[INFO] Mojo extractor for language: bsh found 0 mojo descriptors.
[INFO] 
[INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ 
maven-cayenne-modeler-plugin ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[

Build failed in Jenkins: cayenne-master » h2,jdk1.8.0_11,Ubuntu #108

2014-11-28 Thread Apache Jenkins Server
See 


Changes:

[aadamchik] CAY-1971 Variants of Property.like(..) : contains(..), 
startsWith(..), endsWith(..)

[aadamchik] CAY-1971 Variants of Property.like(..) : contains(..), 
startsWith(..), endsWith(..)

[aadamchik] CAY-1959 Chainable API for SelectQuery

[aadamchik] CAY-1958 SelectById - a new full-featured select query to get 
objects by id

--
[...truncated 53090 lines...]
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - SELECT TABLE3_ID 
FROM oneway_table4
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - === returned 2 
rows. - took 0 ms.
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - +++ transaction 
committed.
[main] INFO org.apache.cayenne.configuration.XMLDataChannelDescriptorLoader - 
Loading XML configuration resource from 

[main] INFO org.apache.cayenne.configuration.XMLDataChannelDescriptorLoader - 
Loading XML DataMap resource from 

[main] INFO org.apache.cayenne.map.EntityResolver - added runtime complimentary 
DbRelationship from oneway_table1 to oneway_table2
[main] INFO org.apache.cayenne.map.EntityResolver - added runtime complimentary 
DbRelationship from oneway_table4 to oneway_table3
[main] INFO org.apache.cayenne.configuration.XMLDataChannelDescriptorLoader - 
Loading XML configuration resource from 

[main] INFO org.apache.cayenne.configuration.XMLDataChannelDescriptorLoader - 
Loading XML DataMap resource from 

[main] INFO org.apache.cayenne.test.jdbc.UtilityLogger - delete from 
oneway_table2
[main] INFO org.apache.cayenne.test.jdbc.UtilityLogger - delete from 
oneway_table1
[main] INFO org.apache.cayenne.test.jdbc.UtilityLogger - delete from 
oneway_table4
[main] INFO org.apache.cayenne.test.jdbc.UtilityLogger - delete from 
oneway_table3
[main] INFO org.apache.cayenne.test.jdbc.UtilityLogger - INSERT INTO 
oneway_table3 (ID) VALUES (?)
[main] INFO org.apache.cayenne.test.jdbc.UtilityLogger - INSERT INTO 
oneway_table4 (ID, TABLE3_ID) VALUES (?, ?)
[main] INFO org.apache.cayenne.test.jdbc.UtilityLogger - INSERT INTO 
oneway_table4 (ID, TABLE3_ID) VALUES (?, ?)
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - --- transaction 
started.
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - SELECT t0.ID FROM 
oneway_table3 t0 WHERE t0.ID = ? [bind: 1->ID:1]
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - === returned 1 row. 
- took 0 ms.
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - +++ transaction 
committed.
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - --- transaction 
started.
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - SELECT t0.ID FROM 
oneway_table4 t0 WHERE t0.TABLE3_ID = ? [bind: 1->TABLE3_ID:1]
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - === returned 2 
rows. - took 1 ms.
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - +++ transaction 
committed.
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - --- transaction 
started.
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - UPDATE 
oneway_table4 SET TABLE3_ID = ? WHERE ID = ?
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - [bind: 
1->TABLE3_ID:NULL, 2->ID:2]
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - === updated 1 row.
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - +++ transaction 
committed.
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - --- transaction 
started.
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - SELECT TABLE3_ID 
FROM oneway_table4
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - === returned 2 
rows. - took 1 ms.
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - +++ transaction 
committed.
[main] INFO org.apache.cayenne.configuration.XMLDataChannelDescriptorLoader - 
Loading XML configuration resource from 

[main] INFO org.apache.cayenne.configuration.XMLDataChannelDescriptorLoader - 
Loading XML DataMap resource from 


Jenkins build is back to normal : cayenne-master » derby,JDK 1.6 (latest),Ubuntu #107

2014-11-28 Thread Apache Jenkins Server
See 




Jenkins build is back to normal : cayenne-master » derby,JDK 1.7 (latest),Ubuntu #107

2014-11-28 Thread Apache Jenkins Server
See 




Jenkins build is back to normal : cayenne-master » hsql,JDK 1.7 (latest),Ubuntu #107

2014-11-28 Thread Apache Jenkins Server
See 




Jenkins build is back to normal : cayenne-master » h2,JDK 1.7 (latest),Ubuntu #107

2014-11-28 Thread Apache Jenkins Server
See 




Jenkins build is back to normal : cayenne-master » h2,jdk1.8.0_11,Ubuntu #107

2014-11-28 Thread Apache Jenkins Server
See 




cayenne git commit: CAY-1958 SelectById - a new full-featured select query to get objects by id

2014-11-28 Thread aadamchik
Repository: cayenne
Updated Branches:
  refs/heads/master 047a29477 -> 5331b8c5c


CAY-1958 SelectById - a new full-featured select query to get objects by id

* support for prefetches


Project: http://git-wip-us.apache.org/repos/asf/cayenne/repo
Commit: http://git-wip-us.apache.org/repos/asf/cayenne/commit/5331b8c5
Tree: http://git-wip-us.apache.org/repos/asf/cayenne/tree/5331b8c5
Diff: http://git-wip-us.apache.org/repos/asf/cayenne/diff/5331b8c5

Branch: refs/heads/master
Commit: 5331b8c5cad581ecfe71bed41f7d671b548bee7d
Parents: 047a294
Author: aadamchik 
Authored: Fri Nov 28 17:07:51 2014 +0300
Committer: aadamchik 
Committed: Fri Nov 28 17:19:21 2014 +0300

--
 .../apache/cayenne/query/SelectByIdTest.java|   8 +-
 .../org/apache/cayenne/query/SelectById.java|  66 ++
 .../org/apache/cayenne/query/SelectByIdIT.java  | 201 
 .../apache/cayenne/query/SelectByIdTest.java|  78 +++
 .../apache/cayenne/query/SelectById_RunIT.java  | 227 +++
 5 files changed, 375 insertions(+), 205 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/cayenne/blob/5331b8c5/cayenne-client/src/test/java/org/apache/cayenne/query/SelectByIdTest.java
--
diff --git 
a/cayenne-client/src/test/java/org/apache/cayenne/query/SelectByIdTest.java 
b/cayenne-client/src/test/java/org/apache/cayenne/query/SelectByIdTest.java
index 087c84c..84b2e06 100644
--- a/cayenne-client/src/test/java/org/apache/cayenne/query/SelectByIdTest.java
+++ b/cayenne-client/src/test/java/org/apache/cayenne/query/SelectByIdTest.java
@@ -18,15 +18,15 @@
  /
 package org.apache.cayenne.query;
 
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertNotSame;
+import static org.junit.Assert.assertTrue;
+
 import org.apache.cayenne.map.EntityResolver;
 import org.apache.cayenne.remote.hessian.service.HessianUtil;
 import org.apache.cayenne.testdo.testmap.Artist;
 import org.junit.Test;
 
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertNotSame;
-import static org.junit.Assert.assertTrue;
-
 public class SelectByIdTest {
 
@Test

http://git-wip-us.apache.org/repos/asf/cayenne/blob/5331b8c5/cayenne-server/src/main/java/org/apache/cayenne/query/SelectById.java
--
diff --git 
a/cayenne-server/src/main/java/org/apache/cayenne/query/SelectById.java 
b/cayenne-server/src/main/java/org/apache/cayenne/query/SelectById.java
index 00ee205..92060ad 100644
--- a/cayenne-server/src/main/java/org/apache/cayenne/query/SelectById.java
+++ b/cayenne-server/src/main/java/org/apache/cayenne/query/SelectById.java
@@ -53,6 +53,7 @@ public class SelectById extends IndirectQuery implements 
Select {
boolean fetchingDataRows;
QueryCacheStrategy cacheStrategy;
String[] cacheGroups;
+   PrefetchTreeNode prefetches;
 
public static  SelectById query(Class entityType, Object id) {
SelectById q = new SelectById();
@@ -185,6 +186,70 @@ public class SelectById extends IndirectQuery 
implements Select {
return fetchingDataRows;
}
 
+   /**
+* Resets internal prefetches to the new value, which is a single 
prefetch
+* with specified semantics.
+* 
+* @return this object
+*/
+   public SelectById prefetch(String path, int semantics) {
+   this.prefetches = PrefetchTreeNode.withPath(path, semantics);
+   return this;
+   }
+
+   /**
+* Resets internal prefetches to the new value.
+* 
+* @return this object
+*/
+   public SelectById prefetch(PrefetchTreeNode prefetch) {
+   this.prefetches = prefetch;
+   return this;
+   }
+
+   /**
+* Merges prefetch into the query prefetch tree.
+* 
+* @return this object
+*/
+   public SelectById addPrefetch(PrefetchTreeNode prefetch) {
+
+   if (prefetch == null) {
+   return this;
+   }
+
+   if (prefetches == null) {
+   prefetches = new PrefetchTreeNode();
+   }
+
+   prefetches.merge(prefetch);
+   return this;
+   }
+
+   /**
+* Merges a prefetch path with specified semantics into the query 
prefetch
+* tree.
+* 
+* @return this object
+*/
+   public SelectById addPrefetch(String path, int semantics) {
+
+   if (path == null) {
+   return this;
+   }
+
+   if (prefetches == null) {
+   prefetches = new PrefetchTreeNo

Jenkins build is back to normal : cayenne-master » hsql,JDK 1.6 (latest),Ubuntu #107

2014-11-28 Thread Apache Jenkins Server
See 




cayenne git commit: CAY-1959 Chainable API for SelectQuery

2014-11-28 Thread aadamchik
Repository: cayenne
Updated Branches:
  refs/heads/master 16e5513cd -> 047a29477


CAY-1959 Chainable API for SelectQuery

* 'selectFirst' method


Project: http://git-wip-us.apache.org/repos/asf/cayenne/repo
Commit: http://git-wip-us.apache.org/repos/asf/cayenne/commit/047a2947
Tree: http://git-wip-us.apache.org/repos/asf/cayenne/tree/047a2947
Diff: http://git-wip-us.apache.org/repos/asf/cayenne/diff/047a2947

Branch: refs/heads/master
Commit: 047a29477202b145b9f14e0bd7aea312500a6e10
Parents: 16e5513
Author: aadamchik 
Authored: Sat Nov 22 14:09:26 2014 +0300
Committer: aadamchik 
Committed: Fri Nov 28 16:58:38 2014 +0300

--
 .../org/apache/cayenne/query/ObjectSelect.java  | 25 +++-
 .../org/apache/cayenne/query/SQLSelect.java | 25 +++-
 .../org/apache/cayenne/query/SelectById.java|  9 ++-
 .../cayenne/query/ObjectSelect_RunIT.java   | 61 +---
 4 files changed, 107 insertions(+), 13 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/cayenne/blob/047a2947/cayenne-server/src/main/java/org/apache/cayenne/query/ObjectSelect.java
--
diff --git 
a/cayenne-server/src/main/java/org/apache/cayenne/query/ObjectSelect.java 
b/cayenne-server/src/main/java/org/apache/cayenne/query/ObjectSelect.java
index b6395dc..022bcf6 100644
--- a/cayenne-server/src/main/java/org/apache/cayenne/query/ObjectSelect.java
+++ b/cayenne-server/src/main/java/org/apache/cayenne/query/ObjectSelect.java
@@ -661,11 +661,32 @@ public class ObjectSelect extends IndirectQuery 
implements Select {
}
 
/**
-* Selects a single object using provided context. Essentially the 
inversion
-* of "ObjectContext.selectOne(Select)".
+* Selects a single object using provided context. The query is 
expected to
+* match zero or one object. It returns null if no objects were 
matched. If
+* query matched more than one object, {@link CayenneRuntimeException} 
is
+* thrown.
+* 
+* Essentially the inversion of "ObjectContext.selectOne(Select)".
 */
public T selectOne(ObjectContext context) {
return context.selectOne(this);
}
 
+   /**
+* Selects a single object using provided context. The query itself can
+* match any number of objects, but will return only the first one. It
+* returns null if no objects were matched.
+* 
+* If it matched more than one object, the first object from the list is
+* returned. This makes 'selectFirst' different from
+* {@link #selectOne(ObjectContext)}, which would throw in this 
situation.
+* 'selectFirst' is useful e.g. when the query is ordered and we only 
want
+* to see the first object (e.g. "most recent news article"), etc.
+* 
+* This method is equivalent to calling "limit(1).selectOne(context)".
+*/
+   public T selectFirst(ObjectContext context) {
+   return limit(1).selectOne(context);
+   }
+
 }

http://git-wip-us.apache.org/repos/asf/cayenne/blob/047a2947/cayenne-server/src/main/java/org/apache/cayenne/query/SQLSelect.java
--
diff --git 
a/cayenne-server/src/main/java/org/apache/cayenne/query/SQLSelect.java 
b/cayenne-server/src/main/java/org/apache/cayenne/query/SQLSelect.java
index b4504f4..ebd5d58 100644
--- a/cayenne-server/src/main/java/org/apache/cayenne/query/SQLSelect.java
+++ b/cayenne-server/src/main/java/org/apache/cayenne/query/SQLSelect.java
@@ -121,13 +121,34 @@ public class SQLSelect extends IndirectQuery 
implements Select {
}
 
/**
-* Selects a single object using provided context. Essentially the 
inversion
-* of "ObjectContext.selectOne(Select)".
+* Selects a single object using provided context. The query is 
expected to
+* match zero or one object. It returns null if no objects were 
matched. If
+* query matched more than one object, {@link CayenneRuntimeException} 
is
+* thrown.
+* 
+* Essentially the inversion of "ObjectContext.selectOne(Select)".
 */
public T selectOne(ObjectContext context) {
return context.selectOne(this);
}
 
+   /**
+* Selects a single object using provided context. The query itself can
+* match any number of objects, but will return only the first one. It
+* returns null if no objects were matched.
+* 
+* If it matched more than one object, the first object from the list is
+* returned. This makes 'selectFirst' different from
+* {@link #selectOne(ObjectContext)}, which would throw in this 
situation.
+* 'selectFirst' is useful e.g. when the query 

Jenkins build is back to normal : cayenne-master » h2,JDK 1.6 (latest),Ubuntu #107

2014-11-28 Thread Apache Jenkins Server
See 




cayenne git commit: CAY-1971 Variants of Property.like(..) : contains(..), startsWith(..), endsWith(..)

2014-11-28 Thread aadamchik
Repository: cayenne
Updated Branches:
  refs/heads/master a1eaded22 -> 16e5513cd


CAY-1971 Variants of Property.like(..) : contains(..), startsWith(..), 
endsWith(..)

consistent naming for 'likeIgnoreCase' in Property. Prior
to this we tried using 'likeInsensitive', which is
really no better by any standard


Project: http://git-wip-us.apache.org/repos/asf/cayenne/repo
Commit: http://git-wip-us.apache.org/repos/asf/cayenne/commit/16e5513c
Tree: http://git-wip-us.apache.org/repos/asf/cayenne/tree/16e5513c
Diff: http://git-wip-us.apache.org/repos/asf/cayenne/diff/16e5513c

Branch: refs/heads/master
Commit: 16e5513cdd2982c5aed1a0da7c1dba62214e70a1
Parents: a1eaded
Author: aadamchik 
Authored: Sat Nov 22 14:46:31 2014 +0300
Committer: aadamchik 
Committed: Fri Nov 28 16:32:49 2014 +0300

--
 cayenne-server/src/main/java/org/apache/cayenne/exp/Property.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/cayenne/blob/16e5513c/cayenne-server/src/main/java/org/apache/cayenne/exp/Property.java
--
diff --git a/cayenne-server/src/main/java/org/apache/cayenne/exp/Property.java 
b/cayenne-server/src/main/java/org/apache/cayenne/exp/Property.java
index 9554972..2de19ef 100644
--- a/cayenne-server/src/main/java/org/apache/cayenne/exp/Property.java
+++ b/cayenne-server/src/main/java/org/apache/cayenne/exp/Property.java
@@ -208,7 +208,7 @@ public class Property {
/**
 * @return An expression for a case insensitive "NOT LIKE" query.
 */
-   public Expression nlikeInsensitive(String value) {
+   public Expression nlikeIgnoreCase(String value) {
return ExpressionFactory.notLikeIgnoreCaseExp(getName(), value);
}
 



cayenne git commit: CAY-1971 Variants of Property.like(..) : contains(..), startsWith(..), endsWith(..)

2014-11-28 Thread aadamchik
Repository: cayenne
Updated Branches:
  refs/heads/master f1ce0a11b -> a1eaded22


CAY-1971 Variants of Property.like(..) : contains(..), startsWith(..), 
endsWith(..)

consistent naming for 'likeIgnoreCase' in Property. Prior
to this we tried using 'likeInsensitive', which is
really no better by any standard


Project: http://git-wip-us.apache.org/repos/asf/cayenne/repo
Commit: http://git-wip-us.apache.org/repos/asf/cayenne/commit/a1eaded2
Tree: http://git-wip-us.apache.org/repos/asf/cayenne/tree/a1eaded2
Diff: http://git-wip-us.apache.org/repos/asf/cayenne/diff/a1eaded2

Branch: refs/heads/master
Commit: a1eaded223c3c397169a8c4c7d775280c77b14ba
Parents: f1ce0a1
Author: aadamchik 
Authored: Sat Nov 22 14:46:31 2014 +0300
Committer: aadamchik 
Committed: Fri Nov 28 16:31:26 2014 +0300

--
 cayenne-server/src/main/java/org/apache/cayenne/exp/Property.java  | 2 +-
 .../src/test/java/org/apache/cayenne/exp/PropertyTest.java | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/cayenne/blob/a1eaded2/cayenne-server/src/main/java/org/apache/cayenne/exp/Property.java
--
diff --git a/cayenne-server/src/main/java/org/apache/cayenne/exp/Property.java 
b/cayenne-server/src/main/java/org/apache/cayenne/exp/Property.java
index 624d352..9554972 100644
--- a/cayenne-server/src/main/java/org/apache/cayenne/exp/Property.java
+++ b/cayenne-server/src/main/java/org/apache/cayenne/exp/Property.java
@@ -194,7 +194,7 @@ public class Property {
/**
 * @return An expression for a case insensitive "LIKE" query.
 */
-   public Expression likeInsensitive(String pattern) {
+   public Expression likeIgnoreCase(String pattern) {
return ExpressionFactory.likeIgnoreCaseExp(getName(), pattern);
}
 

http://git-wip-us.apache.org/repos/asf/cayenne/blob/a1eaded2/cayenne-server/src/test/java/org/apache/cayenne/exp/PropertyTest.java
--
diff --git 
a/cayenne-server/src/test/java/org/apache/cayenne/exp/PropertyTest.java 
b/cayenne-server/src/test/java/org/apache/cayenne/exp/PropertyTest.java
index 538fc0b..6f7964d 100644
--- a/cayenne-server/src/test/java/org/apache/cayenne/exp/PropertyTest.java
+++ b/cayenne-server/src/test/java/org/apache/cayenne/exp/PropertyTest.java
@@ -183,7 +183,7 @@ public class PropertyTest {
@Test
public void testLikeIgnoreCase() {
Property p = new Property("prop");
-   Expression e = p.likeInsensitive("abc");
+   Expression e = p.likeIgnoreCase("abc");
assertEquals("prop likeIgnoreCase \"abc\"", e.toString());
}
 



cayenne git commit: fixing DefaultReverseEngineeringLoaderTest unit test

2014-11-28 Thread aadamchik
Repository: cayenne
Updated Branches:
  refs/heads/master 98a32fd77 -> f1ce0a11b


fixing DefaultReverseEngineeringLoaderTest unit test


Project: http://git-wip-us.apache.org/repos/asf/cayenne/repo
Commit: http://git-wip-us.apache.org/repos/asf/cayenne/commit/f1ce0a11
Tree: http://git-wip-us.apache.org/repos/asf/cayenne/tree/f1ce0a11
Diff: http://git-wip-us.apache.org/repos/asf/cayenne/diff/f1ce0a11

Branch: refs/heads/master
Commit: f1ce0a11be8c62a75edfd113c2b952d5b157b8cb
Parents: 98a32fd
Author: aadamchik 
Authored: Fri Nov 28 16:25:14 2014 +0300
Committer: aadamchik 
Committed: Fri Nov 28 16:25:14 2014 +0300

--
 .../config/DefaultReverseEngineeringLoaderTest.java | 16 ++--
 1 file changed, 6 insertions(+), 10 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/cayenne/blob/f1ce0a11/cayenne-tools/src/test/java/org/apache/cayenne/tools/dbimport/config/DefaultReverseEngineeringLoaderTest.java
--
diff --git 
a/cayenne-tools/src/test/java/org/apache/cayenne/tools/dbimport/config/DefaultReverseEngineeringLoaderTest.java
 
b/cayenne-tools/src/test/java/org/apache/cayenne/tools/dbimport/config/DefaultReverseEngineeringLoaderTest.java
index bf3b9f3..9597af5 100644
--- 
a/cayenne-tools/src/test/java/org/apache/cayenne/tools/dbimport/config/DefaultReverseEngineeringLoaderTest.java
+++ 
b/cayenne-tools/src/test/java/org/apache/cayenne/tools/dbimport/config/DefaultReverseEngineeringLoaderTest.java
@@ -34,7 +34,7 @@ public class DefaultReverseEngineeringLoaderTest {
 @Test
 public void testLoadCatalog() throws Exception {
 ReverseEngineering engineering = new DefaultReverseEngineeringLoader()
-.load(getResource("/reverseEngineering-catalog.xml"));
+.load(getResource("reverseEngineering-catalog.xml"));
 
 assertCatalog(engineering);
 }
@@ -87,7 +87,7 @@ public class DefaultReverseEngineeringLoaderTest {
 @Test
 public void testLoadSchema() throws Exception {
 ReverseEngineering engineering = new DefaultReverseEngineeringLoader()
-.load(getResource("/reverseEngineering-schema.xml"));
+.load(getResource("reverseEngineering-schema.xml"));
 
 assertSchema(engineering);
 }
@@ -140,7 +140,7 @@ public class DefaultReverseEngineeringLoaderTest {
 @Test
 public void testLoadCatalogAndSchema() throws Exception {
 ReverseEngineering engineering = new DefaultReverseEngineeringLoader()
-
.load(getResource("/reverseEngineering-catalog-and-schema.xml"));
+
.load(getResource("reverseEngineering-catalog-and-schema.xml"));
 
 assertCatalogAndSchema(engineering);
 }
@@ -158,7 +158,7 @@ public class DefaultReverseEngineeringLoaderTest {
 @Test
 public void testLoadFlat() throws Exception {
 ReverseEngineering engineering = new DefaultReverseEngineeringLoader()
-.load(getResource("/reverseEngineering-flat.xml"));
+.load(getResource("reverseEngineering-flat.xml"));
 
 assertFlat(engineering);
 }
@@ -198,11 +198,7 @@ public class DefaultReverseEngineeringLoaderTest {
 }
 
 protected URLResource getResource(String file) throws 
MalformedURLException {
-return new URLResource(new File(getPackagePath() + 
file).toURI().toURL());
-}
-
-private String getPackagePath() {
-return 
getClass().getClassLoader().getResource(getClass().getPackage().getName().replace('.',
 '/')).getPath();
-}
+   return new URLResource(getClass().getResource(file));
+   }
 
 }
\ No newline at end of file



[jira] [Commented] (CAY-1974) Copy/Paste DbEntiry throws exception

2014-11-28 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CAY-1974?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14228245#comment-14228245
 ] 

ASF GitHub Bot commented on CAY-1974:
-

GitHub user thinline72 opened a pull request:

https://github.com/apache/cayenne/pull/40

CAY-1974 | Copy/Paste DbEntity throws exception



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/thinline72/cayenne CAY-1974

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cayenne/pull/40.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #40


commit e4fa56af60bee81bb96e30cfa9dc08b91f016fb8
Author: Savva Kolbachev 
Date:   2014-11-28T11:30:48Z

CAY-1974 | Copy/Paste DbEntity throws exception




> Copy/Paste DbEntiry throws exception
> 
>
> Key: CAY-1974
> URL: https://issues.apache.org/jira/browse/CAY-1974
> Project: Cayenne
>  Issue Type: Bug
>  Components: Modeler
>Affects Versions: 4.0.M2
> Environment: Mac OS X 10.10.1, Sun JDK 1.7.0_71
>Reporter: Andrey Koyro
>
> When I try to copy and then paste DbEntity I get the exception:
> CayenneModeler Info
> Version: 4.0.M2.fba700d
> Build Date: Nov 25 2014 17:37:06
> Exception: 
> =
> java.lang.ClassCastException: 
> org.apache.cayenne.configuration.DataChannelDescriptor cannot be cast to 
> org.apache.cayenne.map.DataMap
>   at 
> org.apache.cayenne.map.naming.NameCheckers$6.isNameInUse(NameCheckers.java:97)
>   at 
> org.apache.cayenne.map.naming.DefaultUniqueNameGenerator.generate(DefaultUniqueNameGenerator.java:94)
>   at 
> org.apache.cayenne.map.naming.DefaultUniqueNameGenerator.generate(DefaultUniqueNameGenerator.java:85)
>   at 
> org.apache.cayenne.map.naming.DefaultUniqueNameGenerator.generate(DefaultUniqueNameGenerator.java:64)
>   at 
> org.apache.cayenne.modeler.action.PasteAction.paste(PasteAction.java:262)
>   at 
> org.apache.cayenne.modeler.action.PasteAction.paste(PasteAction.java:148)
>   at 
> org.apache.cayenne.modeler.action.PasteAction.performAction(PasteAction.java:132)
>   at 
> org.apache.cayenne.modeler.util.CayenneAction.actionPerformed(CayenneAction.java:162)
>   at 
> javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
>   at 
> javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2346)
>   at 
> javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
>   at 
> javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
>   at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
>   at 
> javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:833)
>   at com.apple.laf.AquaMenuItemUI.doClick(AquaMenuItemUI.java:157)
>   at 
> javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:877)
>   at 
> java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
>   at java.awt.Component.processMouseEvent(Component.java:6525)
>   at javax.swing.JComponent.processMouseEvent(JComponent.java:3321)
>   at java.awt.Component.processEvent(Component.java:6290)
>   at java.awt.Container.processEvent(Container.java:2234)
>   at java.awt.Component.dispatchEventImpl(Component.java:4881)
>   at java.awt.Container.dispatchEventImpl(Container.java:2292)
>   at java.awt.Component.dispatchEvent(Component.java:4703)
>   at 
> java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4898)
>   at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4533)
>   at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4462)
>   at java.awt.Container.dispatchEventImpl(Container.java:2278)
>   at java.awt.Window.dispatchEventImpl(Window.java:2739)
>   at java.awt.Component.dispatchEvent(Component.java:4703)
>   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:746)
>   at java.awt.EventQueue.access$400(EventQueue.java:97)
>   at java.awt.EventQueue$3.run(EventQueue.java:697)
>   at java.awt.EventQueue$3.run(EventQueue.java:691)
>   at java.security.AccessController.doPrivileged(Native Method)
>   at 
> java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
>   at 
> java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:86)
>   at java.awt.EventQueue$4.run(EventQueue.java:719)
>   at java.awt.EventQueue$4.run(EventQueue.java:717)
>   at java.security.AccessController.doPrivileged(Native Method)
>   at 
> java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomai

[GitHub] cayenne pull request: CAY-1974 | Copy/Paste DbEntity throws except...

2014-11-28 Thread thinline72
GitHub user thinline72 opened a pull request:

https://github.com/apache/cayenne/pull/40

CAY-1974 | Copy/Paste DbEntity throws exception



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/thinline72/cayenne CAY-1974

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cayenne/pull/40.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #40


commit e4fa56af60bee81bb96e30cfa9dc08b91f016fb8
Author: Savva Kolbachev 
Date:   2014-11-28T11:30:48Z

CAY-1974 | Copy/Paste DbEntity throws exception




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cayenne pull request: fix tests path

2014-11-28 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/cayenne/pull/39


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


Build failed in Jenkins: cayenne-master » derby,JDK 1.6 (latest),Ubuntu #106

2014-11-28 Thread Apache Jenkins Server
See 


Changes:

[aadamchik] CAY-1946 CDbimport improvements

[aadamchik] CAY-1946 CDbimport improvements

[aadamchik] fix tests path

--
[...truncated 58970 lines...]
at 
org.apache.cayenne.tools.dbimport.config.DefaultReverseEngineeringLoaderTest.testLoadFlat(DefaultReverseEngineeringLoaderTest.java:160)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at 
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
at 
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at 
org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59)
at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:115)
at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:102)
at org.apache.maven.surefire.Surefire.run(Surefire.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at 
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
at 
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)
Nov 28, 2014 8:38:26 AM 
org.apache.cayenne.tools.dbimport.config.DefaultReverseEngineeringLoader load
INFO: 
/x1/jenkins/jenkins-slave/workspace/cayenne-master/cayenneTestConnection/derby/jdk/JDK%201.6%20(latest)/label/Ubuntu/cayenne-tools/target/test-classes/org/apache/cayenne/tools/dbimport/config/reverseEngineering-schema.xml
 (No such file or directory)
java.io.FileNotFoundException: 
/x1/jenkins/jenkins-slave/workspace/cayenne-master/cayenneTestConnection/derby/jdk/JDK%201.6%20(latest)/label/Ubuntu/cayenne-tools/target/test-classes/org/apache/cayenne/tools/dbimport/config/reverseEngineering-schema.xml
 (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.(FileInputStream.java:120)
at java.io.FileInputStream.(FileInputStream.java:79)
at 
sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70)
at 
sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161)
at java.net.URL.openStream(URL.java:1010)
at 
org.apache.cayenne.tools.dbimport.config.DefaultReverseEngineeringLoader.load(DefaultReverseEngineeringLoader.java:55)
at 
org.apache.cayenne.tools.dbimport.config.DefaultReverseEngineeringLoaderTest.testLoadSchema(DefaultReverseEngineeringLoaderTest.java:89)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at 
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
at 
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.j

Build failed in Jenkins: cayenne-master » derby,JDK 1.7 (latest),Ubuntu #106

2014-11-28 Thread Apache Jenkins Server
See 


Changes:

[aadamchik] CAY-1946 CDbimport improvements

[aadamchik] CAY-1946 CDbimport improvements

[aadamchik] fix tests path

--
[...truncated 59008 lines...]
at java.lang.reflect.Method.invoke(Method.java:606)
at 
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
at 
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at 
org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59)
at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:115)
at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:102)
at org.apache.maven.surefire.Surefire.run(Surefire.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at 
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
at 
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)

Nov 28, 2014 8:23:06 AM 
org.apache.cayenne.tools.dbimport.config.DefaultReverseEngineeringLoader load
INFO: 
/home/jenkins/jenkins-slave/workspace/cayenne-master/cayenneTestConnection/derby/jdk/JDK%201.7%20(latest)/label/Ubuntu/cayenne-tools/target/test-classes/org/apache/cayenne/tools/dbimport/config/reverseEngineering-schema.xml
 (No such file or directory)
java.io.FileNotFoundException: 
/home/jenkins/jenkins-slave/workspace/cayenne-master/cayenneTestConnection/derby/jdk/JDK%201.7%20(latest)/label/Ubuntu/cayenne-tools/target/test-classes/org/apache/cayenne/tools/dbimport/config/reverseEngineering-schema.xml
 (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.(FileInputStream.java:138)
at java.io.FileInputStream.(FileInputStream.java:97)
at 
sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:90)
at 
sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:188)
at java.net.URL.openStream(URL.java:1037)
at 
org.apache.cayenne.tools.dbimport.config.DefaultReverseEngineeringLoader.load(DefaultReverseEngineeringLoader.java:55)
at 
org.apache.cayenne.tools.dbimport.config.DefaultReverseEngineeringLoaderTest.testLoadSchema(DefaultReverseEngineeringLoaderTest.java:89)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at 
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
at 
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
  

Build failed in Jenkins: cayenne-master » hsql,JDK 1.7 (latest),Ubuntu #106

2014-11-28 Thread Apache Jenkins Server
See 


Changes:

[aadamchik] CAY-1946 CDbimport improvements

[aadamchik] CAY-1946 CDbimport improvements

[aadamchik] fix tests path

--
[...truncated 62344 lines...]
at java.lang.reflect.Method.invoke(Method.java:606)
at 
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
at 
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at 
org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59)
at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:115)
at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:102)
at org.apache.maven.surefire.Surefire.run(Surefire.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at 
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
at 
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)

Nov 28, 2014 8:16:38 AM 
org.apache.cayenne.tools.dbimport.config.DefaultReverseEngineeringLoader load
INFO: 
/x1/jenkins/jenkins-slave/workspace/cayenne-master/cayenneTestConnection/hsql/jdk/JDK%201.7%20(latest)/label/Ubuntu/cayenne-tools/target/test-classes/org/apache/cayenne/tools/dbimport/config/reverseEngineering-schema.xml
 (No such file or directory)
java.io.FileNotFoundException: 
/x1/jenkins/jenkins-slave/workspace/cayenne-master/cayenneTestConnection/hsql/jdk/JDK%201.7%20(latest)/label/Ubuntu/cayenne-tools/target/test-classes/org/apache/cayenne/tools/dbimport/config/reverseEngineering-schema.xml
 (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.(FileInputStream.java:138)
at java.io.FileInputStream.(FileInputStream.java:97)
at 
sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:90)
at 
sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:188)
at java.net.URL.openStream(URL.java:1037)
at 
org.apache.cayenne.tools.dbimport.config.DefaultReverseEngineeringLoader.load(DefaultReverseEngineeringLoader.java:55)
at 
org.apache.cayenne.tools.dbimport.config.DefaultReverseEngineeringLoaderTest.testLoadSchema(DefaultReverseEngineeringLoaderTest.java:89)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at 
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
at 
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
a

Build failed in Jenkins: cayenne-master » h2,JDK 1.7 (latest),Ubuntu #106

2014-11-28 Thread Apache Jenkins Server
See 


Changes:

[aadamchik] fix tests path

--
[...truncated 62358 lines...]
at java.lang.reflect.Method.invoke(Method.java:606)
at 
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
at 
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at 
org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59)
at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:115)
at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:102)
at org.apache.maven.surefire.Surefire.run(Surefire.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at 
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
at 
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)

Nov 28, 2014 8:08:28 AM 
org.apache.cayenne.tools.dbimport.config.DefaultReverseEngineeringLoader load
INFO: 
/home/jenkins/jenkins-slave/workspace/cayenne-master/cayenneTestConnection/h2/jdk/JDK%201.7%20(latest)/label/Ubuntu/cayenne-tools/target/test-classes/org/apache/cayenne/tools/dbimport/config/reverseEngineering-schema.xml
 (No such file or directory)
java.io.FileNotFoundException: 
/home/jenkins/jenkins-slave/workspace/cayenne-master/cayenneTestConnection/h2/jdk/JDK%201.7%20(latest)/label/Ubuntu/cayenne-tools/target/test-classes/org/apache/cayenne/tools/dbimport/config/reverseEngineering-schema.xml
 (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.(FileInputStream.java:138)
at java.io.FileInputStream.(FileInputStream.java:97)
at 
sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:90)
at 
sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:188)
at java.net.URL.openStream(URL.java:1037)
at 
org.apache.cayenne.tools.dbimport.config.DefaultReverseEngineeringLoader.load(DefaultReverseEngineeringLoader.java:55)
at 
org.apache.cayenne.tools.dbimport.config.DefaultReverseEngineeringLoaderTest.testLoadSchema(DefaultReverseEngineeringLoaderTest.java:89)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at 
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
at 
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.runn

Build failed in Jenkins: cayenne-master » h2,jdk1.8.0_11,Ubuntu #106

2014-11-28 Thread Apache Jenkins Server
See 


--
[...truncated 52965 lines...]
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - SELECT TABLE3_ID 
FROM oneway_table4
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - === returned 2 
rows. - took 0 ms.
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - +++ transaction 
committed.
[main] INFO org.apache.cayenne.configuration.XMLDataChannelDescriptorLoader - 
Loading XML configuration resource from 

[main] INFO org.apache.cayenne.configuration.XMLDataChannelDescriptorLoader - 
Loading XML DataMap resource from 

[main] INFO org.apache.cayenne.map.EntityResolver - added runtime complimentary 
DbRelationship from oneway_table1 to oneway_table2
[main] INFO org.apache.cayenne.map.EntityResolver - added runtime complimentary 
DbRelationship from oneway_table4 to oneway_table3
[main] INFO org.apache.cayenne.configuration.XMLDataChannelDescriptorLoader - 
Loading XML configuration resource from 

[main] INFO org.apache.cayenne.configuration.XMLDataChannelDescriptorLoader - 
Loading XML DataMap resource from 

[main] INFO org.apache.cayenne.test.jdbc.UtilityLogger - delete from 
oneway_table2
[main] INFO org.apache.cayenne.test.jdbc.UtilityLogger - delete from 
oneway_table1
[main] INFO org.apache.cayenne.test.jdbc.UtilityLogger - delete from 
oneway_table4
[main] INFO org.apache.cayenne.test.jdbc.UtilityLogger - delete from 
oneway_table3
[main] INFO org.apache.cayenne.test.jdbc.UtilityLogger - INSERT INTO 
oneway_table3 (ID) VALUES (?)
[main] INFO org.apache.cayenne.test.jdbc.UtilityLogger - INSERT INTO 
oneway_table4 (ID, TABLE3_ID) VALUES (?, ?)
[main] INFO org.apache.cayenne.test.jdbc.UtilityLogger - INSERT INTO 
oneway_table4 (ID, TABLE3_ID) VALUES (?, ?)
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - --- transaction 
started.
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - SELECT t0.ID FROM 
oneway_table3 t0 WHERE t0.ID = ? [bind: 1->ID:1]
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - === returned 1 row. 
- took 0 ms.
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - +++ transaction 
committed.
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - --- transaction 
started.
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - SELECT t0.ID FROM 
oneway_table4 t0 WHERE t0.TABLE3_ID = ? [bind: 1->TABLE3_ID:1]
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - === returned 2 
rows. - took 0 ms.
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - +++ transaction 
committed.
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - --- transaction 
started.
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - UPDATE 
oneway_table4 SET TABLE3_ID = ? WHERE ID = ?
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - [bind: 
1->TABLE3_ID:NULL, 2->ID:2]
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - === updated 1 row.
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - +++ transaction 
committed.
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - --- transaction 
started.
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - SELECT TABLE3_ID 
FROM oneway_table4
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - === returned 2 
rows. - took 0 ms.
[main] INFO org.apache.cayenne.log.CommonsJdbcEventLogger - +++ transaction 
committed.
[main] INFO org.apache.cayenne.configuration.XMLDataChannelDescriptorLoader - 
Loading XML configuration resource from 

[main] INFO org.apache.cayenne.configuration.XMLDataChannelDescriptorLoader - 
Loading XML DataMap resource from 

[main] INFO org.apache.cayenne.map.EntityResolver - added runtime complimentary 
DbRelationship from oneway_table1 to oneway_table2
[main] INFO org.apache.cayenne.map.EntityResolver - added runtime complimentary 
DbRelationship from oneway_table4 to oneway_table3
[main] INFO org.apache.cayenne.configur