Merge branch 'master' of git.labs.intellij.net:idea/community
[fedora-idea.git] / build / lib / gant / conf / gant-starter.conf
blob154d5fe1fb94de572e861cff43dfc6a1d1b73f92
1 #  Gant -- A Groovy way of scripting Ant tasks.
3 #  Copyright © 2008 Russel Winder
5 #  Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
6 #  compliance with the License. You may obtain a copy of the License at
8 #    http://www.apache.org/licenses/LICENSE-2.0
10 #  Unless required by applicable law or agreed to in writing, software distributed under the License is
11 #  distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
12 #  implied. See the License for the specific language governing permissions and limitations under the
13 #  License.
15 #  Author : Russel Winder <russel.winder@concertant.com>
17 # Load user specific libraries that are Gant specific.
18 load !{user.home}/.gant/lib/*.jar
19     
20 # Load user specific libraries that are Ant specific.
21 load !{user.home}/.ant/lib/*.jar
22     
23 # Load user specific libraries that are for Groovy.
24 load !{user.home}/.groovy/lib/*.jar
25     
26 # Load required libraries
27 load !{gant.home}/lib/*.jar
29 # Load Ant libraries.  If xml-apis.jar and xercesImpl.jar are in this directory then it leads to a:
31 #  Caught: java.lang.LinkageError: loader constraint violation: loader (instance of <bootloader>) previously initiated loading for a different type with name "org/w3c/dom/NodeList"
33 # whenever an XML processing program that (possibly indirectly) uses a DOM is executed.  Get round this by
34 # selecting jars, basically all the known Ant jars, and ignoring everything else.
36 #  The directory might contain ant.jar but it would be bad to include this since Groovy is distributed
37 #  with a version of Ant and that should be used.  See next rule.
38 load !{ant.home}/lib/ant-*.jar
40 # load required libraries
41 load !{groovy.home}/lib/*.jar
43 # tools.jar for ant tasks
44 load ${tools.jar}