author | mli |
Fri, 16 Mar 2018 18:15:31 +0800 | |
changeset 49255 | acdb8531cc8b |
parent 48667 | f2344724a475 |
child 51266 | f8696e0ab9b7 |
permissions | -rw-r--r-- |
37861 | 1 |
<!-- importing.xml --> |
2 |
<project name="jdk" basedir=".."> |
|
3 |
||
4 |
<script language="javascript" classpath=".idea/classes"> |
|
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> |