From 3dd67df3bb59b1b7e49c3e9b38bee8c26581bdf0 Mon Sep 17 00:00:00 2001 From: Antoine Levy-Lambert Date: Mon, 9 Feb 2004 21:29:18 +0000 Subject: [PATCH] restoring files committed by mistake git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276067 13f79535-47bb-0310-9956-ffa450edef68 --- proposal/xdocs/build.xml | 5 +-- proposal/xdocs/dvsl/build.xml | 2 +- .../xdocs/dvsl/lib/velocity-dvsl-0.42.jar | Bin 49491 -> 49507 bytes proposal/xdocs/dvsl/task.dvsl | 10 +---- .../apache/tools/ant/taskdefs/Property.xml | 36 +++++++++--------- .../org/apache/tools/ant/taskdefs/SubAnt.xml | 5 +-- 6 files changed, 22 insertions(+), 36 deletions(-) diff --git a/proposal/xdocs/build.xml b/proposal/xdocs/build.xml index 5be8df790..c39278ffa 100644 --- a/proposal/xdocs/build.xml +++ b/proposal/xdocs/build.xml @@ -408,10 +408,7 @@ - - - - + diff --git a/proposal/xdocs/dvsl/build.xml b/proposal/xdocs/dvsl/build.xml index 939884cad..00e947c16 100644 --- a/proposal/xdocs/dvsl/build.xml +++ b/proposal/xdocs/dvsl/build.xml @@ -36,7 +36,7 @@ + includes="**/*.xml"> diff --git a/proposal/xdocs/dvsl/lib/velocity-dvsl-0.42.jar b/proposal/xdocs/dvsl/lib/velocity-dvsl-0.42.jar index 5662ec4da848851e3dbe5b0c54206cb6f732cb19..2fcc8af7bd30c8f66020d1cf5a3baf1ee01f2f42 100644 GIT binary patch delta 145 zcmccI#QeC4dBf2alMjhVP0nHBoUD6LV6xTr9v*fM&!wW~T?`BiUl=Aoj5XVQe}w=a z3nP;V!{iB!Vw)dq=jNFF;eg2G|N9l7`h+Im-LJtkY31aJOcImj57;w_uLm>lZRMPt kyN+XW=K(FIiQAw;!eRm5tZYEj8RUSll9Peq%61SB0P1NojsO4v delta 185 zcmaFd#C*AldBf2almEs_P3}1$y7~6X-@KyCEFugH3>*xFt0wAuE)_NJ0`k60-Y+6M z`TmNfER0Md43j4?if#U|ottBF!~v+9lX$N>SGKn!@F&$`wJ`jTdBZC5vd^=h3pyXuz1JWX_Y#>oNAgttMU^ucJ G!~+2Av^Tc^ diff --git a/proposal/xdocs/dvsl/task.dvsl b/proposal/xdocs/dvsl/task.dvsl index 782232ec7..6176331e4 100644 --- a/proposal/xdocs/dvsl/task.dvsl +++ b/proposal/xdocs/dvsl/task.dvsl @@ -463,7 +463,6 @@ $word.substring(0,1).toUpperCase()$word.substring(1)
$toolbox.htmlescape.getText( $node.value() )
-#* *#$context.applyTemplates("*") @@ -483,14 +482,7 @@ $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 a64fa6e9a..29e2f2dca 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 b79f89a2a..6a268f0af 100644 --- a/proposal/xdocs/src/org/apache/tools/ant/taskdefs/SubAnt.xml +++ b/proposal/xdocs/src/org/apache/tools/ant/taskdefs/SubAnt.xml @@ -26,10 +26,7 @@

- m4 foo.m4 > foo -]]> -
+        
         <project name="subant" default="subant1">
         <property name="build.dir" value="subant.build"/>
         <target name="subant1">