一般项目可用ant 编译打包:
<target name="compile" depends="init,get-lib" description="编译Java文件">
<available classname="com.paic.pafa.app.lwc.core.context.support.PafaCoreContexton" classpathref="master-classpath" property="lib.present" />
<fail unless="lib.present" message="第三方包还没有下载,请配置ivy.xml文件,并执行get-lib任务,您使用的JBOSS平台,请指定下载PAFA3.2版本,以前版本不支持JBoss" />
<javac destdir="${build.classes.dir}" encoding="UTF-8" target="1.6" source="1.6" debug="true" deprecation="false" optimize="false" failonerror="true">
<src path="${src.java.dir}" />
<!-- <src path="${src.test.dir}" /> -->
<exclude name="**/ocs/**" />
<classpath refid="master-classpath" />
</javac>
</target>