db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arm...@apache.org
Subject svn commit: r424293 - /db/ojb/branches/OJB_1_0_RELEASE/build.xml
Date Fri, 21 Jul 2006 12:52:36 GMT
Author: arminw
Date: Fri Jul 21 05:52:36 2006
New Revision: 424293

URL: http://svn.apache.org/viewvc?rev=424293&view=rev
Log:
Add target for use of the forward engineering tool by Tom Antony (alpha-version), see OJB-112

Modified:
    db/ojb/branches/OJB_1_0_RELEASE/build.xml

Modified: db/ojb/branches/OJB_1_0_RELEASE/build.xml
URL: http://svn.apache.org/viewvc/db/ojb/branches/OJB_1_0_RELEASE/build.xml?rev=424293&r1=424292&r2=424293&view=diff
==============================================================================
--- db/ojb/branches/OJB_1_0_RELEASE/build.xml (original)
+++ db/ojb/branches/OJB_1_0_RELEASE/build.xml Fri Jul 21 05:52:36 2006
@@ -1721,6 +1721,26 @@
              target="prepare-ejb-jar"/>
     </target>
     -->
+
+    <!-- ================================================================== -->
+    <!-- target for forward engineering from repository.xml                 -->
+    <!-- ================================================================== -->
+    <target name="forward" description="forward engineering from repository.xml" depends="">
+        <property name="input" value="repository.xml"/>
+        <property name="bean.output" value="forward/beans"/>
+        <property name="torque.output" value="forward/xml"/>
+
+        <mkdir dir="${bean.output}"/>
+        <mkdir dir="${torque.output}"/>
+
+        <taskdef name="forward.repository"
+                 classname="org.apache.ojb.tools.mapping.forward.ForwardRepositoryTask"
+                 classpathref="runtime-classpath"/>
+        <forward.repository input="${input}"
+                            beanOutput="${bean.output}"
+                            torqueOutput="${torque.output}"/>
+    </target>
+
     <!-- ================================================================== -->
     <!-- sample target that demonstrates the ojb xdoclet module             -->
     <!-- ================================================================== -->



---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Mime
View raw message