From 18c4b0b706165c58a922d335ed2346fd71f8027d Mon Sep 17 00:00:00 2001
From: felmer <felmer>
Date: Mon, 15 Sep 2008 07:00:43 +0000
Subject: [PATCH] LMS-478 ensure layering

SVN: 8289
---
 openbis/resource/dependency-structure.ddf | 32 +++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/openbis/resource/dependency-structure.ddf b/openbis/resource/dependency-structure.ddf
index ddeaf06e79e..2521b2a870f 100644
--- a/openbis/resource/dependency-structure.ddf
+++ b/openbis/resource/dependency-structure.ddf
@@ -3,3 +3,35 @@
 {project} = ch.systemsx.cisd.openbis
 {generic} = ${project}.generic
 
+##########################################
+#
+# Generic module
+#
+##########################################
+
+[generic.client] = ${generic}.client.*
+[generic.server] = ${generic}.server.*
+[generic.shared] = ${generic}.shared.*
+
+check sets [generic.client] [generic.server] [generic.shared]
+
+layer generic.client-server = [generic.client] [generic.server]
+layer generic.shared = [generic.shared]
+
+check layeringOf generic.shared generic.client-server
+
+#-------- Web client ---------------------
+
+{generic.web} = ${generic}.client.web
+
+[generic.web.client] = ${generic.web}.client.application.*
+[generic.web.shared] = ${generic.web}.client.* excluding [generic.web.client]
+[generic.web.server] = ${generic.web}.server.*
+
+check sets [generic.web.client] [generic.web.server] [generic.web.shared]
+
+layer generic.web.client-server = [generic.web.client] [generic.web.server]
+layer generic.web.shared = [generic.web.shared]
+
+check layeringOf generic.web.shared generic.web.client-server
+
-- 
GitLab