forked from Hanium-RealTimeScouter/Hanium-PdfReport
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.xml
26 lines (22 loc) · 1.23 KB
/
build.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
<?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"/>
<target name="packaging">
<mkdir dir="${dir.target.jar}" />
<jar destfile="${dir.target.jar}/scouter-plugin-server-alert-pdf-email.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>