From c618b4692d777a239bbf5e3788175b3f9acf0e02 Mon Sep 17 00:00:00 2001 From: Michael Dick Date: Tue, 16 Mar 2010 18:44:11 +0000 Subject: [PATCH] OPENJPA-1557: Use openjpa.Log to control build logging instead of openjpa.loglevel git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@923929 13f79535-47bb-0310-9956-ffa450edef68 --- openjpa-integration/daytrader/pom.xml | 2 +- .../daytrader/src/main/ant/enhancer.xml | 2 +- openjpa-integration/validation/pom.xml | 4 ++-- .../validation/src/main/ant/enhancer.xml | 4 ++-- openjpa-persistence-jdbc/pom.xml | 6 +++--- .../src/main/ant/enhancer.xml | 8 ++++---- openjpa-persistence-locking/pom.xml | 6 +++--- .../src/test/ant/enhancer.xml | 2 +- openjpa-slice/pom.xml | 4 ++-- openjpa-slice/src/main/ant/enhancer.xml | 15 ++++++++++----- pom.xml | 1 + 11 files changed, 30 insertions(+), 24 deletions(-) diff --git a/openjpa-integration/daytrader/pom.xml b/openjpa-integration/daytrader/pom.xml index 89986a230..bbf43c840 100644 --- a/openjpa-integration/daytrader/pom.xml +++ b/openjpa-integration/daytrader/pom.xml @@ -192,7 +192,7 @@ openjpa.Log - DefaultLevel=${openjpa.loglevel} + ${openjpa.Log} openjpa.DynamicEnhancementAgent diff --git a/openjpa-integration/daytrader/src/main/ant/enhancer.xml b/openjpa-integration/daytrader/src/main/ant/enhancer.xml index cdb8390f0..d80d9bece 100644 --- a/openjpa-integration/daytrader/src/main/ant/enhancer.xml +++ b/openjpa-integration/daytrader/src/main/ant/enhancer.xml @@ -79,7 +79,7 @@ - + diff --git a/openjpa-integration/validation/pom.xml b/openjpa-integration/validation/pom.xml index 523ff97aa..c0a3ba3a4 100644 --- a/openjpa-integration/validation/pom.xml +++ b/openjpa-integration/validation/pom.xml @@ -257,7 +257,7 @@ - + @@ -287,7 +287,7 @@ openjpa.Log - DefaultLevel=${openjpa.loglevel} + ${openjpa.Log} openjpa.DynamicEnhancementAgent diff --git a/openjpa-integration/validation/src/main/ant/enhancer.xml b/openjpa-integration/validation/src/main/ant/enhancer.xml index 718ecf9f3..0abe205e6 100644 --- a/openjpa-integration/validation/src/main/ant/enhancer.xml +++ b/openjpa-integration/validation/src/main/ant/enhancer.xml @@ -87,7 +87,7 @@ - + @@ -97,7 +97,7 @@ - + diff --git a/openjpa-persistence-jdbc/pom.xml b/openjpa-persistence-jdbc/pom.xml index 349330a9b..6de612137 100644 --- a/openjpa-persistence-jdbc/pom.xml +++ b/openjpa-persistence-jdbc/pom.xml @@ -61,7 +61,7 @@ openjpa.Log - DefaultLevel=${openjpa.loglevel} + ${openjpa.Log} openjpa.ConnectionDriverName @@ -734,7 +734,7 @@ - + @@ -970,7 +970,7 @@ openjpa.Log - DefaultLevel=${openjpa.loglevel} + ${openjpa.Log} openjpa.DynamicEnhancementAgent diff --git a/openjpa-persistence-jdbc/src/main/ant/enhancer.xml b/openjpa-persistence-jdbc/src/main/ant/enhancer.xml index 789af6c1c..badba7efd 100644 --- a/openjpa-persistence-jdbc/src/main/ant/enhancer.xml +++ b/openjpa-persistence-jdbc/src/main/ant/enhancer.xml @@ -84,7 +84,7 @@ - + @@ -97,7 +97,7 @@ - + @@ -106,7 +106,7 @@ - + @@ -116,7 +116,7 @@ - + diff --git a/openjpa-persistence-locking/pom.xml b/openjpa-persistence-locking/pom.xml index 687aa9fc4..dfc572b54 100644 --- a/openjpa-persistence-locking/pom.xml +++ b/openjpa-persistence-locking/pom.xml @@ -71,7 +71,7 @@ openjpa.Log - DefaultLevel=${openjpa.loglevel} + ${openjpa.Log} openjpa.ConnectionDriverName @@ -729,7 +729,7 @@ - + @@ -768,7 +768,7 @@ openjpa.Log - DefaultLevel=${openjpa.loglevel} + ${openjpa.Log} openjpa.DynamicEnhancementAgent diff --git a/openjpa-persistence-locking/src/test/ant/enhancer.xml b/openjpa-persistence-locking/src/test/ant/enhancer.xml index 556093b56..56593d11f 100644 --- a/openjpa-persistence-locking/src/test/ant/enhancer.xml +++ b/openjpa-persistence-locking/src/test/ant/enhancer.xml @@ -70,7 +70,7 @@ - + diff --git a/openjpa-slice/pom.xml b/openjpa-slice/pom.xml index df22a2e91..2eaf456c5 100644 --- a/openjpa-slice/pom.xml +++ b/openjpa-slice/pom.xml @@ -116,7 +116,7 @@ - + @@ -147,7 +147,7 @@ openjpa.Log - DefaultLevel=${openjpa.loglevel} + ${openjpa.Log} derby.stream.error.file diff --git a/openjpa-slice/src/main/ant/enhancer.xml b/openjpa-slice/src/main/ant/enhancer.xml index 06fddf0be..235f82086 100644 --- a/openjpa-slice/src/main/ant/enhancer.xml +++ b/openjpa-slice/src/main/ant/enhancer.xml @@ -24,15 +24,20 @@ processing easier. Test classes will not be compiled if maven is invoked with - -Dmaven.tests.skip=true. + -Dmaven.test.skip=true. --> - + + + + + + + unless="skip.enhance"> @@ -51,7 +56,7 @@ ================================= --> + unless="skip.enhance"> running enhancer