2014-06-24 15:04:46 +00:00
|
|
|
<!-- importing.xml -->
|
|
|
|
<project name="langtools" basedir="..">
|
|
|
|
|
2014-07-22 16:47:45 +00:00
|
|
|
<script language="javascript" classpath=".idea/classes">
|
|
|
|
var LangtoolsLogger = Java.type("idea.LangtoolsIdeaAntLogger");
|
2014-11-08 22:00:31 +00:00
|
|
|
new LangtoolsLogger(project)
|
2014-07-22 16:47:45 +00:00
|
|
|
</script>
|
2014-06-24 15:04:46 +00:00
|
|
|
|
2014-07-22 16:47:45 +00:00
|
|
|
<import file="../make/build.xml"/>
|
2014-06-24 15:04:46 +00:00
|
|
|
|
|
|
|
<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"/>
|
2014-12-09 17:40:02 +00:00
|
|
|
<arg value="@{antfile}"/>
|
2014-06-24 15:04:46 +00:00
|
|
|
<arg value="-Dboot.java.home=${boot.java.home}"/>
|
|
|
|
<arg value="-Dtarget.java.home=${target.java.home}"/>
|
|
|
|
<arg value="-Djtreg.home=${jtreg.home}"/>
|
|
|
|
<arg value="-Djtreg.tests=${jtreg.tests}"/>
|
|
|
|
<arg value="-Djtreg.jpda.jvmargs=${jtreg.jpda.jvmargs}"/>
|
|
|
|
<arg value="@{target}"/>
|
2014-12-09 17:40:02 +00:00
|
|
|
<classpath>
|
2014-06-24 15:04:46 +00:00
|
|
|
<pathelement path="${java.class.path}"/>
|
|
|
|
</classpath>
|
|
|
|
</java>
|
|
|
|
</sequential>
|
|
|
|
</macrodef>
|
2014-07-22 16:47:45 +00:00
|
|
|
|
|
|
|
<target name="post-make" depends="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}" jpda.jvmargs="${jtreg.jpda.jvmargs}"/>
|
|
|
|
</target>
|
2014-06-24 15:04:46 +00:00
|
|
|
</project>
|
|
|
|
|