[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ojb-dev
Subject:    svn commit: r424293 - /db/ojb/branches/OJB_1_0_RELEASE/build.xml
From:       arminw () apache ! org
Date:       2006-07-21 12:52:36
Message-ID: 20060721125236.E87611A981A () eris ! apache ! org
[Download RAW message or body]

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic