forked from molgenis/molgenis_apps-legacy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build_gcc_jpa.xml
73 lines (66 loc) · 2.85 KB
/
build_gcc_jpa.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<project>
<!-- this name is used to name the war file -->
<property name="app_name" value="gcc" />
<!-- this holds all the settings for the generator -->
<property name="app_properties" value="apps/${app_name}/org/molgenis/${app_name}/${app_name}.jpa.properties" />
<!-- this determines what handwritten modules should be loaded -->
<path id="app.class.path">
<pathelement location="apps/${app_name}" />
<pathelement location="modules/auth" />
<pathelement location="modules/datamodel" />
<pathelement location="modules/import" />
<pathelement location="modules/mutation" />
<pathelement location="modules/pheno" />
<pathelement location="modules/settings" />
<pathelement location="modules/batch" />
<pathelement location="modules/compute" />
<pathelement location="modules/file" />
<pathelement location="modules/matrix" />
<pathelement location="modules/news" />
<pathelement location="modules/search" />
<pathelement location="modules/webserver" />
<pathelement location="modules/decorators/core" />
<pathelement location="modules/decorators/auth" />
<pathelement location="modules/decorators/pheno" />
<pathelement location="modules/decorators/data" />
<pathelement location="apps/animaldb" />
<pathelement location="apps/chd7" />
<pathelement location="apps/designgg" />
<pathelement location="apps/gscf" />
<pathelement location="apps/bbmri" />
<pathelement location="apps/col7a1" />
<pathelement location="apps/gcc" />
<pathelement location="apps/omicsconnect" />
<pathelement location="apps/magetab" />
<pathelement location="apps/sandbox" />
<pathelement location="apps/bioshare" />
<pathelement location="apps/cvdb" />
<pathelement location="apps/gids" />
<pathelement location="apps/wormqtl" />
<pathelement location="apps/lifelinesresearchportal" />
<pathelement location="apps/xgap" />
<pathelement location="apps/compute" />
<pathelement location="publicdata" />
</path>
<target name="jpaTest" depends="clean-generate-compile">
<!-- combine classpaths -->
<path id="combined.class.path">
<path refid="molgenis.classpath"/>
<path refid="app.class.path"/>
<path location="${output_src}"/>
</path>
<!-- run the tests -->
<testng classpathref="combined.class.path" outputDir="${testng.report.dir}" haltOnFailure="true">
<xmlfileset dir="${build.molgenis.dir}" includes="**/*testngJpa1.xml" />
<jvmarg value="-ea" />
<jvmarg value="-Xmx1024m" />
</testng>
<testng classpathref="combined.class.path" outputDir="${testng.report.dir}" haltOnFailure="true">
<xmlfileset dir="${build.molgenis.dir}" includes="**/*testngJpa2.xml" />
<jvmarg value="-ea" />
<jvmarg value="-Xmx1024m" />
</testng>
</target>
<!-- import all tasks from build_common: clean, generate, compile, test, war, standalone-jar -->
<import file="build_common.xml" />
</project>