From 8c80fde9d4d3c7c2d913da377f8fb2de6e4bf854 Mon Sep 17 00:00:00 2001 From: wisberg Date: Tue, 22 Mar 2005 21:27:08 +0000 Subject: [PATCH] bug 53209 - inpathDirCopyFilter doc updates and tests --- docs/devGuideDB/antsupport.xml | 45 ++++++++++--- docs/test/antScriptTest/build.xml | 64 +++++++++++-------- .../build/binary-input/ignore.txt | 1 + .../ec/inpathDirSrc/InpathFile.java | 2 + 4 files changed, 75 insertions(+), 37 deletions(-) create mode 100644 docs/test/antScriptTest/build/binary-input/ignore.txt create mode 100644 docs/test/antScriptTest/ec/inpathDirSrc/InpathFile.java diff --git a/docs/devGuideDB/antsupport.xml b/docs/devGuideDB/antsupport.xml index 71d923563..900107bbb 100644 --- a/docs/devGuideDB/antsupport.xml +++ b/docs/devGuideDB/antsupport.xml @@ -285,7 +285,8 @@ copyInjars - + + (Deprecated/ignored; ajc does this.) If true, copy all non-.class files from input jar(s) to the output jar or destination directory after the compile (or incremental compile) completes. @@ -302,8 +303,29 @@ The pattern should be compatible with an Ant fileset excludes filter; when using this, most developers pass **/CVS/*,**/*.java to exclude any CVS directories - or source files. - + or source files. + See inpathDirCopyFilter. + Requires destDir or outJar. + + + + inpathDirCopyFilter + + + When set, copy all files from the inpath directories + to the output jar or destination directory except those + specified in the filter pattern. The pattern should be + compatible with an Ant fileset excludes filter; when + using this, most developers pass + **/CVS/*,**/*.java,**/*.class to + exclude any CVS directories, source files, or unwoven + .class files. (If **/*.class is not + specified, it will be prepended to the filter.) See + sourceRootCopyFilter. (Note that ajc + itself copies all resources from input jar/zip files on + the inpath.) Requires destDir or + outJar. + @@ -760,12 +782,12 @@ - Reads all the sources from two directories; + Reads all the source files from two directories; - Reads extrinsic module bytecode as input jar for weaving; - + Reads binary .class files from input jar and directory; + Uses a binary aspect library for persistence; @@ -776,8 +798,8 @@ - Copies resources from the input jar and source directories into the application jar. - + Copies resources from the source directories and binary input + jar and directories to the application jar. @@ -792,14 +814,17 @@ + + + + diff --git a/docs/test/antScriptTest/build.xml b/docs/test/antScriptTest/build.xml index 2a7b00d82..7f875625c 100644 --- a/docs/test/antScriptTest/build.xml +++ b/docs/test/antScriptTest/build.xml @@ -61,6 +61,8 @@ + + + - + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/test/antScriptTest/build/binary-input/ignore.txt b/docs/test/antScriptTest/build/binary-input/ignore.txt new file mode 100644 index 000000000..c7d48fbb5 --- /dev/null +++ b/docs/test/antScriptTest/build/binary-input/ignore.txt @@ -0,0 +1 @@ +ignore - just to avoid CVS trimming empty directories. diff --git a/docs/test/antScriptTest/ec/inpathDirSrc/InpathFile.java b/docs/test/antScriptTest/ec/inpathDirSrc/InpathFile.java new file mode 100644 index 000000000..729709fea --- /dev/null +++ b/docs/test/antScriptTest/ec/inpathDirSrc/InpathFile.java @@ -0,0 +1,2 @@ + +public class InpathFile {} \ No newline at end of file -- 2.39.5