Changed jedit.home to jedit.install.dir and plugin install dir to install.dir on request of Ollie Rutherford
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2039 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
@ -6,14 +6,14 @@
|
|||||||
<property name="build" value="build/"/>
|
<property name="build" value="build/"/>
|
||||||
<property name="pmdjar" value="pmd-1.1.jar"/>
|
<property name="pmdjar" value="pmd-1.1.jar"/>
|
||||||
<property name="pluginversion" value="2.1"/>
|
<property name="pluginversion" value="2.1"/>
|
||||||
<property name="jedit.home" value="c:\Program Files\jEdit 4.1"/>
|
<property name="jedit.install.dir" value="c:\Program Files\jEdit 4.1"/>
|
||||||
<property name="jedit.jars.dir" value="${jedit.home}\jars"/>
|
<property name="jedit.jars.dir" value="${jedit.install.dir}\jars"/>
|
||||||
<property name="jedit.install.dir" value="${jedit.jars.dir}"/>
|
<property name="install.dir" value="${jedit.jars.dir}"/>
|
||||||
|
|
||||||
|
|
||||||
<path id="project.class.path">
|
<path id="project.class.path">
|
||||||
<pathelement location="${jedit.jars.dir}/${pmdjar}"/>
|
<pathelement location="${jedit.jars.dir}/${pmdjar}"/>
|
||||||
<pathelement location="${jedit.home}/jedit.jar"/>
|
<pathelement location="${jedit.install.dir}/jedit.jar"/>
|
||||||
<pathelement location="${jedit.jars.dir}/ErrorList.jar"/>
|
<pathelement location="${jedit.jars.dir}/ErrorList.jar"/>
|
||||||
<pathelement location="${jedit.jars.dir}/CommonControls.jar"/>
|
<pathelement location="${jedit.jars.dir}/CommonControls.jar"/>
|
||||||
<pathelement location="${lib}/jaxen-core-1.0-fcs.jar"/>
|
<pathelement location="${lib}/jaxen-core-1.0-fcs.jar"/>
|
||||||
@ -29,7 +29,6 @@
|
|||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="compile">
|
<target name="compile">
|
||||||
<mkdir dir="${build}"/>
|
|
||||||
<javac
|
<javac
|
||||||
srcdir="${src}"
|
srcdir="${src}"
|
||||||
destdir="${build}"
|
destdir="${build}"
|
||||||
@ -40,6 +39,7 @@
|
|||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="jar" depends="compile">
|
<target name="jar" depends="compile">
|
||||||
|
<mkdir dir="${build}"/>
|
||||||
<jar jarfile="${lib}/${ant.project.name}.jar">
|
<jar jarfile="${lib}/${ant.project.name}.jar">
|
||||||
<fileset dir="${build}"/>
|
<fileset dir="${build}"/>
|
||||||
<fileset dir="${config}">
|
<fileset dir="${config}">
|
||||||
@ -54,7 +54,7 @@
|
|||||||
|
|
||||||
<target name="dist" depends="clean">
|
<target name="dist" depends="clean">
|
||||||
<antcall target="jar"/>
|
<antcall target="jar"/>
|
||||||
<copy file="${lib}/${ant.project.name}.jar" todir="${jedit.install.dir}"/>
|
<copy file="${lib}/${ant.project.name}.jar" todir="${install.dir}"/>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="release">
|
<target name="release">
|
||||||
|
Reference in New Issue
Block a user