blob: 619ad05f9204dee9ce739474f4d7516fe22fdbe7 [file] [log] [blame]
David Morgan Spenser Savage75fcf3d2009-07-21 20:47:15 +00001<?xml version="1.0"?>
2<!--
3 Licensed to the Apache Software Foundation (ASF) under one
4 or more contributor license agreements. See the NOTICE file
5 distributed with this work for additional information
6 regarding copyright ownership. The ASF licenses this file
7 to you under the Apache License, Version 2.0 (the
8 "License"); you may not use this file except in compliance
9 with the License. You may obtain a copy of the License at
10
11 http://www.apache.org/licenses/LICENSE-2.0
12
13 Unless required by applicable law or agreed to in writing,
14 software distributed under the License is distributed on an
15 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 KIND, either express or implied. See the License for the
17 specific language governing permissions and limitations
18 under the License.
19-->
David Morgan Spenser Savageba379212009-08-02 13:44:42 +000020<project name="sigil" default="dist"
David Morgan Spenser Savagee62cf9d2009-07-28 18:58:32 +000021 xmlns:ivy="antlib:org.apache.ivy.ant">
David Morgan Spenser Savage3b1b8c82009-07-20 21:01:49 +000022 <import file="bldcommon/common.xml"/>
23 <fileset id="my.projects" dir="${basedir}">
David Morgan Spenser Savageb6d5a522009-08-03 16:38:40 +000024 <exclude name="ivy/resolver/test/**/${build_xml}"/>
25 <exclude name="ivy/resolver/example/**/${build_xml}"/>
David Morgan Spenser Savage3b1b8c82009-07-20 21:01:49 +000026 <exclude name="bldcommon/**/${build_xml}" />
27 <include name="**/${build_xml}"/>
28 </fileset>
David Morgan Spenser Savagee62cf9d2009-07-28 18:58:32 +000029
David Morgan Spenser Savagec6d457d2009-07-22 19:16:31 +000030 <target name="init">
31 <subant buildpath="bldcommon/prepare" target="resolve" />
32 </target>
33
David Morgan Spenser Savageba379212009-08-02 13:44:42 +000034 <target name="dist" depends="build, site" />
35
David Morgan Spenser Savageb5828ba2009-08-03 16:39:58 +000036 <target name="clean" depends="clean-list, clean-site" />
David Morgan Spenser Savageba379212009-08-02 13:44:42 +000037
David Morgan Spenser Savage162319e2009-08-03 10:34:59 +000038 <target name="build" depends="build-list" />
David Morgan Spenser Savageba379212009-08-02 13:44:42 +000039
David Morgan Spenser Savageef091e22009-09-11 20:50:48 +000040 <target name="report" depends="report-list" />
41
David Morgan Spenser Savagee62cf9d2009-07-28 18:58:32 +000042 <target name="site" depends="common-init">
David Morgan Spenser Savage9f1f1b42009-09-15 11:22:39 +000043 <copy file="eclipse/updatesite/site.xml" todir="${site.dir}" />
44 <!-- eclipse features -->
45 <ivy:retrieve organisation="org.apache" module="felix.sigil.eclipse.core.feature" revision="latest.integration" inline="true" pattern="${site.dir}/features/[artifact]_${buildVersion}.[ext]" transitive="false"/>
46 <ivy:retrieve organisation="org.apache" module="felix.sigil.eclipse.obr.feature" revision="latest.integration" inline="true" pattern="${site.dir}/features/[artifact]_${buildVersion}.[ext]" transitive="false"/>
David Morgan Spenser Savage5ef21e72009-08-16 21:53:55 +000047
David Morgan Spenser Savage9f1f1b42009-09-15 11:22:39 +000048 <!-- eclipse plugins -->
49 <ivy:retrieve organisation="org.apache" module="felix.sigil.common.core" revision="latest.integration" inline="true" pattern="${site.dir}/plugins/[artifact]_${buildVersion}.[ext]" transitive="false"/>
50 <ivy:retrieve organisation="org.apache" module="felix.sigil.common.junit" revision="latest.integration" inline="true" pattern="${site.dir}/plugins/[artifact]_${buildVersion}.[ext]" transitive="false"/>
51 <ivy:retrieve organisation="org.apache" module="felix.sigil.common.obr" revision="latest.integration" inline="true" pattern="${site.dir}/plugins/[artifact]_${buildVersion}.[ext]" transitive="false"/>
52 <ivy:retrieve organisation="org.apache" module="felix.sigil.common.osgi" revision="latest.integration" inline="true" pattern="${site.dir}/plugins/[artifact]_${buildVersion}.[ext]" transitive="false"/>
53 <ivy:retrieve organisation="org.apache" module="felix.sigil.common.runtime" revision="latest.integration" inline="true" pattern="${site.dir}/plugins/[artifact]_${buildVersion}.[ext]" transitive="false"/>
54 <ivy:retrieve organisation="org.apache" module="felix.sigil.eclipse.core" revision="latest.integration" inline="true" pattern="${site.dir}/plugins/[artifact]_${buildVersion}.[ext]" transitive="false"/>
55 <ivy:retrieve organisation="org.apache" module="felix.sigil.eclipse.help" revision="latest.integration" inline="true" pattern="${site.dir}/plugins/[artifact]_${buildVersion}.[ext]" transitive="false"/>
56 <ivy:retrieve organisation="org.apache" module="felix.sigil.eclipse.obr" revision="latest.integration" inline="true" pattern="${site.dir}/plugins/[artifact]_${buildVersion}.[ext]" transitive="false"/>
57 <ivy:retrieve organisation="org.apache" module="felix.sigil.eclipse.runtime" revision="latest.integration" inline="true" pattern="${site.dir}/plugins/[artifact]_${buildVersion}.[ext]" transitive="false"/>
58 <ivy:retrieve organisation="org.apache" module="felix.sigil.eclipse.search" revision="latest.integration" inline="true" pattern="${site.dir}/plugins/[artifact]_${buildVersion}.[ext]" transitive="false"/>
59 <ivy:retrieve organisation="org.apache" module="felix.sigil.eclipse.ui" revision="latest.integration" inline="true" pattern="${site.dir}/plugins/[artifact]_${buildVersion}.[ext]" transitive="false"/>
60 <ivy:retrieve organisation="org.apache" module="felix.sigil.eclipse.utils" revision="latest.integration" inline="true" pattern="${site.dir}/plugins/[artifact]_${buildVersion}.[ext]" transitive="false"/>
David Morgan Spenser Savage5ef21e72009-08-16 21:53:55 +000061
David Morgan Spenser Savage9f1f1b42009-09-15 11:22:39 +000062 <!-- extras -->
63 <ivy:retrieve organisation="biz.aQute" module="bndlib" revision="0.0.312" inline="true" pattern="${site.dir}/extras/[artifact]_[revision].[ext]" transitive="false"/>
64
65 <ivy:retrieve organisation="sigil" module="com.springsource.org.apache.commons.lang" revision="2.4.0" inline="true" pattern="${site.dir}/extras/[artifact]_[revision].[ext]" transitive="false"/>
David Morgan Spenser Savageb6d5a522009-08-03 16:38:40 +000066
67 <!-- ivy -->
68 <ivy:retrieve organisation="org.apache" module="felix.sigil.ivy.resolver" revision="latest.integration" inline="true" pattern="${site.dir}/ivy/[artifact].[ext]" transitive="false"/>
David Morgan Spenser Savagee62cf9d2009-07-28 18:58:32 +000069 </target>
70
71 <target name="clean-site">
72 <delete dir="${site.dir}" />
73 </target>
Richard S. Hall6fe36b42009-07-13 13:25:46 +000074</project>