Last active
December 10, 2015 00:39
-
-
Save janernsting/4352938 to your computer and use it in GitHub Desktop.
Ant-Buildscript für Aufgabe 12
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Main-Class: de.pizza.views.BestellsystemApplication |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<!-- 0794eb5 --> | |
<project name="de.pizza" default="package" basedir="."> | |
<!-- passen Sie diese Property an --> | |
<property name="group" location="09" /> | |
<property name="src" location="src" /> | |
<property name="bin" location="bin" /> | |
<property name="jarname" location="${group}_Aufgabe12.jar" /> | |
<property name="zipfile" location="${group}_Aufgabe12.zip" /> | |
<target name="cleanUpBeforeCompile"> | |
<delete file="${jarname}" /> | |
<delete file="${zipfile}" /> | |
<delete dir="bin" includeemptydirs="on" /> | |
</target> | |
<target name="compile" depends="cleanUpBeforeCompile"> | |
<mkdir dir="${bin}"/> | |
<javac srcdir="${src}" destdir="${bin}" | |
includeantruntime="false" | |
excludes="**/*Test.java" /> | |
</target> | |
<target name="package" depends="compile"> | |
<jar jarfile="${jarname}" manifest="bestellsystem.mf"> | |
<fileset dir="${bin}" includes="**/*.*" /> | |
</jar> | |
<zip destfile="${zipfile}"> | |
<fileset dir="${src}" includes="**/*.java" /> | |
</zip> | |
</target> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment