Debian Codegraph @

debian/patches/add_ant_build_tasks

raw
1 Index: accessodf/accessodf-api/build.xml
2 ===================================================================
3 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
4 +++ accessodf/accessodf-api/build.xml 2013-12-26 15:10:00.446340610 +0100
5 @@ -0,0 +1,23 @@
6 +<?xml version="1.0" encoding="UTF-8"?>
7 +
8 +<!-- ====================================================================== -->
9 +<!-- Ant build file (http://ant.apache.org/) for Ant 1.6.2 or above. -->
10 +<!-- ====================================================================== -->
11 +
12 +<project name="accessodf-api" default="package" basedir=".">
13 +
14 + <!-- ====================================================================== -->
15 + <!-- Import maven-build.xml into the current project -->
16 + <!-- ====================================================================== -->
17 +
18 + <import file="maven-build.xml"/>
19 +
20 + <!-- ====================================================================== -->
21 + <!-- Help target -->
22 + <!-- ====================================================================== -->
23 +
24 + <target name="help">
25 + <echo message="Please run: $ant -projecthelp"/>
26 + </target>
27 +
28 +</project>
29 Index: accessodf/accessodf-api/maven-build.properties
30 ===================================================================
31 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
32 +++ accessodf/accessodf-api/maven-build.properties 2013-12-26 15:10:00.450340626 +0100
33 @@ -0,0 +1,20 @@
34 +#Generated by Maven Ant Plugin - DO NOT EDIT THIS FILE!
35 +#Fri Oct 11 20:06:32 CEST 2013
36 +maven.settings.offline=true
37 +maven.build.finalName=accessodf-api-0.1.0
38 +maven.build.resourceDir.0=src/main/resources
39 +maven.build.testOutputDir=${maven.build.dir}/test-classes
40 +maven.build.testResourceDir.0=src/test/resources
41 +maven.reporting.outputDirectory=${maven.build.dir}/site
42 +project.build.sourceEncoding=UTF-8
43 +maven.build.srcDir.0=src/main/java
44 +project.build.directory=${maven.build.dir}
45 +maven.test.reports=${maven.build.dir}/test-reports
46 +maven.build.dir=target
47 +project.build.outputDirectory=${maven.build.outputDir}
48 +maven.build.testDir.0=src/test/java
49 +maven.settings.interactiveMode=true
50 +maven.repo.local=${user.home}/.m2/repository
51 +maven.build.outputDir=${maven.build.dir}/classes
52 +accessodf.version=0.1.0
53 +openoffice.version=3.3.0
54 Index: accessodf/accessodf-api/maven-build.xml
55 ===================================================================
56 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
57 +++ accessodf/accessodf-api/maven-build.xml 2013-12-26 15:10:00.450340626 +0100
58 @@ -0,0 +1,204 @@
59 +<?xml version="1.0" encoding="UTF-8"?>
60 +<!-- vim:set sts=2 sw=2 ts=2 expandtab -->
61 +
62 +<!-- ====================================================================== -->
63 +<!-- Ant build file (http://ant.apache.org/) for Ant 1.6.2 or above. -->
64 +<!-- ====================================================================== -->
65 +
66 +<!-- ====================================================================== -->
67 +<!-- ===================== - DO NOT EDIT THIS FILE! - ===================== -->
68 +<!-- ====================================================================== -->
69 +<!-- -->
70 +<!-- Any modifications will be overwritten. -->
71 +<!-- -->
72 +<!-- Generated by Maven Ant Plugin on 10/11/13 8:06 PM -->
73 +<!-- See: http://maven.apache.org/plugins/maven-ant-plugin/ -->
74 +<!-- -->
75 +<!-- ====================================================================== -->
76 +
77 +<project name="accessodf-api-from-maven" default="package" basedir=".">
78 +
79 + <!-- ====================================================================== -->
80 + <!-- Build environment properties -->
81 + <!-- ====================================================================== -->
82 +
83 + <property file="${user.home}/.m2/maven.properties"/>
84 + <property file="maven-build.properties"/>
85 +<property file="../debian.properties"/>
86 +
87 + <property name="maven.build.finalName" value="accessodf-api-0.1.0"/>
88 + <property name="maven.build.dir" value="target"/>
89 + <property name="maven.build.outputDir" value="${maven.build.dir}/classes"/>
90 + <property name="maven.build.srcDir.0" value="src/main/java"/>
91 + <property name="maven.build.resourceDir.0" value="src/main/resources"/>
92 + <property name="maven.build.testOutputDir" value="${maven.build.dir}/test-classes"/>
93 + <property name="maven.build.testDir.0" value="src/test/java"/>
94 + <property name="maven.build.testResourceDir.0" value="src/test/resources"/>
95 + <property name="maven.test.reports" value="${maven.build.dir}/test-reports"/>
96 + <property name="maven.reporting.outputDirectory" value="${maven.build.dir}/site"/>
97 +
98 + <property name="maven.repo.local" value="${user.home}/.m2/repository"/>
99 + <property name="maven.settings.offline" value="false"/>
100 + <property name="maven.settings.interactiveMode" value="true"/>
101 +
102 + <!-- ====================================================================== -->
103 + <!-- Defining classpaths -->
104 + <!-- ====================================================================== -->
105 +
106 + <path id="build.classpath">
107 + <pathelement location="${debian.libreoffice.unoil}" />
108 + <pathelement location="${debian.libreoffice.juh}" />
109 + <pathelement location="${debian.libreoffice.ridl}" />
110 + <pathelement location="${debian.libreoffice.ure}" />
111 + <pathelement location="${debian.commonscollections}" />
112 + </path>
113 +
114 + <pathconvert refid="build.classpath" property="jar.classpath" pathsep=" "/>
115 +
116 + <path id="build.test.classpath"/>
117 +
118 + <!-- ====================================================================== -->
119 + <!-- Cleaning up target -->
120 + <!-- ====================================================================== -->
121 +
122 + <target name="clean" description="Clean the output directory">
123 + <delete dir="${maven.build.dir}"/>
124 + </target>
125 +
126 + <!-- ====================================================================== -->
127 + <!-- Compilation target -->
128 + <!-- ====================================================================== -->
129 +
130 + <target name="compile" depends="get-deps" description="Compile the code">
131 + <mkdir dir="${maven.build.outputDir}"/>
132 + <javac destdir="${maven.build.outputDir}"
133 + nowarn="false"
134 + debug="true"
135 + optimize="false"
136 + deprecation="true"
137 + target="1.6"
138 + verbose="false"
139 + fork="false"
140 + source="1.6">
141 + <src>
142 + <pathelement location="${maven.build.srcDir.0}"/>
143 + </src>
144 + <classpath refid="build.classpath"/>
145 + </javac>
146 + </target>
147 +
148 + <!-- ====================================================================== -->
149 + <!-- Test-compilation target -->
150 + <!-- ====================================================================== -->
151 +
152 + <target name="compile-tests"
153 + depends="compile"
154 + description="Compile the test code"
155 + unless="maven.test.skip">
156 + <mkdir dir="${maven.build.testOutputDir}"/>
157 + </target>
158 +
159 + <!-- ====================================================================== -->
160 + <!-- Run all tests -->
161 + <!-- ====================================================================== -->
162 +
163 + <target name="test"
164 + depends="compile-tests, junit-missing"
165 + unless="junit.skipped"
166 + description="Run the test cases"/>
167 +
168 + <target name="test-junit-present">
169 + <available classname="junit.framework.Test" property="junit.present"/>
170 + </target>
171 +
172 + <target name="test-junit-status"
173 + depends="test-junit-present">
174 + <condition property="junit.missing">
175 + <and>
176 + <isfalse value="${junit.present}"/>
177 + <isfalse value="${maven.test.skip}"/>
178 + </and>
179 + </condition>
180 + <condition property="junit.skipped">
181 + <or>
182 + <isfalse value="${junit.present}"/>
183 + <istrue value="${maven.test.skip}"/>
184 + </or>
185 + </condition>
186 + </target>
187 +
188 + <target name="junit-missing"
189 + depends="test-junit-status"
190 + if="junit.missing">
191 + <echo>=================================== WARNING ===================================</echo>
192 + <echo> JUnit is not present in your $ANT_HOME/lib directory. Tests not executed.</echo>
193 + <echo>===============================================================================</echo>
194 + </target>
195 +
196 + <!-- ====================================================================== -->
197 + <!-- Javadoc target -->
198 + <!-- ====================================================================== -->
199 +
200 + <target name="javadoc" description="Generates the Javadoc of the application">
201 + <javadoc sourcepath="${maven.build.srcDir.0}"
202 + packagenames="*"
203 + destdir="${maven.reporting.outputDirectory}/apidocs"
204 + access="protected"
205 + old="false"
206 + verbose="false"
207 + version="true"
208 + use="true"
209 + author="true"
210 + splitindex="false"
211 + nodeprecated="false"
212 + nodeprecatedlist="false"
213 + notree="false"
214 + noindex="false"
215 + nohelp="false"
216 + nonavbar="false"
217 + serialwarn="false"
218 + charset="ISO-8859-1"
219 + linksource="false"
220 + breakiterator="false"/>
221 + </target>
222 +
223 + <!-- ====================================================================== -->
224 + <!-- Package target -->
225 + <!-- ====================================================================== -->
226 +
227 + <target name="package" depends="compile,test" description="Package the application">
228 + <jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar"
229 + compress="true"
230 + index="false"
231 + basedir="${maven.build.outputDir}"
232 + excludes="**/package.html">
233 + <manifest>
234 + <attribute name="Class-Path" value="${jar.classpath}"/>
235 + </manifest>
236 + </jar>
237 + </target>
238 +
239 + <!-- ====================================================================== -->
240 + <!-- A dummy target for the package named after the type it creates -->
241 + <!-- ====================================================================== -->
242 +
243 + <target name="jar" depends="package" description="Builds the jar for the application"/>
244 +
245 + <!-- ====================================================================== -->
246 + <!-- Download dependencies target -->
247 + <!-- ====================================================================== -->
248 +
249 + <target name="test-offline">
250 + <condition property="maven.mode.offline">
251 + <equals arg1="${maven.settings.offline}" arg2="true"/>
252 + </condition>
253 + </target>
254 +
255 + <target name="get-deps"
256 + depends="test-offline"
257 + description="Download all dependencies"
258 + unless="maven.mode.offline">
259 + <mkdir dir="${maven.repo.local}"/>
260 + </target>
261 +
262 +</project>
263 Index: accessodf/build.xml
264 ===================================================================
265 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
266 +++ accessodf/build.xml 2013-12-26 15:10:00.450340626 +0100
267 @@ -0,0 +1,23 @@
268 +<?xml version="1.0" encoding="UTF-8"?>
269 +
270 +<!-- ====================================================================== -->
271 +<!-- Ant build file (http://ant.apache.org/) for Ant 1.6.2 or above. -->
272 +<!-- ====================================================================== -->
273 +
274 +<project name="accessodf" default="package" basedir=".">
275 +
276 + <!-- ====================================================================== -->
277 + <!-- Import maven-build.xml into the current project -->
278 + <!-- ====================================================================== -->
279 +
280 + <import file="maven-build.xml"/>
281 +
282 + <!-- ====================================================================== -->
283 + <!-- Help target -->
284 + <!-- ====================================================================== -->
285 +
286 + <target name="help">
287 + <echo message="Please run: $ant -projecthelp"/>
288 + </target>
289 +
290 +</project>
291 Index: accessodf/maven-build.xml
292 ===================================================================
293 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
294 +++ accessodf/maven-build.xml 2013-12-26 15:10:00.450340626 +0100
295 @@ -0,0 +1,74 @@
296 +<?xml version="1.0" encoding="UTF-8"?>
297 +
298 +<!-- ====================================================================== -->
299 +<!-- Ant build file (http://ant.apache.org/) for Ant 1.6.2 or above. -->
300 +<!-- ====================================================================== -->
301 +
302 +<!-- ====================================================================== -->
303 +<!-- ===================== - DO NOT EDIT THIS FILE! - ===================== -->
304 +<!-- ====================================================================== -->
305 +<!-- -->
306 +<!-- Any modifications will be overwritten. -->
307 +<!-- -->
308 +<!-- Generated by Maven Ant Plugin on 10/11/13 8:06 PM -->
309 +<!-- See: http://maven.apache.org/plugins/maven-ant-plugin/ -->
310 +<!-- -->
311 +<!-- ====================================================================== -->
312 +
313 +<project name="accessodf-from-maven" default="package" basedir=".">
314 +
315 + <!-- ====================================================================== -->
316 + <!-- Cleaning up target -->
317 + <!-- ====================================================================== -->
318 +
319 + <target name="clean" description="Clean the output directory">
320 + <ant antfile="build.xml" dir="accessodf-api" target="clean"/>
321 + <ant antfile="build.xml" dir="accessodf-addon" target="clean"/>
322 + </target>
323 +
324 + <!-- ====================================================================== -->
325 + <!-- Compilation target -->
326 + <!-- ====================================================================== -->
327 +
328 + <target name="compile" description="Compile the code">
329 + <ant antfile="build.xml" dir="accessodf-api" target="compile"/>
330 + <ant antfile="build.xml" dir="accessodf-addon" target="compile"/>
331 + </target>
332 +
333 + <!-- ====================================================================== -->
334 + <!-- Test-compilation target -->
335 + <!-- ====================================================================== -->
336 +
337 + <target name="compile-tests" description="Compile the test code">
338 + <ant antfile="build.xml" dir="accessodf-api" target="compile-tests"/>
339 + <ant antfile="build.xml" dir="accessodf-addon" target="compile-tests"/>
340 + </target>
341 +
342 + <!-- ====================================================================== -->
343 + <!-- Run all tests -->
344 + <!-- ====================================================================== -->
345 +
346 + <target name="test" description="Run the test cases">
347 + <ant antfile="build.xml" dir="accessodf-api" target="test"/>
348 + <ant antfile="build.xml" dir="accessodf-addon" target="test"/>
349 + </target>
350 +
351 + <!-- ====================================================================== -->
352 + <!-- Javadoc target -->
353 + <!-- ====================================================================== -->
354 +
355 + <target name="javadoc" description="Generates the Javadoc of the application">
356 + <ant antfile="build.xml" dir="accessodf-api" target="javadoc"/>
357 + <ant antfile="build.xml" dir="accessodf-addon" target="javadoc"/>
358 + </target>
359 +
360 + <!-- ====================================================================== -->
361 + <!-- Package target -->
362 + <!-- ====================================================================== -->
363 +
364 + <target name="package" description="Package the application">
365 + <ant antfile="build.xml" dir="accessodf-api" target="package"/>
366 + <ant antfile="build.xml" dir="accessodf-addon" target="package"/>
367 + </target>
368 +
369 +</project>
370 Index: accessodf/accessodf-addon/build.xml
371 ===================================================================
372 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
373 +++ accessodf/accessodf-addon/build.xml 2013-12-26 15:10:00.450340626 +0100
374 @@ -0,0 +1,23 @@
375 +<?xml version="1.0" encoding="UTF-8"?>
376 +
377 +<!-- ====================================================================== -->
378 +<!-- Ant build file (http://ant.apache.org/) for Ant 1.6.2 or above. -->
379 +<!-- ====================================================================== -->
380 +
381 +<project name="accessodf-api" default="package" basedir=".">
382 +
383 + <!-- ====================================================================== -->
384 + <!-- Import maven-build.xml into the current project -->
385 + <!-- ====================================================================== -->
386 +
387 + <import file="maven-build.xml"/>
388 +
389 + <!-- ====================================================================== -->
390 + <!-- Help target -->
391 + <!-- ====================================================================== -->
392 +
393 + <target name="help">
394 + <echo message="Please run: $ant -projecthelp"/>
395 + </target>
396 +
397 +</project>
398 Index: accessodf/accessodf-addon/maven-build.properties
399 ===================================================================
400 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
401 +++ accessodf/accessodf-addon/maven-build.properties 2013-12-26 15:10:00.450340626 +0100
402 @@ -0,0 +1,20 @@
403 +#Generated by Maven Ant Plugin - DO NOT EDIT THIS FILE!
404 +#Fri Oct 11 20:06:32 CEST 2013
405 +maven.settings.offline=false
406 +maven.build.finalName=accessodf-addon-0.1.0
407 +maven.build.resourceDir.0=src/main/resources
408 +maven.build.testOutputDir=${maven.build.dir}/test-classes
409 +maven.build.testResourceDir.0=src/test/resources
410 +maven.reporting.outputDirectory=${maven.build.dir}/site
411 +project.build.sourceEncoding=UTF-8
412 +maven.build.srcDir.0=src/main/java
413 +project.build.directory=${maven.build.dir}
414 +maven.test.reports=${maven.build.dir}/test-reports
415 +maven.build.dir=target
416 +project.build.outputDirectory=${maven.build.outputDir}
417 +maven.build.testDir.0=src/test/java
418 +maven.settings.interactiveMode=true
419 +maven.repo.local=${user.home}/.m2/repository
420 +maven.build.outputDir=${maven.build.dir}/classes
421 +accessodf.version=0.1.0
422 +openoffice.version=3.3.0
423 Index: accessodf/accessodf-addon/maven-build.xml
424 ===================================================================
425 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
426 +++ accessodf/accessodf-addon/maven-build.xml 2013-12-26 15:10:51.022591372 +0100
427 @@ -0,0 +1,206 @@
428 +<?xml version="1.0" encoding="UTF-8"?>
429 +
430 +<!-- ====================================================================== -->
431 +<!-- Ant build file (http://ant.apache.org/) for Ant 1.6.2 or above. -->
432 +<!-- ====================================================================== -->
433 +
434 +<!-- ====================================================================== -->
435 +<!-- ===================== - DO NOT EDIT THIS FILE! - ===================== -->
436 +<!-- ====================================================================== -->
437 +<!-- -->
438 +<!-- Any modifications will be overwritten. -->
439 +<!-- -->
440 +<!-- Generated by Maven Ant Plugin on 10/11/13 8:06 PM -->
441 +<!-- See: http://maven.apache.org/plugins/maven-ant-plugin/ -->
442 +<!-- -->
443 +<!-- ====================================================================== -->
444 +
445 +<project name="accessodf-api-from-maven" default="package" basedir=".">
446 +
447 +<!-- ====================================================================== -->
448 +<!-- Build environment properties -->
449 +<!-- ====================================================================== -->
450 +
451 +<property file="${user.home}/.m2/maven.properties"/>
452 +<property file="../debian.properties"/>
453 +
454 +<property name="maven.build.finalName" value="accessodf-addon-0.1.0"/>
455 +<property name="maven.build.dir" value="target"/>
456 +<property name="maven.build.outputDir" value="${maven.build.dir}/classes"/>
457 +<property name="maven.build.srcDir.0" value="src/main/java"/>
458 +<property name="maven.build.resourceDir.0" value="src/main/resources"/>
459 +<property name="maven.build.testOutputDir" value="${maven.build.dir}/test-classes"/>
460 +<property name="maven.build.testDir.0" value="src/test/java"/>
461 +<property name="maven.build.testResourceDir.0" value="src/test/resources"/>
462 +<property name="maven.test.reports" value="${maven.build.dir}/test-reports"/>
463 +<property name="maven.reporting.outputDirectory" value="${maven.build.dir}/site"/>
464 +
465 +<property name="maven.repo.local" value="${user.home}/.m2/repository"/>
466 +<property name="maven.settings.offline" value="false"/>
467 +<property name="maven.settings.interactiveMode" value="true"/>
468 +
469 +<!-- ====================================================================== -->
470 +<!-- Defining classpaths -->
471 +<!-- ====================================================================== -->
472 +
473 +<path id="build.classpath">
474 + <pathelement location="${debian.libreoffice.unoil}" />
475 + <pathelement location="${debian.libreoffice.juh}" />
476 + <pathelement location="${debian.libreoffice.ridl}" />
477 + <pathelement location="${debian.libreoffice.ure}" />
478 + <pathelement location="${debian.commonscollections}" />
479 + <pathelement location="${debian.accessodfapi}" />
480 + </path>
481 + <!-- <manifestclasspath property="jar.classpath" jarfile="${maven.build.dir}/${maven.build.finalName}.jar">
482 +   <classpath refid="build.classpath" />
483 + </manifestclasspath>
484 + -->
485 +
486 + <pathconvert refid="build.classpath" property="jar.classpath" pathsep=" "/>
487 +
488 + <path id="build.test.classpath"/>
489 +
490 + <!-- ====================================================================== -->
491 + <!-- Cleaning up target -->
492 + <!-- ====================================================================== -->
493 +
494 + <target name="clean" description="Clean the output directory">
495 + <delete dir="${maven.build.dir}"/>
496 + </target>
497 +
498 + <!-- ====================================================================== -->
499 + <!-- Compilation target -->
500 + <!-- ====================================================================== -->
501 +
502 + <target name="compile" depends="get-deps" description="Compile the code">
503 + <mkdir dir="${maven.build.outputDir}"/>
504 + <javac destdir="${maven.build.outputDir}"
505 + nowarn="false"
506 + debug="true"
507 + optimize="false"
508 + deprecation="true"
509 + verbose="false"
510 + fork="false" >
511 + <src>
512 + <pathelement location="${maven.build.srcDir.0}"/>
513 + </src>
514 + <classpath refid="build.classpath"/>
515 + </javac>
516 + </target>
517 +
518 + <!-- ====================================================================== -->
519 + <!-- Test-compilation target -->
520 + <!-- ====================================================================== -->
521 +
522 + <target name="compile-tests"
523 + depends="compile"
524 + description="Compile the test code"
525 + unless="maven.test.skip">
526 + <mkdir dir="${maven.build.testOutputDir}"/>
527 + </target>
528 +
529 + <!-- ====================================================================== -->
530 + <!-- Run all tests -->
531 + <!-- ====================================================================== -->
532 +
533 + <target name="test"
534 + depends="compile-tests, junit-missing"
535 + unless="junit.skipped"
536 + description="Run the test cases"/>
537 +
538 + <target name="test-junit-present">
539 + <available classname="junit.framework.Test" property="junit.present"/>
540 + </target>
541 +
542 + <target name="test-junit-status"
543 + depends="test-junit-present">
544 + <condition property="junit.missing">
545 + <and>
546 + <isfalse value="${junit.present}"/>
547 + <isfalse value="${maven.test.skip}"/>
548 + </and>
549 + </condition>
550 + <condition property="junit.skipped">
551 + <or>
552 + <isfalse value="${junit.present}"/>
553 + <istrue value="${maven.test.skip}"/>
554 + </or>
555 + </condition>
556 + </target>
557 +
558 + <target name="junit-missing"
559 + depends="test-junit-status"
560 + if="junit.missing">
561 + <echo>=================================== WARNING ===================================</echo>
562 + <echo> JUnit is not present in your $ANT_HOME/lib directory. Tests not executed.</echo>
563 + <echo>===============================================================================</echo>
564 + </target>
565 +
566 + <!-- ====================================================================== -->
567 + <!-- Javadoc target -->
568 + <!-- ====================================================================== -->
569 +
570 + <target name="javadoc" description="Generates the Javadoc of the application">
571 + <javadoc sourcepath="${maven.build.srcDir.0}"
572 + packagenames="*"
573 + destdir="${maven.reporting.outputDirectory}/apidocs"
574 + access="protected"
575 + old="false"
576 + verbose="false"
577 + version="true"
578 + use="true"
579 + author="true"
580 + splitindex="false"
581 + nodeprecated="false"
582 + nodeprecatedlist="false"
583 + notree="false"
584 + noindex="false"
585 + nohelp="false"
586 + nonavbar="false"
587 + serialwarn="false"
588 + charset="ISO-8859-1"
589 + linksource="false"
590 + breakiterator="false"/>
591 + </target>
592 +
593 + <!-- ====================================================================== -->
594 + <!-- Package target -->
595 + <!-- ====================================================================== -->
596 +
597 + <target name="package" depends="compile,test" description="Package the application">
598 + <jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar"
599 + compress="true"
600 + index="false"
601 + basedir="${maven.build.outputDir}"
602 + excludes="**/package.html">
603 + <manifest>
604 + <!-- <attribute name="Main-Class" value="com.my.prog.MyProg"/> -->
605 + <attribute name="Class-Path" value="${jar.classpath}"/>
606 + </manifest>
607 + </jar>
608 + </target>
609 +
610 + <!-- ====================================================================== -->
611 + <!-- A dummy target for the package named after the type it creates -->
612 + <!-- ====================================================================== -->
613 +
614 + <target name="jar" depends="package" description="Builds the jar for the application"/>
615 +
616 + <!-- ====================================================================== -->
617 + <!-- Download dependencies target -->
618 + <!-- ====================================================================== -->
619 +
620 + <target name="test-offline">
621 + <condition property="maven.mode.offline">
622 + <equals arg1="${maven.settings.offline}" arg2="true"/>
623 + </condition>
624 + </target>
625 +
626 + <target name="get-deps"
627 + depends="test-offline"
628 + description="Download all dependencies"
629 + unless="maven.mode.offline">
630 + <mkdir dir="${maven.repo.local}"/>
631 + </target>
632 +
633 +</project>
634 Index: accessodf/debian.properties
635 ===================================================================
636 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
637 +++ accessodf/debian.properties 2013-12-26 15:10:00.454340644 +0100
638 @@ -0,0 +1,6 @@
639 +debian.libreoffice.unoil=/usr/share/java/unoil.jar
640 +debian.libreoffice.ure=/usr/share/java/ure.jar
641 +debian.libreoffice.ridl=/usr/share/java/ridl.jar
642 +debian.libreoffice.juh=/usr/share/java/juh.jar
643 +debian.commonscollections=/usr/share/java/commons-collections3.jar
644 +debian.accessodfapi=/usr/share/java/accessodf-api.jar
645 Index: accessodf/accessodf-addon/src/main/oxt/META-INF/manifest.xml
646 ===================================================================
647 --- accessodf.orig/accessodf-addon/src/main/oxt/META-INF/manifest.xml 2013-06-17 22:20:19.118737712 +0200
648 +++ accessodf/accessodf-addon/src/main/oxt/META-INF/manifest.xml 2013-12-26 15:16:00.912128065 +0100
649 @@ -1,7 +1,7 @@
650 <?xml version="1.0" encoding="UTF-8"?>
651 <manifest:manifest xmlns:manifest="http://openoffice.org/2001/manifest">
652 <manifest:file-entry manifest:media-type="application/vnd.sun.star.uno-component;type=Java"
653 - manifest:full-path="accessodf-addon-${accessodf.version}.jar"/>
654 + manifest:full-path="accessodf-addon.jar"/>
655 <manifest:file-entry manifest:media-type="application/vnd.sun.star.configuration-data"
656 manifest:full-path="WriterWindowState.xcu"/>
657 <manifest:file-entry manifest:media-type="application/vnd.sun.star.configuration-data"
658 @@ -14,4 +14,4 @@
659 manifest:full-path="Settings.xcs"/>
660 <manifest:file-entry manifest:media-type="application/vnd.sun.star.configuration-data"
661 manifest:full-path="registry/data/org/openoffice/Office/OptionsDialog.xcu"/>
662 -</manifest:manifest>
663 \ No newline at end of file
664 +</manifest:manifest>