-
Notifications
You must be signed in to change notification settings - Fork 23
/
quick.xml
30 lines (27 loc) · 1.39 KB
/
quick.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?xml version="1.0"?>
<!-- $Id$ -->
<!-- $HeadURL$ -->
<project name="pc2v9quickBuild" default="jaronly" basedir=".">
<!-- import build.xml instead of duplicating properties -->
<import file="build.xml"/>
<property name="repo.version" value="7xx" />
<!-- this is the jar target from build.xml with a defirrent name/depends -->
<target name="jaronly" depends="compile" description="creates a jar of our classes no testing">
<mkdir dir="${dist.dir}" />
<!-- include the images in the jar -->
<copy file="images/csus_logo.png" todir="${build.prod.dir}/images"/>
<copy file="images/icpc_banner.png" todir="${build.prod.dir}/images"/>
<!-- consider doing the manifest in a separate target
then the Version can be ommitted if not set -->
<jar jarfile="${jar.path}" basedir="${build.prod.dir}">
<manifest>
<attribute name="Specification-Version" value="${version}"/>
<attribute name="Implementation-Title" value="CSUS Programming Contest Control System"/>
<attribute name="Implementation-Version" value="${repo.version}"/>
<attribute name="Built-On" value="${timestamp.english}"/>
<attribute name="Built-On-Date" value="${date}"/>
<attribute name="Main-Class" value="edu.csus.ecs.pc2.Starter"/>
</manifest>
</jar>
</target>
</project>