2 ~ Copyright 2000-2010 JetBrains s.r.o.
4 ~ Licensed under the Apache License, Version 2.0 (the "License");
5 ~ you may not use this file except in compliance with the License.
6 ~ 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
11 ~ distributed under the License is distributed on an "AS IS" BASIS,
12 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 ~ See the License for the specific language governing permissions and
14 ~ limitations under the License.
16 <project name="IntelliJ IDEA CE build file" default="layout">
17 <dirname property="build" file="${ant.file}"/>
18 <property name="project.home" value="${build}/../"/>
19 <property name="gant.home" value="${project.home}/build/lib/gant"/>
20 <property name="modules.output" value="${project.home}/out"/>
23 <attribute name="script"/>
24 <attribute name="deploy"/>
26 <java failonerror="true" classname="org.apache.tools.ant.Main" fork="true">
27 <jvmarg line="-Xms64m -Xmx512m"/>
28 <jvmarg line=""-Ddeploy=@{deploy}""/>
29 <jvmarg line=""-Dmodules.output=${modules.output}""/>
30 <jvmarg line=""-Dgant.script=@{script}""/>
33 <fileset dir="${project.home}/lib/ant/lib">
34 <include name="*.jar"/>
36 <pathelement location="../build/lib/gant_patches.jar"/>
37 <fileset dir="${gant.home}/lib">
38 <include name="*.jar"/>
43 <arg value="gant.xml"/>
46 <java classname="com.intellij.util.io.zip.ReorderJarsMain" fork="true">
47 <arg value="${build}/order.txt"/>
48 <arg value="@{deploy}"/>
49 <arg value="@{deploy}"/>
50 <arg value="${project.home}/lib"/>
52 <pathelement location="${modules.output}/production/util"/>
59 <target name="layout">
60 <run script="${project.home}/build/scripts/layouts.gant"
61 deploy="${project.home}/out/deploy"/>