diff --git a/docs/faq.html b/docs/faq.html index f8185e162..fdec1f9ef 100644 --- a/docs/faq.html +++ b/docs/faq.html @@ -238,6 +238,10 @@
  • How can I include national characters like German umlauts in my build file? +
  • +
  • + How do I use jar's M switch? + I don't want a MANIFEST.
  • It doesn't work (as expected)

    @@ -852,6 +856,19 @@ shell-prompt> m4 foo.m4 > foo
     <?xml version="1.0" encoding="ISO-8859-1" ?>
     
    +

    + + How do I use jar's M switch? + I don't want a MANIFEST. +

    +

    A JAR archive is a ZIP file, so if you don't want a + MANIFEST you can simply use <zip>.

    +

    If your filenames contain national characters you should + know that Sun's jar utility like Ant's + <jar> uses UFT8 to encode their names while + <zip> uses your platforms default encoding. + Use the encoding attribute of <zip> if + necessary.

    Why does Ant always recompile all my Java files? diff --git a/xdocs/faq.xml b/xdocs/faq.xml index 107447fa9..01e60a31f 100644 --- a/xdocs/faq.xml +++ b/xdocs/faq.xml @@ -199,7 +199,7 @@ - How do I add an external task that I've written to the + How do I add an external task that I've written to the page "External Tools and Task"? @@ -215,7 +215,7 @@

  • a URL: entry linking to the main page of the tool/task
  • a Contact: entry containing the email address or the URL of a webpage for the person or list to contact for issues - related to the tool/task. Note that we'll add a + related to the tool/task. Note that we'll add a link on the page, so any email address added there is not obfuscated and can (and probably will) be abused by robots harvesting websites for addresses to spam.
  • @@ -513,7 +513,7 @@ shell-prompt> m4 foo.m4 > foo declaration.

    By default the parser assumes you are using the UTF-8 - encoding instead of your platform's default. For most Western + encoding instead of your platform's default. For most Western European countries you should set the encoding to ISO-8859-1. To do so, make the very first line of you build file read like

    @@ -523,6 +523,23 @@ shell-prompt> m4 foo.m4 > foo ]]> + + + How do I use jar's M switch? + I don't want a MANIFEST. + + +

    A JAR archive is a ZIP file, so if you don't want a + MANIFEST you can simply use <zip>.

    + +

    If your filenames contain national characters you should + know that Sun's jar utility like Ant's + <jar> uses UFT8 to encode their names while + <zip> uses your platforms default encoding. + Use the encoding attribute of <zip> if + necessary.

    +
    +
    @@ -662,12 +679,12 @@ shell-prompt> m4 foo.m4 > foo

    When ant loads properties from an external - file it dosn't touch the value of properties, trailing blanks + 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 + would fail to compile since it can't find the file due to trailing spaces.

    @@ -678,7 +695,7 @@ shell-prompt> m4 foo.m4 > foo meta-inf directory. -

    No it doesn't.

    +

    No it doesn't.

    You may have seen these lower-case directory names in WinZIP, but WinZIP is trying to be helpful (and fails). If