forked from molgenis/molgenis_apps-legacy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build_omicsconnect.xml
38 lines (34 loc) · 1.57 KB
/
build_omicsconnect.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
<project name="omicsconnect">
<!-- this name is used to name the war file -->
<property name="app_name" value="omicsconnect" />
<!-- this holds all the settings for the generator -->
<property name="app_properties" value="apps/${app_name}/org/molgenis/${app_name}/${app_name}.properties"/>
<!-- this determines what handwritten modules should be loaded -->
<path id="app.class.path">
<pathelement location="apps/${app_name}" />
<pathelement location="modules/omx" />
<pathelement location="modules/omx-dataviewer" />
<pathelement location="modules/omx-importer" />
<pathelement location="modules/omx-hl7parser" />
<pathelement location="modules/omx-protocolviewer" />
<pathelement location="modules/minigui" />
<pathelement location="modules/webserver" />
<!--<pathelement location="test/modules/omx" /> -->
<pathelement location="test/modules/omx-dataviewer" />
<pathelement location="test/modules/omx-importer" />
<pathelement location="test/modules/omx-hl7parser" />
<pathelement location="test/modules/omx-protocolviewer" />
</path>
<!-- import all tasks from build_common: clean, generate, compile, test, war, standalone-jar -->
<import file="build_common.xml" as="common" />
<target name="generate" depends="common.generate,compile.xml" />
<target name="compile.xml">
<exec executable="xjc">
<arg value="-d"/>
<arg value="modules/omx-hl7parser"/>
<arg value="-p"/>
<arg value="org.molgenis.omx.generated"/>
<arg value="modules/omx-hl7parser/schemas"/>
</exec>
</target>
</project>