Skip to content

Commit 435fbff

Browse files
committed
Updated package to exclude debug logs
1 parent 78a9f15 commit 435fbff

File tree

2 files changed

+89
-64
lines changed

2 files changed

+89
-64
lines changed

Symphony.prj

Lines changed: 72 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<param.summary>Electrophysiology Data Acquisition System</param.summary>
1515
<param.description>Symphony is a MATLAB-based data acquisition system for electrophysiologists.</param.description>
1616
<param.screenshot>${PROJECT_ROOT}\src\main\resources\screenshot.png</param.screenshot>
17-
<param.version>2.0.1.3</param.version>
17+
<param.version>2.0.1.4</param.version>
1818
<param.products.name>
1919
<item>MATLAB</item>
2020
</param.products.name>
@@ -328,6 +328,8 @@
328328
<file>${PROJECT_ROOT}\lib\appbox\lib\GUI Layout Toolbox\layoutdoc\User guide7_6.html</file>
329329
<file>${PROJECT_ROOT}\lib\appbox\lib\GUI Layout Toolbox\layoutdoc\VisibleExample.html</file>
330330
<file>${PROJECT_ROOT}\lib\appbox\lib\GUI Layout Toolbox\license.txt</file>
331+
<file>${PROJECT_ROOT}\lib\appbox\src\main\matlab\+appbox\BusyPresenter.m</file>
332+
<file>${PROJECT_ROOT}\lib\appbox\src\main\matlab\+appbox\BusyView.m</file>
331333
<file>${PROJECT_ROOT}\lib\appbox\src\main\matlab\+appbox\EventData.m</file>
332334
<file>${PROJECT_ROOT}\lib\appbox\src\main\matlab\+appbox\firstNonEmpty.m</file>
333335
<file>${PROJECT_ROOT}\lib\appbox\src\main\matlab\+appbox\humanize.m</file>
@@ -610,68 +612,74 @@
610612
<file>${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\+sources\PropertyDemo.m</file>
611613
<file>${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\+sources\Subject.m</file>
612614
<file>${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\log.xml</file>
613-
<file>${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log</file>
614-
<file>${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.1</file>
615-
<file>${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2015-10-21</file>
616-
<file>${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2015-10-23</file>
617-
<file>${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2015-10-30</file>
618-
<file>${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2015-10-30.1</file>
619-
<file>${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2015-11-04</file>
620-
<file>${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2015-11-05</file>
621-
<file>${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2015-11-06</file>
622-
<file>${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2015-11-12</file>
623-
<file>${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2015-11-13</file>
624-
<file>${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2015-11-13.1</file>
625-
<file>${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2015-11-13.2</file>
626-
<file>${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2015-11-17</file>
627-
<file>${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2015-12-02</file>
628-
<file>${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2015-12-04</file>
629-
<file>${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2015-12-04.1</file>
630-
<file>${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2015-12-11</file>
631-
<file>${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2015-12-11.1</file>
632-
<file>${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2015-12-11.2</file>
633-
<file>${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2015-12-14</file>
634-
<file>${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2015-12-18</file>
635-
<file>${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2015-12-22</file>
636-
<file>${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2016-01-06</file>
637-
<file>${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2016-01-07</file>
638-
<file>${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2016-01-08</file>
639-
<file>${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2016-01-11</file>
640-
<file>${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2016-01-12</file>
641-
<file>${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2016-01-13</file>
642-
<file>${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2016-01-14</file>
643-
<file>${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2016-01-15</file>
644-
<file>${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2016-01-19</file>
645-
<file>${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2016-01-27</file>
646-
<file>${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2016-01-28</file>
647-
<file>${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2016-02-01</file>
648-
<file>${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2016-02-03</file>
649-
<file>${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2016-02-03.1</file>
650-
<file>${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2016-02-03.2</file>
651-
<file>${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2016-02-04</file>
652-
<file>${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2016-02-08</file>
653-
<file>${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2016-02-08.1</file>
654-
<file>${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2016-02-11</file>
655-
<file>${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2016-02-16</file>
656-
<file>${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2016-02-17</file>
657-
<file>${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2016-02-18</file>
658-
<file>${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2016-02-18.1</file>
659-
<file>${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2016-02-18.2</file>
660-
<file>${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2016-02-19</file>
661-
<file>${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2016-02-19.1</file>
662-
<file>${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2016-02-19.2</file>
663-
<file>${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2016-02-22</file>
664-
<file>${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2016-02-22.1</file>
665-
<file>${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2016-02-22.2</file>
666-
<file>${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2016-02-23</file>
667-
<file>${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2016-02-23.1</file>
668-
<file>${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2016-02-23.2</file>
669-
<file>${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2016-02-24</file>
670-
<file>${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2016-02-24.1</file>
671-
<file>${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2016-02-24.2</file>
672-
<file>${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2016-02-25</file>
673-
<file>${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2016-02-25.1</file>
674-
<file>${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2016-02-25.2</file>
615+
<!--${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log-->
616+
<!--${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2015-10-21-->
617+
<!--${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2015-10-23-->
618+
<!--${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2015-10-30-->
619+
<!--${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2015-10-30.1-->
620+
<!--${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2015-11-04-->
621+
<!--${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2015-11-05-->
622+
<!--${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2015-11-06-->
623+
<!--${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2015-11-12-->
624+
<!--${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2015-11-13-->
625+
<!--${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2015-11-13.1-->
626+
<!--${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2015-11-13.2-->
627+
<!--${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2015-11-17-->
628+
<!--${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2015-12-02-->
629+
<!--${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2015-12-04-->
630+
<!--${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2015-12-04.1-->
631+
<!--${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2015-12-11-->
632+
<!--${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2015-12-11.1-->
633+
<!--${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2015-12-11.2-->
634+
<!--${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2015-12-14-->
635+
<!--${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2015-12-18-->
636+
<!--${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2015-12-22-->
637+
<!--${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2016-01-06-->
638+
<!--${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2016-01-07-->
639+
<!--${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2016-01-08-->
640+
<!--${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2016-01-11-->
641+
<!--${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2016-01-12-->
642+
<!--${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2016-01-13-->
643+
<!--${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2016-01-14-->
644+
<!--${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2016-01-15-->
645+
<!--${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2016-01-19-->
646+
<!--${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2016-01-27-->
647+
<!--${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2016-01-28-->
648+
<!--${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2016-02-01-->
649+
<!--${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2016-02-03-->
650+
<!--${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2016-02-03.1-->
651+
<!--${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2016-02-03.2-->
652+
<!--${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2016-02-04-->
653+
<!--${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2016-02-08-->
654+
<!--${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2016-02-08.1-->
655+
<!--${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2016-02-11-->
656+
<!--${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2016-02-16-->
657+
<!--${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2016-02-17-->
658+
<!--${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2016-02-18-->
659+
<!--${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2016-02-18.1-->
660+
<!--${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2016-02-18.2-->
661+
<!--${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2016-02-19-->
662+
<!--${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2016-02-19.1-->
663+
<!--${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2016-02-19.2-->
664+
<!--${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2016-02-22-->
665+
<!--${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2016-02-22.1-->
666+
<!--${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2016-02-22.2-->
667+
<!--${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2016-02-23-->
668+
<!--${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2016-02-23.1-->
669+
<!--${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2016-02-23.2-->
670+
<!--${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2016-02-24-->
671+
<!--${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2016-02-24.1-->
672+
<!--${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2016-02-24.2-->
673+
<!--${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2016-02-25-->
674+
<!--${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2016-02-25.1-->
675+
<!--${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2016-02-25.2-->
676+
<!--${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2016-02-26-->
677+
<!--${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2016-02-26.1-->
678+
<!--${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2016-02-26.2-->
679+
<!--${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2016-02-29-->
680+
<!--${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2016-02-29.1-->
681+
<!--${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2016-02-29.2-->
682+
<!--${PROJECT_ROOT}\src\main\resources\examples\+io\+github\+symphony_das\logs\debug.log.2016-03-01-->
675683
<file>${PROJECT_ROOT}\src\main\resources\icons\block.png</file>
676684
<file>${PROJECT_ROOT}\src\main\resources\icons\close.png</file>
677685
<file>${PROJECT_ROOT}\src\main\resources\icons\device.png</file>
@@ -754,4 +762,4 @@
754762
<matlab>true</matlab>
755763
</platform>
756764
</configuration>
757-
</deployment-project>
765+
</deployment-project>

package.m

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,23 @@ function package(skipTests)
3838
products.replaceChild(comment, item);
3939
end
4040

41+
% Exclude log files.
42+
filedeps = config.getElementsByTagName('fileset.depfun').item(0);
43+
files = filedeps.getElementsByTagName('file');
44+
commentFiles = {};
45+
for i = 1:files.getLength()
46+
file = files.item(i-1);
47+
if ~isempty(strfind(file.getTextContent(), 'debug.log'))
48+
commentFiles{end + 1} = file; %#ok<AGROW>
49+
end
50+
end
51+
52+
for i = 1:numel(commentFiles)
53+
file = commentFiles{i};
54+
comment = file.getOwnerDocument().createComment(file.getTextContent());
55+
filedeps.replaceChild(comment, file);
56+
end
57+
4158
% This adds a new line after each line in the XML
4259
%xmlwrite(projectFile, dom);
4360

0 commit comments

Comments
 (0)