Browse Source

Add FAQ contributed by Henri Gomez <hgomez at apache.org>

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273343 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 22 years ago
parent
commit
8b8ee0cc2f
2 changed files with 50 additions and 0 deletions
  1. +31
    -0
      docs/faq.html
  2. +19
    -0
      xdocs/faq.xml

+ 31
- 0
docs/faq.html View File

@@ -225,6 +225,12 @@
<li><a href="#encoding">
How can I include national characters like German
umlauts in my build file?
</a></li>
<li><a href="#properties-not-trimmed">
<code>ant</code> failed to build my program via javac
even when I put the needed jars in an external
<code>build.properties</code> file and reference them by
<code>pathelement</code> or <code>classpath refid</code>.
</a></li>
</ul>
</blockquote>
@@ -1329,6 +1335,31 @@ shell-prompt&gt; cat &lt; foo
</blockquote>
</td></tr>
</table>
</a>
<a name="properties-not-trimmed">
<table border="0" cellspacing="0" cellpadding="2" width="100%">
<tr><td bgcolor="#828DA6">
<font color="#ffffff" face="arial,helvetica,sanserif">
<strong>
<code>ant</code> failed to build my program via javac
even when I put the needed jars in an external
<code>build.properties</code> file and reference them by
<code>pathelement</code> or <code>classpath refid</code>.
</strong>
</font>
</td></tr>
<tr><td>
<blockquote>
<p>When <code>ant</code> loads properties from an external
file it dosn't touch the value of properties, trailing blanks
will not be trimmed for example.</p>
<p>If the value represents a file path, like a jar needed to
compile, the task which requires the value, javac for example
would fail to compile since it can't find the file due to
trailing spaces.</p>
</blockquote>
</td></tr>
</table>
</a>
<a name="integration">
<table border="0" cellspacing="0" cellpadding="2" width="100%">


+ 19
- 0
xdocs/faq.xml View File

@@ -594,6 +594,25 @@ shell-prompt> cat < foo
]]></source>
</answer>
</faq>

<faq id="properties-not-trimmed">
<question><code>ant</code> failed to build my program via javac
even when I put the needed jars in an external
<code>build.properties</code> file and reference them by
<code>pathelement</code> or <code>classpath refid</code>.</question>

<answer>

<p>When <code>ant</code> loads properties from an external
file it dosn't touch the value of properties, trailing blanks
will not be trimmed for example.</p>

<p>If the value represents a file path, like a jar needed to
compile, the task which requires the value, javac for example
would fail to compile since it can't find the file due to
trailing spaces.</p>
</answer>
</faq>
</faqsection>

<faqsection title="Ant and IDEs/Editors">


Loading…
Cancel
Save