|
1 | 1 | <!--
|
2 |
| - * _________ _ ____ _ __ __ _ _ _ _ _ ___ |
| 2 | + * _________ _ ____ _ __ __ _ _ _ _ _ ___ |
3 | 3 | * |__ / ___|__ _ ___| |__ / ___|_ _(_)_ __ __ \ \ / /_ _| | | ___| |_| | | |_ _|
|
4 |
| - * / / | / _` / __| '_ \\___ \ \ /\ / / | '_ \ / _` \ \ /\ / / _` | | |/ _ \ __| | | || | |
5 |
| - * / /| |__| (_| \__ \ | | |___) \ V V /| | | | | (_| |\ V V / (_| | | | __/ |_| |_| || | |
| 4 | + * / / | / _` / __| '_ \\___ \ \ /\ / / | '_ \ / _` \ \ /\ / / _` | | |/ _ \ __| | | || | |
| 5 | + * / /| |__| (_| \__ \ | | |___) \ V V /| | | | | (_| |\ V V / (_| | | | __/ |_| |_| || | |
6 | 6 | * /____\____\__,_|___/_| |_|____/ \_/\_/ |_|_| |_|\__, | \_/\_/ \__,_|_|_|\___|\__|\___/|___|
|
7 |
| - * |___/ |
8 |
| - * |
| 7 | + * |___/ |
| 8 | + * |
9 | 9 | * Copyright (c) 2016-2017 Ivan Vaklinov <ivan@vaklinov.com>
|
10 | 10 | *
|
11 | 11 | * Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
14 | 14 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
15 | 15 | * copies of the Software, and to permit persons to whom the Software is
|
16 | 16 | * furnished to do so, subject to the following conditions:
|
17 |
| - * |
| 17 | + * |
18 | 18 | * The above copyright notice and this permission notice shall be included in
|
19 | 19 | * all copies or substantial portions of the Software.
|
20 |
| - * |
| 20 | + * |
21 | 21 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
22 | 22 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
23 | 23 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
24 | 24 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
25 | 25 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
26 | 26 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
27 |
| - * THE SOFTWARE. |
| 27 | + * THE SOFTWARE. |
28 | 28 | *
|
29 | 29 | -->
|
30 | 30 | <project name="BitcoinZWallet" basedir="../.." default="buildit">
|
31 |
| - |
| 31 | + |
32 | 32 | <property name="src.dir" value="src"/>
|
33 | 33 | <property name="lib.dir" value="lib"/>
|
34 | 34 | <property name="build.dir" value="build"/>
|
|
65 | 65 | <target name="clean">
|
66 | 66 | <delete dir="${build.dir}"/>
|
67 | 67 | </target>
|
68 |
| - |
| 68 | + |
69 | 69 | <target name="copyResources" depends="clean">
|
70 |
| - <copy todir="${classes.dir}" > |
71 |
| - <fileset dir="${src.dir}/resources"> |
| 70 | + <copy todir="${classes.dir}" > |
| 71 | + <fileset dir="${src.dir}/resources"> |
72 | 72 | <include name="images/**"/>
|
73 | 73 | <include name="keys/**"/>
|
| 74 | + <include name="messages/**"/> |
74 | 75 | </fileset>
|
75 | 76 | </copy>
|
76 | 77 | </target>
|
|
84 | 85 |
|
85 | 86 | <target name="jar" depends="compile,copyResources">
|
86 | 87 | <mkdir dir="${jar.dir}"/>
|
87 |
| - <jar destfile="${jar.dir}/${ant.project.name}.jar" |
| 88 | + <jar destfile="${jar.dir}/${ant.project.name}.jar" |
88 | 89 | basedir="${classes.dir}"
|
89 | 90 | excludes="**/tradetest/*.class">
|
90 | 91 | <manifest>
|
91 | 92 | <attribute name="Main-Class" value="${main-class}"/>
|
92 | 93 | <attribute name="Class-Path" value="bitcoinj-core-0.14.5.jar sqlite-jdbc-3.21.0.jar"/>
|
93 | 94 | </manifest>
|
94 | 95 | </jar>
|
95 |
| - <jar destfile="${jar.dir}/${ant.project.name}-src.jar" |
| 96 | + <jar destfile="${jar.dir}/${ant.project.name}-src.jar" |
96 | 97 | basedir="${src.dir}">
|
97 | 98 | </jar>
|
98 | 99 | </target>
|
99 |
| - |
| 100 | + |
100 | 101 | <target name="ubuntuPackage" depends="jar,copyothers">
|
101 | 102 | <mkdir dir="${ubuntu.package.dir}"/>
|
102 | 103 | <deb destfile="${ubuntu.package.dir}/bitcoinz-wallet_1.1.0.4.deb"
|
|
163 | 164 | -->
|
164 | 165 |
|
165 | 166 | <target name="copyothers">
|
166 |
| - <copy todir="${jar.dir}" > |
167 |
| - <fileset dir="${lib.dir}"> |
| 167 | + <copy todir="${jar.dir}" > |
| 168 | + <fileset dir="${lib.dir}"> |
168 | 169 | <include name="bitcoinj-core-0.14.5*"/>
|
169 | 170 | <include name="sqlite-jdbc-3.21.0*"/>
|
170 | 171 | </fileset>
|
|
181 | 182 | </target>
|
182 | 183 |
|
183 | 184 | </project>
|
184 |
| - |
0 commit comments