From f4e6936fb947ac52a258ac6b3f59b9fd1bb901dc Mon Sep 17 00:00:00 2001
From: Steve Loughran
Date: Tue, 23 Aug 2005 14:46:53 +0000
Subject: [PATCH] documentation for makeurl. also fixed up errors in
tasksoverview.html
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278541 13f79535-47bb-0310-9956-ffa450edef68
---
docs/manual/CoreTasks/makeurl.html | 216 +++++++++++++++++++++++++++++
docs/manual/coretasklist.html | 1 +
docs/manual/tasksoverview.html | 80 ++++++-----
3 files changed, 260 insertions(+), 37 deletions(-)
create mode 100644 docs/manual/CoreTasks/makeurl.html
diff --git a/docs/manual/CoreTasks/makeurl.html b/docs/manual/CoreTasks/makeurl.html
new file mode 100644
index 000000000..22da3ebad
--- /dev/null
+++ b/docs/manual/CoreTasks/makeurl.html
@@ -0,0 +1,216 @@
+
+
+
+
+ Makeurl
+ Task
+
+
+
+
+
+
+
+
+
+
+
+ Makeurl
+ Task
+ This task takes one or more filenames and turns them into URLs, which it then assigns to a property.
+ |
+
+
+
+
+
+ |
+
+ |
+
+
+
+
+
+
+
+
+
+ |
+
+
+
+
+ Description
+ |
+
+
+ This task takes one or more filenames and turns them into URLs, which it then assigns to a property. Useful when setting up RMI codebases. Nested filesets are supported; if present, these are turned into the url with the given separator between them (default = " "). Example <makeurl file="${user.home}/.m2/repository" property="m2.repository.url" /> Sets the property m2.repository.url to the file: URL of the local Maven2 repository. <makeurl property="codebase"> <fileset dir="lib includes="*.jar"/> </makeurl> Set the property codebase to the three URLs of the files provided as nested elements.
+ |
+
+
+
+
+
+
+
+
+
+
+ |
+
+
+
+ Parameters
+ |
+
+
+
+
+ Attribute
+ |
+
+ Description
+ |
+
+ Type
+ |
+
+ Requirement
+ |
+
+
+
+
+
+
+
+ file
+ |
+
+ the name of a file to be converted into a URL
+ |
+
+ File
+ |
+
+ Optional
+ |
+
+
+
+
+ property
+ |
+
+ set the name of a property to fill with the URL
+ |
+
+ String
+ |
+
+
+
+
+ separator
+ |
+
+ set the separator for the multi-url option.
+ |
+
+ String
+ |
+
+
+
+
+ validate
+ |
+
+ set this flag to trigger validation that every named file exists. Optional: default=true
+ |
+
+ boolean
+ |
+
+
+
+
+ |
+
+
+
+
+
+
+ |
+
+
+
+
+ Parameters as nested elements
+ |
+
+
+
+
+ |
+
+
+ fileset (org.apache.tools.ant.types.FileSet)
+ |
+
+ a fileset of jar files to include in the URL, each separated by the separator
+
+
+
+ |
+
+
+
+
+ |
+
+
+ path (org.apache.tools.ant.types.Path)
+ |
+
+ add a path to the URL. All elements in the path will be converted to individual URL entries
+
+
+
+ |
+
+
+
+ |
+
+
+
+
+
+ |
+
+
+
+
+
+
+
+ |
+
+
+
+
+
+
+ Copyright © 2000-2005, Apache Software Foundation
+
+ |
+
+
+
+
+
+
diff --git a/docs/manual/coretasklist.html b/docs/manual/coretasklist.html
index e00bf34a2..56f703146 100644
--- a/docs/manual/coretasklist.html
+++ b/docs/manual/coretasklist.html
@@ -65,6 +65,7 @@
Libraries
LoadFile
LoadProperties
+MakeURL
Mail
MacroDef
Manifest
diff --git a/docs/manual/tasksoverview.html b/docs/manual/tasksoverview.html
index a8c9d69fe..b52d8ed22 100644
--- a/docs/manual/tasksoverview.html
+++ b/docs/manual/tasksoverview.html
@@ -39,8 +39,9 @@ documentation.