代码拉取完成,页面将自动刷新
<?xml version="1.0" encoding="UTF-8"?>
<project name="cross Main Build" default="build" basedir=".">
<import file="macros.xml"/>
<property name="memory.initial.param" value="-Xms128M"/>
<property name="memory.max.param" value="-Xmx512M"/>
<property name="name" value="oufusoftapi"/>
<property name="lib.dir" value="apache-tomcat-8.5.51/webapps/api/WEB-INF/lib"/>
<property name="build.dir" value="build"/>
<property name="src.dir" value="src"/>
<property name="classes.dir" value="apache-tomcat-8.5.51/webapps/api/WEB-INF/classes"/>
<!-- ================================================================== -->
<!-- Removes all created files and directories -->
<!-- ================================================================== -->
<target name="refresh"
description="Clean all and rebuild">
<antcall target="clean-all"/>
<antcall target="build"/>
</target>
<target name="clean-all"
description="Clean all DB, Catalina and caches data, logs, and runtime subdirectories and all specific files like .rej, .orig">
<antcall target="clean-data"/>
<antcall target="clean-logs"/>
<antcall target="clean-output"/>
<antcall target="clean-catalina"/>
<antcall target="clean-catalina-logs"/>
<antcall target="clean-jar"/>
<antcall target="clean-build"/>
</target>
<target name="clean-data"
description="Clean all DB data (Derby) under runtime/data">
<delete dir="apache-tomcat-8.5.51/bin/ofbiz"/>
<delete file="apache-tomcat-8.5.51/bin/derby.log"/>
</target>
<target name="clean-logs"
description="Clean all logs in runtime/logs">
<delete dir="apache-tomcat-8.5.51/bin/runtime"/>
</target>
<target name="clean-output"
description="Clean runtime/output directory">
<delete dir="apache-tomcat-8.5.51/conf/Catalina"/>
</target>
<target name="clean-catalina"
description="Clean Catalina data in runtime/catalina/work">
<delete dir="apache-tomcat-8.5.51/work/Catalina"/>
</target>
<target name="clean-catalina-logs"
description="Clean all logs in logs">
<delete verbose="on" includeemptydirs="true">
<fileset dir="apache-tomcat-8.5.51/logs" includes="**/*">
<exclude name="README"/>
</fileset>
</delete>
</target>
<target name="clean-jar"
description="clean-build">
<delete file="apache-tomcat-8.5.51/webapps/api/WEB-INF/lib/oufusoftapi.jar"/>
</target>
<target name="clean-build"
description="clean-build">
<delete dir="build"/>
</target>
<target name="init"/>
<!-- ================================================================== -->
<!-- Compilation of the source files -->
<!-- ================================================================== -->
<target name="prepare" depends="init">
<mkdir dir="${build.dir}/classes"/>
<mkdir dir="${build.dir}/lib"/>
</target>
<target name="classes" depends="prepare">
<javac18/>
</target>
<target name="jar" depends="classes">
<main-jar/>
</target>
<path id="local.class.path">
<fileset dir="${lib.dir}" includes="*.jar"/>
</path>
<target name="build"
description="build">
<antcall target="jar"/>
<delete file="/apache-tomcat-8.5.51/webapps/api/WEB-INF/lib/oufusoftapi.jar"/>
<copy todir="${lib.dir}" overwrite="true" verbose="true">
<fileset dir="${build.dir}/lib" excludes="contrib/**,**/*.class"/>
</copy>
</target>
<target name="pre-load-data">
<copy todir="bin/entitydef" >
<fileset dir="${classes.dir}/entitydef"></fileset>
</copy>
<copy todir="bin/servicedef" >
<fileset dir="${classes.dir}/servicedef"></fileset>
</copy>
<copy todir="bin/fieldtype" >
<fileset dir="${classes.dir}/fieldtype"></fileset>
</copy>
<copy file="${classes.dir}/entityengine.xml" tofile="bin/entityengine.xml" />
<copy file="${classes.dir}/cache.properties" tofile="bin/cache.properties" />
<copy file="${classes.dir}/debug.properties" tofile="bin/debug.properties" />
<copy file="${classes.dir}/log4j2.xml" tofile="bin/log4j2.xml" />
<copy file="${classes.dir}/entitymodel.xsd" tofile="bin/entitymodel.xsd" />
<copy file="${classes.dir}/entity-config.xsd" tofile="bin/entity-config.xsd" />
<copy file="${classes.dir}/fieldtypemodel.xsd" tofile="bin/fieldtypemodel.xsd" />
<copy file="${classes.dir}/passwords.properties" tofile="bin/passwords.properties" />
</target>
</project>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。