summaryrefslogtreecommitdiffstats
path: root/test/resources/walls/compilewithwalls.xml
diff options
context:
space:
mode:
authormattinger <[email protected]>2007-03-07 21:25:39 +0000
committermattinger <[email protected]>2007-03-07 21:25:39 +0000
commit1bce0a66a11f4cbf8d6bcc46fbd9a36cb7ebe64a (patch)
tree4b825dc642cb6eb9a060e54bf8d69288fbee4904 /test/resources/walls/compilewithwalls.xml
parent391a3b1becbcb9b778b8f86ff11793123ec04f78 (diff)
Removing old stuff
git-svn-id: file:///home/sven/projects/JOGL/temp/ant-contrib/svn/ant-contrib-code/branches/ant-1.7.0-upgrade@99 32d7a393-a5a9-423c-abd3-5d954feb1f2f
Diffstat (limited to 'test/resources/walls/compilewithwalls.xml')
-rw-r--r--test/resources/walls/compilewithwalls.xml237
1 files changed, 0 insertions, 237 deletions
diff --git a/test/resources/walls/compilewithwalls.xml b/test/resources/walls/compilewithwalls.xml
deleted file mode 100644
index 6298d76..0000000
--- a/test/resources/walls/compilewithwalls.xml
+++ /dev/null
@@ -1,237 +0,0 @@
-<project name="test_compilewithwalls" basedir="." default="cleanup">
- <property name="test.dir" value="compilewithwalls"/>
-
- <taskdef resource="net/sf/antcontrib/antcontrib.properties">
- <classpath location="${antcontrib.jar}"/>
- </taskdef>
-
- <target name="cleanup">
- <delete quiet="yes" dir="${test.dir}"/>
- </target>
-
- <target name="init">
- </target>
-
- <target name="testTooManyNestedWallElements" depends="init">
- <compilewithwalls intermediaryBuildDir="${test.dir}/dir2">
- <walls />
- <walls />
- <javac />
- </compilewithwalls>
- </target>
-
- <target name="testTooManyNestedJavacElements" depends="init">
- <compilewithwalls intermediaryBuildDir="${test.dir}/dir2">
- <walls />
- <javac />
- <javac />
- </compilewithwalls>
- </target>
-
- <target name="testNoWallElement" depends="init">
- <compilewithwalls intermediaryBuildDir="${test.dir}/dir2">
- <javac />
- </compilewithwalls>
- </target>
-
- <target name="testNoJavacElement" depends="init">
- <compilewithwalls intermediaryBuildDir="${test.dir}/dir2">
- <walls />
- </compilewithwalls>
- </target>
-
- <target name="testNoSrcDirInJavac" depends="init">
- <compilewithwalls intermediaryBuildDir="${test.dir}/dir2">
- <walls>
- <package name="modA" package="biz.xsoftware" />
- </walls>
-
- <javac>
- </javac>
- </compilewithwalls>
- </target>
-
- <target name="testIntermediaryDirAndDestDirSame" depends="init">
- <mkdir dir="${test.dir}/dir1" />
- <compilewithwalls intermediaryBuildDir="${test.dir}/dir1">
- <walls>
- </walls>
-
- <javac srcdir="${test.dir}/dir1" destdir="${test.dir}/dir1">
- </javac>
- </compilewithwalls>
- </target>
-
- <target name="testIntermediaryDirInsideDestDir" depends="init">
- <mkdir dir="${test.dir}/dir1" />
- <compilewithwalls intermediaryBuildDir="${test.dir}/dir1/insideDestDir">
- <walls>
- </walls>
-
- <javac srcdir="${test.dir}/dir1" destdir="${test.dir}/dir1">
- </javac>
- </compilewithwalls>
- </target>
-
- <target name="testPackageDoesntEndWithStar" depends="init">
- <mkdir dir="${test.dir}/dir1" />
-
- <compilewithwalls intermediaryBuildDir="${test.dir}/dir2">
- <walls>
- <package name="modA" package="biz.xsoftware" />
- </walls>
-
- <javac srcdir="${test.dir}/dir1" destdir="${test.dir}/dir1">
- </javac>
- </compilewithwalls>
-
- </target>
-
- <target name="testPackageDoesntHaveSlash" depends="init">
- <mkdir dir="${test.dir}/dir1" />
-
- <compilewithwalls intermediaryBuildDir="${test.dir}/dir2">
- <walls>
- <package name="modA" package="biz/xsoftware.*" />
- </walls>
-
- <javac srcdir="${test.dir}/dir1" destdir="${test.dir}/dir1">
- </javac>
- </compilewithwalls>
- </target>
-
- <target name="testDependsOnNonExistPackage" depends="init">
- <mkdir dir="${test.dir}/dir1" />
-
- <compilewithwalls intermediaryBuildDir="${test.dir}/dir2">
- <walls>
- <package name="modA"
- package="biz.xsoftware.*"
- depends="modB" />
- </walls>
-
- <javac srcdir="${test.dir}/dir1" destdir="${test.dir}/dir1">
- </javac>
- </compilewithwalls>
-
- </target>
-
- <target name="testDependsOnPackageAfter" depends="init">
- <mkdir dir="${test.dir}/dir1" />
-
- <compilewithwalls intermediaryBuildDir="${test.dir}/dir2">
- <walls>
- <package name="modA"
- package="biz.xsoftware.*"
- depends="modB" />
- <package name="modB"
- package="biz.xsoftware.something.*" />
- </walls>
-
- <javac srcdir="${test.dir}/dir1" destdir="${test.dir}/dir1">
- </javac>
- </compilewithwalls>
-
- </target>
-
- <target name="testPackageABreakingWhenAIsCompiledFirst" depends="init">
- <mkdir dir="${test.dir}/classes/testA" />
- <compilewithwalls intermediaryBuildDir="${test.dir}/classes/testAtemp">
- <walls>
- <package name="modA"
- package="mod.modA.*" />
- <package name="modB"
- package="mod.modB.*" />
- <package name="mod"
- package="mod.*"
- depends="modA,modB" />
- </walls>
-
- <javac srcdir="./testA" destdir="${test.dir}/classes/testA">
- </javac>
- </compilewithwalls>
-
- </target>
-
- <target name="testPackageBBreakingWhenAIsCompiledFirst" depends="init">
- <mkdir dir="${test.dir}/classes/testB" />
- <compilewithwalls intermediaryBuildDir="${test.dir}/classes/testBtemp">
- <walls>
- <package name="modA"
- package="mod.modA.*" />
- <package name="modB"
- package="mod.modB.*" />
- <package name="mod"
- package="mod.*"
- depends="modA,modB" />
- </walls>
-
- <javac srcdir="./testB" destdir="${test.dir}/classes/testB">
- </javac>
- </compilewithwalls>
-
- </target>
-
- <target name="testMoreThanOneSrcDirInJavac" depends="init">
- <mkdir dir="${test.dir}/classes/testX" />
- <compilewithwalls intermediaryBuildDir="${test.dir}/classes/testXtemp">
- <walls/>
- <javac destdir="${test.dir}/classes/testX">
- <src path="${test.dir}/dir1">
- </src>
- <src path="xyz">
- </src>
- </javac>
- </compilewithwalls>
- </target>
-
- <target name="testCompileOfAllUsingDepends" depends="init">
- <mkdir dir="${test.dir}/classes/testC" />
- <compilewithwalls intermediaryBuildDir="${test.dir}/classes/testCtemp">
- <walls>
- <package name="modA"
- package="mod.modA.*" />
- <package name="modB"
- package="mod.modB.*" />
- <package name="mod"
- package="mod.*"
- depends="modA,modB" />
- </walls>
-
- <javac srcdir="./testC" destdir="${test.dir}/classes/testC">
- </javac>
- </compilewithwalls>
-
- </target>
-
-<!--
-*********************************************************
- These are mostly the same tests above but making sure it works with
- external walls.xml file.
-*********************************************************
--->
- <target name="testDependsOnPackageAfterExternalWalls" depends="init">
- <mkdir dir="${test.dir}/dir1" />
- <compilewithwalls walls="dependsafter.xml" intermediaryBuildDir="${test.dir}/dir2">
- <javac srcdir="${test.dir}/dir1" destdir="${test.dir}/dir1">
- </javac>
- </compilewithwalls>
- </target>
-
- <target name="testPackageBBreakingWhenAIsCompiledFirstExternalWalls" depends="init">
- <mkdir dir="${test.dir}/classes/testB" />
- <compilewithwalls walls="packageB-break.xml" intermediaryBuildDir="${test.dir}/classes/testBtemp">
- <javac srcdir="./testB" destdir="${test.dir}/classes/testB">
- </javac>
- </compilewithwalls>
- </target>
-
- <target name="testCompileOfAllUsingDependsExternalWalls" depends="init">
- <mkdir dir="${test.dir}/classes/testC" />
- <compilewithwalls walls="walls.xml" intermediaryBuildDir="${test.dir}/classes/testCtemp">
- <javac srcdir="./testC" destdir="${test.dir}/classes/testC">
- </javac>
- </compilewithwalls>
- </target>
-
-</project>