forked from ome/omero-web
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
63 lines (50 loc) · 2.23 KB
/
build.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
<?xml version="1.0" encoding="utf-8"?>
<project name="OmeroWeb" default="install" basedir=".">
<!--
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
# $Id$
#
# Copyright 2008 Glencoe Software, Inc. All rights reserved.
# Use is subject to license terms supplied in LICENSE.txt
#
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Written by: Josh Moore, josh at glencoesoftware.com
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-->
<echo>Entering ${basedir}...</echo>
<description>
OMERO.web django-based client
</description>
<dirname property="up-two" file="${basedir}"/>
<dirname property="up-one" file="${up-two}"/>
<property name="import.dir" value="${up-one}/antlib/resources"/>
<import file="${import.dir}/global.xml"/>
<import file="${up-two}/common.xml"/>
<import file="${up-two}/python.xml"/>
<target name="test" depends="python-test" unless="env.NOPYTHON"/>
<target name="integration" depends="python-integration" unless="env.NOPYTHON"/>
<target name="tools-init"/>
<target name="tools-build" depends="tools-init"/>
<target name="tools-dist" depends="tools-build" description="Copies files into target">
<copy todir="${basedir}/../target/lib/python/omeroweb">
<fileset dir="${basedir}/omeroweb" excludes="**/*.pyc,media/**,logs,log,db.sqlite3,custom_settings.py,initial_data.json"/>
<fileset dir="${basedir}/omeroweb" includes="media/omeroweb/**"/>
</copy>
</target>
<target name="tools-clean" depends="python-clean">
<delete dir="${basedir}/omeroweb/custom_settings.py"/>
<delete dir="${basedir}/omeroweb/initial_data.json"/>
<delete dir="${basedir}/omeroweb/db.sqlite3"/>
<delete dir="${basedir}/omeroweb/django"/>
<delete dir="${basedir}/omeroweb/logs"/>
<delete dir="${basedir}/omeroweb/log"/>
<delete>
<fileset dir="${basedir}" includes="**/*.pyc"/>
</delete>
</target>
<target name="findbugs">
<echo>Not yet implemented</echo>
</target>
</project>