author | goetz |
Wed, 27 Jan 2016 10:35:49 +0100 | |
changeset 35775 | 00710c1b504a |
parent 29294 | 376a915b4ff0 |
child 36526 | 3b41f1c69604 |
permissions | -rw-r--r-- |
25282 | 1 |
<!-- importing.xml --> |
2 |
<project name="langtools" basedir=".."> |
|
3 |
||
25697
b71804e27eb1
8049234: Add support for running/debugging bootstrap tools in IntelliJ
mcimadamore
parents:
25282
diff
changeset
|
4 |
<script language="javascript" classpath=".idea/classes"> |
b71804e27eb1
8049234: Add support for running/debugging bootstrap tools in IntelliJ
mcimadamore
parents:
25282
diff
changeset
|
5 |
var LangtoolsLogger = Java.type("idea.LangtoolsIdeaAntLogger"); |
27548
d3f506b108e5
8064367: Fix IntelliJ langtools support to use new dev build
mcimadamore
parents:
25697
diff
changeset
|
6 |
new LangtoolsLogger(project) |
25697
b71804e27eb1
8049234: Add support for running/debugging bootstrap tools in IntelliJ
mcimadamore
parents:
25282
diff
changeset
|
7 |
</script> |
b71804e27eb1
8049234: Add support for running/debugging bootstrap tools in IntelliJ
mcimadamore
parents:
25282
diff
changeset
|
8 |
|
b71804e27eb1
8049234: Add support for running/debugging bootstrap tools in IntelliJ
mcimadamore
parents:
25282
diff
changeset
|
9 |
<import file="../make/build.xml"/> |
25282 | 10 |
|
11 |
<macrodef name="exec-target"> |
|
12 |
<attribute name="antfile" default="${ant.file}" /> |
|
13 |
<attribute name="target" /> |
|
14 |
<sequential> |
|
15 |
<java classname="org.apache.tools.ant.Main" fork="true" spawn="true"> |
|
16 |
<arg value="-f"/> |
|
27996
4ae3503fd196
8067006: Tweak IntelliJ langtools project to show jtreg report directory
mcimadamore
parents:
27548
diff
changeset
|
17 |
<arg value="@{antfile}"/> |
25282 | 18 |
<arg value="-Dboot.java.home=${boot.java.home}"/> |
19 |
<arg value="-Dtarget.java.home=${target.java.home}"/> |
|
20 |
<arg value="-Djtreg.home=${jtreg.home}"/> |
|
21 |
<arg value="-Djtreg.tests=${jtreg.tests}"/> |
|
22 |
<arg value="-Djtreg.jpda.jvmargs=${jtreg.jpda.jvmargs}"/> |
|
23 |
<arg value="@{target}"/> |
|
27996
4ae3503fd196
8067006: Tweak IntelliJ langtools project to show jtreg report directory
mcimadamore
parents:
27548
diff
changeset
|
24 |
<classpath> |
25282 | 25 |
<pathelement path="${java.class.path}"/> |
26 |
</classpath> |
|
27 |
</java> |
|
28 |
</sequential> |
|
29 |
</macrodef> |
|
25697
b71804e27eb1
8049234: Add support for running/debugging bootstrap tools in IntelliJ
mcimadamore
parents:
25282
diff
changeset
|
30 |
|
29294
376a915b4ff0
8073645: Add lambda-based lazy eval versions of Assert.check methods
mcimadamore
parents:
28334
diff
changeset
|
31 |
<target name="crules" depends="build-all-tools,-def-jtreg"> |
376a915b4ff0
8073645: Add lambda-based lazy eval versions of Assert.check methods
mcimadamore
parents:
28334
diff
changeset
|
32 |
<jtreg-tool name="all" tests="tools/all/RunCodingRules.java"/> |
376a915b4ff0
8073645: Add lambda-based lazy eval versions of Assert.check methods
mcimadamore
parents:
28334
diff
changeset
|
33 |
</target> |
376a915b4ff0
8073645: Add lambda-based lazy eval versions of Assert.check methods
mcimadamore
parents:
28334
diff
changeset
|
34 |
|
28334
1633de6070ae
8058542: Devise scheme for better diagnostic creation
mcimadamore
parents:
27996
diff
changeset
|
35 |
<target name="post-make" depends="clean, build-all-tools"/> |
25697
b71804e27eb1
8049234: Add support for running/debugging bootstrap tools in IntelliJ
mcimadamore
parents:
25282
diff
changeset
|
36 |
|
b71804e27eb1
8049234: Add support for running/debugging bootstrap tools in IntelliJ
mcimadamore
parents:
25282
diff
changeset
|
37 |
<target name="jtreg-debug" depends="build-all-tools,-def-jtreg"> |
b71804e27eb1
8049234: Add support for running/debugging bootstrap tools in IntelliJ
mcimadamore
parents:
25282
diff
changeset
|
38 |
<exec-target target="jtreg-debug-internal"/> |
b71804e27eb1
8049234: Add support for running/debugging bootstrap tools in IntelliJ
mcimadamore
parents:
25282
diff
changeset
|
39 |
</target> |
b71804e27eb1
8049234: Add support for running/debugging bootstrap tools in IntelliJ
mcimadamore
parents:
25282
diff
changeset
|
40 |
|
b71804e27eb1
8049234: Add support for running/debugging bootstrap tools in IntelliJ
mcimadamore
parents:
25282
diff
changeset
|
41 |
<target name="jtreg-debug-internal" depends="-def-jtreg"> |
b71804e27eb1
8049234: Add support for running/debugging bootstrap tools in IntelliJ
mcimadamore
parents:
25282
diff
changeset
|
42 |
<jtreg-tool name="all" tests="${jtreg.tests}" jpda.jvmargs="${jtreg.jpda.jvmargs}"/> |
b71804e27eb1
8049234: Add support for running/debugging bootstrap tools in IntelliJ
mcimadamore
parents:
25282
diff
changeset
|
43 |
</target> |
25282 | 44 |
</project> |
45 |