aboutsummaryrefslogtreecommitdiff
path: root/build.xml
diff options
context:
space:
mode:
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/build.xml b/build.xml
index 6b2a6f1b..9be37d26 100644
--- a/build.xml
+++ b/build.xml
@@ -205,6 +205,10 @@ the common tasks and can be called on to run the main aspects of all the sub-scr
<target name="dist" description="Builds THE lombok.jar file which contains everything." depends="version, compile">
<mkdir dir="dist" />
<copy file="doc/changelog.markdown" tofile="build/changelog.txt" />
+ <tstamp>
+ <format property="releaseTimestamp" pattern="yyyy-MM-dd" />
+ </tstamp>
+ <echo file="release-timestamp.txt">$releaseTimestamp</echo>
<taskdef name="jarjar" classname="com.tonicsystems.jarjar.JarJarTask" classpath="lib/build/com.googlecode.jarjar-jarjar.jar" />
<jarjar destfile="dist/lombok-${lombok.version}.jar">
<fileset dir="build/lombok">
@@ -213,6 +217,7 @@ the common tasks and can be called on to run the main aspects of all the sub-scr
<fileset dir="build" includes="changelog.txt" />
<fileset dir="." includes="LICENSE" />
<fileset dir="." includes="AUTHORS" />
+ <fileset dir="." includes="release-timestamp.txt" />
<rule pattern="com.zwitserloot.cmdreader.**" result="lombok.libs.com.zwitserloot.cmdreader.@1" />
<rule pattern="org.objectweb.asm.**" result="lombok.libs.org.objectweb.asm.@1" />
<manifest>
@@ -223,6 +228,7 @@ the common tasks and can be called on to run the main aspects of all the sub-scr
<attribute name="Lombok-Version" value="${lombok.version}" />
</manifest>
</jarjar>
+ <delete file="release-timestamp.txt" />
<copy file="dist/lombok-${lombok.version}.jar" tofile="dist/lombok.jar" />
<property name="lombok.dist.built" value="true" />
</target>