bodewig 2002/09/23 05:58:01
Modified: docs faq.html
xdocs faq.xml
Log:
Add FAQ contributed by Henri Gomez <hgomez at apache.org>
Revision Changes Path
1.38 +31 -0 jakarta-ant/docs/faq.html
Index: faq.html
===================================================================
RCS file: /home/cvs/jakarta-ant/docs/faq.html,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -r1.37 -r1.38
--- faq.html 23 Sep 2002 12:50:07 -0000 1.37
+++ faq.html 23 Sep 2002 12:58:01 -0000 1.38
@@ -226,6 +226,12 @@
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>
</td></tr>
@@ -1326,6 +1332,31 @@
</tr>
</table>
</div>
+ </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>
1.23 +19 -0 jakarta-ant/xdocs/faq.xml
Index: faq.xml
===================================================================
RCS file: /home/cvs/jakarta-ant/xdocs/faq.xml,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- faq.xml 23 Sep 2002 12:50:07 -0000 1.22
+++ faq.xml 23 Sep 2002 12:58:01 -0000 1.23
@@ -594,6 +594,25 @@
]]></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">
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>