Added a GenerateModel ant target. It doesn't hurt the build process at all

so didn't think I needed approval.  It is just a nice/easy way to invoke GenerateModel.
This commit is contained in:
wght 2007-05-25 19:18:25 +00:00
parent 4664d4da3f
commit bb5cdbdd1c
1 changed files with 24 additions and 0 deletions

View File

@ -77,6 +77,30 @@
<!-- put everything from ${build.dir} into the ${jar.name}.jar file -->
<jar jarfile="${dist.dir}/${jar.name}.jar" basedir="${build.dir}"/>
</target>
<path id="class.path.test">
<pathelement path="${build.dir}"/>
<pathelement path="${classpath}"/>
<pathelement path="${jar.path}/CCTools.jar"/>
<pathelement path="../base/build"/>
<pathelement path="../looks/CLooks.jar"/>
<pathelement path="../tools/lib/junit.jar"/>
<pathelement path="../adempiere/Adempiere/lib/Adempiere.jar" />
<pathelement path="../adempiere/Adempiere/lib/jboss.jar" />
<pathelement path="../adempiere/Adempiere/lib/oracle.jar" />
<pathelement path="../adempiere/Adempiere/lib/postgresql.jar" />
<pathelement path="./base.jar" />
</path>
<target name="GenerateModel" depends="dist">
<java fork="true" classname="org.compiere.util.GenerateModel">
<classpath refid="class.path.test" />
<arg value="org.compiere.model"/>
<arg value="D"/>
<arg value="AD_Package_Exp_Detail"/>
</java>
</target>
<target name="clean">