[java-metadata-aggregator] 03/03: MDA-297 - separate input, output in doc examples

Ian Young ian at iay.org.uk
Fri Oct 20 15:57:30 UTC 2023


This is an automated email from the git hooks/post-receive script.

iay pushed a commit to branch main
in repository java-metadata-aggregator.

View the commit online:
http://git.shibboleth.net/view/?p=java-metadata-aggregator.git;a=commit;h=d8e0cf7a90c62ab26dd120e2c8dcc89bbb3ddfb6

commit d8e0cf7a90c62ab26dd120e2c8dcc89bbb3ddfb6
Author: Ian Young <ian at iay.org.uk>
AuthorDate: Fri Oct 20 16:40:21 2023 +0100

    MDA-297 - separate input, output in doc examples
    
    https://shibboleth.atlassian.net/browse/MDA-297
---
 doc/wiki/.gitignore                                              | 2 ++
 doc/wiki/discofeed.xml                                           | 4 ++--
 doc/wiki/path/to/.gitignore                                      | 1 -
 doc/wiki/path/to/{metadata.xml => input/discofeed-aggregate.xml} | 0
 doc/wiki/path/to/output/.gitkeep                                 | 0
 mda-distribution/src/main/assembly/assembly-tgz.xml              | 3 ++-
 mda-distribution/src/main/assembly/assembly-zip.xml              | 3 ++-
 7 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/doc/wiki/.gitignore b/doc/wiki/.gitignore
index c40b483..2616c9f 100644
--- a/doc/wiki/.gitignore
+++ b/doc/wiki/.gitignore
@@ -1 +1,3 @@
 .bash_history
+path/to/output/*
+!path/to/output/.gitkeep
diff --git a/doc/wiki/discofeed.xml b/doc/wiki/discofeed.xml
index 35c8b40..fec4c25 100644
--- a/doc/wiki/discofeed.xml
+++ b/doc/wiki/discofeed.xml
@@ -30,7 +30,7 @@
                     </property>
                     <property name="source">
                         <bean class="java.io.File">
-                            <constructor-arg value="path/to/metadata.xml"/>
+                            <constructor-arg value="path/to/input/discofeed-aggregate.xml"/>
                         </bean>
                     </property>
                 </bean>
@@ -57,7 +57,7 @@
                     </property>
                     <property name="outputFile">
                         <bean class="java.io.File">
-                            <constructor-arg value="path/to/discofeed.json"/>
+                            <constructor-arg value="path/to/output/discofeed.json"/>
                         </bean>
                     </property>
                 </bean>
diff --git a/doc/wiki/path/to/.gitignore b/doc/wiki/path/to/.gitignore
deleted file mode 100644
index bef2ac8..0000000
--- a/doc/wiki/path/to/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-discofeed.json
diff --git a/doc/wiki/path/to/metadata.xml b/doc/wiki/path/to/input/discofeed-aggregate.xml
similarity index 100%
rename from doc/wiki/path/to/metadata.xml
rename to doc/wiki/path/to/input/discofeed-aggregate.xml
diff --git a/doc/wiki/path/to/output/.gitkeep b/doc/wiki/path/to/output/.gitkeep
new file mode 100644
index 0000000..e69de29
diff --git a/mda-distribution/src/main/assembly/assembly-tgz.xml b/mda-distribution/src/main/assembly/assembly-tgz.xml
index cf1dffd..86f44d6 100644
--- a/mda-distribution/src/main/assembly/assembly-tgz.xml
+++ b/mda-distribution/src/main/assembly/assembly-tgz.xml
@@ -51,7 +51,8 @@
                 <exclude>**/.gitignore</exclude>
                 <exclude>**/.bash_history</exclude>
                 <!-- Do not ship example OUTPUT files. -->
-                <exclude>wiki/path/to/discofeed.json</exclude>
+                <exclude>wiki/path/to/output/*.json</exclude>
+                <exclude>wiki/path/to/output/*.xml</exclude>
             </excludes>
         </fileSet>
     </fileSets>
diff --git a/mda-distribution/src/main/assembly/assembly-zip.xml b/mda-distribution/src/main/assembly/assembly-zip.xml
index acf5c6e..e170639 100644
--- a/mda-distribution/src/main/assembly/assembly-zip.xml
+++ b/mda-distribution/src/main/assembly/assembly-zip.xml
@@ -51,7 +51,8 @@
                 <exclude>**/.gitignore</exclude>
                 <exclude>**/.bash_history</exclude>
                 <!-- Do not ship example OUTPUT files. -->
-                <exclude>wiki/path/to/discofeed.json</exclude>
+                <exclude>wiki/path/to/output/*.json</exclude>
+                <exclude>wiki/path/to/output/*.xml</exclude>
             </excludes>
         </fileSet>
     </fileSets>

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list