Skip to content

Commit

Permalink
Make the build.xml read the properties correctly.
Browse files Browse the repository at this point in the history
  • Loading branch information
iandees committed Jul 17, 2013
1 parent cd05c1b commit 402b4ba
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
<compilerarg value="-Xlint:unchecked"/>
</javac>
</target>
<target name="dist" depends="compile">
<target name="dist" depends="compile,revision">
<copy todir="${plugin.build.dir}/images">
<fileset dir="images"/>
</copy>
Expand All @@ -50,12 +50,12 @@
<manifest>
<attribute name="Author" value="${plugin.author}"/>
<attribute name="Plugin-Class" value="${plugin.class}"/>
<attribute name="Plugin-Date" value="${version.entry.commit.date}"/>
<attribute name="Plugin-Date" value="${git.commit.date}"/>
<attribute name="Plugin-Description" value="${plugin.description}"/>
<attribute name="Plugin-Icon" value="${plugin.icon}"/>
<attribute name="Plugin-Link" value="${plugin.link}"/>
<attribute name="Plugin-Mainversion" value="${plugin.main.version}"/>
<attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
<attribute name="Plugin-Version" value="${git.revision}"/>
</manifest>
</jar>
</target>
Expand All @@ -72,6 +72,12 @@
<length string="${git.revision}" trim="yes" length="0" when="greater"/>
</and>
</condition>
<exec executable="git" outputproperty="git.commit.date" failifexecutionfails="false" errorproperty="">
<arg value="show"/>
<arg value="-s"/>
<arg value="--format=%ci"/>
<arg value="HEAD"/>
</exec>
</target>
<target name="clean">
<delete dir="${plugin.build.dir}"/>
Expand Down

0 comments on commit 402b4ba

Please sign in to comment.