Author: tfischer
Date: Wed Jul 20 19:33:43 2011
New Revision: 1148913
URL: http://svn.apache.org/viewvc?rev=1148913&view=rev
Log:
- test options file for generation
- fix test class compilation
Added:
db/torque/torque4/trunk/torque-test/torque-gen.properties
Modified:
db/torque/torque4/trunk/torque-test/pom.xml
Modified: db/torque/torque4/trunk/torque-test/pom.xml
URL:
http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-test/pom.xml?rev=1148913&r1=1148912&r2=1148913&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-test/pom.xml (original)
+++ db/torque/torque4/trunk/torque-test/pom.xml Wed Jul 20 19:33:43 2011
@@ -155,8 +155,8 @@
<sourceExclude>ext*-schema.xml</sourceExclude>
<sourceExclude>id-table-schema.xml</sourceExclude>
</sourceExcludes>
+ <optionsFile>torque-gen.properties</optionsFile>
<options>
- <torque.om.package>org.apache.torque.test</torque.om.package>
<torque.database>${torque.targetDatabase}</torque.database>
<torque.om.useManagers>${torque.useManagers}</torque.om.useManagers>
<torque.om.generateBeans>${torque.generateBeans}</torque.om.generateBeans>
@@ -395,7 +395,7 @@
<include>**/*Test.java</include>
<include>**/*TestCase.java</include>
<include>**/*Tools.java</include>
- <include>**/ForeignKeySchemaData.java</include>
+ <include>**/*SchemaData.java</include>
<include>**/InheritanceClassnameTestChild*.java</include>
<include>**/${torque.test.include.beans}</include>
<include>**/${torque.test.include.managers}</include>
Added: db/torque/torque4/trunk/torque-test/torque-gen.properties
URL:
http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-test/torque-gen.properties?rev=1148913&view=auto
==============================================================================
--- db/torque/torque4/trunk/torque-test/torque-gen.properties (added)
+++ db/torque/torque4/trunk/torque-test/torque-gen.properties Wed Jul 20
19:33:43 2011
@@ -0,0 +1,23 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+#
+# Sets some options for generator executions in the pom
+#
+# $Id: Torque.properties 473825 2006-11-11 22:44:23Z tv $
+#
+torque.om.package=org.apache.torque.test
\ No newline at end of file
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]