forked from molgenis/molgenis_apps-legacy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build_scrum.xml
37 lines (32 loc) · 1.44 KB
/
build_scrum.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
<project name="scrum">
<!-- this name is used to name the war file -->
<property name="app_name" value="scrum"/>
<!-- this holds all the settings for the generator -->
<property name="app_properties" value="apps/scrum/org/molgenis/scrum/scrum.properties" />
<!-- this determines what handwritten modules should be loaded -->
<path id="app.class.path">
<pathelement location="apps/scrum" />
<pathelement location="modules/auth" />
<pathelement location="modules/file" /> <!-- decorators/core needs this -->
<pathelement location="modules/import"/> <!-- /molgenis_apps/generated/java/app/ui/ScrumExcelImportPlugin.java needs this -->
<pathelement location="modules/webserver"/><!-- needed to deploy -->
<pathelement location="modules/datamodel"/> <!-- needed to generate -->
<pathelement location="modules/decorators/core" />
<pathelement location="modules/decorators/auth" />
</path>
<!-- import all tasks from build_common: clean, generate, compile, test, war, standalone-jar -->
<import file="build_common.xml"/>
<!--
Deploy help: run on a specific port, and on that port only
Usage: ant -f xqtl_dev.xml runOn -Dport=9000
-->
<target name="runOn" description="Start the application">
<java maxmemory="128m" classname="boot.RunStandalone" fork="yes" failonerror="true">
<arg value="${port}"/>
<classpath>
<path refid="molgenis.classpath" />
<path location="${build.dir}" />
</classpath>
</java>
</target>
</project>