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:
parent
4664d4da3f
commit
bb5cdbdd1c
|
@ -77,6 +77,30 @@
|
||||||
<!-- put everything from ${build.dir} into the ${jar.name}.jar file -->
|
<!-- put everything from ${build.dir} into the ${jar.name}.jar file -->
|
||||||
<jar jarfile="${dist.dir}/${jar.name}.jar" basedir="${build.dir}"/>
|
<jar jarfile="${dist.dir}/${jar.name}.jar" basedir="${build.dir}"/>
|
||||||
</target>
|
</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">
|
<target name="clean">
|
||||||
|
|
Loading…
Reference in New Issue