Browse Source

Correct stray </p> caused by internal lists

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273855 13f79535-47bb-0310-9956-ffa450edef68
master
Conor MacNeill 22 years ago
parent
commit
5ec0c8438c
2 changed files with 66 additions and 41 deletions
  1. +65
    -37
      proposal/ant-site/anakia/docs/faq.html
  2. +1
    -4
      proposal/ant-site/anakia/xdocs/stylesheets/site.vsl

+ 65
- 37
proposal/ant-site/anakia/docs/faq.html View File

@@ -206,7 +206,6 @@
</font>
</td></tr>
</table>
<p>
<table border="0" cellspacing="0" cellpadding="2" width="100%">
<tr><td bgcolor="#4C6C8F">
<font color="#ffffff" face="arial,helvetica,sanserif">
@@ -410,8 +409,7 @@
path.
</a></li>
</ul>
</p>

<table border="0" cellspacing="0" cellpadding="2" width="100%">
<tr><td bgcolor="#294563">
<font color="#ffffff" face="arial,helvetica,sanserif">
@@ -419,7 +417,6 @@
</font>
</td></tr>
</table>
<p>
<a name="latest-version"></a>
<table border="0" cellspacing="0" cellpadding="2" width="100%">
<tr><td bgcolor="#4C6C8F">
@@ -433,7 +430,8 @@
</table>
<p>The latest version can always be found at Ant's homepage
<a href="http://jakarta.apache.org/ant/faq.html">http://jakarta.apache.org/ant/faq.html</a>.</p>
<a name="adding-faqs"></a>
<br>
<a name="adding-faqs"></a>
<table border="0" cellspacing="0" cellpadding="2" width="100%">
<tr><td bgcolor="#4C6C8F">
<font color="#ffffff" face="arial,helvetica,sanserif">
@@ -451,7 +449,8 @@
<p>If you don't know how to create a patch, see the patches
section of <a href="http://jakarta.apache.org/site/source.html">this
page</a>.</p>
<a name="creating-faq"></a>
<br>
<a name="creating-faq"></a>
<table border="0" cellspacing="0" cellpadding="2" width="100%">
<tr><td bgcolor="#4C6C8F">
<font color="#ffffff" face="arial,helvetica,sanserif">
@@ -473,7 +472,8 @@
well, but if you follow the instruction from Anakia's
homepage, you should get it to work without that. Just make
sure all required jars are in the task's classpath.</p>
<a name="what-is-ant"></a>
<br>
<a name="what-is-ant"></a>
<table border="0" cellspacing="0" cellpadding="2" width="100%">
<tr><td bgcolor="#4C6C8F">
<font color="#ffffff" face="arial,helvetica,sanserif">
@@ -486,7 +486,8 @@
<p> Ant is a Java-based build tool. In theory, it is kind of
like Make, without Make's wrinkles and with the full
portability of pure Java code.</p>
<a name="ant-name"></a>
<br>
<a name="ant-name"></a>
<table border="0" cellspacing="0" cellpadding="2" width="100%">
<tr><td bgcolor="#4C6C8F">
<font color="#ffffff" face="arial,helvetica,sanserif">
@@ -504,7 +505,8 @@
"ants are very small and can carry a weight dozens of times
their own" - describing what Ant is intended to
be.</p>
<a name="history"></a>
<br>
<a name="history"></a>
<table border="0" cellspacing="0" cellpadding="2" width="100%">
<tr><td bgcolor="#4C6C8F">
<font color="#ffffff" face="arial,helvetica,sanserif">
@@ -616,7 +618,8 @@
</td>
</tr>
</table>
<a name="no-gnu-tar"></a>
<br>
<a name="no-gnu-tar"></a>
<table border="0" cellspacing="0" cellpadding="2" width="100%">
<tr><td bgcolor="#4C6C8F">
<font color="#ffffff" face="arial,helvetica,sanserif">
@@ -641,7 +644,8 @@
found <a href="http://www.gnu.org/software/tar/tar.html">here</a>,
or use the zip archive instead (you can extract it using
<code>jar xf</code>).</p>
<a name="adding-external-tasks"></a>
<br>
<a name="adding-external-tasks"></a>
<table border="0" cellspacing="0" cellpadding="2" width="100%">
<tr><td bgcolor="#4C6C8F">
<font color="#ffffff" face="arial,helvetica,sanserif">
@@ -672,7 +676,8 @@
</ul>
<p>The preferred format for this information is a patch to <a href="http://cvs.apache.org/viewcvs.cgi/~checkout~/jakarta-ant/xdocs/external.xml">this</a>
document.</p>
<a name="passing-cli-args"></a>
<br>
<a name="passing-cli-args"></a>
<table border="0" cellspacing="0" cellpadding="2" width="100%">
<tr><td bgcolor="#4C6C8F">
<font color="#ffffff" face="arial,helvetica,sanserif">
@@ -689,7 +694,8 @@
used within your build file as
any normal property: <code>${<em>name</em>}</code> will put in
<code><em>value</em></code>.</p>
<a name="jikes-switches"></a>
<br>
<a name="jikes-switches"></a>
<table border="0" cellspacing="0" cellpadding="2" width="100%">
<tr><td bgcolor="#4C6C8F">
<font color="#ffffff" face="arial,helvetica,sanserif">
@@ -780,7 +786,8 @@
<p>With Ant &gt;= 1.5, you can also use nested
<code>&lt;compilerarg&gt;</code> elements with the
<code>&lt;javac&gt;</code> task.</p>
<a name="shell-redirect-1"></a>
<br>
<a name="shell-redirect-1"></a>
<table border="0" cellspacing="0" cellpadding="2" width="100%">
<tr><td bgcolor="#4C6C8F">
<font color="#ffffff" face="arial,helvetica,sanserif">
@@ -794,7 +801,8 @@
<p>The long answer is that this probably won't do what you
want anyway (see <a href="#shell-redirect-2">the next
section</a>).</p>
<a name="shell-redirect-2"></a>
<br>
<a name="shell-redirect-2"></a>
<table border="0" cellspacing="0" cellpadding="2" width="100%">
<tr><td bgcolor="#4C6C8F">
<font color="#ffffff" face="arial,helvetica,sanserif">
@@ -837,7 +845,8 @@ shell-prompt&gt; cat &lt; foo
&lt;/exec&gt;
</pre>
<p>Note the double-quotes nested inside the single-quotes.</p>
<a name="batch-shell-execute"></a>
<br>
<a name="batch-shell-execute"></a>
<table border="0" cellspacing="0" cellpadding="2" width="100%">
<tr><td bgcolor="#4C6C8F">
<font color="#ffffff" face="arial,helvetica,sanserif">
@@ -862,7 +871,8 @@ shell-prompt&gt; cat &lt; foo
&lt;arg line=&quot;/c test.bat&quot;/&gt;
&lt;/exec&gt;
</pre>
<a name="multi-conditions"></a>
<br>
<a name="multi-conditions"></a>
<table border="0" cellspacing="0" cellpadding="2" width="100%">
<tr><td bgcolor="#4C6C8F">
<font color="#ffffff" face="arial,helvetica,sanserif">
@@ -973,7 +983,8 @@ shell-prompt&gt; cat &lt; foo
<a href="manual/OptionalTasks/script.html">
<code>&lt;script&gt;</code> task documentation</a> for more
details.</p>
<a name="encoding"></a>
<br>
<a name="encoding"></a>
<table border="0" cellspacing="0" cellpadding="2" width="100%">
<tr><td bgcolor="#4C6C8F">
<font color="#ffffff" face="arial,helvetica,sanserif">
@@ -995,7 +1006,8 @@ shell-prompt&gt; cat &lt; foo
<pre class="code">
&lt;?xml version=&quot;1.0&quot; encoding=&quot;ISO-8859-1&quot; ?&gt;
</pre>
<a name="always-recompiles"></a>
<br>
<a name="always-recompiles"></a>
<table border="0" cellspacing="0" cellpadding="2" width="100%">
<tr><td bgcolor="#4C6C8F">
<font color="#ffffff" face="arial,helvetica,sanserif">
@@ -1029,7 +1041,8 @@ shell-prompt&gt; cat &lt; foo
the actual directory the source
files live in and the directory the class files should go into,
respectively.</p>
<a name="defaultexcludes"></a>
<br>
<a name="defaultexcludes"></a>
<table border="0" cellspacing="0" cellpadding="2" width="100%">
<tr><td bgcolor="#4C6C8F">
<font color="#ffffff" face="arial,helvetica,sanserif">
@@ -1062,7 +1075,8 @@ shell-prompt&gt; cat &lt; foo
<p>For a complete listing of the patterns that are excluded
by default, see <a href="manual/dirtasks.html#defaultexcludes">the user
manual</a>.</p>
<a name="stop-dependency"></a>
<br>
<a name="stop-dependency"></a>
<table border="0" cellspacing="0" cellpadding="2" width="100%">
<tr><td bgcolor="#4C6C8F">
<font color="#ffffff" face="arial,helvetica,sanserif">
@@ -1092,7 +1106,8 @@ shell-prompt&gt; cat &lt; foo
instead of specifying them inside the <code>depends</code>
attribute.</li>
</ol>
<a name="include-order"></a>
<br>
<a name="include-order"></a>
<table border="0" cellspacing="0" cellpadding="2" width="100%">
<tr><td bgcolor="#4C6C8F">
<font color="#ffffff" face="arial,helvetica,sanserif">
@@ -1119,7 +1134,8 @@ shell-prompt&gt; cat &lt; foo
to get them. If you find you need to trim the list that the
<code>&lt;include&gt;</code> elements produce, then use
<code>&lt;exclude&gt;</code> elements.</p>
<a name="properties-not-trimmed"></a>
<br>
<a name="properties-not-trimmed"></a>
<table border="0" cellspacing="0" cellpadding="2" width="100%">
<tr><td bgcolor="#4C6C8F">
<font color="#ffffff" face="arial,helvetica,sanserif">
@@ -1139,7 +1155,8 @@ shell-prompt&gt; cat &lt; foo
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>
<a name="winzip-lies"></a>
<br>
<a name="winzip-lies"></a>
<table border="0" cellspacing="0" cellpadding="2" width="100%">
<tr><td bgcolor="#4C6C8F">
<font color="#ffffff" face="arial,helvetica,sanserif">
@@ -1159,7 +1176,8 @@ shell-prompt&gt; cat &lt; foo
all lower-case for you.</p>
<p>If you extract (or just check) the archive with jar, you
will see that the names have the correct case.</p>
<a name="integration"></a>
<br>
<a name="integration"></a>
<table border="0" cellspacing="0" cellpadding="2" width="100%">
<tr><td bgcolor="#4C6C8F">
<font color="#ffffff" face="arial,helvetica,sanserif">
@@ -1171,7 +1189,8 @@ shell-prompt&gt; cat &lt; foo
</table>
<p>See the <a href="external.html#IDE and Editor Integration">section
on IDE integration</a> on our External Tools and Tasks page.</p>
<a name="emacs-mode"></a>
<br>
<a name="emacs-mode"></a>
<table border="0" cellspacing="0" cellpadding="2" width="100%">
<tr><td bgcolor="#4C6C8F">
<font color="#ffffff" face="arial,helvetica,sanserif">
@@ -1234,7 +1253,8 @@ while(&lt;STDIN&gt;) {
print;
};
</pre>
<a name="dtd"></a>
<br>
<a name="dtd"></a>
<table border="0" cellspacing="0" cellpadding="2" width="100%">
<tr><td bgcolor="#4C6C8F">
<font color="#ffffff" face="arial,helvetica,sanserif">
@@ -1269,7 +1289,8 @@ while(&lt;STDIN&gt;) {
lists. This problem cannot be solved; DTDs don't give a
syntax rich enough to support this.</li>
</ul>
<a name="xml-entity-include"></a>
<br>
<a name="xml-entity-include"></a>
<table border="0" cellspacing="0" cellpadding="2" width="100%">
<tr><td bgcolor="#4C6C8F">
<font color="#ffffff" face="arial,helvetica,sanserif">
@@ -1308,7 +1329,8 @@ while(&lt;STDIN&gt;) {
&lt;!ENTITY include SYSTEM &quot;file:./header.xml&quot;&gt;
]&gt;
</pre>
<a name="mail-logger"></a>
<br>
<a name="mail-logger"></a>
<table border="0" cellspacing="0" cellpadding="2" width="100%">
<tr><td bgcolor="#4C6C8F">
<font color="#ffffff" face="arial,helvetica,sanserif">
@@ -1472,7 +1494,8 @@ ant -listener BuildMonitor -logfile build.log
<code>activation.jar</code> from the
<a href="http://java.sun.com/products/javabeans/glasgow/jaf.html">Java
Beans Activation Framework</a> are in your <code>CLASSPATH</code>.</p>
<a name="listener-properties"></a>
<br>
<a name="listener-properties"></a>
<table border="0" cellspacing="0" cellpadding="2" width="100%">
<tr><td bgcolor="#4C6C8F">
<font color="#ffffff" face="arial,helvetica,sanserif">
@@ -1496,7 +1519,8 @@ public void buildFinished(BuildEvent e) {
<p>This is more accurate than just reading the same property
files that your project does, since it will give the correct
results for properties that were specified on the Ant command line.</p>
<a name="remove-cr"></a>
<br>
<a name="remove-cr"></a>
<table border="0" cellspacing="0" cellpadding="2" width="100%">
<tr><td bgcolor="#4C6C8F">
<font color="#ffffff" face="arial,helvetica,sanserif">
@@ -1516,7 +1540,8 @@ public void buildFinished(BuildEvent e) {
tr -d '\r' &lt; $ANT_HOME/bin/antRun &gt; /tmp/foo
mv /tmp/foo $ANT_HOME/bin/antRun
</pre>
<a name="javadoc-cannot-execute"></a>
<br>
<a name="javadoc-cannot-execute"></a>
<table border="0" cellspacing="0" cellpadding="2" width="100%">
<tr><td bgcolor="#4C6C8F">
<font color="#ffffff" face="arial,helvetica,sanserif">
@@ -1530,7 +1555,8 @@ mv /tmp/foo $ANT_HOME/bin/antRun
the JDK (see <a href="http://developer.java.sun.com/developer/bugParade/bugs/4230399.html">http://developer.java.sun.com/developer/bugParade/bugs/4230399.html</a>).
This also appears to be true under Linux. Moving the JDK to
the front of the PATH fixes the problem.</p>
<a name="delegating-classloader"></a>
<br>
<a name="delegating-classloader"></a>
<table border="0" cellspacing="0" cellpadding="2" width="100%">
<tr><td bgcolor="#4C6C8F">
<font color="#ffffff" face="arial,helvetica,sanserif">
@@ -1632,7 +1658,8 @@ mv /tmp/foo $ANT_HOME/bin/antRun
for <code>&lt;junit&gt;</code>, you still have to use a
<code>&lt;taskdef&gt;</code> with a nested
<code>&lt;classpath&gt;</code> to define the junit task.</p>
<a name="winxp-jdk14-ant14"></a>
<br>
<a name="winxp-jdk14-ant14"></a>
<table border="0" cellspacing="0" cellpadding="2" width="100%">
<tr><td bgcolor="#4C6C8F">
<font color="#ffffff" face="arial,helvetica,sanserif">
@@ -1654,7 +1681,8 @@ mv /tmp/foo $ANT_HOME/bin/antRun
environment variable <code>ANT_OPTS</code> to
<code>-Dos.name=Windows_NT</code> prior to invoking Ant has
been confirmed as a workaround.</p>
<a name="1.5-cygwin-sh"></a>
<br>
<a name="1.5-cygwin-sh"></a>
<table border="0" cellspacing="0" cellpadding="2" width="100%">
<tr><td bgcolor="#4C6C8F">
<font color="#ffffff" face="arial,helvetica,sanserif">
@@ -1671,8 +1699,8 @@ mv /tmp/foo $ANT_HOME/bin/antRun
10664</a> and all it's duplicates.</p>
<p>A fixed version of the wrapper script can be found <a href="http://jakarta.apache.org/builds/jakarta-ant/release/v1.5/errata/">here</a>.
Simply replace your script with this version.</p>
</p>
<br>
</div>
</td><td width="10"><img width="10" height="1" alt="" src="images/spacer.gif"></td>
</tr>


+ 1
- 4
proposal/ant-site/anakia/xdocs/stylesheets/site.vsl View File

@@ -162,6 +162,7 @@
$xmlout.outputString($item)
#end
#end
<br>
#end

#macro (document)
@@ -187,11 +188,9 @@
</font>
</td></tr>
</table>
<p>
#foreach ( $faqSection in $allFaqSections )
#toc ($faqSection)
#end
</p>

<table border="0" cellspacing="0" cellpadding="2" width="100%">
<tr><td bgcolor="$blue3">
@@ -200,11 +199,9 @@
</font>
</td></tr>
</table>
<p>
#foreach ( $faqSection in $allFaqSections )
#answers ($faqSection)
#end
</p>
#end

#footer()


Loading…
Cancel
Save