From 753a6c60f47f3ac4f270005b65e9d6481de8eb68 Mon Sep 17 00:00:00 2001 From: Ashlee Young Date: Fri, 23 Oct 2015 10:00:02 -0700 Subject: Adding maven and ant source trees Change-Id: I0a39b9add833a31b9c3f98d193983ae2f3a5a445 Signed-off-by: Ashlee Young --- .../ant/apache-ant-1.9.6/manual/Tasks/dirname.html | 74 ++++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 framework/src/ant/apache-ant-1.9.6/manual/Tasks/dirname.html (limited to 'framework/src/ant/apache-ant-1.9.6/manual/Tasks/dirname.html') diff --git a/framework/src/ant/apache-ant-1.9.6/manual/Tasks/dirname.html b/framework/src/ant/apache-ant-1.9.6/manual/Tasks/dirname.html new file mode 100644 index 00000000..03227b46 --- /dev/null +++ b/framework/src/ant/apache-ant-1.9.6/manual/Tasks/dirname.html @@ -0,0 +1,74 @@ + + + + + + +Dirname Task + + + + +

Dirname

+

Description

+

+Task to determine the directory path of a specified file. +

+

+When this task executes, it will set the specified property to the +value of the specified file (or directory) up to, but not including, +the last path element. If the specified file is a path that ends in a +filename, the filename will be dropped. If the specified file is just +a filename, the directory will be the current directory. +

+

+ Note: This is not the same as the UNIX dirname command, which is + defined as "strip non-directory suffix from filename". <dirname> + determines the full directory path of the specified file. +

+

Parameters

+ + + + + + + + + + + + + + + + +
AttributeDescriptionRequired
fileThe path to take the dirname of.Yes
propertyThe name of the property to set.Yes
+ +

Examples

+
  <dirname property="antfile.dir" file="${ant.file}"/>
+will set antfile.dir to the directory path for +${ant.file}. +
  <dirname property="foo.dirname" file="foo.txt"/>
+will set foo.dirname to the project's basedir.

+ + + + + + -- cgit