001ebb3a72
Initial integration of JEP 200, JEP 260, JEP 261, and JEP 282 Co-authored-by: Alex Buckley <alex.buckley@oracle.com> Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com> Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com> Co-authored-by: Mandy Chung <mandy.chung@oracle.com> Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com> Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com> Co-authored-by: Vicente Romero <vicente.romero@oracle.com> Co-authored-by: Andreas Lundblad <andreas.lundblad@oracle.com> Co-authored-by: Andrey Nazarov <andrey.x.nazarov@oracle.com> Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com> Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com> Co-authored-by: Kumar Srinivasan <kumar.x.srinivasan@oracle.com> Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com> Reviewed-by: jjg, jlahoda, vromero, mcimadamore, bpatel, ksrini, darcy, anazarov, dfuchs
40 lines
1.4 KiB
XML
40 lines
1.4 KiB
XML
<!-- importing.xml -->
|
|
<project name="langtools" basedir="..">
|
|
|
|
<script language="javascript" classpath=".idea/classes">
|
|
var LangtoolsLogger = Java.type("idea.LangtoolsIdeaAntLogger");
|
|
new LangtoolsLogger(project)
|
|
</script>
|
|
|
|
<import file="../make/build.xml"/>
|
|
|
|
<macrodef name="exec-target">
|
|
<attribute name="antfile" default="${ant.file}" />
|
|
<attribute name="target" />
|
|
<sequential>
|
|
<java classname="org.apache.tools.ant.Main" fork="true" spawn="true">
|
|
<arg value="-f"/>
|
|
<arg value="@{antfile}"/>
|
|
<arg value="-Dlangtools.jdk.home=${langtools.jdk.home}"/>
|
|
<arg value="-Djtreg.home=${jtreg.home}"/>
|
|
<arg value="-Djtreg.tests=${jtreg.tests}"/>
|
|
<arg value="-Djtreg.jpda.jvmargs=${jtreg.jpda.jvmargs}"/>
|
|
<arg value="@{target}"/>
|
|
<classpath>
|
|
<pathelement path="${java.class.path}"/>
|
|
</classpath>
|
|
</java>
|
|
</sequential>
|
|
</macrodef>
|
|
|
|
<target name="post-make" depends="clean, build-all-tools"/>
|
|
|
|
<target name="jtreg-debug" depends="build-all-tools, -def-jtreg">
|
|
<exec-target target="jtreg-debug-internal"/>
|
|
</target>
|
|
|
|
<target name="jtreg-debug-internal" depends="-def-jtreg">
|
|
<jtreg-tool name="all" tests="${jtreg.tests}" options="-conc:1" jpda.jvmargs="${jtreg.jpda.jvmargs}"/>
|
|
</target>
|
|
</project>
|