forked from molgenis/molgenis_apps-legacy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build_xqtl.xml
54 lines (46 loc) · 1.93 KB
/
build_xqtl.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<project name="xqtl">
<!-- this name is used to name the war file -->
<property name="app_name" value="xqtl" />
<!-- this holds all the settings for the generator -->
<property name="app_properties" value="apps/xqtl/org/molgenis/xqtl/xqtl.properties"/>
<!-- this holds the class name of the Selenium test -->
<property name="selenium_test_class" value="XqtlSeleniumTest" />
<!-- this determines what handwritten modules should be loaded -->
<path id="app.class.path">
<pathelement location="apps/${app_name}" />
<pathelement location="modules/_deprecated" />
<pathelement location="modules/datamodel" />
<pathelement location="modules/auth" />
<pathelement location="modules/file" />
<pathelement location="modules/import" />
<pathelement location="modules/webserver" />
<pathelement location="modules/settings" />
<pathelement location="modules/pheno" />
<pathelement location="modules/search" />
<pathelement location="modules/matrix" />
<pathelement location="modules/feedback" />
<pathelement location="modules/xgap" />
<pathelement location="modules/decorators/core" />
<pathelement location="modules/decorators/auth" />
<pathelement location="modules/decorators/pheno" />
<pathelement location="modules/decorators/data" />
<pathelement location="publicdata" />
</path>
<!-- import all tasks from build_common: clean, generate, compile, test, war, standalone-jar -->
<import file="build_common.xml" />
<!-- Delete HSQL database -->
<target name="deletedb" description="Delete HSQLDB content">
<mkdir dir="hsqldb" />
<delete includeemptydirs="true">
<fileset dir="hsqldb" includes="**/*" />
</delete>
</target>
<!--
Run xQTL tests on a compiled application
-->
<target name="test" description="Run xQTL tests">
<testng classpathref="molgenis.classpath" haltOnFailure="true">
<classfileset dir="${build.molgenis_apps.dir}" includes="**/*_XqtlTestNG.class" />
</testng>
</target>
</project>