PageRenderTime 7ms CodeModel.GetById 1ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/eclipse-plugin/build.xml

http://testability-explorer.googlecode.com/
XML | 44 lines | 42 code | 0 blank | 2 comment | 0 complexity | f500bd9818597dc22f6008dc30d0f3f2 MD5 | raw file
 1<?xml version="1.0" encoding="UTF-8"?>
 2<project name="project" default="default">
 3  <property environment="env"/>
 4  <!-- Apple JDK separates rt.jar into two jars, classes and ui. So handle that case -->
 5  <!-- if Mac OS X -->
 6  <condition property="jre.runtime" value="/System/Library/Frameworks/JavaVM.framework/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Classes/ui.jar" else="${env.JAVA_HOME}/jre/lib/rt.jar">
 7    <and> <os family="mac"/> <os family="unix"/> </and>
 8  </condition>
 9  <target name="default">
10    <copy tofile="plugins/com.google.test.metric.eclipse.core/te.jar">
11      <fileset dir="../testability-explorer/target" includes="*-with-deps.jar"/>
12    </copy>
13    <java jar="${env.ECLIPSE_LAUNCHER_JAR}" fork="true" failonerror="true">
14      <arg value="-application"/>
15      <arg value="org.eclipse.ant.core.antRunner"/>
16      <arg value="-buildfile"/>
17      <arg value="${env.ECLIPSE_PDE_XML}"/>
18      <arg value="-Dbuilder=${basedir}"/>
19      <arg value="-DbuildDirectory=${basedir}"/>
20      <arg value="-DbaseLocation=${env.ECLIPSE_BASE_DIR}"/>
21      <arg value="-Dbase=${env.ECLIPSE_BASE_DIR}"/>
22      <arg value="-DJ2SE-1.5=${jre.runtime}"/>
23   </java>
24 </target>
25 <target name="clean">
26  <delete includeemptydirs="true" failonerror="false" verbose="true">
27    <fileset dir="target" id="targetFolder"/>
28    <fileset dir="tmp" id="tmpFolder"/>
29    <fileset dir="." id="assembleFiles" includes="assemble*"/>
30    <fileset dir="." id="finalFiles" includes="final*"/>
31    <fileset dir="." id="packageFiles" includes="package*"/>
32    <fileset dir="plugins/com.google.test.metric.eclipse.doc/@dot" id="docDotFolder"/>
33    <fileset dir="plugins/com.google.test.metric.eclipse.doc/temp.folder" id="docTmpFolder"/>
34    <fileset dir="plugins/com.google.test.metric.eclipse.core/@dot" id="coreDotFolder"/>
35    <fileset dir="plugins/com.google.test.metric.eclipse.core/temp.folder" id="coreTmpFolder"/>
36    <fileset dir="plugins/com.google.test.metric.eclipse.ui/@dot" id="uiDotFolder"/>
37    <fileset dir="plugins/com.google.test.metric.eclipse.ui/temp.folder" id="uiTmpFolder"/>
38    <fileset dir="." id="compilerArgs" includes="**/javaCompiler...args"/>
39    <fileset dir="plugins" id="genPluginsBuildXml" includes="**/build.xml"/>
40    <fileset dir="features" id="genFeaturesBuildXml" includes="**/build.xml"/>
41    <fileset dir="features" id="genFeaturesZip" includes="**/*.zip"/>
42  </delete>
43 </target>
44</project>