From a3b1233a8a70314a0d0a4aceda0b7b2e4df96bfe Mon Sep 17 00:00:00 2001
From: git <tdnorbra@nps.edu>
Date: Thu, 12 Sep 2024 21:10:00 -0700
Subject: [PATCH] [Terry N.] example Viskit/DIS project in 2024 cohort project
 space

---
 .gitignore                     | 10 ++++++++--
 build.properties               |  2 ++
 build.xml                      |  4 +++-
 viskit/configuration/c_app.xml |  4 ++--
 4 files changed, 15 insertions(+), 5 deletions(-)

diff --git a/.gitignore b/.gitignore
index b47c17b23c..60bf7a3ff6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -59,7 +59,7 @@
 
 /examples/src/ViskitOpenDis7Examples/AnalystReports/
 /examples/src/ViskitOpenDis7Examples/build/
-/examples/src/ViskitOpenDis7Examples/lib/Networked_Graphics_MV3500_examples.jar
+/examples/src/ViskitOpenDis7Examples/lib/
 
 # unable to fix, retained as .zip
 /assignments/src/MV3500Cohort2022MayJune/homework2/Royer/build/
@@ -68,8 +68,14 @@
 /assignments/src/MV3500Cohort2022MayJune/projects/Royer/TwoCranesBerth/nbproject/private/
 /assignments/src/MV3500Cohort2022MayJune/projects/Royer/TwoCranesBerth/nbproject/build-impl.xml~
 /assignments/src/MV3500Cohort2022MayJune/projects/Royer/TwoCranesBerth/pduLog/
+/assignments/src/MV3500Cohort2024JulySeptember/projects/ViskitOpenDis7Examples/build/
+/assignments/src/MV3500Cohort2024JulySeptember/projects/ViskitOpenDis7Examples/viskitProject.xml
+/assignments/src/MV3500Cohort2024JulySeptember/projects/ViskitOpenDis7Examples/AnalystReports/
+/assignments/src/MV3500Cohort2024JulySeptember/projects/ViskitOpenDis7Examples/lib/
 
 /viskit/MyViskitProjects/DefaultProject/build/
 /viskit/MyViskitProjects/DefaultProject/AnalystReports/
 /viskit/logs
-/viskit/pduLog/
\ No newline at end of file
+/viskit/pduLog/
+/viskit/MyViskitProjects/DefaultProject/viskitProject.xml
+/examples/src/ViskitOpenDis7Examples/viskitProject.xml
diff --git a/build.properties b/build.properties
index 401b692d7d..1c360d102c 100644
--- a/build.properties
+++ b/build.properties
@@ -34,3 +34,5 @@ c_gui.xml=${viskit.dir}/configuration/c_gui.xml
 proj.xml=${viskit.dir}/configuration/viskitProject.xml
 
 splash.image=${viskit.dir}/configuration/ViskitSplash2.png
+
+2024.cohort.assign.viskit.ex.proj.dir=assignments/src/MV3500Cohort2024JulySeptember/projects/ViskitOpenDis7Examples
diff --git a/build.xml b/build.xml
index b82952b56e..24e8b4fa72 100644
--- a/build.xml
+++ b/build.xml
@@ -269,7 +269,7 @@ POSSIBILITY OF SUCH DAMAGE.
         <property name="run.args" value="${mac.run.args}"/>
     </target>
     <target name="initializeAll" depends="platformInitialize,initWin,initUnix,initMac"/>
-    
+
     <target name="set.classpath" depends="initializeAll">
         <path id="runtime.classpath">
             <fileset dir="${viskit.lib.dir}">
@@ -329,6 +329,8 @@ POSSIBILITY OF SUCH DAMAGE.
         <copy todir="${dot.viskit.dir}" file="${c_app.xml}" verbose="true"/>
         <copy todir="${dot.viskit.dir}" file="${c_gui.xml}" verbose="true"/>
         <copy todir="examples/src/ViskitOpenDis7Examples" file="${proj.xml}" overwrite="true"/>
+        <copy todir="viskit/MyViskitProjects/DefaultProject" file="${proj.xml}" overwrite="true"/>
+        <copy todir="${2024.cohort.assign.viskit.ex.proj.dir}" file="${proj.xml}" overwrite="true"/>
     </target>
 
 </project>
\ No newline at end of file
diff --git a/viskit/configuration/c_app.xml b/viskit/configuration/c_app.xml
index 8e0a01435f..c8fe4c72e2 100644
--- a/viskit/configuration/c_app.xml
+++ b/viskit/configuration/c_app.xml
@@ -13,9 +13,9 @@
         </mainframe>
         <projecthome>
             <!-- These two attributes MUST always be at least zero-length Strings -->
-            <!-- A default project path and name (DefaultProject) are included 
+            <!-- A default project path and name (DefaultProject) are included
                  in this template for convenience -->
-            <path dir="../examples/src"/>
+            <path dir="../assignments/src/MV3500Cohort2024JulySeptember/projects"/>
             <name value="ViskitOpenDis7Examples"/>
         </projecthome>
         <tabs>
-- 
GitLab