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 /ajdoc | |
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 'ajdoc')
-rw-r--r-- | ajdoc/build.xml | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/ajdoc/build.xml b/ajdoc/build.xml new file mode 100644 index 000000000..f187f6e05 --- /dev/null +++ b/ajdoc/build.xml @@ -0,0 +1,73 @@ +<?xml version="1.0"?> +<project name="ajdoc" default="all" basedir="."> + + <import file="../build/build-common.xml"/> + <import file="../asm/build.xml"/> + <import file="../bridge/build.xml"/> + <import file="../org.aspectj.ajdt.core/build.xml"/> + + <path id="ajdoc.test.src.path"> + <fileset dir="${basedir}/../lib"> + <include name="junit/*.jar"/> + </fileset> + <path refid="ajdoc.src.path"/> + <!-- test run --> + <pathelement path="../runtime/bin"/> + <pathelement path="../weaver/bin"/> + <fileset dir="${basedir}/../org.eclipse.jdt.core"> + <include name="*.jar"/> + </fileset> + <fileset dir="${basedir}/../lib"> + <include name="bcel/*.jar"/> + </fileset> + <fileset dir="${java.home}/../lib"> + <include name="tools.jar"/> + </fileset> + </path> + + <path id="ajdoc.src.path"> + <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="ajdoc" path="ajdoc.src.path"/> + </target> + + <target name="test:compile" depends="compile"> + <testcompile project="ajdoc" path="ajdoc.test.src.path"/> + </target> + + <target name="test" depends="test:compile, + runtime.compile, + weaver.compile"> + <testrun project="ajdoc" path="ajdoc.test.src.path" suite="AjdocModuleTests"/> + </target> + + <!-- override to remove generated doc directories --> + <target name="cleanall" depends="init"> + <delete dir="${basedir}/ajdocworkingdir"/> + <delete> + <fileset dir="${basedir}/testdata" includes="*/doc/**/*"/> + <fileset dir="${basedir}/testdata" includes="*/docdir/**/*"/> + </delete> + </target> + + <target name="jar" depends="compile"> + <delete file="${build.ajdir}/jars/ajdoc.jar"/> + <copy file="ajdoc.mf.txt" todir="${build.ajdir}/temp" filtering="yes"/> + <jar destfile="${build.ajdir}/jars/ajdoc.jar" manifest="${build.ajdir}/temp/ajdoc.mf.txt"> + <fileset dir="bin"> + <include name="**/*"/> + </fileset> + </jar> + </target> + +</project> + |