-
Notifications
You must be signed in to change notification settings - Fork 39
/
build_for_Raspberry3.xml
48 lines (48 loc) · 1.72 KB
/
build_for_Raspberry3.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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<?xml version="1.0" encoding="utf-8"?>
<project name="jAlbum" basedir="." default="cpfiles">
<property name="dedup.dir" location="dedup"/>
<property name="photoweb.dir" location="photoweb"/>
<property name="distribute.dir" location="distribute"/>
<property name="scripts.dir" location="scripts"/>
<property name="jdbc.dir" location="jdbcsqlitenative"/>
<target name="jdbc">
<exec dir="${jdbc.dir}" executable="make" os="Linux" failonerror="true"/>
</target>
<target name="cpfiles">
<mkdir dir="${distribute.dir}"/>
<mkdir dir="${distribute.dir}/lib"/>
<mkdir dir="${distribute.dir}/lib/extra"/>
<mkdir dir="${distribute.dir}/log"/>
<move todir="${distribute.dir}" overwrite="true">
<fileset dir="${dedup.dir}/target">
<include name="start.jar"/>
</fileset>
<fileset dir="${photoweb.dir}/target">
<include name="root.war"/>
</fileset>
<fileset dir="${jdbc.dir}">
<include name="libsqlite.so"/>
</fileset>
</move>
<copy todir="${distribute.dir}" overwrite="false">
<fileset dir="${dedup.dir}">
<include name="dedup.db"/>
<include name="favicon.ico"/>
<include name="jalbum.xml"/>
<include name="log4j.xml"/>
<include name="keystore"/>
</fileset>
<fileset dir="${scripts.dir}">
<include name="jalbum_for_Raspberry3.sh"/>
<include name="jalbum.sh"/>
<include name="readme.txt"/>
</fileset>
</copy>
<copy todir="${distribute.dir}/lib/extra" overwrite="true">
<fileset dir="${photoweb.dir}/target/dependency"/>
</copy>
<copy todir="${distribute.dir}/js" overwrite="true">
<fileset dir="${dedup.dir}/js"/>
</copy>
</target>
</project>