Browse Source

构建任务

paid
richie 6 years ago
parent
commit
03fe326e4f
  1. 10
      build.xml

10
build.xml

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project basedir="." default="jar" name="plugin">
<!-- JDK路径,根据自己机器上实际位置修改-->
<property name="jdk.home" value="/Library/Java/JavaVirtualMachines/JDK1.8/Contents/Home"/>
<property name="jdk.home" value="/Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home"/>
<property name="libs" value="${basedir}/lib"/>
<property name="publicLibs" value=""/>
@ -23,7 +23,7 @@
<xmlproperty file="${basedir}/plugin.xml"/>
<delete dir="${destLoc}/${plugin.name}"/>
</target>
<bucket id="compile.classpath">
<path id="compile.classpath">
<fileset dir="${libs}">
<include name="**/*.jar"/>
</fileset>
@ -33,7 +33,7 @@
<fileset dir="${reportLibs}">
<include name="**/*.jar"/>
</fileset>
</bucket>
</path>
<patternset id="resources4Jar">
<exclude name="**/.settings/**"/>
<exclude name=".classpath"/>
@ -63,7 +63,7 @@
target="${target_jdk_version}"
fork="true" memoryMaximumSize="512m" listfiles="false" srcdir="${basedir}"
executable="${compile_jdk_version}/bin/javac">
<src bucket="${basedir}/src/main/java"/>
<src path="${basedir}/src/main/java"/>
<exclude name="**/.svn/**"/>
<compilerarg line="-encoding UTF8 "/>
<classpath refid="compile.classpath"/>
@ -127,4 +127,4 @@
</zip>
<move file="${plugin-folder}.zip" todir="${destLoc}/install"/>
</target>
</project>
</project>
Loading…
Cancel
Save