ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gin...@apache.org
Subject [1/4] ant git commit: Chop off redundant blockquotes
Date Fri, 09 Feb 2018 05:54:11 GMT
Repository: ant
Updated Branches:
  refs/heads/master 63dc4df7b -> 7eeb33d5e


http://git-wip-us.apache.org/repos/asf/ant/blob/7eeb33d5/manual/using.html
----------------------------------------------------------------------
diff --git a/manual/using.html b/manual/using.html
index 898488a..c1b3300 100644
--- a/manual/using.html
+++ b/manual/using.html
@@ -99,9 +99,9 @@ executed if the dependent target(s) did not (need to) run.
 of an attribute might contain references to a property. These references will be
 resolved before the task is executed.</p>
 <p>Tasks have a common structure:</p>
-<blockquote>
-  <pre>&lt;<i>name</i> <i>attribute1</i>=&quot;<i>value1</i>&quot;
<i>attribute2</i>=&quot;<i>value2</i>&quot; ... /&gt;</pre>
-</blockquote>
+
+<pre>&lt;<i>name</i> <i>attribute1</i>=&quot;<i>value1</i>&quot;
<i>attribute2</i>=&quot;<i>value2</i>&quot; ... /&gt;</pre>
+
 <p>where <i>name</i> is the name of the task,
 <i>attributeN</i> is the attribute name, and
 <i>valueN</i> is the value for this attribute.</p>
@@ -111,21 +111,21 @@ easy to <a href="develop.html#writingowntask">write your own</a>.</p>
 this attribute will be used in the logging messages generated by
 Ant.</p>
 Tasks can be assigned an <code>id</code> attribute:
-<blockquote>
+
 <pre>&lt;<i>taskname</i> id="<i>taskID</i>" ... /&gt;</pre>
-</blockquote>
+
 where <i>taskname</i> is the name of the task, and <i>taskID</i>
is
 a unique identifier for this task.
 You can refer to the
 corresponding task object in scripts or other tasks via this name.
 For example, in scripts you could do:
-<blockquote>
+
 <pre>
 &lt;script ... &gt;
   task1.setFoo("bar");
 &lt;/script&gt;
 </pre>
-</blockquote>
+
 to set the <code>foo</code> attribute of this particular task instance.
 In another task (written in Java), you can access the instance via
 <code>project.getReference("task1")</code>.
@@ -356,18 +356,15 @@ via nested <code>&lt;path&gt;</code> elements:</p>
     &lt;/path&gt;
 </pre>
 can be written as:
-<pre>
-    &lt;path id=&quot;base.path&quot; path=&quot;${classpath}&quot;/&gt;
-</pre>
-
-  <h4 id="pathshortcut">Path Shortcut</h4>
-  <p>
+<pre>&lt;path id=&quot;base.path&quot; path=&quot;${classpath}&quot;/&gt;</pre>
+<h4 id="pathshortcut">Path Shortcut</h4>
+<p>
     In Ant 1.6 a shortcut for converting paths to OS specific strings
     in properties has been added. One can use the expression
     ${toString:<em>pathreference</em>} to convert a path element
     reference to a string that can be used for a path argument.
     For example:
-  </p>
+</p>
 <pre>
   &lt;path id="lib.path.ref"&gt;
     &lt;fileset dir="lib" includes="*.jar"/&gt;
@@ -438,18 +435,18 @@ similar to what a (Unix) shell would do, but may create something that
 is very different from what you expect under some circumstances.</p>
 
 <h4>Examples</h4>
-<blockquote><pre>
+<pre>
   &lt;arg value=&quot;-l -a&quot;/&gt;
-</pre></blockquote>
+</pre>
 <p>is a single command-line argument containing a space character,
 <i>not</i> separate commands "-l" and "-a".</p>
-<blockquote><pre>
+<pre>
   &lt;arg line=&quot;-l -a&quot;/&gt;
-</pre></blockquote>
+</pre>
 <p>This is a command line with two separate arguments, "-l" and "-a".</p>
-<blockquote><pre>
+<pre>
   &lt;arg path=&quot;/dir;/dir2:\dir3&quot;/&gt;
-</pre></blockquote>
+</pre>
 <p>is a single command-line argument with the value
 <code>\dir;\dir2;\dir3</code> on DOS-based systems and
 <code>/dir:/dir2:/dir3</code> on Unix-like systems.</p>
@@ -463,7 +460,7 @@ element of the same type.  This can be useful if you are going to
 replicate the same snippet of XML over and over again--using a
 <code>&lt;classpath&gt;</code> structure more than once, for example.</p>
 <p>The following example:</p>
-<blockquote><pre>
+<pre>
 &lt;project ... &gt;
   &lt;target ... &gt;
     &lt;rmic ...&gt;
@@ -485,9 +482,9 @@ replicate the same snippet of XML over and over again--using a
     &lt;/javac&gt;
   &lt;/target&gt;
 &lt;/project&gt;
-</pre></blockquote>
+</pre>
 <p>could be rewritten as:</p>
-<blockquote><pre>
+<pre>
 &lt;project ... &gt;
   &lt;path id=&quot;project.class.path&quot;&gt;
     &lt;pathelement location=&quot;lib/&quot;/&gt;
@@ -507,7 +504,7 @@ replicate the same snippet of XML over and over again--using a
     &lt;/javac&gt;
   &lt;/target&gt;
 &lt;/project&gt;
-</pre></blockquote>
+</pre>
 <p>All tasks that use nested elements for
 <a href="Types/patternset.html">PatternSet</a>s,
 <a href="Types/fileset.html">FileSet</a>s,


Mime
View raw message