aboutsummaryrefslogtreecommitdiffstats
path: root/tests/profiling/shadows.xml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/profiling/shadows.xml')
-rw-r--r--tests/profiling/shadows.xml68
1 files changed, 68 insertions, 0 deletions
diff --git a/tests/profiling/shadows.xml b/tests/profiling/shadows.xml
new file mode 100644
index 000000000..71bd020fe
--- /dev/null
+++ b/tests/profiling/shadows.xml
@@ -0,0 +1,68 @@
+<?xml version="1.0"?>
+
+<!--
+ Copyright 2006 contributors.
+
+ All rights reserved.
+ This program and the accompanying materials are made available
+ under the terms of the Eclipse Public License v1.0
+ which accompanies this distribution and is available at
+ http://eclipse.org/legal/epl-v10.html
+
+ Contributors: Adrian Colyer
+-->
+
+<project name="shadows" default="shadows-usage">
+
+ <!-- imported by master build.xml when using the shadows
+ source tree as the basis for profiling the compiler -->
+
+ <target name="shadows-usage">
+ <echo message="this file contains only path definitions"/>
+ <echo message="these are used to customize the target application used by"/>
+ <echo message="the profiling tests. Set the target.application.definitions.file"/>
+ <echo message="property to point to your own replacement of this file to"/>
+ <echo message="profile compilation of an alternate project"/>
+ </target>
+
+ <!-- any target.application.definitions.file must define the following paths:
+ * source.roots (used for from source and ajdt compilation tests)
+ * build.class.path (the class path needed to build the application)
+ it must also define the copy.source.files target needed by the ajdt build
+ -->
+
+ <!-- the source roots used for compilation. -->
+ <path id="source.roots">
+ <pathelement location="f:/workspaces/aspectj1/shadows.org.eclipse.jdt.core/antadapter"/>
+ <pathelement location="f:/workspaces/aspectj1/shadows.org.eclipse.jdt.core/aspectj"/>
+ <pathelement location="f:/workspaces/aspectj1/shadows.org.eclipse.jdt.core/batch"/>
+ <pathelement location="f:/workspaces/aspectj1/shadows.org.eclipse.jdt.core/codeassist"/>
+ <pathelement location="f:/workspaces/aspectj1/shadows.org.eclipse.jdt.core/compiler"/>
+ <pathelement location="f:/workspaces/aspectj1/shadows.org.eclipse.jdt.core/dom"/>
+ <pathelement location="f:/workspaces/aspectj1/shadows.org.eclipse.jdt.core/eval"/>
+ <pathelement location="f:/workspaces/aspectj1/shadows.org.eclipse.jdt.core/formatter"/>
+ <pathelement location="f:/workspaces/aspectj1/shadows.org.eclipse.jdt.core/model"/>
+ <pathelement location="f:/workspaces/aspectj1/shadows.org.eclipse.jdt.core/search"/>
+ </path>
+
+ <!-- the classpath needed for compilation -->
+ <path id="build.class.path">
+ <fileset dir="f:/workspaces/aspectj1/shadows.org.eclipse.jdt.core/lib">
+ <include name="jdtDepends.jar"/>
+ </fileset>
+ </path>
+
+ <!-- the source files used for AJDT project-based compilation -->
+ <target name="copy.source.files" depends="init">
+ <echo message="copying source files to ${todir}"/>
+ <copy todir="${todir}">
+ <fileset dir="${spring.install.dir}/src"
+ includes="**/*.java,**/*.aj"/>
+ <fileset dir="${spring.install.dir}/tiger/src"
+ includes="**/*.java,**/*.aj"/>
+ <fileset dir="${test.aspects.src.dir}"
+ includes="**/*.java,**/*.aj"/>
+ </copy>
+ </target>
+
+</project>