From e32a72f078061b129d51b89b3b3794be5416f4fb Mon Sep 17 00:00:00 2001
From: "Norbraten, Terry" <tdnorbra@nps.edu>
Date: Fri, 5 Jun 2020 16:04:32 -0700
Subject: [PATCH] removes logs from dist.jar (reduces size about 32MB). include
 libs for invoking from dist.jar

---
 nbproject/project.properties | 24 ++++++++++++++++++++++--
 1 file changed, 22 insertions(+), 2 deletions(-)

diff --git a/nbproject/project.properties b/nbproject/project.properties
index c6a8609ae5..a65b7a7679 100644
--- a/nbproject/project.properties
+++ b/nbproject/project.properties
@@ -7,7 +7,7 @@ application.homepage=TODO
 application.title=open-dis7-java
 application.vendor=Naval Postgraduate School (NPS)
 build.classes.dir=${build.dir}/classes
-build.classes.excludes=**/*.java,**/*.form
+build.classes.excludes=**/*.java,**/*.form,**/logs/**
 # This directory is removed when the project is cleaned:
 build.dir=build
 build.generated.dir=${build.dir}/generated
@@ -49,7 +49,9 @@ file.reference.open-dis7-entities-usa-land.jar=entityjars/open-dis7-entities-usa
 file.reference.open-dis7-entities-usa-surface.jar=entityjars/open-dis7-entities-usa-surface.jar
 file.reference.opentest4j-1.2.0.jar=testlibs/opentest4j-1.2.0.jar
 includes=**
+jar.archive.disabled=${jnlp.enabled}
 jar.compress=false
+jar.index=${jnlp.enabled}
 javac.classpath=\
     ${file.reference.guava-28.0-jre.jar}:\
     ${file.reference.commons-io-2.6.jar}:\
@@ -101,10 +103,28 @@ jlink.additionalmodules=
 jlink.additionalparam=
 jlink.launcher=true
 jlink.launcher.name=open-dis7-java
+jnlp.codebase.type=no.codebase
+jnlp.descriptor=application
+jnlp.enabled=false
+jnlp.mixed.code=default
+jnlp.offline-allowed=false
+jnlp.signed=false
+jnlp.signing=
+jnlp.signing.alias=
+jnlp.signing.keystore=
 main.class=edu.nps.moves.dis7.utilities.stream.PduRecorder
+# Optional override of default Application-Library-Allowable-Codebase attribute identifying the locations where your signed RIA is expected to be found.
+manifest.custom.application.library.allowable.codebase=
+# Optional override of default Caller-Allowable-Codebase attribute identifying the domains from which JavaScript code can make calls to your RIA without security prompts.
+manifest.custom.caller.allowable.codebase=
+# Optional override of default Codebase manifest attribute, use to prevent RIAs from being repurposed
+manifest.custom.codebase=
+# Optional override of default Permissions manifest attribute (supported values: sandbox, all-permissions)
+manifest.custom.permissions=
 meta.inf.dir=${src.dir}/META-INF
-mkdist.disabled=true
+mkdist.disabled=false
 platform.active=default_platform
+project.licensePath=./license.txt
 run.classpath=\
     ${javac.classpath}:\
     ${build.classes.dir}
-- 
GitLab