From 064dbf27bb274ac7d5c794e50e27fdc6c8dca6d5 Mon Sep 17 00:00:00 2001
From: brutzman <brutzman@nps.edu>
Date: Sat, 17 Jul 2021 14:36:57 -0700
Subject: [PATCH] zip-full target under development, replacing jar-full

---
 build.xml | 17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)

diff --git a/build.xml b/build.xml
index e5e4a28138..f1ecbd4164 100644
--- a/build.xml
+++ b/build.xml
@@ -85,8 +85,8 @@
     </target>
     
     <target name="view.javadoc.local" description="view local package javadoc in web browser (Netbeans only)">
-        <echo message="view local javadoc"/>
-        <nbbrowse file="javadoc/index.html" />
+        <echo message="view local javadoc in dist/javadoc subdirectory"/>
+        <nbbrowse file="dist/javadoc/index.html" />
         <!-- TODO implementation-independent approach if possible, but note that other Ant approaches usually have to be customized for each OS. -->
     </target>
 
@@ -224,12 +224,13 @@
         <antcall target="jar-pdus-classes"/>
         <antcall target="jar-pdus-source"/>
         <antcall target="jar-pdus-javadoc"/>
-        <antcall target="jar-full"/>
+    <!--<antcall target="zip-full"/>-->
     </target>
 
-    <target name="jar-full" description="full set of everything, pdus and enumerations">
-        <delete  file="dist/open-dis7-full.jar"/>
-        <jar destfile="dist/open-dis7-full.jar"
+    <target name="zip-full" description="full set of everything, pdus and enumerations">
+        <!-- TODO README -->
+        <delete  file="dist/open-dis7-full.zip"/>
+        <zip destfile="dist/open-dis7-full.zip"
                update="true"
               basedir="."
             zip64Mode="always">
@@ -262,6 +263,7 @@
             </fileset>
             -->
             <!-- https://docs.oracle.com/javase/tutorial/deployment/jar/manifestindex.html -->
+            <!--
             <manifest>
                 <attribute name="description"            value="Full set of files for ${manifest.name}"/>
                 <attribute name="Built-By"               value="${Built-By}"/>
@@ -276,7 +278,8 @@
                     <attribute name="Sealed" value="true"/>
                 </section>
             </manifest>
-        </jar>
+            -->
+        </zip>
     </target>
 
     <target name="jar-pdus-javadoc" description="full set of javadoc"> <!-- avoid performing multiple times: depends="javadoc" -->
-- 
GitLab