From 71d6901deb2b7e82683263a84c369856c3f7b69b Mon Sep 17 00:00:00 2001
From: brutzman <brutzman@DESKTOP-2S09UKA>
Date: Thu, 1 Jul 2021 09:18:35 -0700
Subject: [PATCH] Avoid compilation or inclusion of student project depending
 on mutex libraries only available in JDK8

---
 assignments/nbproject/project.properties | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/assignments/nbproject/project.properties b/assignments/nbproject/project.properties
index 6e6876fa79..61f390aa6f 100644
--- a/assignments/nbproject/project.properties
+++ b/assignments/nbproject/project.properties
@@ -30,13 +30,16 @@ debug.test.classpath=\
 debug.test.modulepath=\
     ${run.test.modulepath}
 # Files in build.classes.dir which should be excluded from distribution jar
-dist.archive.excludes=
+# Avoid compilation or inclusion of student project depending on mutex libraries only available in JDK8
+# https://stackoverflow.com/questions/27906896/exclude-package-from-build-but-not-from-view-in-netbeans-8
+excludes=**/MV3500Cohort2019JulySeptember/projects/BrennenstuhlKnobelochMcCann/**
+dist.archive.excludes=**/MV3500Cohort2019JulySeptember/projects/BrennenstuhlKnobelochMcCann/**
+
 # This directory is removed when the project is cleaned:
 dist.dir=dist
 dist.jar=${dist.dir}/Networked_Graphics_MV3500_assignments.jar
 dist.javadoc.dir=${dist.dir}/javadoc
 endorsed.classpath=
-excludes=
 file.reference.commons-io-2.6.jar=../lib/commons-io-2.6.jar
 file.reference.dis-enums-1.3.jar=../lib/dis-enums-1.3.jar
 file.reference.guava-28.0-jre.jar=../lib/guava-28.0-jre.jar
-- 
GitLab