From 2f556ad9ae5055970cb71673ea32dd1eed222fb8 Mon Sep 17 00:00:00 2001
From: Gintas Grigelionis
Date: Thu, 26 Apr 2018 23:41:16 +0200
Subject: [PATCH 1/2] Merge changes in master
---
manual/Tasks/property.html | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/manual/Tasks/property.html b/manual/Tasks/property.html
index e8e57bb21..4e42af10e 100644
--- a/manual/Tasks/property.html
+++ b/manual/Tasks/property.html
@@ -52,8 +52,8 @@ resource) in the project. Properties are case sensitive.
By setting the runtime attribute with a prefix to use.
Properties prefix.availableProcessors
,
prefix.freeMemory
, prefix.totalMemory
- and prefix.maxMemory
will be defined with values that
- correspond to the corresponding methods of
+ and prefix.maxMemory
will be defined with values
+ returned by the corresponding methods of
the Runtime
class.
@@ -106,7 +106,7 @@ to end with .xml.
resource |
the name of the classpath resource containing
properties settings in properties file format. |
- One of these, when
+ | One of these, when
not using the name attribute |
@@ -135,7 +135,7 @@ to end with .xml.
runtime |
- the prefix to use when retrieving Runtime properties. Thus
+ | the prefix to use when retrieving runtime properties. Thus
if you specify runtime="myrt" you will be able to access
runtime values corresponding to methods in
the Runtime
@@ -143,7 +143,7 @@ to end with .xml.
"myrt.maxMemory", "myrt.totalMemory" or
"myrt.freeMemory". Note that if you supply a property name with a final
"." it will not be doubled; i.e. runtime="myrt." will still
- allow access of prpperties through "myrt.maxMemory".
+ allow access of runtime properties as e.g. "myrt.maxMemory".
Note also that the property values are snapshots taken at the point in time
when the property has been executed.
Since Ant 1.9.12
From 021bcdd84d04bbeef5396b283ab6bd6e051465b7 Mon Sep 17 00:00:00 2001
From: Stefan Bodewig
Date: Fri, 27 Apr 2018 07:59:00 +0200
Subject: [PATCH 2/2] add rudimentary testcase for task
---
src/tests/antunit/taskdefs/optional/cab.xml | 46 +++++++++++++++++++++
1 file changed, 46 insertions(+)
create mode 100644 src/tests/antunit/taskdefs/optional/cab.xml
diff --git a/src/tests/antunit/taskdefs/optional/cab.xml b/src/tests/antunit/taskdefs/optional/cab.xml
new file mode 100644
index 000000000..49091074a
--- /dev/null
+++ b/src/tests/antunit/taskdefs/optional/cab.xml
@@ -0,0 +1,46 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
|