changeset 2613:333a276ee6ac

[PATCH] ignore Windows Named Pipes on non-Windows platforms This patch just completely shuts Windows Named Pipes out of any non-windows build. Reviewed-by: neugens Review-thread: http://icedtea.classpath.org/pipermail/thermostat/2017-March/022409.html
author Simon Tooke <stooke@redhat.com>
date Wed, 08 Mar 2017 09:43:49 -0500
parents 0fe467368288
children 46820a77f9a7
files agent/ipc/pom.xml
diffstat 1 files changed, 12 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/agent/ipc/pom.xml	Wed Mar 08 09:24:27 2017 -0500
+++ b/agent/ipc/pom.xml	Wed Mar 08 09:43:49 2017 -0500
@@ -50,6 +50,18 @@
 
   <name>Thermostat Agent Inter-Process Communication</name>
 
+  <profiles>
+  <profile>
+      <id>windows</id>
+      <activation>
+        <os><family>Windows</family></os>
+      </activation>
+      <modules>
+        <module>windows-named-pipes</module>
+      </modules>
+    </profile>
+  </profiles>
+
   <dependencies>
     <dependency>
       <groupId>junit</groupId>
@@ -64,7 +76,6 @@
     <module>server</module>
     <module>unix-socket</module>
     <module>tcp-socket</module>
-    <module>windows-named-pipes</module>
   </modules>
 
 </project>