-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.xml
44 lines (44 loc) · 1.95 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
<project name="Lucterios2.contacts" default="all" basedir=".">
<taskdef resource="net/sf/antcontrib/antlib.xml">
<classpath>
<pathelement location="/usr/share/java/lib/ant-contrib-0.6.jar" />
</classpath>
</taskdef>
<exec executable="python3" outputproperty="packages.path" failifexecutionfails="false" errorproperty="">
<arg value="-m" />
<arg value="site" />
<arg value="--user-site" />
</exec>
<if>
<available file="${basedir}/../lct-core" />
<then>
<property name="standard.path" value="${basedir}/../lct-standard" />
<property name="core.path" value="${basedir}/../lct-core" />
<property name="document.path" value="${basedir}/../lct-documents" />
</then>
<else>
<property name="standard.path" value="${packages.path}" />
<property name="core.path" value="${packages.path}" />
<property name="document.path" value="${packages.path}" />
</else>
</if>
<property name="project.packagepath" value="lucterios/contacts,lucterios/mailing" />
<property name="project.packagename" value="lucterios.contacts lucterios.mailing" />
<property name="project.name" value="lucterios" />
<property name="project.packname" value="lucterios_contacts.egg-info" />
<property name="project.pythonpath" value="${standard.path}:${core.path}:${document.path}:${env.PYTHONPATH}" />
<property name="project.modules" value="lucterios.contacts,lucterios.mailing,lucterios.documents" />
<property name="project.appli" value="lucterios.standard" />
<property name="project.test.source" value="lucterios,${core.path}/lucterios" />
<property name="project.test.omit" value="${core.path}/lucterios/install/*" />
<property name="project.test.include" value="${core.path}/lucterios/CORE/*.py,${core.path}/lucterios/framework/*.py" />
<if>
<available file="${basedir}/utils/lib_build.xml" />
<then>
<import file="${basedir}/utils/lib_build.xml" />
</then>
<else>
<import file="${basedir}/../lct-core/utils/lib_build.xml" />
</else>
</if>
</project>