diff --git a/LICENSE b/LICENSE index ccaa0989f..f820d4bd3 100644 --- a/LICENSE +++ b/LICENSE @@ -187,7 +187,7 @@ * same "printed page" as the copyright notice for easier * identification within third-party archives. * - * Copyright [yyyy] Apache Software Foundation + * Copyright [yyyy] [name of copyright owner] * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/docs/LICENSE b/docs/LICENSE index ccaa0989f..f820d4bd3 100644 --- a/docs/LICENSE +++ b/docs/LICENSE @@ -187,7 +187,7 @@ * same "printed page" as the copyright notice for easier * identification within third-party archives. * - * Copyright [yyyy] Apache Software Foundation + * Copyright [yyyy] [name of copyright owner] * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proposal/xdocs/build.xml b/proposal/xdocs/build.xml index c39278ffa..5be8df790 100644 --- a/proposal/xdocs/build.xml +++ b/proposal/xdocs/build.xml @@ -408,7 +408,10 @@ - + + + + diff --git a/proposal/xdocs/dvsl/build.xml b/proposal/xdocs/dvsl/build.xml index 00e947c16..939884cad 100644 --- a/proposal/xdocs/dvsl/build.xml +++ b/proposal/xdocs/dvsl/build.xml @@ -36,7 +36,7 @@ + includes="property/property.xml"> diff --git a/proposal/xdocs/dvsl/lib/velocity-dvsl-0.42.jar b/proposal/xdocs/dvsl/lib/velocity-dvsl-0.42.jar index 2fcc8af7b..5662ec4da 100644 Binary files a/proposal/xdocs/dvsl/lib/velocity-dvsl-0.42.jar and b/proposal/xdocs/dvsl/lib/velocity-dvsl-0.42.jar differ diff --git a/proposal/xdocs/dvsl/task.dvsl b/proposal/xdocs/dvsl/task.dvsl index 6176331e4..782232ec7 100644 --- a/proposal/xdocs/dvsl/task.dvsl +++ b/proposal/xdocs/dvsl/task.dvsl @@ -463,6 +463,7 @@ $word.substring(0,1).toUpperCase()$word.substring(1)
$toolbox.htmlescape.getText( $node.value() )
+#* *#$context.applyTemplates("*") @@ -482,7 +483,14 @@ $word.substring(0,1).toUpperCase()$word.substring(1) #end - +#match("ant:*") +<$node.name() +#foreach ( $item in $node.getAttributes() ) + $item.=$qq$node.getAttributeValue($item)$qq +#end +> +<$node.name()/> +#end #match("table") diff --git a/proposal/xdocs/src/org/apache/tools/ant/taskdefs/Property.xml b/proposal/xdocs/src/org/apache/tools/ant/taskdefs/Property.xml index 29e2f2dca..a64fa6e9a 100644 --- a/proposal/xdocs/src/org/apache/tools/ant/taskdefs/Property.xml +++ b/proposal/xdocs/src/org/apache/tools/ant/taskdefs/Property.xml @@ -1,5 +1,5 @@ - +

Sets a property (by name and value), or set of properties (from file or resource) in the project.

@@ -26,23 +26,23 @@
- - ]]> + + +

sets the property foo.dist to the value "dist".

- - ]]> + + +

reads a set of properties from a file called "foo.properties".

- - ]]> + + +

reads a set of properties from a resource called "foo.properties".

Note that you can reference a global properties file for all of your Ant builds using the following:

- - ]]> + + +

since the "user.home" property is defined by the Java virtual machine to be your home directory. Where the "user.home" property resolves to in the file system depends on the operating system version and the JVM implementation. @@ -51,11 +51,11 @@ variants, this will most likely resolve to the user's directory in the "Doc and Settings" folder. Older windows variants such as Windows 98/ME are less predictable, as are other operating system/JVM combinations.

- - - -]]> + + + + +

reads the system environment variables and stores them in properties, prefixed with "env". Note that this only works on select operating systems. Two of the values are shown being echoed. diff --git a/proposal/xdocs/src/org/apache/tools/ant/taskdefs/SubAnt.xml b/proposal/xdocs/src/org/apache/tools/ant/taskdefs/SubAnt.xml index 6a268f0af..b79f89a2a 100644 --- a/proposal/xdocs/src/org/apache/tools/ant/taskdefs/SubAnt.xml +++ b/proposal/xdocs/src/org/apache/tools/ant/taskdefs/SubAnt.xml @@ -26,7 +26,10 @@

-
+                 m4 foo.m4 > foo
+]]>
+
         <project name="subant" default="subant1">
         <property name="build.dir" value="subant.build"/>
         <target name="subant1">
diff --git a/xdocs/stylesheets/site.vsl b/xdocs/stylesheets/site.vsl
index fb82f25ea..d4bce057e 100644
--- a/xdocs/stylesheets/site.vsl
+++ b/xdocs/stylesheets/site.vsl
@@ -1,5 +1,5 @@
 #* 
- * Copyright  2003-2004 Apache Software Foundation
+ * Copyright  2003-2004 The Apache Software Foundation
  *
  *  Licensed under the Apache License, Version 2.0 (the "License");
  *  you may not use this file except in compliance with the License.
diff --git a/xdocs/stylesheets/templates.vm b/xdocs/stylesheets/templates.vm
index 66a522d74..c9c3955ff 100644
--- a/xdocs/stylesheets/templates.vm
+++ b/xdocs/stylesheets/templates.vm
@@ -1,5 +1,5 @@
 #* 
- * Copyright  2000-2004 Apache Software Foundation
+ * Copyright  2000-2004 The Apache Software Foundation
  *
  *  Licensed under the Apache License, Version 2.0 (the "License");
  *  you may not use this file except in compliance with the License.