author | herrick |
Thu, 28 Mar 2019 13:49:38 -0400 | |
branch | JDK-8200758-branch |
changeset 57292 | 7a683c461b80 |
parent 51565 | 7e5f08c619e3 |
permissions | -rw-r--r-- |
37861 | 1 |
<!-- importing.xml --> |
51565
7e5f08c619e3
8209064: Make intellij support more robust after changes for 2018.2
mcimadamore
parents:
51266
diff
changeset
|
2 |
<project name="jdk"> |
37861 | 3 |
|
51565
7e5f08c619e3
8209064: Make intellij support more robust after changes for 2018.2
mcimadamore
parents:
51266
diff
changeset
|
4 |
<script language="javascript" classpath="${idea.dir}/classes"> |
37861 | 5 |
var JdkLogger = Java.type("idea.JdkIdeaAntLogger"); |
6 |
new JdkLogger(project) |
|
7 |
</script> |
|
8 |
||
9 |
<macrodef name="call-make"> |
|
48667
f2344724a475
8196081: Add support for customized intellij project templates
mcimadamore
parents:
47217
diff
changeset
|
10 |
<attribute name="dir"/> |
f2344724a475
8196081: Add support for customized intellij project templates
mcimadamore
parents:
47217
diff
changeset
|
11 |
<attribute name="args"/> |
f2344724a475
8196081: Add support for customized intellij project templates
mcimadamore
parents:
47217
diff
changeset
|
12 |
<sequential> |
f2344724a475
8196081: Add support for customized intellij project templates
mcimadamore
parents:
47217
diff
changeset
|
13 |
<exec executable="make" dir="@{dir}" failonerror="true"> |
f2344724a475
8196081: Add support for customized intellij project templates
mcimadamore
parents:
47217
diff
changeset
|
14 |
<arg line="@{args}"/> |
f2344724a475
8196081: Add support for customized intellij project templates
mcimadamore
parents:
47217
diff
changeset
|
15 |
<env key="CLASSPATH" value = ""/> |
f2344724a475
8196081: Add support for customized intellij project templates
mcimadamore
parents:
47217
diff
changeset
|
16 |
</exec> |
f2344724a475
8196081: Add support for customized intellij project templates
mcimadamore
parents:
47217
diff
changeset
|
17 |
</sequential> |
f2344724a475
8196081: Add support for customized intellij project templates
mcimadamore
parents:
47217
diff
changeset
|
18 |
</macrodef> |
37861 | 19 |
|
47217 | 20 |
<target name="cond-clean" unless="${intellij.ismake}"> |
21 |
<antcall target="clean"/> |
|
22 |
</target> |
|
23 |
||
24 |
<target name="post-make" depends="cond-clean, build-module"/> |
|
37861 | 25 |
|
26 |
<!-- |
|
27 |
**** Global JDK Build Targets |
|
28 |
--> |
|
29 |
||
48667
f2344724a475
8196081: Add support for customized intellij project templates
mcimadamore
parents:
47217
diff
changeset
|
30 |
<target name="clean"> |
37861 | 31 |
<echo message="base = ${basedir}"/> |
48667
f2344724a475
8196081: Add support for customized intellij project templates
mcimadamore
parents:
47217
diff
changeset
|
32 |
<call-make dir = "${build.target.dir}" args = "reconfigure"/> |
f2344724a475
8196081: Add support for customized intellij project templates
mcimadamore
parents:
47217
diff
changeset
|
33 |
<call-make dir = "${build.target.dir}" args = "clean"/> |
37861 | 34 |
</target> |
35 |
||
36 |
<target name="images"> |
|
37 |
<call-make dir = "${build.target.dir}" args = "images"/> |
|
38 |
</target> |
|
39 |
||
40 |
<target name="build-module"> |
|
41 |
<call-make dir = "${build.target.dir}" args = "${module.name}"/> |
|
42 |
</target> |
|
43 |
</project> |