-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.xml
50 lines (47 loc) · 2.05 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
<project name="Lucterios2.standard" 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="core.path" value="${basedir}/../lct-core" />
<property name="contact.path" value="${basedir}/../lct-contacts" />
<property name="document.path" value="${basedir}/../lct-documents" />
</then>
<else>
<property name="core.path" value="${packages.path}" />
<property name="contact.path" value="${packages.path}" />
<property name="document.path" value="${packages.path}" />
</else>
</if>
<property name="project.packagepath" value="lucterios/standard" />
<property name="project.packagename" value="lucterios.standard" />
<property name="project.name" value="lucterios" />
<property name="project.packname" value="lucterios_standard.egg-info" />
<property name="project.pythonpath" value="${core.path}:${contact.path}:${document.path}:${env.PYTHONPATH}" />
<property name="project.modules" value="lucterios.contacts,lucterios.documents,lucterios.mailing" />
<property name="project.appli" value="lucterios.standard" />
<property name="project.test.source" value="lucterios,${core.path}/lucterios,${contact.path}/lucterios,${document.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>
<target name="package_del">
<delete dir="lucterios_standard.egg-info" />
</target>
</project>