51 lines
1.5 KiB
XML
51 lines
1.5 KiB
XML
<project name="enthereumJ-postpackage" default="run" basedir=".">
|
|
|
|
<description>
|
|
simple example build file
|
|
</description>
|
|
<!-- set global properties for this build -->
|
|
<property name="src" location="src"/>
|
|
<property name="build" location="build"/>
|
|
<property name="dist" location="dist" />
|
|
|
|
|
|
<target name="init">
|
|
<!-- Create the time stamp -->
|
|
<tstamp/>
|
|
|
|
<echo message="Ant is taking control [assembly the package]"> </echo>
|
|
<echo message="${maven.project.artifactId}"> </echo>
|
|
<echo message="${maven.project.version}"> </echo>
|
|
|
|
</target>
|
|
|
|
<target name="make-package">
|
|
|
|
<mkdir dir="./target/package"/>
|
|
<copy todir="./target/package/lib">
|
|
<fileset dir="./target/dependency"/>
|
|
</copy>
|
|
|
|
<copy file="./target/${maven.project.artifactId}-${maven.project.version}.jar"
|
|
tofile="./target/package/ethereumj.jar"/>
|
|
|
|
<copy todir="./target/package">
|
|
<fileset dir="./target/classes/config"/>
|
|
</copy>
|
|
|
|
<copy file="./target/classes/log4j.properties" todir="./target/package/config"/>
|
|
<copy file="./target/classes/system.properties" todir="./target/package/config"/>
|
|
<copy file="./target/classes/GeoLiteCity.dat" todir="./target/package/config"/>
|
|
|
|
|
|
<zip destfile="ethereumJ-${DSTAMP}-${TSTAMP}.zip" basedir="./target/package">
|
|
</zip>
|
|
|
|
|
|
</target>
|
|
|
|
<target name="run" depends="init, make-package"></target>
|
|
|
|
|
|
|
|
</project> |