diff --git a/docs/index.html b/docs/index.html index d0524dffd..32d1e8271 100644 --- a/docs/index.html +++ b/docs/index.html @@ -407,8 +407,8 @@ This is resolved as "build/classes".

<target name="clean"> <!-- Delete the ${build} and ${dist} directory trees --> - <deltree dir="${build}" /> - <deltree dir="${dist}" /> + <delete dir="${build}" /> + <delete dir="${dist}" /> </target> </project> @@ -690,19 +690,24 @@ is appended. E.g. "mypackage/test/" is interpreted as were it "my

When these patterns are used in inclusion and exclusion, you have a powerful way to select just the files you want.

Examples

-
  <copydir src="${src}"
-           dest="${dist}"
-           includes="**/images/*"
-           excludes="**/*.gif" />
+
  
+<copy todir="${dist}" >
+  <fileset dir="${src}" 
+           includes="**/images/*" 
+           excludes="**/*.gif" 
+  />
+</copy>

This copies all files in directories called "images", that are located in the directory tree "${src}" to the destination "${dist}", but excludes all "*.gif" files from the copy.

This example can also be expressed using nested elements as -

  <copydir src="${src}"
-           dest="${dist}">
+
+<copy todir="${dist}" >
+  <fileset dir="${src}" />
     <include name="**/images/*"/>
     <exclude name="**/*.gif" />
-  </copydir>
+  </fileset>
+</copy>
 

Default Excludes

@@ -1898,7 +1903,9 @@ that perform file copying operations through the Project commodity methods.

Examples

  <filter token="year" value="2000" />
-  <copydir src="${src.dir}" dest="${dest.dir}"/>
+ <copy todir="${dest.dir}"> + <fileset dir="${src.dir}" /> + </copy>

will copy recursively all the files from the src.dir directory into the dest.dir directory replacing all the occurencies of the string @year@ with 2000.