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 @@
jar
's M
switch?
+ I don't want a MANIFEST.
<?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 @@
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
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.
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.
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