From 8b8ee0cc2f1449f51844e9c730f363ed37a0719c Mon Sep 17 00:00:00 2001 From: Stefan Bodewig Date: Mon, 23 Sep 2002 12:58:01 +0000 Subject: [PATCH] Add FAQ contributed by Henri Gomez git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273343 13f79535-47bb-0310-9956-ffa450edef68 --- docs/faq.html | 31 +++++++++++++++++++++++++++++++ xdocs/faq.xml | 19 +++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/docs/faq.html b/docs/faq.html index c30a32cb9..de92a9b21 100644 --- a/docs/faq.html +++ b/docs/faq.html @@ -225,6 +225,12 @@
  • How can I include national characters like German umlauts in my build file? +
  • +
  • + ant failed to build my program via javac + even when I put the needed jars in an external + build.properties file and reference them by + pathelement or classpath refid.
  • @@ -1329,6 +1335,31 @@ shell-prompt> cat < foo + + + + + +
    + + + ant failed to build my program via javac + even when I put the needed jars in an external + build.properties file and reference them by + pathelement or classpath refid. + + +
    +
    +

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

    +

    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.

    +
    +
    diff --git a/xdocs/faq.xml b/xdocs/faq.xml index ecce17c5c..1102eea04 100644 --- a/xdocs/faq.xml +++ b/xdocs/faq.xml @@ -594,6 +594,25 @@ shell-prompt> cat < foo ]]> + + + ant failed to build my program via javac + even when I put the needed jars in an external + build.properties file and reference them by + pathelement or classpath refid. + + + +

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

    + +

    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.

    +
    +