/
build.xml
29 lines (26 loc) · 1.09 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
<?xml version="1.0"?>
<project name="org.touge.osgiutil" default="jar">
<property name="wget.bin" location="/usr/bin/wget" />
<property name="product.dir" location="${basedir}" />
<property name="deps" location="${product.dir}/deps" />
<target name="fetch.deps" description="download dependencies">
<exec executable="${wget.bin}">
<arg line="-P ${deps}" />
<arg line="--no-check-certificate" />
<arg line="-nc" />
<arg line="http://www.osgi.org/download/r4v42/osgi.core.jar" />
</exec>
<exec executable="${wget.bin}">
<arg line="-P ${deps}" />
<arg line="--no-check-certificate" />
<arg line="-nc" />
<arg line="http://www.osgi.org/download/r4v42/osgi.cmpn.jar" />
</exec>
</target>
<property name="ant-build-common.dir" location="/tmp/ant-build-common"></property>
<echo message="Importing ant-build-common in ${ant.project.name}."></echo>
<exec executable="/bin/sh">
<arg line='-c "git clone git://github.com/kgilmer/ant-build-common.git ${ant-build-common.dir} 2> /dev/null"'/>
</exec>
<import file="${ant-build-common.dir}/build-common.xml"/>
</project>