forked from adallolio/neptus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
2462 lines (2262 loc) · 114 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0" encoding="utf-8"?>
<!-- ===================================================================
Build file for Neptus
Copyright (c) 2004-2019 Universidade do Porto - Faculdade de Engenharia
Laboratório de Sistemas e Tecnologia Subaquática (LSTS)
All rights reserved.
Rua Dr. Roberto Frias s/n, sala I203, 4200-465 Porto, Portugal
This file is part of Neptus, Command and Control Framework.
Commercial Licence Usage
Licencees holding valid commercial Neptus licences may use this file
in accordance with the commercial licence agreement provided with the
Software or, alternatively, in accordance with the terms contained in a
written agreement between you and Universidade do Porto. For licensing
terms, conditions, and further information contact [email protected].
Modified European Union Public Licence - EUPL v.1.1 Usage
Alternatively, this file may be used under the terms of the Modified EUPL,
Version 1.1 only (the "Licence"), appearing in the file LICENCE.md
included in the packaging of this file. You may not use this work
except in compliance with the Licence. Unless required by applicable
law or agreed to in writing, software distributed under the Licence is
distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDITIONS OF
ANY KIND, either express or implied. See the Licence for the specific
language governing permissions and limitations at
https://github.com/LSTS/neptus/blob/develop/LICENSE.md
and http://ec.europa.eu/idabc/eupl.html.
For more information please see <http://lsts.fe.up.pt/neptus>.
Authors:
Paulo Dias <[email protected]>
José Pinto <[email protected]>
Copyright:
(c) FEUP-LSTS, Neptus Team.
==================================================================== -->
<project name="Neptus" default="default" basedir=".">
<description>
For simple use the main targets are:
- "info" for project information
- "clean" to clean the build folder
- "jar" (or "jar-force") to create all jars (the force will delete the
the jars first)
- "distribution-all" for all flavors (or individually "distribution-full",
"distribution-seacon", or "distribution-le")
</description>
<!-- =================================================================== -->
<!-- Defines variables used by the other targets -->
<!-- =================================================================== -->
<property name="version.MAJOR" value="2019" />
<property name="version.MINOR" value="02" />
<property name="version.PATCH" value="1" />
<!-- Set this to '-dev' if a developer release; blank "" if maintenance release; or '-rcX' for release candidate X (X number) -->
<property name="version.DEVELOPER" value="-dev" />
<property name="release.NAME" value="${version.MAJOR}.${version.MINOR}.${version.PATCH}${version.DEVELOPER}" />
<!-- EITHER the developer release number, or a maintenance release number -->
<property name="version" value="${release.NAME}" />
<property name="version.numeric" value="${version.MAJOR}.${version.MINOR}.${version.PATCH}" />
<property name="full.release" value="${version}" />
<property name="light.release" value="${full.release}" />
<property name="seacon.release" value="${light.release}" />
<property name="name" value="neptus" />
<property name="Name" value="Neptus" />
<property name="years" value="2004-2018" />
<property name="legal.copy" value="(c)${years} LSTS-FEUP and Neptus developers. All Rights Reserved."/>
<property name="legal.copy.html" value="Copyright © ${years} FEUP-LSTS and Neptus developers. All Rights Reserved."/>
<property name="ant.minimum.version" value="1.8.2" />
<property name="build.compiler" value="modern" />
<property name="debug" value="on" />
<property name="deprecation" value="off" />
<property name="compile-source" value="1.8" />
<property name="compile-target" value="1.8" />
<property name="compile-encoding" value="UTF-8" />
<!--property name="extra-compile-args" value="-Xlint:unchecked"/-->
<property name="extra-compile-args" value="" />
<property name="src.dir" value="./src" />
<property name="src.shell.dir" value="./srcShell" />
<property name="lib.dir" value="./lib" />
<property name="nsis_src.dir" value="./NSIS_release/static_files/" />
<property name="nsis_dst.dir" value="./NSIS_release/install_scripts/" />
<property name="build.dir" value="./build" />
<property name="build.classes" value="${build.dir}/classes" />
<property name="build.docs" value="${build.dir}/docs" />
<property name="build.apidocs" value="${build.docs}/api" />
<property name="plugin-dev.dir.base" value="./plugins-dev" />
<property name="plugin.dir.dest" value="./plugins" />
<property name="tmp.dir" value="./.tmp" />
<property name="tmp.compile.main.dir" value="${tmp.dir}/main-tmp" />
<property name="tmp.compile.plugin.dir" value="${tmp.dir}/plugins-dev-tmp" />
<property name="tmp.bundle.dir" value="tmpBuild" />
<property name="exclude-defaults" value="**/Thumbs.db,**/thumbs.db,**/*~,**/#*#" />
<property name="scm.info.file" value="scm.info.txt" />
<property name="dist.file" value="${name}-${version}" />
<property name="dist.base.dir" value="./dist" />
<!--<property name="dist.dir" value="./dist/${dist.file}"/>-->
<property name="dist.dir" value="${dist.base.dir}" />
<!-- Where we put the neptus.jar we compile by default -->
<property name="bin.dir" value="./bin" />
<property name="bin.bundle.dir" value="./bin-bundles" />
<property name="reports.tests" value="${build.docs}/junit/xml_res" />
<property name="reports.outputs" value="${build.docs}/junit/html" />
<property name="javadoc.src" value="javadoc" />
<property name="javadoc.overview" value="overview-and-developers-guide.html" />
<property name="javadoc.overview.path" value="${javadoc.src}/${javadoc.overview}" />
<!-- Where to put licences -->
<property name="legal.dir" value="./legal" />
<property name="license.file" value="LICENSE.md" />
<property name="jar.file" value="${name}.jar" />
<property name="jar.file.path" value="${bin.dir}/${jar.file}" />
<property name="workspace.jar.file" value="workspace.jar" />
<property name="libimc.jar.file" value="libimc.jar" />
<property name="libimc.jar.file.path" value="${lib.dir}/${libimc.jar.file}" />
<property name="resources.copied" value="**/*.xml,**/*.properties,**/*.res,images/**/*.*,models/**/*.*,schemas/**/*.xsd,**/*.png,**/*.jpg,**/*.gif"/>
<!-- The bundle jars names -->
<property name="bundle.jar.checklist" value="${name}-check.jar" />
<property name="bundle.jar.checklist.path" value="${bin.bundle.dir}/${bundle.jar.checklist}" />
<property name="bundle.jar.worldmap" value="${name}-worldmap.jar" />
<property name="bundle.jar.worldmap.path" value="${bin.bundle.dir}/${bundle.jar.worldmap}" />
<property name="dist.installer.basename.full" value="${Name}-${full.release}-x86-32bit-x64-64bit"/>
<property name="dist.installer.basename.le" value="${Name}LE-${light.release}-x86-32bit-x64-64bit"/>
<property name="dist.installer.basename.seacon" value="${Name}SC-${seacon.release}-x86-32bit-x64-64bit"/>
<path id="cp.lib.jars">
<fileset dir="${lib.dir}" casesensitive="false">
<include name="**/*.jar" />
<include name="**/*.zip" />
</fileset>
</path>
<path id="cp.plugins.lib.jars.all">
<fileset dir="${plugin-dev.dir.base}" casesensitive="false">
<include name="**/*.jar" />
<include name="**/*.zip" />
</fileset>
</path>
<path id="cp.junit">
<fileset dir="dev-utils" casesensitive="false">
<include name="junit*.jar" />
</fileset>
</path>
<path id="cp.path">
<pathelement location="${build.classes}" />
<pathelement location="${build.plugins}" />
<fileset dir="${lib.dir}" casesensitive="false">
<include name="**/*.jar" />
<include name="**/*.zip" />
</fileset>
<fileset dir="dev-utils" casesensitive="false">
<include name="junit*.jar" />
</fileset>
</path>
<path id="cp.compile.all">
<path refid="cp.lib.jars" />
<path refid="cp.plugins.lib.jars.all" />
<path refid="cp.junit" />
</path>
<path id="cp.compile.jar.main">
<!-- Classpath for main jar compile. -->
<!-- Leave the next line commented so that the Neptus main jar does not depends on the plugin jars. -->
<!-- pathelement location="${build.classes}" /-->
<path refid="cp.lib.jars" />
<path refid="cp.junit" />
</path>
<path id="cp.compile.jar.plugins">
<!-- Classpath for each plugin jar compile. -->
<!-- Leave the next line commented because in some Ants the neptus.jar may not yet exist. So it gives an error of 'unbound file resource' and the neptus.jar it's not added to the classpathS. Fixed bellow -->
<!--file name="${jar.file.path}" /-->
<!-- Leave the next line commented so that any plugin jar does not depends on the other plugin jars. -->
<!-- pathelement location="${build.classes}" /-->
<path refid="cp.lib.jars" />
<path refid="cp.junit" />
</path>
<path id="cp.run">
<path refid="cp.lib.jars" />
<path refid="cp.junit" />
</path>
<property name="class.path" refid="cp.path" />
<property name="class.path.compile.all" refid="cp.compile.all" />
<property name="class.path.compile.jar.main" refid="cp.compile.jar.main" />
<local name="tmp-cp-plg"/>
<property name="tmp-cp-plg" refid="cp.compile.jar.plugins"/>
<property name="class.path.compile.jar.plugins" value="${jar.file.path};${tmp-cp-plg}" />
<property name="class.path.run" refid="cp.run" />
<property name="certs.build.file" value="./certs/ant-keys-genkeys.xml" />
<property name="neptus.cert" value="./certs/genKeys/LSTS_FEUP.keystore" />
<property name="login.cert" value="lsts" />
<!-- Temp dirs to prepare Windows and Linux releases of Neptus -->
<property name="all.os.dist.dir" value="all_os_dist" />
<property name="windows.dist.dir" value="windows_dist" />
<property name="linux.dist.dir" value="linux_dist" />
<property name="windows.jre.version.dir" value="${dist.base.dir}/jre-windows" />
<property name="windows.jre64.version.dir" value="${dist.base.dir}/jre64-windows" />
<property name="linux.jre.version.dir" value="${dist.base.dir}/jre-linux" />
<property name="linux.jre64.version.dir" value="${dist.base.dir}/jre64-linux" />
<property name="jre-base-url" value="http://whale.fe.up.pt/java/jres/" />
<property name="jre-windows-tgz-url" value="jre-win.tgz" />
<property name="jre64-windows-tgz-url" value="jre64-win.tgz" />
<property name="jre-linux-tgz-url" value="jre-linux.tgz" />
<property name="jre64-linux-tgz-url" value="jre64-linux.tgz" />
<!-- The base dir for Neptus instalation -->
<property name="install.dir.name" value="${Name}" />
<property environment="env" />
<!-- Yguard ANT Task -->
<taskdef name="yguard" classname="com.yworks.yguard.YGuardTask"
classpath="dev-utils/yguard.jar" />
<!-- NSIS ANT Task -->
<!-- see also http://nsisant.sourceforge.net/ -->
<taskdef name="nsis" classname="net.sf.nsisant.Task">
<classpath location="dev-utils/nsisant-1.2.jar" />
</taskdef>
<!-- =================================================================== -->
<!-- Default target -->
<!-- =================================================================== -->
<target name="default" description="Default target to make the WC runnable."
depends="clean, generate-all-necessary-missing-files">
</target>
<target name="generate-all-necessary-missing-files"
depends="jar, jar-bundle-checklist, jar-bundle-worldmap, generate-launchers">
</target>
<!-- =================================================================== -->
<!-- Test and fail for generated all necessary missing files target -->
<!-- =================================================================== -->
<target name="test-and-fail-for-generated-all-necessary-missing-files">
<fileset id="plugins-jars-to-test-fileset" dir="${plugin.dir.dest}" casesensitive="no">
<include name="**/*.jar"/>
</fileset>
<fileset id="nsis-generated-launchers" dir="NSIS_release/static_files/batch_files" casesensitive="no">
<include name="*.bat"/>
<include name="*.sh"/>
</fileset>
<fail message="There are some missing files to be able to run Neptus. Please run 'ant' command (with no arguments) and try again.">
<condition>
<not>
<and>
<resourceexists>
<file file="${jar.file.path}"/>
</resourceexists>
<resourcecount refid="plugins-jars-to-test-fileset" when="greater" count="30" />
<resourceexists>
<file file="${bundle.jar.checklist.path}"/>
</resourceexists>
<resourceexists>
<file file="${bundle.jar.worldmap.path}"/>
</resourceexists>
<resourceexists>
<file file="neptus.sh"/>
</resourceexists>
<resourceexists>
<file file="neptus.bat"/>
</resourceexists>
<resourcecount refid="nsis-generated-launchers" when="ge" count="2" />
</and>
</not>
</condition>
</fail>
</target>
<!-- =================================================================== -->
<!-- Info -->
<!-- =================================================================== -->
<target name="info" description="Displays some information of this ant build file."
unless="llpath">
<echo message="-------------------------------------------------------------------" />
<echo level="info" message=" ${Name}" />
<echo message=" Version: ${version}" />
<echo message=" Release: ${release.NAME}" />
<echo level="info" message=" ${legal.copy}" />
<echo message="-------------------------------------------------------------------" />
<echo level="debug" message=" Project name: ${ant.project.name}" />
<echo level="debug" message=" The absolute path of the buildfile: ${ant.file}" />
<echo message=" Ant version: ${ant.version}" />
<echo message=" JVM version Ant detected: ${ant.java.version}" />
<echo message="-------------------------------------------------------------------" />
<fail>
Ant version should be at least v${ant.minimum.version}! Yours is ${ant.version}.
<condition>
<not>
<antversion atleast="${ant.minimum.version}"/>
</not>
</condition>
</fail>
<!--echo message=" ClassPath = ${class.path}" /-->
<echo message="-------------------------------------------------------------------" level="debug" />
<!--tstamp /-->
<path id="lpath">
<pathelement path="${lib.dir}" />
</path>
<property name="llpath" refid="lpath" />
<mkdir dir="${bin.dir}" />
<manifestclasspath property="manifest.classpath" jarfile="${jar.file.path}">
<classpath refid="cp.path" />
</manifestclasspath>
<pathconvert dirsep="/" property="dist.classpath" refid="cp.lib.jars">
<map from="${llpath}" to="${lib.dir}" />
</pathconvert>
<echo level="debug" message=" lib Abs dir = ${llpath}" />
<echo level="debug" message=" Relative ClassPath = ${dist.classpath}" />
<echo level="debug" message=" Manifest ClassPath = ${manifest.classpath}" />
</target>
<!-- =================================================================== -->
<!-- Prepares the build directories (should be allways called) -->
<!-- =================================================================== -->
<target name="prepare" depends="info, prepare.build.dirs,create-scm-props,create-sh-bat-filters"
unless="time.year">
<available file="${tests.dir}" property="tests-available" />
<tstamp>
<format property="time.year" pattern="yyyy" />
<format property="time.date" pattern="yyyy-MM-dd" />
<format property="time.time" pattern="HH':'mm" />
</tstamp>
<!-- echo message="${time.date} | ${time.year}" / -->
<property name="dist.installer.name.full" value="${dist.installer.basename.full}-${scm.last.changed.date.short}"/> <!--${time.date}-->
<property name="dist.installer.name.le" value="${dist.installer.basename.le}-${scm.last.changed.date.short}"/><!--${time.date}-->
<property name="dist.installer.name.seacon" value="${dist.installer.basename.seacon}-${scm.last.changed.date.short}"/><!--${time.date}-->
<echo message="-------------------------------------------------------------------" />
<echo level="info" message="Git ${scm.revision}" />
<echo level="info" message=" g${scm.revision.uid}" />
<echo level="info" message=" ${scm.repository.path}" />
<echo level="info" message=" ${scm.last.changed.date}" />
<echo level="info" message=" last author: ${scm.last.changed.author}" />
<echo level="info" message=" wc ${scm.wc.dirty.string}" />
<echo message="-------------------------------------------------------------------" />
<loadfile property="license-content" srcFile="${license.file}"/>
<filterset id="neptus.filters">
<filter token="NEPTUS_NAME" value="${Name}" />
<filter token="VERSION" value="${version}" />
<filter token="YEAR" value="${years}" />
<filter token="DATE" value="${time.date}" />
<filter token="TIME" value="${time.time}" />
<filter token="COMPILED BY" value="${user.name}" />
<filter token="NAMED_RELEASE" value="${release.NAME}" />
<filter token="NUMERIC_VERSION" value="${version.numeric}" />
<filter token="LEGAL_COPY" value="${legal.copy}" />
<filter token="EXTRA_DIST_NAME" value="${full.release}" />
<filter token="INSTALL_DIR" value="${install.dir.name}" />
<!--filter token="VERSION_SE" value="" /-->
<filter token="DIST_EXE" value="${dist.installer.name.full}" />
<filter token="SCM_REV" value="${scm.revision}" />
<filter token="SCM_PATH" value="${scm.repository.path}" />
<!--filter token="INSTALLER_NSIS_NEPTUS_BATCH_PATH" value="..\static_files\batch_files\neptus.bat" /-->
<filter token="MAIN_CLASS" value="pt.lsts.neptus.loader.NeptusMain" />
<filter token="LICENSE" value="${license-content}" />
</filterset>
<filterset id="neptusLE.filters">
<filter token="NEPTUS_NAME" value="${Name}LE" />
<filter token="EXTRA_DIST_NAME" value="Light Edition ${light.release}" />
<filter token="INSTALL_DIR" value="${install.dir.name}LE" />
<!--filter token="VERSION_SE" value="${light.release}" /-->
<filter token="DIST_EXE" value="${dist.installer.name.le}" />
<!--filter token="INSTALLER_NSIS_NEPTUS_BATCH_PATH" value="..\static_files\batch_files\neptusse.bat" /-->
<filter token="MAIN_CLASS" value="pt.lsts.neptus.mc.lauvconsole.LAUVConsole" />
</filterset>
<filterset id="neptusSeacon.filters">
<filter token="NEPTUS_NAME" value="${Name}SC" />
<filter token="EXTRA_DIST_NAME" value="Seacon Edition ${seacon.release}" />
<filter token="INSTALL_DIR" value="${install.dir.name}SC" />
<!--filter token="VERSION_SE" value="${seacon.release}" /-->
<filter token="DIST_EXE" value="${dist.installer.name.seacon}" />
<!--filter token="INSTALLER_NSIS_NEPTUS_BATCH_PATH" value="..\static_files\batch_files\neptusse.bat" /-->
<filter token="MAIN_CLASS" value="pt.lsts.neptus.mc.lauvconsole.LAUVConsole" />
</filterset>
<filterset id="empty.filters">
</filterset>
<fixcrlf preservelastmodified="true" srcdir="." eol="lf" eof="remove" includes="*.sh" excludes="Ne*.sh"/>
<fixcrlf preservelastmodified="true" srcdir="." eol="lf" eof="remove" includes="${src.shell.dir}/**/*.sh" />
<fixcrlf preservelastmodified="true" srcdir="." eol="lf" eof="remove" includes="helper-scripts/**/*.sh" />
<fixcrlf preservelastmodified="true" srcdir="." eol="crlf" includes="*.bat" />
<fixcrlf preservelastmodified="true" srcdir="." eol="crlf" includes="${src.shell.dir}/**/*.bat" />
<fixcrlf preservelastmodified="true" srcdir="." eol="crlf" includes="helper-scripts/**/*.bat" />
</target>
<!-- Prepares the build directories -->
<target name="prepare.build.dirs">
<mkdir dir="${build.dir}" />
<mkdir dir="${build.classes}" />
<mkdir dir="${dist.base.dir}" />
<mkdir dir="${dist.dir}" />
<mkdir dir="${bin.dir}" />
</target>
<!-- Prepares the docs directories -->
<target name="prepare.docs" depends="prepare">
<mkdir dir="${build.docs}" />
<mkdir dir="${build.apidocs}" />
<mkdir dir="${reports.tests}" />
<mkdir dir="${reports.outputs}" />
</target>
<!-- =================================================================== -->
<!-- Cleans the project build dir -->
<!-- =================================================================== -->
<target name="clean" description="Deletes the ${build.dir}.">
<delete dir="${build.dir}" />
<delete dir="${tmp.dir}" />
<delete dir="${plugin.dir.dest}" />
<delete file="${jar.file.path}" />
<delete failonerror="false">
<fileset dir="${bin.bundle.dir}">
<include name="*.jar"/>
</fileset>
</delete>
<delete failonerror="false">
<fileset dir="${bin.dir}">
<include name="*.jar"/>
</fileset>
</delete>
<delete>
<fileset dir=".">
<!-- include name="*.tar.gz"/ --> <!-- This is not safe because is deleting the "installer" all os that is a tar.gz -->
<include name="s57.session"/>
<include name="release.json"/>
<include name="scm.info.txt"/>
<include name="*.so"/>
</fileset>
</delete>
</target>
<target name="clean-conf" description="Deletes locally changed configurations.">
<delete dir="log"/>
<delete>
<fileset dir=".">
<include name="conf/general-properties.xml"/>
<include name="conf/mra_recent.xml"/>
<include name="conf/roconsoles.xml"/>
<include name="conf/romisc.xml"/>
<include name="conf/worldrenderpainter.properties"/>
</fileset>
</delete>
</target>
<!-- =================================================================== -->
<!-- Creates the git properties of the working copy -->
<!-- =================================================================== -->
<target name="create-scm-props" unless="scm-props-set">
<!--
- See modified tracked files
git status -s - -untracked-files=no
- Get SHA1 full or short form of current WC
git rev-parse HEAD
git rev-parse - -short HEAD
- Get the version of current WC with SHA1 and dirty status
git describe - -dirty
git describe - -all - -long - -dirty (for instead of version show repo inner path)
-
git log -1 - -pretty=format:%H (commit Hash) %h for abbrev hash
git log -1 - -pretty=format:%ai (author ISO date)
git log -1 - -pretty=format:%an (commit author name)
git log -1 - -pretty=format:%ae (commit author email)
-->
<local name="git.wc.status" />
<exec executable="git" outputproperty="git.wc.status" failonerror="false">
<arg value="status"/>
<arg value="--short"/>
<arg value="--untracked-files=no"/>
</exec>
<local name="git.wc.dirty" />
<condition property="git.wc.dirty" value="true">
<and>
<isset property="git.wc.status" />
<not>
<equals arg1="${git.wc.status}" arg2="" trim="true"/>
</not>
</and>
</condition>
<local name="git.wc.dirty.string" />
<condition property="git.wc.dirty.string" value="dirty" else="">
<isset property="git.wc.dirty" />
</condition>
<local name="git.hash" />
<exec executable="git" outputproperty="git.hash" failonerror="false">
<arg value="log"/>
<arg value="-1"/>
<arg value="--pretty=format:%H"/>
</exec>
<local name="git.hash.abbrev" />
<exec executable="git" outputproperty="git.hash.abbrev" failonerror="false">
<arg value="log"/>
<arg value="-1"/>
<arg value="--pretty=format:%h"/>
</exec>
<local name="git.date" />
<exec executable="git" outputproperty="git.date" failonerror="false">
<arg value="log"/>
<arg value="-1"/>
<arg value="--pretty=format:%ai"/>
</exec>
<local name="git.date.short" />
<exec executable="git" outputproperty="git.date.short" failonerror="false">
<arg value="log"/>
<arg value="-1"/>
<arg value="--pretty=format:%ad"/>
<arg value="--date=short"/>
</exec>
<local name="git.author" />
<exec executable="git" outputproperty="git.author" failonerror="false">
<arg value="log"/>
<arg value="-1"/>
<arg value="--pretty=format:%an"/>
</exec>
<local name="git.tagstring" />
<exec executable="git" outputproperty="git.tagstring" failonerror="false">
<arg value="describe"/>
<arg value="--dirty"/>
</exec>
<local name="git.revision" />
<exec executable="git" outputproperty="git.revision">
<arg value="rev-parse"/>
<arg value="HEAD"/>
</exec>
<local name="git.tag" />
<condition property="git.tag" value="${git.revision}" else="${git.tagstring}">
<equals arg1="${git.tagstring}" arg2="fatal: No names found, cannot describe anything."/>
</condition>
<local name="git.repo.path" />
<exec executable="git" outputproperty="git.repo.path" failonerror="false">
<arg value="describe"/>
<arg value="--all"/>
<arg value="--long"/>
<arg value="--dirty"/>
</exec>
<!-- Lets recreate a clean scm.info.txt -->
<echo file="${scm.info.file}" append="false">version=${version}
</echo>
<echo file="${scm.info.file}" append="true">scm.revision=${git.tag}
</echo>
<echo file="${scm.info.file}" append="true">scm.revision.uid=${git.hash}
</echo>
<echo file="${scm.info.file}" append="true">scm.repository.path=${git.repo.path}
</echo>
<echo file="${scm.info.file}" append="true">scm.last.changed.author=${git.author}
</echo>
<echo file="${scm.info.file}" append="true">scm.last.changed.date=${git.date}
</echo>
<echo file="${scm.info.file}" append="true">scm.last.changed.date.short=${git.date.short}
</echo>
<echo file="${scm.info.file}" append="true">scm.wc.dirty.string=${git.wc.dirty.string}
</echo>
<echo file="${scm.info.file}" append="true">scm.wc.dirty.status=${git.wc.dirty.status}
</echo>
<property name="scm.revision.uid.abbrev" value="${git.hash.abbrev}" />
<condition property="scm.wc.dirty" value="dirty">
<isset property="git.wc.dirty" />
</condition>
<property file="${scm.info.file}"/>
<!-- This should be after loading the properties from file because this addition will render this not loadable. -->
<echo file="${scm.info.file}" append="true">scm.wc.status=${git.wc.status}
</echo>
<property name="scm-props-set" value="true"/>
</target>
<!-- =================================================================== -->
<!-- Compile entire source tree -->
<!-- =================================================================== -->
<target name="compile" depends="compile.all" description="Compile all src the normal way">
</target>
<!-- Compile entire source tree -->
<target name="compile.all" depends="prepare" unless="already-compiled">
<echo message="compile entire source tree and copy .properties and .res files to build tree." />
<echo level="debug" message="${class.path.compile.all}" />
<!-- srcdir="${src.dir}" -->
<javac encoding="${compile-encoding}"
includeantruntime="false"
source="${compile-source}"
target="${compile-target}"
destdir="${build.classes}"
excludes="${exclude-defaults},old/**/*.*,**/junit/*.java"
includes="**/*.java"
deprecation="${deprecation}" debug="${debug}"
classpath="${class.path.compile.all}"
listfiles="false"
fork="false">
<compilerarg line="${extra-compile-args}" />
<src>
<pathelement path="${src.dir}"/>
</src>
<src>
<dirset dir="${plugin-dev.dir.base}">
<depth min="0" max="0"/>
</dirset>
</src>
</javac>
<!-- Copy plugins src resources -->
<copy todir="${build.classes}" overwrite="true" verbose="false">
<fileset dir="${plugin-dev.dir.base}" excludes="${exclude-defaults},**/Thumbs.db,**/thumbs.db,**/*.java,**/*.jar,**/*plugins.lst" />
<regexpmapper from="^([^/]+/)(.*)([^/]+\.[^/]+)$$" to="\2\3" handledirsep="true"/>
</copy>
<!-- Copy main src resources -->
<copy todir="${build.classes}" overwrite="true">
<fileset dir="${src.dir}" excludes="${exclude-defaults},**/Thumbs.db,**/thumbs.db"
includes="${resources.copied}" />
</copy>
<copy todir="${build.classes}" overwrite="true">
<fileset dir="${src.dir}">
<include name="**/version.txt" />
<exclude name="${exclude-defaults}" />
</fileset>
<filterset refid="neptus.filters" />
</copy>
<copy file="${scm.info.file}" tofile="${build.classes}/info" overwrite="yes" failonerror="false" />
<copy file="${license.file}" todir="${build.classes}" />
<copy todir="${build.classes}" overwrite="true">
<fileset dir="${src.dir}">
<include name="totd.xml" />
<include name="**/*.properties" />
<include name="colormaps/**/*.colormap" />
<include name="colormaps/**/*.act" />
<include name="colormaps/**/*.gct" />
<include name="colormaps/**/*.rgb" />
<include name="colormaps/**/*.cpt" />
<include name="schemas/**/*.xsd" />
<include name="sounds/*" />
<include name="**/*.gz" />
<exclude name="${exclude-defaults}" />
</fileset>
</copy>
</target>
<!-- Compile entire main source tree -->
<target name="compile.main" depends="prepare, compile.all, jar.uptodate.test" unless="jar.build.not.required"
description="Compile src the normal way">
<echo message="compile entire source tree and copy .properties and .res files to build tree." />
<echo level="debug" message="${class.path.compile.jar.main}" />
<mkdir dir="${tmp.compile.main.dir}" />
<!-- srcdir="${src.dir}" -->
<javac encoding="${compile-encoding}" srcdir="${src.dir}"
includeantruntime="false"
source="${compile-source}"
target="${compile-target}"
destdir="${tmp.compile.main.dir}"
excludes="${exclude-defaults},old/**/*.*,**/junit/*.java"
includes="**/*.java"
deprecation="${deprecation}" debug="${debug}"
classpath="${class.path.compile.jar.main}"
listfiles="false"
fork="false">
<compilerarg line="${extra-compile-args}" />
</javac>
<copy todir="${tmp.compile.main.dir}" overwrite="true">
<fileset dir="${src.dir}" excludes="${exclude-defaults},**/Thumbs.db,**/thumbs.db"
includes="${resources.copied}" />
</copy>
<copy todir="${tmp.compile.main.dir}" overwrite="true">
<fileset dir="${src.dir}">
<include name="**/version.txt" />
<exclude name="${exclude-defaults}" />
</fileset>
<filterset refid="neptus.filters" />
</copy>
<copy file="${scm.info.file}" tofile="${tmp.compile.main.dir}/info" overwrite="yes" failonerror="false" />
<copy file="${license.file}" todir="${tmp.compile.main.dir}" />
<copy todir="${tmp.compile.main.dir}" overwrite="true">
<fileset dir="${src.dir}">
<include name="totd.xml" />
<include name="**/*.properties" />
<include name="colormaps/**/*.colormap" />
<include name="colormaps/**/*.act" />
<include name="colormaps/**/*.gct" />
<include name="colormaps/**/*.rgb" />
<include name="colormaps/**/*.cpt" />
<include name="schemas/**/*.xsd" />
<include name="sounds/*" />
<include name="**/*.gz" />
<exclude name="${exclude-defaults}" />
</fileset>
</copy>
</target>
<!-- =================================================================== -->
<!-- Creates all Neptus jars. -->
<!-- =================================================================== -->
<target name="jar-force" depends="jar-clean,jar"
description="Creates the all Neptus jars file forced even if no changes to srcs.">
</target>
<target name="jar" depends="jar.main, plugin-create-all-jars"
description="Creates the all Neptus jars file.">
</target>
<target name="jar-clean" description="Deletes the all Neptus jars files" depends="jar.main-clean">
<delete file="${plugin.dir.dest}/*.jar}" />
</target>
<!-- =================================================================== -->
<!-- Creates Neptus jar. -->
<!-- =================================================================== -->
<target name="jar.main-force" depends="jar.main-clean,jar.main" >
<!-- description="Creates the Neptus jar file forced even if no changes to srcs."-->
</target>
<target name="jar.main" depends="compile.main,jar.main.prep" unless="jar.build.not.required"
description="Creates the Neptus jar file.">
<echo message="Creating .jar file" />
<jar destfile="${jar.file.path}" basedir="${tmp.compile.main.dir}"
index="false" update="true" excludes="${exclude-defaults}, *.class">
</jar>
<delete dir="${tmp.compile.main.dir}" />
</target>
<target name="jar.main-clean" description="Deletes the jar file">
<delete file="${jar.file.path}" />
</target>
<target name="jar.uptodate.test">
<uptodate property="jar.build.not.required" targetfile="${jar.file.path}" >
<srcfiles dir= "${build.classes}" excludes="version.txt" />
</uptodate>
<echo message="JAR uptodate: ${jar.build.not.required}" level="warning" />
</target>
<target name="jar.main.prep" depends="jar.uptodate.test" unless="jar.build.not.required">
<!-- "Deletes the old jar file and creates a new one with manifest." -->
<delete file="${jar.file.path}" />
<jar destfile="${jar.file.path}" basedir="." update="true" excludes="${exclude-defaults}" includes="LICENSE">
<manifest>
<attribute name="Built-By" value="${user.name}" />
<attribute name="Built-On" value="${TODAY} - ${TSTAMP}" />
<attribute name="Main-Class" value="pt.lsts.neptus.loader.NeptusMain" />
<!--
<attribute name="Class-Path" value="${class.path.jar}"/>
<attribute name="Main-Class" value="pt.lsts.neptus.loader.MissionConsoleLoader"/>
-->
<section name="${Name}">
<attribute name="Specification-Title" value="${Name}" />
<attribute name="Specification-Version" value="${version}" />
<attribute name="Specification-Vendor" value="FEUP USTL/LSTS (http://www.fe.up.pt/lsts) Neptus (http://whale.fe.up.pt/neptus)" />
<attribute name="Implementation-Title" value="${name}" />
<attribute name="Implementation-Version" value="${version} ${TODAY}" />
<attribute name="Implementation-Vendor" value="FEUP USTL/LSTS (http://www.fe.up.pt/lsts)" />
</section>
</manifest>
</jar>
</target>
<target name="jar.main.signer">
<!-- "Signs Neptus jar. (doesn't create the jar)" -->
<signjar storetype="jceks" keystore="${neptus.cert}" alias="${login.cert}" storepass="${pass.cert}" jar="${jar.file.path}" />
</target>
<target name="jar-api-justrender" depends="compile" unless="jar.build.not.required"
description="Creates the Neptus just render api jar file for S57Map usage.">
<echo message="Creating .jar file" />
<property name="jar-api-justrender.file" value="justrender.jar"/>
<delete file="${bin.dir}/${jar-api-justrender.file}" />
<jar destfile="${bin.dir}/${jar-api-justrender.file}" basedir="." update="true" excludes="${exclude-defaults}" includes="LICENSE">
<manifest>
<attribute name="Built-By" value="${user.name}" />
<attribute name="Built-On" value="${TODAY} - ${TSTAMP}" />
<attribute name="Main-Class" value="pt.lsts.neptus.loader.NeptusMain" />
<!--
<attribute name="Class-Path" value="${class.path.jar}"/>
<attribute name="Main-Class" value="pt.lsts.neptus.loader.MissionConsoleLoader"/>
-->
<section name="${Name}">
<attribute name="Specification-Title" value="${Name}" />
<attribute name="Specification-Version" value="${version}" />
<attribute name="Specification-Vendor" value="FEUP USTL/LSTS (http://www.fe.up.pt/lsts) Neptus (http://whale.fe.up.pt/neptus)" />
<attribute name="Implementation-Title" value="${name}" />
<attribute name="Implementation-Version" value="${version} ${TODAY}" />
<attribute name="Implementation-Vendor" value="FEUP USTL/LSTS (http://www.fe.up.pt/lsts)" />
</section>
</manifest>
</jar>
<jar destfile="${bin.dir}/${jar-api-justrender.file}" basedir="${build.classes}"
index="false" update="true" excludes="${exclude-defaults}, *.class">
<include name="version.*" />
<include name="info*" />
<include name="pt/lsts/neptus/comm/iridium/**/*.class" />
<include name="pt/lsts/neptus/comm/manager/imc/ImcId16*.class" />
<include name="pt/lsts/neptus/console/*ConsoleLayer*.class" />
<include name="pt/lsts/neptus/console/ConsolePanel*.class" />
<include name="pt/lsts/neptus/console/MainPanel*.class" />
<include name="pt/lsts/neptus/console/plugins/**/*.class" />
<include name="pt/lsts/neptus/i18n/**/*.class" />
<include name="pt/lsts/neptus/types/coord/*.class" />
<include name="pt/lsts/neptus/types/**/*.class" />
<include name="pt/lsts/neptus/util/*.class" />
<include name="pt/lsts/neptus/util/conf/*.class" />
<include name="pt/lsts/neptus/util/coord/*.class" />
<include name="pt/lsts/neptus/gps/**.class" />
<include name="pt/lsts/neptus/gui/Properties*.class" />
<include name="pt/lsts/neptus/gui/InfiniteProgressPanel.class" />
<include name="pt/lsts/neptus/gui/ToolbarSwitch*.class" />
<include name="pt/lsts/neptus/gui/swing/NeptusFileView*.class" />
<include name="pt/lsts/neptus/mp/MapChangeEvent*.class" />
<include name="pt/lsts/neptus/mp/MapChangeListener*.class" />
<include name="pt/lsts/neptus/mp/Vehicle*.class" />
<include name="pt/lsts/neptus/mp/SystemPosi*.class" />
<include name="pt/lsts/neptus/mp/MapChangeEvent.class" />
<exclude name="pt/lsts/neptus/mp/MissionPlanner*.class" />
<include name="pt/lsts/neptus/renderer2d/**/*.class" />
<include name="pt/lsts/neptus/messages/stanag4586/AVP*.class" />
<include name="pt/lsts/neptus/messages/stanag4586/ProtocolIm*.class" />
<include name="pt/lsts/neptus/messages/*.class" />
<include name="pt/lsts/neptus/gui/objparams/**/*.class" />
<include name="pt/lsts/neptus/gui/CoordinateSystemPanel*.class" />
<include name="pt/lsts/neptus/gui/Vehicle*.class" />
<include name="pt/lsts/neptus/gui/editor/**/*.class" />
<!--include name="pt/lsts/neptus/plugins/*.class" /-->
<include name="images/cursors/*.png" />
<include name="images/menus/*.png" />
<include name="/images/World_Blank_Map_Mercator_projection.svg" />
<!-- Needed by the Serializable interface of LocationType -->
<include name="pt/lsts/neptus/messages/stanag4586/Stanag4586Message.class" />
<include name="pt/lsts/messages/Message*.class" />
<include name="pt/lsts/neptus/comm/proxy/ProxyInfoProvider*.class" />
<include name="pt/lsts/neptus/util/comm/ssh/SSHConnectionDialog*.class" />
<include name="pt/lsts/neptus/util/comm/ssh/IntFormat*.class" />
<include name="pt/lsts/neptus/gui/ImagePanel*.class" />
<include name="pt/lsts/neptus/NeptusLog.class" />
<include name="pt/lsts/neptus/planeditor/*.class" />
<include name="pt/lsts/neptus/comm/proxy/*.class" />
<include name="pt/lsts/neptus/doc/NeptusDoc.class" />
<include name="pt/lsts/neptus/doc/NeptusDoc.class" />
<include name="pt/lsts/neptus/console/ConsoleLayout.class" />
<include name="pt/lsts/neptus/console/SubPanel.class" />
<include name="pt/lsts/neptus/console/plugins/SubPanelProvider.class" />
<include name="pt/lsts/neptus/mra/visualizations/MRAVisualization.class" />
<include name="pt/lsts/neptus/plugins/*.class" />
<include name="images/ssh-connect.png"/>
</jar>
</target>
<target name="sonar-api-jar" depends="compile" unless="jar.build.not.required"
description="Creates the Neptus sonar processing API.">
<echo message="Creating .jar file" />
<property name="sonar-api.file" value="sonar-api.jar" />
<delete file="${bin.dir}/${sonar-api.file}" />
<jar destfile="${bin.dir}/${sonar-api.file}" basedir="." update="true" excludes="${exclude-defaults}" includes="LICENSE">
<manifest>
<attribute name="Built-By" value="${user.name}" />
<attribute name="Built-On" value="${TODAY} - ${TSTAMP}" />
<section name="${Name}">
<attribute name="Specification-Title" value="${Name}" />
<attribute name="Specification-Version" value="${version}" />
<attribute name="Specification-Vendor" value="FEUP USTL/LSTS (http://www.fe.up.pt/lsts) Neptus (http://whale.fe.up.pt/neptus)" />
<attribute name="Implementation-Title" value="${name}" />
<attribute name="Implementation-Version" value="${version} ${TODAY}" />
<attribute name="Implementation-Vendor" value="FEUP USTL/LSTS (http://www.fe.up.pt/lsts)" />
</section>
</manifest>
</jar>
<jar destfile="${bin.dir}/${jar-api-justrender.file}" basedir="${build.classes}" index="false" update="true" excludes="${exclude-defaults}, *.class">
<include name="version.*" />
<include name="info*" />
<include name="pt.lsts.neptus.util.llf.LogUtils.class" />
<include name="pt.lsts.neptus.mp.SystemPositionAndAttitude.class" />
<include name="pt.lsts.neptus.mra.importers.**" />
<include name="pt.lsts.neptus.types.coords.LocationType.class" />
</jar>
</target>
<!-- =================================================================== -->
<!-- Creates bin-bundle/neptus-check.jar -->
<!-- =================================================================== -->
<target name="jar-bundle-checklist" depends="compile" description="Creates bin-bundle/neptus-check.jar">
<delete file="${bundle.jar.checklist.path}" failonerror="true"/>
<delete dir="${tmp.bundle.dir}" failonerror="true"/>
<jar destfile="${bundle.jar.checklist.path}" basedir="${build.classes}"
excludes="${exclude-defaults}" includes="LICENSE">
<include name="version.*" />
<include name="info*" />
<include name="images/neptus-icon.png"/>
<include name="images/neptus-icon1.png"/>
<include name="images/neptus-icon2.png"/>
<include name="images/checklists/*.png"/>
<include name="images/files-icons/*.png"/>
<include name="schemas/neptus-checklist.xsd"/>
<include name="pt/lsts/neptus/NeptusLog*.class" />
<include name="pt/lsts/neptus/colormap/ColorMap*.class" />
<include name="pt/lsts/neptus/comm/iridium/IridiumManager*.class" />
<include name="pt/lsts/neptus/comm/manager/imc/ImcId16*.class"/>
<include name="pt/lsts/neptus/comm/transports/ImcUdpTransport*.class"/>
<include name="pt/lsts/neptus/comm/vehicle/*.class"/>
<include name="pt/lsts/neptus/i18n/**/*.class" />
<include name="pt/lsts/neptus/gui/BlockingGlassPane*.class"/>
<include name="pt/lsts/neptus/gui/ChronometerPanel*.class"/>
<include name="pt/lsts/neptus/gui/ClockCounter*.class"/>
<include name="pt/lsts/neptus/gui/InfiniteProgressPanel*.class"/>
<include name="pt/lsts/neptus/gui/ModalFrame.class"/>
<include name="pt/lsts/neptus/gui/PropertiesProvider.class"/>
<include name="pt/lsts/neptus/gui/PropertiesEditor*.class"/>
<include name="pt/lsts/neptus/gui/checklist/**/*.class"/>
<include name="pt/lsts/neptus/gui/editor/*.class"/>
<include name="pt/lsts/neptus/gui/editor/renderer/SpeedUnitsEnumRenderer*.class"/>
<include name="pt/lsts/neptus/gui/swing/NeptusFileView.class"/>
<include name="pt/lsts/neptus/messages/listener/**/*.class"/>
<include name="pt/lsts/neptus/messages/*.class"/>
<include name="pt/lsts/neptus/mp/actions/PlanActions*.class"/>
<include name="pt/lsts/neptus/mp/Maneuver*.class"/>
<include name="pt/lsts/neptus/mp/ManeuverLocation*.class"/>
<include name="pt/lsts/neptus/plugins/ConfigurationListener*.class"/>
<include name="pt/lsts/neptus/plugins/NeptusProperty*.class"/>
<include name="pt/lsts/neptus/plugins/PluginProperty.class"/>
<include name="pt/lsts/neptus/plugins/PluginUtils*.class"/>
<include name="pt/lsts/neptus/plugins/PropertyType.class"/>
<include name="pt/lsts/neptus/types/Identifiable*.class"/>
<include name="pt/lsts/neptus/types/Xml*.class"/>
<include name="pt/lsts/neptus/types/checklist/**/*.class"/>
<include name="pt/lsts/neptus/types/coord/LocationType*.class"/>
<include name="pt/lsts/neptus/types/nativetypes/*.class"/>
<include name="pt/lsts/neptus/types/**/*.class"/>
<include name="pt/lsts/neptus/util/BarCodesUtil*.class"/>
<include name="pt/lsts/neptus/util/DateTimeUtil*.class"/>
<include name="pt/lsts/neptus/util/ImageLoader.class"/>
<include name="pt/lsts/neptus/util/ImageUtils*.class"/>
<include name="pt/lsts/neptus/util/FileUtil.class"/>
<include name="pt/lsts/neptus/util/GuiUtils*.class"/>
<include name="pt/lsts/neptus/util/NameNormalizer.class"/>
<include name="pt/lsts/neptus/util/PropertiesLoader*.class"/>
<include name="pt/lsts/neptus/util/conf/*.class"/>
<include name="pt/lsts/neptus/util/credentials/*.class"/>
<include name="pt/lsts/neptus/util/output/*.class"/>
<include name="pt/lsts/neptus/util/xsl/*.class"/>
<!--include name="pt/lsts/neptus/util/**/*.class"/-->
<include name="pt/lsts/neptus/util/*.class"/>
<include name="pt/lsts/neptus/vartree/*.class"/>
<include name="pt/lsts/vartree/*.class"/>
<include name="pt/lsts/neptus/platform/**/*.class"/>
<manifest>
<attribute name="Built-By" value="${user.name}" />
<attribute name="Built-On" value="${TODAY} - ${TSTAMP}" />
<attribute name="Main-Class" value="pt.lsts.neptus.gui.checklist.ChecklistPanel" />
<section name="${Name}">
<attribute name="Specification-Title" value="${Name}" />
<attribute name="Specification-Version" value="${version}" />
<attribute name="Specification-Vendor" value="FEUP USTL/LSTS (http://www.fe.up.pt/lsts) Neptus (http://whale.fe.up.pt/neptus)" />
<attribute name="Implementation-Title" value="${name}" />
<attribute name="Implementation-Version" value="${version} ${TODAY}" />
<attribute name="Implementation-Vendor" value="FEUP USTL/LSTS (http://www.fe.up.pt/lsts)" />