-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbuild.xml
More file actions
29 lines (24 loc) · 1.32 KB
/
build.xml
File metadata and controls
29 lines (24 loc) · 1.32 KB
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
<?xml version="1.0" encoding="UTF-8"?>
<project name="Build pdf email plugin" default="packaging">
<property name="dir.target.jar" value="./out" />
<property name="dir.classes" value="./bin" />
<property name="jar-activation-file" value="./lib/activation-1.1.1.jar"/>
<property name="jar-email-file" value="./lib/commons-email-1.4.jar"/>
<property name="jar-mail-file" value="./lib/javax.mail-1.5.2.jar"/>
<!-- Hanium PDF Report Modules library -->
<property name="jar-itext5pdf-file" value="./lib/itext5-itextpdf-5.5.11.jar"/>
<property name="jar-itext5xmlworker-file" value="./lib/itext5-xmlworker-5.5.11.jar"/>
<!-- Version Information -->
<property name="info.version" value="1.2.3"/>
<target name="packaging">
<mkdir dir="${dir.target.jar}" />
<jar destfile="${dir.target.jar}/scouter-plugin-server-alert-pdf-email-${info.version}.jar">
<fileset dir="${dir.classes}"/>
</jar>
<copy file="${jar-activation-file}" todir="${dir.target.jar}" verbose="true" />
<copy file="${jar-email-file}" todir="${dir.target.jar}" verbose="true" />
<copy file="${jar-mail-file}" todir="${dir.target.jar}" verbose="true"/>
<copy file="${jar-itext5pdf-file}" todir="${dir.target.jar}" verbose="true"/>
<copy file="${jar-itext5xmlworker-file}" todir="${dir.target.jar}" verbose="true"/>
</target>
</project>