Changeset 12780 in osm for applications/editors/josm/plugins/plastic_laf
- Timestamp:
- 2009-01-01T18:55:45+01:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/plastic_laf/build.xml
r12598 r12780 1 <project name="plastic_laf" default="dist" basedir="."> 2 3 <!-- compilation properties --> 4 <property name="josm.build.dir" value="../../core"/> 5 <property name="josm.home.dir" value="${user.home}/.josm"/> 6 <property name="josm" location="../../core/dist/josm-custom.jar" /> 7 <property name="plugin.build.dir" value="build"/> 8 <property name="plugin.dist.dir" value="../../dist"/> 9 <property name="plugin.name" value="${ant.project.name}"/> 10 <property name="plugin.jar" value="../../dist/${plugin.name}.jar"/> 11 12 <property name="ant.build.javac.target" value="1.5"/> 13 14 <target name="dist"> 15 <echo message="creating ${plugin.jar}"/> 16 <mkdir dir="dist"></mkdir> 17 <unjar dest="${plugin.build.dir}" src="lib/looks-2.0.4.jar" /> 18 <javac srcdir="src" destdir="${plugin.build.dir}"> 19 <include name="**/*.java" /> 20 </javac> 21 <!-- define the version of the jar file --> 22 <exec append="false" output="REVISION" executable="svn" failifexecutionfails="false"> 23 <env key="LANG" value="C"/> 24 <arg value="info"/> 25 <arg value="--xml"/> 26 <arg value="."/> 27 </exec> 28 <xmlproperty file="REVISION" prefix="version" keepRoot="false" collapseAttributes="true"/> 29 <!-- delete intermediate file --> 30 <delete file="REVISION"/> 31 <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}"> 32 <manifest> 33 <attribute name="Plugin-Class" value="plastic_laf.Plugin" /> 34 <attribute name="Plugin-Description" value="The great JGoodies Plastic Look and Feel" /> 35 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/> 36 <attribute name="Plugin-Early" value="true" /> 37 <attribute name="Plugin-Mainversion" value="1180" /> 38 <attribute name="Plugin-Date" value="${version.entry.commit.date}"/> 39 </manifest> 40 </jar> 41 </target> 42 43 <target name="clean"> 44 <delete dir="${plugin.build.dir}" /> 45 <delete file="${plugin.jar}" /> 46 </target> 47 1 <project name="plastic_laf" default="dist" basedir="."> 2 <!-- compilation properties --> 3 <property name="josm.build.dir" value="../../core"/> 4 <property name="josm.home.dir" value="${user.home}/.josm"/> 5 <property name="josm" location="../../core/dist/josm-custom.jar" /> 6 <property name="plugin.build.dir" value="build"/> 7 <property name="plugin.dist.dir" value="../../dist"/> 8 <property name="plugin.name" value="${ant.project.name}"/> 9 <property name="plugin.jar" value="../../dist/${plugin.name}.jar"/> 10 <property name="ant.build.javac.target" value="1.5"/> 11 <target name="dist"> 12 <echo message="creating ${plugin.jar}"/> 13 <mkdir dir="dist"></mkdir> 14 <unjar dest="${plugin.build.dir}" src="lib/looks-2.0.4.jar" /> 15 <javac srcdir="src" destdir="${plugin.build.dir}"> 16 <include name="**/*.java" /> 17 </javac> 18 <!-- define the version of the jar file --> 19 <exec append="false" output="REVISION" executable="svn" failifexecutionfails="false"> 20 <env key="LANG" value="C"/> 21 <arg value="info"/> 22 <arg value="--xml"/> 23 <arg value="."/> 24 </exec> 25 <xmlproperty file="REVISION" prefix="version" keepRoot="false" collapseAttributes="true"/> 26 <!-- delete intermediate file --> 27 <delete file="REVISION"/> 28 <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}"> 29 <manifest> 30 <attribute name="Plugin-Class" value="plastic_laf.Plugin" /> 31 <attribute name="Plugin-Description" value="The great JGoodies Plastic Look and Feel" /> 32 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/> 33 <attribute name="Plugin-Early" value="true" /> 34 <attribute name="Plugin-Mainversion" value="1180" /> 35 <attribute name="Plugin-Date" value="${version.entry.commit.date}"/> 36 </manifest> 37 </jar> 38 </target> 39 <target name="clean"> 40 <delete dir="${plugin.build.dir}" /> 41 <delete file="${plugin.jar}" /> 42 </target> 48 43 </project>
Note:
See TracChangeset
for help on using the changeset viewer.