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 | 5f964d0 | 2009-07-28 18:58:32 +0000 | [diff] [blame] | 21 | xmlns:ivy="antlib:org.apache.ivy.ant"> |
David Morgan Spencer Savage | f977a8d | 2009-07-20 21:01:49 +0000 | [diff] [blame] | 22 | <import file="bldcommon/common.xml"/> |
| 23 | <fileset id="my.projects" dir="${basedir}"> |
| 24 | <exclude name="ivy/**/${build_xml}"/> |
| 25 | <exclude name="bldcommon/**/${build_xml}" /> |
| 26 | <include name="**/${build_xml}"/> |
| 27 | </fileset> |
David Morgan Spencer Savage | 5f964d0 | 2009-07-28 18:58:32 +0000 | [diff] [blame] | 28 | |
David Morgan Spencer Savage | b954409 | 2009-07-22 19:16:31 +0000 | [diff] [blame] | 29 | <target name="init"> |
| 30 | <subant buildpath="bldcommon/prepare" target="resolve" /> |
| 31 | </target> |
| 32 | |
David Morgan Spencer Savage | f5fc83a | 2009-08-02 13:44:42 +0000 | [diff] [blame] | 33 | <target name="dist" depends="build, site" /> |
| 34 | |
| 35 | <target name="clean" depends="clean-list, clean-site, clean-ivy" /> |
| 36 | |
| 37 | <target name="build" depends="build-list, build-ivy" /> |
| 38 | |
| 39 | <target name="build-ivy"> |
| 40 | <subant buildpath="ivy/resolver" /> |
| 41 | </target> |
| 42 | |
| 43 | <target name="clean-ivy"> |
| 44 | <subant buildpath="ivy/resolver" target="clean" /> |
| 45 | </target> |
David Morgan Spencer Savage | 5f964d0 | 2009-07-28 18:58:32 +0000 | [diff] [blame] | 46 | |
| 47 | <target name="site" depends="common-init"> |
| 48 | <ivy:retrieve organisation="org.apache" module="felix.sigil.common.core" revision="latest.integration" inline="true" pattern="${site.dir}/plugins/[artifact].[ext]" transitive="false"/> |
| 49 | <ivy:retrieve organisation="org.apache" module="felix.sigil.common.junit" revision="latest.integration" inline="true" pattern="${site.dir}/plugins/[artifact].[ext]" transitive="false"/> |
| 50 | <ivy:retrieve organisation="org.apache" module="felix.sigil.common.obr" revision="latest.integration" inline="true" pattern="${site.dir}/plugins/[artifact].[ext]" transitive="false"/> |
| 51 | <ivy:retrieve organisation="org.apache" module="felix.sigil.eclipse.core" revision="latest.integration" inline="true" pattern="${site.dir}/plugins/[artifact].[ext]" transitive="false"/> |
| 52 | <ivy:retrieve organisation="org.apache" module="felix.sigil.eclipse.help" revision="latest.integration" inline="true" pattern="${site.dir}/plugins/[artifact].[ext]" transitive="false"/> |
| 53 | <ivy:retrieve organisation="org.apache" module="felix.sigil.eclipse.obr" revision="latest.integration" inline="true" pattern="${site.dir}/plugins/[artifact].[ext]" transitive="false"/> |
| 54 | <ivy:retrieve organisation="org.apache" module="felix.sigil.eclipse.search" revision="latest.integration" inline="true" pattern="${site.dir}/plugins/[artifact].[ext]" transitive="false"/> |
| 55 | <ivy:retrieve organisation="org.apache" module="felix.sigil.eclipse.ui" revision="latest.integration" inline="true" pattern="${site.dir}/plugins/[artifact].[ext]" transitive="false"/> |
| 56 | <ivy:retrieve organisation="org.apache" module="felix.sigil.eclipse.utils" revision="latest.integration" inline="true" pattern="${site.dir}/plugins/[artifact].[ext]" transitive="false"/> |
| 57 | <ivy:retrieve organisation="biz.aQute" module="bndlib" revision="0.0.312" inline="true" pattern="${site.dir}/plugins/[artifact].[ext]" transitive="false"/> |
David Morgan Spencer Savage | 86be749 | 2009-08-02 10:48:00 +0000 | [diff] [blame] | 58 | <ivy:retrieve organisation="sigil" module="com.springsource.org.apache.commons.lang" revision="2.4.0" inline="true" pattern="${site.dir}/plugins/[artifact].[ext]" transitive="false"/> |
David Morgan Spencer Savage | 5f964d0 | 2009-07-28 18:58:32 +0000 | [diff] [blame] | 59 | </target> |
| 60 | |
| 61 | <target name="clean-site"> |
| 62 | <delete dir="${site.dir}" /> |
| 63 | </target> |
Richard S. Hall | 85bafab | 2009-07-13 13:25:46 +0000 | [diff] [blame] | 64 | </project> |