forked from ArticulatedSocialAgentsPlatform/hmibuild
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild-Eclipse.xml
More file actions
48 lines (43 loc) · 2.04 KB
/
build-Eclipse.xml
File metadata and controls
48 lines (43 loc) · 2.04 KB
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
<?xml version="1.0" encoding="UTF-8"?>
<project name="Eclipse" xmlns:ac="antlib:net.sf.antcontrib" >
<target depends="init, -findmain" name="eclipseproject" description="create eclipse project files">
<py-run script="${shared.ant.dir}/eclipse/createEclipseProject.py">
<arg value="--sharedroot=${shared.project.root}"/>
<arg value="--sharedresource=${shared.resources}"/>
<arg value="--basedir=${basedir}"/>
<arg value="--asapsharedresource=${asap.resources}"/>
<arg value="--language=${language}"/>
<arg value="--mains=${main.list}"/>
</py-run>
</target>
<target depends="init, -findmain" name="eclipsesourceproject" description="create eclipse project files">
<py-run script="${shared.ant.dir}/eclipse/createEclipseProject.py">
<arg value="--sharedroot=${shared.project.root}"/>
<arg value="--sharedresource=${shared.resources}"/>
<arg value="--basedir=${basedir}"/>
<arg value="--asapsharedresource=${asap.resources}"/>
<arg value="--sourcesetup"/>
<arg value="--language=${language}"/>
<arg value="--mains=${main.list}"/>
</py-run>
</target>
<target name="eclipsesourceprojectlist" depends=" -init.resolve.list, init" description="build eclipse project files for all projects found on rebuild.list">
<ac:if>
<and>
<isset property="rebuild.list"/>
<not><equals arg1="${rebuild.list}" arg2="" /></not>
</and>
<ac:then>
<echo message="resolving resolve.list projects ..."/>
<filelist id="resolve.project.dirs" dir="${shared.project.root}" files="${rebuild.list}" />
<subant target="eclipsesourceproject" verbose="false" inheritall="false">
<filelist refid="resolve.project.dirs"/>
</subant>
</ac:then>
<ac:else>
<echo message=" --- No resolve.list/rebuild.list projects ---"/>
</ac:else>
</ac:if>
<antcall target="eclipsesourceproject"/>
</target>
</project>