diff options
author | aclement <aclement> | 2005-04-19 10:38:38 +0000 |
---|---|---|
committer | aclement <aclement> | 2005-04-19 10:38:38 +0000 |
commit | f7bcff6dbf16ed80ca4934fd8529deae6ebdde7c (patch) | |
tree | 2362d53afe3cb37c15b9ff0a3d513fcad9e0b89b /ajde | |
parent | 45ae94da9e44a31f970c9f5ee4f678902b26fc17 (diff) | |
download | aspectj-f7bcff6dbf16ed80ca4934fd8529deae6ebdde7c.tar.gz aspectj-f7bcff6dbf16ed80ca4934fd8529deae6ebdde7c.zip |
From branch: New build scripts that Alex uses under IntelliJ - can be run individually or via master in build module.
Diffstat (limited to 'ajde')
-rw-r--r-- | ajde/build.xml | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/ajde/build.xml b/ajde/build.xml new file mode 100644 index 000000000..33dba5c08 --- /dev/null +++ b/ajde/build.xml @@ -0,0 +1,62 @@ +<?xml version="1.0"?> +<project name="ajde" default="all" basedir="."> + + <import file="../build/build-common.xml"/> + <import file="../runtime/build.xml"/> + <import file="../org.aspectj.ajdt.core/build.xml"/> + + <path id="ajde.test.src.path"> + <path refid="ajde.src.path"/> + <pathelement path="../org.aspectj.ajdt.core/bintest"/> + <pathelement path="../weaver/bin"/> + <pathelement path="../runtime/bin"/> + <fileset dir="${basedir}/../lib"> + <include name="bcel/*.jar"/> + <include name="junit/*.jar"/> + </fileset> + </path> + + <path id="ajde.src.path"> + <fileset dir="${basedir}/../org.eclipse.jdt.core"> + <include name="*.jar"/> + </fileset> + <pathelement path="../asm/bin"/> + <pathelement path="../bridge/bin"/> + <pathelement path="../org.aspectj.ajdt.core/bin"/> + <pathelement path="../util/bin"/> + </path> + + <target name="compile" depends="init, + asm.compile, + bridge.compile, + org.aspectj.ajdt.core.compile, + util.compile"> + <srccompile project="ajde" path="ajde.src.path"/> + <!-- copy resources --> + <copy todir="../ajde/bin"> + <fileset dir="../ajde/src" includes="**/*.gif"/> + </copy> + </target> + + <target name="test:compile" depends="compile, + org.aspectj.ajdt.core.test:compile, + weaver.test:compile"> + <testcompile project="ajde" path="ajde.test.src.path"/> + </target> + + <target name="test" depends="test:compile, + runtime.compile"> + <testrun project="ajde" path="ajde.test.src.path" suite="AjdeModuleTests"/> + </target> + + <target name="jar" depends="compile"> + <delete file="${build.ajdir}/jars/ajde.jar"/> + <zip destfile="${build.ajdir}/jars/ajde.jar"> + <fileset dir="bin"> + <include name="**/*"/> + </fileset> + </zip> + </target> + +</project> + |