From 2a546ee03f4ba7d3b598a131799b06356acd3849 Mon Sep 17 00:00:00 2001
From: brutzman <brutzman@nps.edu>
Date: Mon, 26 Aug 2024 18:49:25 -0700
Subject: [PATCH] portable directories for project home and recent projects

---
 c_app.ViskitDefaultMV3500.xml | 110 ++++++++++++++++------------------
 1 file changed, 53 insertions(+), 57 deletions(-)

diff --git a/c_app.ViskitDefaultMV3500.xml b/c_app.ViskitDefaultMV3500.xml
index c53d3de308..eacf7f40d1 100644
--- a/c_app.ViskitDefaultMV3500.xml
+++ b/c_app.ViskitDefaultMV3500.xml
@@ -1,57 +1,53 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!-- Viskit application configuration file c_app.xml -->
-<!-- Programming note: values in this file are retrieved by keys such as 'app.beanshell.warning' -->
-<!-- Programming note: the root element name is ignored when assembling keys -->
-<ViskitConfig>
-  <app>
-    <beanshell>
-      <warning>true</warning>
-    </beanshell>
-    <mainframe>
-      <size h="680" w="930" />
-    </mainframe>
-    <projecthome>
-      <!-- These two attributes MUST always be at least zero-length Strings -->
-      <!-- DefaultProject is included in this template for convenience
-      <path dir=                                        "./viskit/MyViskitProjects" />-->
-      <path dir="C:/x3d-nps-gitlab/NetworkedGraphicsMV3500/examples/src" /> 
-      <name value="ViskitOpenDis7Examples" />
-    </projecthome>
-    <tabs>
-      <EventGraphEditor visible="true" />
-      <AssemblyEditor visible="true" />
-      <AssemblyRun visible="true" />
-      <DesignOfExperiments visible="false" />
-      <ClusterRun visible="false" />
-      <AnalystReport visible="false" />
-    </tabs>
-    <debug>false</debug>
-  </app>
-  <history>
-    <ProjectEditor>
-      <Recent>
-        <!--
-        <Project value="./examples/src/ViskitOpenDis7Examples" />
-        <Project value="./viskit/MyViskitProjects/DefaultProject" />
-        -->
-        <Project value="C:/x3d-nps-gitlab/NetworkedGraphicsMV3500/viskit/MyViskitProjects/DefaultProject" />
-        <Project value="C:/x3d-nps-gitlab/NetworkedGraphicsMV3500/examples/src/ViskitOpenDis7Examples"/>
-      </Recent>
-    </ProjectEditor>
-    <Cluster>
-      <Account last="true" password="" port="4444" server="wipeout.hpr.nps.edu" username="" />
-    </Cluster>
-    <AssemblyEditor>
-      <Recent>
-        <AssemblyFile value="C:/x3d-nps-gitlab/NetworkedGraphicsMV3500/examples/src/ViskitOpenDis7Examples/Assemblies/dis7/ArrivalProcessOpenDis7Assembly.xml"/>
-        <AssemblyFile value="C:/x3d-nps-gitlab/NetworkedGraphicsMV3500/examples/src/ViskitOpenDis7Examples/Assemblies/dis7/SimpleServerDis7Assembly.xml"/>
-      </Recent>
-    </AssemblyEditor>
-    <EventGraphEditor>
-      <Recent>
-        <EventGraphFile value="C:/x3d-nps-gitlab/NetworkedGraphicsMV3500/examples/src/ViskitOpenDis7Examples/EventGraphs/dis7/ArrivalProcessOpenDis7.xml"/>
-      </Recent>
-    </EventGraphEditor>
-  </history>
-</ViskitConfig>
-
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Viskit application configuration file c_app.xml -->
+<!-- Programming note: values in this file are retrieved by keys such as 'app.beanshell.warning' -->
+<!-- Programming note: the root element name is ignored when assembling keys -->
+<ViskitConfig>
+  <app>
+    <beanshell>
+      <warning>true</warning>
+    </beanshell>
+    <mainframe>
+      <size h="680" w="930" />
+    </mainframe>
+    <projecthome>
+      <!-- These two attributes MUST always be at least zero-length Strings -->
+      <!-- DefaultProject is included in this template for convenience -->
+      <path dir="../examples/src"/>
+      <name value="ViskitOpenDis7Examples"/>
+    </projecthome>
+    <tabs>
+      <EventGraphEditor visible="true" />
+      <AssemblyEditor visible="true" />
+      <AssemblyRun visible="true" />
+      <DesignOfExperiments visible="false" />
+      <ClusterRun visible="false" />
+      <AnalystReport visible="false" />
+    </tabs>
+    <debug>false</debug>
+  </app>
+  <history>
+    <ProjectEditor>
+      <Recent>
+        <!-- MV3500 includes the following two projects -->
+        <Project value="../viskit/MyViskitProjects/DefaultProject" />
+        <Project value="../examples/src/ViskitOpenDis7Examples"/>
+      </Recent>
+    </ProjectEditor>
+    <Cluster>
+      <Account last="true" password="" port="4444" server="wipeout.hpr.nps.edu" username="" />
+    </Cluster>
+    <AssemblyEditor>
+      <Recent>
+        <AssemblyFile value="C:/x3d-nps-gitlab/NetworkedGraphicsMV3500/examples/src/ViskitOpenDis7Examples/Assemblies/dis7/ArrivalProcessOpenDis7Assembly.xml"/>
+        <AssemblyFile value="C:/x3d-nps-gitlab/NetworkedGraphicsMV3500/examples/src/ViskitOpenDis7Examples/Assemblies/dis7/SimpleServerDis7Assembly.xml"/>
+      </Recent>
+    </AssemblyEditor>
+    <EventGraphEditor>
+      <Recent>
+        <EventGraphFile value="C:/x3d-nps-gitlab/NetworkedGraphicsMV3500/examples/src/ViskitOpenDis7Examples/EventGraphs/dis7/ArrivalProcessOpenDis7.xml"/>
+      </Recent>
+    </EventGraphEditor>
+  </history>
+</ViskitConfig>
+
-- 
GitLab