<!-- import ant4eclipse tasks --> <taskdef resource="net/sf/ant4eclipse/antlib.xml"> <classpath> <pathelement location="dev/lib/ant4eclipse-0.5.0.rc1.ci.jar" /> <pathelement location="dev/lib/ecj.jar" /> <pathelement location="dev/lib/org.eclipse.osgi_3.2.0.v20060601.jar" /> </classpath> </taskdef> <!-- import ant contrib tasks --> <taskdef resource="net/sf/antcontrib/antcontrib.properties"> <classpath> <pathelement location="dev/lib/ant-contrib.jar" /> </classpath> </taskdef> <!-- build --> <target name="build"> <buildPlugin project="" destDir="" packageAsJar="true"> <targetPlatform refid="war.target" /> <javaclibrarycompiler> <compilerSettings debug="true" fork="true"/> </javaclibrarycompiler> </buildPlugin> <!--copy to lib, for using by apps --> <copy todir=""> <fileset dir=""> <include name="*.jar" /> </fileset> </copy> </target>
关于ant<2>
2.插件编译
猜你喜欢
转载自gaowei52306.iteye.com/blog/841404
今日推荐
周排行