|
1 | 1 | <?xml version="1.0" encoding="utf-8"?>
|
2 |
| -<project name="Oryx Main Build Script" basedir="./"> |
3 |
| - |
| 2 | +<project name="Oryx Main Build Script"> |
4 | 3 | <!-- Load additional properties -->
|
5 | 4 | <property file="build.properties"/>
|
6 | 5 | <property name="build-dir" value="build" />
|
|
10 | 9 | <import file="editor/build.xml"/>
|
11 | 10 | <!--<import file="editor/test.xml"/>-->
|
12 | 11 | <import file="poem-jvm/build.xml"/>
|
13 |
| - <!--<import file="stick/build.xml"/>--> |
| 12 | + <import file="stick/build.xml"/> |
14 | 13 | <import file="mashup/build.xml"/>
|
15 | 14 |
|
| 15 | + |
16 | 16 | <!-- (RE)BUILD EDITOR AND BACKEND -->
|
17 | 17 | <target name="build-all" depends="build-editor, build-backend, generate-build-dependcy-graph" />
|
| 18 | + |
18 | 19 | <target name="rebuild-all" depends="clean-editor, build-editor, clean-backend, build-backend" />
|
19 | 20 |
|
| 21 | + |
20 | 22 | <!-- CLEAN EDITOR AND BACKEND -->
|
21 | 23 | <target name="clean-all" depends="clean-editor, clean-backend">
|
22 | 24 | <!-- the depencies are somewhat redundant at the moment, but also future-proof -->
|
|
29 | 31 |
|
30 | 32 | <!-- (UN)DEPLOY EDITOR AND BACKEND -->
|
31 | 33 | <target name="deploy-all" depends="deploy-editor, deploy-backend"/>
|
| 34 | + |
32 | 35 | <target name="undeploy-all" depends="undeploy-editor, undeploy-backend"/>
|
| 36 | + |
| 37 | + |
| 38 | + <!-- (UN)DEPLOY EDITOR --> |
| 39 | + <target name="deploy-editor"> |
| 40 | + <copy file="${target-dir}/oryx.war" todir="${deploymentdir}"/> |
| 41 | + </target> |
| 42 | + |
| 43 | + <target name="undeploy-editor"> |
| 44 | + <delete file="${deploymentdir}/oryx.war"/> |
| 45 | + </target> |
| 46 | + |
| 47 | + <target name="deploy-stencilsets"> |
| 48 | + <copy todir='${deploymentdir}/oryx/stencilsets'> |
| 49 | + <fileset dir="${editor-src-root}/data/stencilsets"/> |
| 50 | + </copy> |
| 51 | + <echo> |
| 52 | + Copied stencilsets into deployment destination |
| 53 | + </echo> |
| 54 | + </target> |
| 55 | + |
| 56 | + |
| 57 | + <!-- (UN)DEPLOY REPOSITORY --> |
| 58 | + <target name="deploy-backend"> |
| 59 | + <copy file="${target-dir}/backend.war" tofile="${deploymentdir}/backend.war"/> |
| 60 | + </target> |
| 61 | + |
| 62 | + <target name="undeploy-backend"> |
| 63 | + <delete file="${deploymentdir}/backend.war"/> |
| 64 | + </target> |
33 | 65 |
|
34 |
| - |
35 | 66 | <!-- Generate dependency graph of Ant tasks using Grand
|
36 | 67 | http://www.ggtools.net/grand/
|
37 | 68 | Grand is distributed under the terms of the BSD License. -->
|
|
78 | 109 | <srcfiles file="editor/build.xml" />
|
79 | 110 | <srcfiles file="poem-jvm/build.xml" />
|
80 | 111 | <srcfiles file="stick/build.xml" />
|
81 |
| - <srcfiles file="mashup/build.xml" /> |
| 112 | + <srcfiles file="MashUp/build.xml" /> |
82 | 113 | </uptodate>
|
83 | 114 | </target>
|
84 | 115 | </project>
|
0 commit comments