You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ivy-commits@incubator.apache.org by xa...@apache.org on 2007/03/08 16:48:54 UTC

svn commit: r516095 - /incubator/ivy/core/trunk/doc/doc/use/configure.html

Author: xavier
Date: Thu Mar  8 08:48:53 2007
New Revision: 516095

URL: http://svn.apache.org/viewvc?view=rev&rev=516095
Log:
FIX: examples on Ant configure page is invisible (IVY-426)

Modified:
    incubator/ivy/core/trunk/doc/doc/use/configure.html

Modified: incubator/ivy/core/trunk/doc/doc/use/configure.html
URL: http://svn.apache.org/viewvc/incubator/ivy/core/trunk/doc/doc/use/configure.html?view=diff&rev=516095&r1=516094&r2=516095
==============================================================================
--- incubator/ivy/core/trunk/doc/doc/use/configure.html (original)
+++ incubator/ivy/core/trunk/doc/doc/use/configure.html Thu Mar  8 08:48:53 2007
@@ -5,54 +5,54 @@
 	<script type="text/javascript" src="../../xooki/xooki.js"></script>
 </head>
 <body>
-	<textarea id="xooki-source">
-The configure task is used to configure ivy with an xml configuration file.<br/><br/>
-See <a href="../../doc/configuration.html">configuration</a> for details about the configuration
-file itself.<br/><br/>
-<i>Note for developers:<br/>
-After the call to this task, a reference to the configured ivy instance used by all subsequent ant tasks is put in the ant project,
-under the id "ivy.instance".</i>
-<table class="ant">
-<thead>
-    <tr><th class="ant-att">Attribute</th><th class="ant-desc">Description</th><th class="ant-req">Required</th></tr>
-</thead>
-<tbody>
-    <tr><td>file</td><td>path to the configuration file to use</td>
-        <td rowspan="2">No. If a file is provided, url is ignored. If none are 
-        provided, then it attempts to find a file at ${ivy.conf.file}, and if
-        this file does not exist, it uses a <a href="./misc/ivy/samples/ivyconf-default.xml">default configuration file</a></td></tr>
-    <tr><td>url</td><td>url of the configuration file to use</td></tr>
-    <tr><td>host</td><td>http authentication host</td><td rowspan="4">No, unless authentication is required</td></tr>
-    <tr><td>realm</td><td>http authentication realm</td></tr>
-    <tr><td>username</td><td>http authentication user name</td></tr>
-    <tr><td>passwd</td><td>http authentication password</td></tr>
-</tbody>
-</table>
-<h2>HTTP Authentication</h2>
-<i>Note: HTTP Authentication can be used only if <a href="http://jakarta.apache.org/commons/httpclient/">commons-httpclient.jar</a> is in your classpath</i>
-If any of the url you use in ivy (especially in dependency resolvers) need http
-authentication, then you have to provide the host, realm, username and passwd
-attributes of the configure task. These settings will then be used in any
-further call to ivy tasks.<br/><br/>
-
-<b>Since 1.4:</b>
-It's also possible to configure authentication settings for multiple urls. This can be done with the &lt;credentials> subelements. See the examples for more details.
-
-<h2>Examples</h2>
-<h3>Simplest configuration</h3>
-<pre>&lt;ivy:configure /&gt;</pre>
-Use either ${ivy.conf.file} if it exists, or the <a href="./misc/ivy/samples/ivyconf-default.xml">default configuration file</a>
-<h3>Configure with a file</h3>
-<pre>&lt;ivy:configure file="myconffile.xml" /&gt;</pre>
-<h3>Configure with an url</h3>
-<pre>&lt;ivy:configure url="http://mysite.com/myconffile.xml" /&gt;</pre>
-<h3>Configure multiple URLs which require autentication</h3>
-<pre>
-&lt;ivy:configure file="path/to/my/ivyconf.xml">
-  &lt;credentials host="myhost.com" realm="My Realm" username="myuser" passwd="mypasswd" />
-  &lt;credentials host="yourhost.com" realm="Your Realm" username="myuser" passwd="myotherpasswd" />
-&lt;/ivy:configure> 
-</pre>
+	<textarea id="xooki-source">
+The configure task is used to configure ivy with an xml configuration file.<br/><br/>
+See <a href="../../doc/configuration.html">configuration</a> for details about the configuration
+file itself.<br/><br/>
+<i>Note for developers:<br/>
+After the call to this task, a reference to the configured ivy instance used by all subsequent ant tasks is put in the ant project,
+under the id "ivy.instance".</i>
+<table class="ant">
+<thead>
+    <tr><th class="ant-att">Attribute</th><th class="ant-desc">Description</th><th class="ant-req">Required</th></tr>
+</thead>
+<tbody>
+    <tr><td>file</td><td>path to the configuration file to use</td>
+        <td rowspan="2">No. If a file is provided, url is ignored. If none are 
+        provided, then it attempts to find a file at ${ivy.conf.file}, and if
+        this file does not exist, it uses a <a href="./misc/ivy/samples/ivyconf-default.xml">default configuration file</a></td></tr>
+    <tr><td>url</td><td>url of the configuration file to use</td></tr>
+    <tr><td>host</td><td>http authentication host</td><td rowspan="4">No, unless authentication is required</td></tr>
+    <tr><td>realm</td><td>http authentication realm</td></tr>
+    <tr><td>username</td><td>http authentication user name</td></tr>
+    <tr><td>passwd</td><td>http authentication password</td></tr>
+</tbody>
+</table>
+<h2>HTTP Authentication</h2>
+<i>Note: HTTP Authentication can be used only if <a href="http://jakarta.apache.org/commons/httpclient/">commons-httpclient.jar</a> is in your classpath</i>
+If any of the url you use in ivy (especially in dependency resolvers) need http
+authentication, then you have to provide the host, realm, username and passwd
+attributes of the configure task. These settings will then be used in any
+further call to ivy tasks.<br/><br/>
+
+<b>Since 1.4:</b>
+It's also possible to configure authentication settings for multiple urls. This can be done with the <credentials> subelements. See the examples for more details.
+
+<h2>Examples</h2>
+<h3>Simplest configuration</h3>
+<code><ivy:configure /></code>
+Use either ${ivy.conf.file} if it exists, or the <a href="./misc/ivy/samples/ivyconf-default.xml">default configuration file</a>
+<h3>Configure with a file</h3>
+<code><ivy:configure file="myconffile.xml" /></code>
+<h3>Configure with an url</h3>
+<code><ivy:configure url="http://mysite.com/myconffile.xml" /></code>
+<h3>Configure multiple URLs which require autentication</h3>
+<code>
+<ivy:configure file="path/to/my/ivyconf.xml">
+  <credentials host="myhost.com" realm="My Realm" username="myuser" passwd="mypasswd" />
+  <credentials host="yourhost.com" realm="Your Realm" username="myuser" passwd="myotherpasswd" />
+</ivy:configure> 
+</code>
 	</textarea>
 <script type="text/javascript">xooki.postProcess();</script>
 </body>