diff options
Diffstat (limited to 'tests/profiling/spring-1.2.6.xml')
-rw-r--r-- | tests/profiling/spring-1.2.6.xml | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/tests/profiling/spring-1.2.6.xml b/tests/profiling/spring-1.2.6.xml new file mode 100644 index 000000000..868ae4287 --- /dev/null +++ b/tests/profiling/spring-1.2.6.xml @@ -0,0 +1,62 @@ +<?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="spring-1.2.6" default="spring-1.2.6-usage"> + + <!-- imported by master build.xml when using the springframework 1.2.6 + source tree as the basis for profiling the compiler --> + + <target name="spring-1.2.6-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="${spring.install.dir}/src"/> + <pathelement location="${spring.install.dir}/tiger/src"/> + <pathelement location="${test.aspects.src.dir}"/> + </path> + + <!-- the classpath needed for compilation --> + <path id="build.class.path"> + <fileset dir="${spring.install.dir}"> + <include name="**/*.jar"/> + <exclude name="aspectj/*.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>
\ No newline at end of file |