将Activiti资源用Ant自动打zip

preoperties:
resources.dir=${basedir}/resources

xml:

<target name="processZip">
		<delete dir="${resources.dir}/process/deployment/ComponentApplyProcess.zip"/>
		<zip destfile="${resources.dir}/process/deployment/ComponentApplyProcess.zip" 
			basedir="${resources.dir}/process" update="true" includes="*.xml,*.png" />
	</target>



目录:


猜你喜欢

转载自tianqiushi.iteye.com/blog/2119198