Browse Source

Minor clean-up (and verifying I can commit from my home machine <yay!>).

PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268970 13f79535-47bb-0310-9956-ffa450edef68
master
Diane Holt 24 years ago
parent
commit
fa525259c0
1 changed files with 11 additions and 11 deletions
  1. +11
    -11
      webpage/xdocs/faq.xml

+ 11
- 11
webpage/xdocs/faq.xml View File

@@ -11,22 +11,22 @@
<question>I get checksum errors when I try to extract the
<code>tar.gz</code> distribution file. Why?</question>
<answer>
<p>Ant&apos;distibution contains file names which are longer
<p>Ant&apos;s distibution contains file names that are longer
than 100 characters, which is not supported by the standard
tar file format. Several different implementations of tar use
tar file format. Several different implementations of tar use
different and incompatible ways to work around this
restriction.</p>

<p>Ant&apos; &lt;tar&gt; task can create tar archives that use
<p>Ant&apos;s &lt;tar&gt; task can create tar archives that use
the GNU tar extension, and this has been used when putting
together the distribution. If you are using a different
version of tar (for example the one shipping with Solaris),
together the distribution. If you are using a different
version of tar (for example, the one shipping with Solaris),
you cannot use it to extract the archive.</p>

<p>The solution is to either install GNU tar, which can be
found <a href="http://www.gnu.org/software/tar/tar.html">here</a>
or use the zip archive instead (you can extract it using
<code>jar cf</code>).</p>
<code>jar xf</code>).</p>
</answer>
</faq>
</faqsection>
@@ -35,7 +35,7 @@
<faq id="xml-entity-include">
<question>How do I include an XML snippet in my build file?</question>
<answer>
<p>You can use XML's way of including external files and let
<p>You can use XML&apos;s way of including external files and let
the parser do the job for Ant:</p>

<source><![CDATA[
@@ -58,10 +58,10 @@
</project>
]]></source>

<p>will literally include the contents of common.xml where
you've placed the &amp;common; entity.</p>
<p>will literally include the contents of <code>common.xml</code> where
you&apos;ve placed the <code>&amp;common;</code> entity.</p>

<p>In combination with a DTD this would look like this:</p>
<p>In combination with a DTD, this would look like this:</p>

<source><![CDATA[
<!DOCTYPE project PUBLIC "-//ANT//DTD project//EN" "file:./ant.dtd" [
@@ -71,4 +71,4 @@
</answer>
</faq>
</faqsection>
</document>
</document>

Loading…
Cancel
Save