David Morgan Spencer Savage | 28e1d34 | 2009-07-21 20:47:15 +0000 | [diff] [blame] | 1 | <?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 Spencer Savage | f5fc83a | 2009-08-02 13:44:42 +0000 | [diff] [blame] | 20 | <project name="sigil" default="dist" |
David Morgan Spencer Savage | 5571dc3 | 2009-09-18 15:47:02 +0000 | [diff] [blame] | 21 | xmlns:ivy="antlib:org.apache.ivy.ant" |
| 22 | xmlns:groovy="antlib:org.codehaus.groovy"> |
| 23 | |
David Morgan Spencer Savage | f977a8d | 2009-07-20 21:01:49 +0000 | [diff] [blame] | 24 | <import file="bldcommon/common.xml"/> |
David Morgan Spencer Savage | 5571dc3 | 2009-09-18 15:47:02 +0000 | [diff] [blame] | 25 | |
David Morgan Spencer Savage | f977a8d | 2009-07-20 21:01:49 +0000 | [diff] [blame] | 26 | <fileset id="my.projects" dir="${basedir}"> |
David Morgan Spencer Savage | 0deea92 | 2009-08-03 16:38:40 +0000 | [diff] [blame] | 27 | <exclude name="ivy/resolver/test/**/${build_xml}"/> |
| 28 | <exclude name="ivy/resolver/example/**/${build_xml}"/> |
David Morgan Spencer Savage | f977a8d | 2009-07-20 21:01:49 +0000 | [diff] [blame] | 29 | <exclude name="bldcommon/**/${build_xml}" /> |
| 30 | <include name="**/${build_xml}"/> |
| 31 | </fileset> |
David Morgan Spencer Savage | 5f964d0 | 2009-07-28 18:58:32 +0000 | [diff] [blame] | 32 | |
David Morgan Spencer Savage | b954409 | 2009-07-22 19:16:31 +0000 | [diff] [blame] | 33 | <target name="init"> |
| 34 | <subant buildpath="bldcommon/prepare" target="resolve" /> |
| 35 | </target> |
| 36 | |
David Morgan Spencer Savage | 3c193cc | 2009-10-01 14:43:47 +0000 | [diff] [blame] | 37 | <target name="dist" depends="build, site" /> |
David Morgan Spencer Savage | f5fc83a | 2009-08-02 13:44:42 +0000 | [diff] [blame] | 38 | |
David Morgan Spencer Savage | 6bc2501 | 2009-09-25 07:43:00 +0000 | [diff] [blame] | 39 | <target name="clean" depends="clean-list, clean-site, clean-tmp" /> |
David Morgan Spencer Savage | f5fc83a | 2009-08-02 13:44:42 +0000 | [diff] [blame] | 40 | |
David Morgan Spencer Savage | 5571dc3 | 2009-09-18 15:47:02 +0000 | [diff] [blame] | 41 | <target name="build" depends="init, build-list" /> |
David Morgan Spencer Savage | f5fc83a | 2009-08-02 13:44:42 +0000 | [diff] [blame] | 42 | |
David Morgan Spencer Savage | c641c64 | 2009-09-11 20:50:48 +0000 | [diff] [blame] | 43 | <target name="report" depends="report-list" /> |
| 44 | |
David Morgan Spencer Savage | 5571dc3 | 2009-09-18 15:47:02 +0000 | [diff] [blame] | 45 | <target name="site" depends="bldcommon.init"> |
David Morgan Spencer Savage | 4230afb | 2009-09-15 11:22:39 +0000 | [diff] [blame] | 46 | <!-- eclipse features --> |
| 47 | <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"/> |
| 48 | <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 Spencer Savage | b668207 | 2009-08-16 21:53:55 +0000 | [diff] [blame] | 49 | |
David Morgan Spencer Savage | 4230afb | 2009-09-15 11:22:39 +0000 | [diff] [blame] | 50 | <!-- eclipse plugins --> |
| 51 | <ivy:retrieve organisation="org.apache" module="felix.sigil.common.core" revision="latest.integration" inline="true" pattern="${site.dir}/plugins/[artifact]_${buildVersion}.[ext]" transitive="false"/> |
| 52 | <ivy:retrieve organisation="org.apache" module="felix.sigil.common.junit" revision="latest.integration" inline="true" pattern="${site.dir}/plugins/[artifact]_${buildVersion}.[ext]" transitive="false"/> |
| 53 | <ivy:retrieve organisation="org.apache" module="felix.sigil.common.obr" revision="latest.integration" inline="true" pattern="${site.dir}/plugins/[artifact]_${buildVersion}.[ext]" transitive="false"/> |
| 54 | <ivy:retrieve organisation="org.apache" module="felix.sigil.common.osgi" revision="latest.integration" inline="true" pattern="${site.dir}/plugins/[artifact]_${buildVersion}.[ext]" transitive="false"/> |
| 55 | <ivy:retrieve organisation="org.apache" module="felix.sigil.common.runtime" revision="latest.integration" inline="true" pattern="${site.dir}/plugins/[artifact]_${buildVersion}.[ext]" transitive="false"/> |
| 56 | <ivy:retrieve organisation="org.apache" module="felix.sigil.eclipse.core" revision="latest.integration" inline="true" pattern="${site.dir}/plugins/[artifact]_${buildVersion}.[ext]" transitive="false"/> |
| 57 | <ivy:retrieve organisation="org.apache" module="felix.sigil.eclipse.help" revision="latest.integration" inline="true" pattern="${site.dir}/plugins/[artifact]_${buildVersion}.[ext]" transitive="false"/> |
| 58 | <ivy:retrieve organisation="org.apache" module="felix.sigil.eclipse.obr" revision="latest.integration" inline="true" pattern="${site.dir}/plugins/[artifact]_${buildVersion}.[ext]" transitive="false"/> |
| 59 | <ivy:retrieve organisation="org.apache" module="felix.sigil.eclipse.runtime" revision="latest.integration" inline="true" pattern="${site.dir}/plugins/[artifact]_${buildVersion}.[ext]" transitive="false"/> |
| 60 | <ivy:retrieve organisation="org.apache" module="felix.sigil.eclipse.search" revision="latest.integration" inline="true" pattern="${site.dir}/plugins/[artifact]_${buildVersion}.[ext]" transitive="false"/> |
| 61 | <ivy:retrieve organisation="org.apache" module="felix.sigil.eclipse.ui" revision="latest.integration" inline="true" pattern="${site.dir}/plugins/[artifact]_${buildVersion}.[ext]" transitive="false"/> |
| 62 | <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 Spencer Savage | 3c193cc | 2009-10-01 14:43:47 +0000 | [diff] [blame] | 63 | <ivy:retrieve organisation="sigil" module="com.springsource.org.apache.commons.lang" revision="2.4.0" inline="true" pattern="${site.dir}/plugins/[artifact]_[revision].[ext]" transitive="false"/> |
David Morgan Spencer Savage | b668207 | 2009-08-16 21:53:55 +0000 | [diff] [blame] | 64 | |
David Morgan Spencer Savage | 0deea92 | 2009-08-03 16:38:40 +0000 | [diff] [blame] | 65 | <!-- ivy --> |
| 66 | <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 Spencer Savage | 5571dc3 | 2009-09-18 15:47:02 +0000 | [diff] [blame] | 67 | |
David Morgan Spencer Savage | c9ee1ec | 2010-02-04 11:43:05 +0000 | [diff] [blame] | 68 | <!-- gogo --> |
| 69 | <ivy:retrieve organisation="org.apache" module="felix.sigil.gogo.junit" revision="latest.integration" inline="true" pattern="${site.dir}/gogo/[artifact].[ext]" transitive="false"/> |
| 70 | |
David Morgan Spencer Savage | 5571dc3 | 2009-09-18 15:47:02 +0000 | [diff] [blame] | 71 | <groovy:groovy src="bldcommon/updatesite.groovy"> |
| 72 | <arg value="${site.dir}/features"/> |
| 73 | <arg value="${site.dir}/site.xml" /> |
| 74 | </groovy:groovy> |
David Morgan Spencer Savage | 5f964d0 | 2009-07-28 18:58:32 +0000 | [diff] [blame] | 75 | </target> |
| 76 | |
| 77 | <target name="clean-site"> |
| 78 | <delete dir="${site.dir}" /> |
| 79 | </target> |
David Morgan Spencer Savage | 6bc2501 | 2009-09-25 07:43:00 +0000 | [diff] [blame] | 80 | |
| 81 | <target name="clean-tmp"> |
| 82 | <echo>${cache.dir}</echo> |
| 83 | <delete includeemptydirs="true"> |
| 84 | <fileset dir="${cache.dir}" includes="all/org.apache-felix.sigil*"/> |
David Morgan Spencer Savage | 6dd1be8 | 2009-10-01 13:17:53 +0000 | [diff] [blame] | 85 | <fileset dir="${cache.dir}" includes="all/org.apache/felix.sigil*/**"/> |
David Morgan Spencer Savage | 6bc2501 | 2009-09-25 07:43:00 +0000 | [diff] [blame] | 86 | <fileset dir="${cache.dir}" includes="all/resolved-org.apache-felix.sigil*"/> |
| 87 | </delete> |
David Morgan Spencer Savage | 6dd1be8 | 2009-10-01 13:17:53 +0000 | [diff] [blame] | 88 | <delete includeemptydirs="true"> |
| 89 | <dirset dir="${cache.dir}"> |
| 90 | <include name="all/org.apache/felix.sigil*"/> |
| 91 | </dirset> |
| 92 | </delete> |
David Morgan Spencer Savage | 6bc2501 | 2009-09-25 07:43:00 +0000 | [diff] [blame] | 93 | </target> |
Richard S. Hall | 85bafab | 2009-07-13 13:25:46 +0000 | [diff] [blame] | 94 | </project> |