forked from JetBrains/intellij-community
-
-
Notifications
You must be signed in to change notification settings - Fork 180
Expand file tree
/
Copy pathbuild.xml
More file actions
47 lines (42 loc) · 1.77 KB
/
Copy pathbuild.xml
File metadata and controls
47 lines (42 loc) · 1.77 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<!-- Using ant is OBSOLETE, please call installers.cmd or tests.cmd directly -->
<!-- Refer to README.md for more instructions -->
<project name="IntelliJ IDEA" default="build">
<mkdir dir="build/jps-bootstrap-work" />
<echoproperties destfile="build/jps-bootstrap-work/intellij.properties">
<propertyset>
<propertyref prefix="idea."/>
<propertyref prefix="intellij."/>
<propertyref prefix="test."/>
<propertyref prefix="module."/>
<propertyref prefix="debug."/>
</propertyset>
</echoproperties>
<condition property="script.suffix" value=".cmd">
<os family="windows" />
</condition>
<property name="script.suffix" value=".sh" />
<macrodef name="jps-bootstrap">
<attribute name="module"/>
<attribute name="class"/>
<sequential>
<exec executable="${basedir}/platform/jps-bootstrap/jps-bootstrap${script.suffix}" failonerror="true">
<arg value="--properties-file" />
<arg value="${basedir}/build/jps-bootstrap-work/intellij.properties" />
<!-- project to open -->
<arg value="${basedir}" />
<!-- project module -->
<arg value="@{module}"/>
<!-- main class to run -->
<arg value="@{class}"/>
</exec>
</sequential>
</macrodef>
<target name="build">
<echo message="***** Using ant is OBSOLETE, please call 'installers.cmd' directly. See README.md *****" level="warning" />
<jps-bootstrap class="OpenSourceCommunityInstallersBuildTarget" module="intellij.idea.community.build" />
</target>
<target name="test">
<echo message="***** Using ant is OBSOLETE, please call 'tests.cmd' directly. See README.md *****" level="warning" />
<jps-bootstrap class="CommunityRunTestsBuildTarget" module="intellij.idea.community.build" />
</target>
</project>