You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@continuum.apache.org by ri...@apache.org on 2006/12/29 23:46:12 UTC

svn commit: r491125 - in /maven/continuum/branches/key-based-refactor/continuum-model: pom.xml src/main/resources/ src/main/resources/log4j.properties

Author: rinku
Date: Fri Dec 29 14:46:11 2006
New Revision: 491125

URL: http://svn.apache.org/viewvc?view=rev&rev=491125
Log:
o  updated jpox plugin configuration for jpox plugin updates. 
o  added log4j.properties config being used by jpox plugin.

Added:
    maven/continuum/branches/key-based-refactor/continuum-model/src/main/resources/
    maven/continuum/branches/key-based-refactor/continuum-model/src/main/resources/log4j.properties   (with props)
Modified:
    maven/continuum/branches/key-based-refactor/continuum-model/pom.xml

Modified: maven/continuum/branches/key-based-refactor/continuum-model/pom.xml
URL: http://svn.apache.org/viewvc/maven/continuum/branches/key-based-refactor/continuum-model/pom.xml?view=diff&rev=491125&r1=491124&r2=491125
==============================================================================
--- maven/continuum/branches/key-based-refactor/continuum-model/pom.xml (original)
+++ maven/continuum/branches/key-based-refactor/continuum-model/pom.xml Fri Dec 29 14:46:11 2006
@@ -109,12 +109,36 @@
             <groupId>org.codehaus.mojo</groupId>
             <artifactId>jpox-maven-plugin</artifactId>
             <version>${jpox.plugin.version}</version>            
-            <configuration>
-              <driverName>org.hsqldb.jdbcDriver</driverName>
-              <dbUser>sa</dbUser>          
-              <dbUrl>jdbc:hsqldb:mem:continuum</dbUrl>  
+            <configuration>         
               <outputFile>${project.build.directory}/schema.sql</outputFile>
-            </configuration>        
+              <toolProperties>
+                <property>
+                  <name>javax.jdo.option.ConnectionDriverName</name>
+                  <value>org.hsqldb.jdbcDriver</value>
+                </property>
+                <property>
+                  <name>javax.jdo.option.ConnectionURL</name>
+                  <value>jdbc:hsqldb:mem:continuum</value>
+                </property>
+                <property>
+                  <name>javax.jdo.option.ConnectionUserName</name>
+                  <value>sa</value>
+                </property>                
+                <property>
+                  <name>javax.jdo.option.ConnectionPassword</name>
+                  <value></value>
+                </property>                
+                <property>
+                  <name>log4j.configuration</name>
+                  <value>file:${basedir}/src/main/resources/log4j.properties</value>
+                </property>
+                <!-- for auto creating schema -->        
+                <property>
+                  <name>org.jpox.autoCreateTables</name>
+                  <value>true</value>
+                </property>
+              </toolProperties>              
+            </configuration>            
           </plugin>
         </plugins>
       </build>

Added: maven/continuum/branches/key-based-refactor/continuum-model/src/main/resources/log4j.properties
URL: http://svn.apache.org/viewvc/maven/continuum/branches/key-based-refactor/continuum-model/src/main/resources/log4j.properties?view=auto&rev=491125
==============================================================================
--- maven/continuum/branches/key-based-refactor/continuum-model/src/main/resources/log4j.properties (added)
+++ maven/continuum/branches/key-based-refactor/continuum-model/src/main/resources/log4j.properties Fri Dec 29 14:46:11 2006
@@ -0,0 +1,21 @@
+# http://www.jpox.org/docs/1_1/logging.html
+# Define the destination and format of our logging
+log4j.appender.A1=org.apache.log4j.FileAppender
+log4j.appender.A1.File=target/jpox.log
+log4j.appender.A1.layout=org.apache.log4j.PatternLayout
+log4j.appender.A1.layout.ConversionPattern=%d{HH:mm:ss,SSS} (%t) %-5p [%c] - %m%n
+
+# JPOX Categories
+log4j.category.JPOX.JDO=INFO, A1
+log4j.category.JPOX.Cache=INFO, A1
+log4j.category.JPOX.MetaData=INFO, A1
+log4j.category.JPOX.General=INFO, A1
+log4j.category.JPOX.Utility=INFO, A1
+log4j.category.JPOX.Transaction=INFO, A1
+log4j.category.JPOX.RDBMS=DEBUG, A1
+log4j.category.JPOX.ClassLoading=DEBUG, A1
+log4j.category.JPOX.PLUGIN=DEBUG, A1
+log4j.category.JPOX.Store.Poid=DEBUG, A1
+
+log4j.category.JPOX.Enhancer=DEBUG, A1
+log4j.category.JPOX.SchemaTool=DEBUG, A1
\ No newline at end of file

Propchange: maven/continuum/branches/key-based-refactor/continuum-model/src/main/resources/log4j.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/continuum/branches/key-based-refactor/continuum-model/src/main/resources/log4j.properties
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"