From b35f7c0a8b70993584e078a63bc1b943b1dc77df Mon Sep 17 00:00:00 2001
From: tpylak <tpylak>
Date: Mon, 25 May 2009 10:06:10 +0000
Subject: [PATCH] LMS-910 dependency checking and ant build file for yeastx
 project

SVN: 11130
---
 rtd_yeastx/build/build.xml                   | 21 +++++++++
 rtd_yeastx/resource/dependency-structure.ddf | 46 ++++++++++++++++++++
 2 files changed, 67 insertions(+)
 create mode 100644 rtd_yeastx/build/build.xml
 create mode 100644 rtd_yeastx/resource/dependency-structure.ddf

diff --git a/rtd_yeastx/build/build.xml b/rtd_yeastx/build/build.xml
new file mode 100644
index 00000000000..f4f70b53942
--- /dev/null
+++ b/rtd_yeastx/build/build.xml
@@ -0,0 +1,21 @@
+<project name="yeastx" basedir="..">
+	<import file="../../build_resources/ant/build-common.xml" />
+	<project-classpath name="ecp" classes="${classes}" />
+
+	<property name="original.dist" value="dist" />
+	<property name="mainfolder" value="rtd_yeastx" />
+	<property name="nativeroot" value="${targets}/ant" />
+
+	<target name="clean">
+		<delete dir="${dist}" />
+	</target>
+
+	<target name="compile" depends="build-common.compile, clean" />
+
+	<target name="run-tests">
+		<antcall target="build-common.run-tests">
+			<param name="test.suite" value="tests.xml" />
+		</antcall>
+	</target>
+
+</project>
\ No newline at end of file
diff --git a/rtd_yeastx/resource/dependency-structure.ddf b/rtd_yeastx/resource/dependency-structure.ddf
new file mode 100644
index 00000000000..c9a3091bbca
--- /dev/null
+++ b/rtd_yeastx/resource/dependency-structure.ddf
@@ -0,0 +1,46 @@
+#
+#
+#
+#show allResults
+
+{root} = ch.systemsx.cisd
+{openbis} = ${root}.openbis
+{dss} = ${openbis}.dss
+{yeastx} = ${root}.yeastx
+
+######################################################################
+# Check dependencies of yeastx to openbis
+
+[yeastx] = ${yeastx}.**
+[dss] = ${dss}.*
+[private_openbis] = ${openbis}.* excluding [dss] ${openbis}.generic.shared.*
+
+check sets [yeastx]
+
+check [yeastx] independentOf [private_openbis]
+
+######################################################################
+# Check dependencies of yeastx to dss
+
+[dss.shared] = ${dss}.generic.shared.*
+[private_dss] = ${dss}.* excluding [dss.shared] ${dss}.generic.DataStoreServer 
+
+layer l1 = [dss.shared]
+layer l2 = [yeastx] [private_dss]
+
+check layeringOf l1 l2
+
+######################################################################
+# Check internal dependencies of yeastx
+
+[db] = ${yeastx}.db.**
+[eicml] = ${yeastx}.eicml.**
+[fiaml] = ${yeastx}.fiaml.**
+[etl] = ${yeastx}.etl.**
+
+check sets [db] [eicml] [fiaml] [etl]
+
+layer ll1 = [db]
+layer ll2 = [eicml] [fiaml] [etl]
+
+check layeringOf ll1 ll2
-- 
GitLab