blob: 89efa40608eceaa4a2c070301925339d1b2fa8ab [file] [log] [blame]
Richard S. Hall85bafab2009-07-13 13:25:46 +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-->
20<ivysettings>
21 <properties file="${ivy.settings.dir}/build.properties"/>
22 <caches defaultCacheDir="${cache.dir}" />
23
David Morgan Spencer Savagef977a8d2009-07-20 21:01:49 +000024 <settings defaultResolver="default" circularDependencyStrategy="error" />
Richard S. Hall85bafab2009-07-13 13:25:46 +000025
26 <!--
27 <classpath file="${sigil-ivy-plugin.jar}" />
28 Ant tasks "subant" and "ant" cause IvySettings to be re-loaded,
29 which then re-loads SigilParser in a new URLClassLoader,
30 which causes ProjectRepository to be re-initialised. Outch!
31 Loading sigil-ivy-plugin.jar in load-ivy task, uses the same ClassLoader
32 and thus avoids re-initialising ProjectRepositiory.
33 Search for Derek Baum in the October 2008 ant-dev archives for my attempt
34 at getting the Ivy communiuty to fix this.
35 http://mail-archives.apache.org/mod_mbox/ant-dev/200810.mbox/browser
36 -->
37 <typedef name="sigil-parser" classname="org.cauldron.bld.ivy.SigilParser" />
38 <typedef name="sigil" classname="org.cauldron.bld.ivy.SigilResolver" />
39
40 <parsers>
41 <sigil-parser config="${ivy.settings.dir}/sigil-repos.properties"
42 quiet="true"/>
43 </parsers>
44
45 <resolvers>
46 <sigil name="sigil"
47 config="${ivy.settings.dir}/sigil-repos.properties"
48 extractBCP="true"/>
49
David Morgan Spencer Savagef977a8d2009-07-20 21:01:49 +000050 <chain name="default" returnFirst="true">
51 <filesystem name="local">
52 <ivy pattern="${repository.dir}/local/${repository.pattern}" />
53 <artifact pattern="${repository.dir}/local/${repository.pattern}" />
54 </filesystem>
Richard S. Hall85bafab2009-07-13 13:25:46 +000055
David Morgan Spencer Savagef977a8d2009-07-20 21:01:49 +000056 <filesystem name="shared">
57 <ivy pattern="${repository.dir}/shared/${repository.pattern}" />
58 <artifact pattern="${repository.dir}/shared/${repository.pattern}" />
59 </filesystem>
60
61 </chain>
62 <url name="eclipse">
63 <artifact pattern="http://download.eclipse.org/releases/ganymede/plugins/[module]_[revision].[ext]" />
64 <artifact pattern="http://download.eclipse.org/releases/ganymede/[module].[artifact]_[revision].[ext]" />
65 </url>
Richard S. Hall85bafab2009-07-13 13:25:46 +000066 </resolvers>
67
68 <modules>
69 <module organisation="sigil" resolver="sigil"/>
David Morgan Spencer Savagef977a8d2009-07-20 21:01:49 +000070 <module organisation="org.eclipse" resolver="eclipse"/>
Richard S. Hall85bafab2009-07-13 13:25:46 +000071 </modules>
72</ivysettings>