ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject cvs commit: ant/docs/manual/CoreTasks makeurl.html
Date Tue, 23 Aug 2005 14:46:53 GMT
stevel      2005/08/23 07:46:53

  Modified:    docs/manual coretasklist.html tasksoverview.html
  Added:       docs/manual/CoreTasks makeurl.html
  Log:
  documentation for makeurl. also fixed up errors in tasksoverview.html
  
  Revision  Changes    Path
  1.64      +1 -0      ant/docs/manual/coretasklist.html
  
  Index: coretasklist.html
  ===================================================================
  RCS file: /home/cvs/ant/docs/manual/coretasklist.html,v
  retrieving revision 1.63
  retrieving revision 1.64
  diff -u -r1.63 -r1.64
  --- coretasklist.html	24 May 2005 20:49:55 -0000	1.63
  +++ coretasklist.html	23 Aug 2005 14:46:53 -0000	1.64
  @@ -65,6 +65,7 @@
   <a href="CoreTasks/libraries.html">Libraries</a><br>
   <a href="CoreTasks/loadfile.html">LoadFile</a><br>
   <a href="CoreTasks/loadproperties.html">LoadProperties</a><br>
  +<a href="CoreTasks/makeurl.html">MakeURL</a><br>
   <a href="CoreTasks/mail.html">Mail</a><br>
   <a href="CoreTasks/macrodef.html">MacroDef</a><br>
   <a href="CoreTasks/manifest.html">Manifest</a><br>
  
  
  
  1.33      +43 -37    ant/docs/manual/tasksoverview.html
  
  Index: tasksoverview.html
  ===================================================================
  RCS file: /home/cvs/ant/docs/manual/tasksoverview.html,v
  retrieving revision 1.32
  retrieving revision 1.33
  diff -u -r1.32 -r1.33
  --- tasksoverview.html	2 May 2005 15:30:17 -0000	1.32
  +++ tasksoverview.html	23 Aug 2005 14:46:53 -0000	1.33
  @@ -39,8 +39,9 @@
   <table width="100%" border="0" cellpadding="4" cellspacing="0">
   <th align="left">
   <font size="+0" face="arial,helvetica,sanserif">
  -<a name="archive">Archive Tasks</a></th>
  +<a name="archive">Archive Tasks</a>
   </font>
  +</th>
   <font size="-1" face="arial,helvetica,sanserif">
   <th align="right"><a href="#top">[Back to top]</a></th>
   </font>
  @@ -163,8 +164,8 @@
   <table width="100%" border="0" cellpadding="4" cellspacing="0">
   <th align="left">
   <font size="+0" face="arial,helvetica,sanserif">
  -<a name="audit">Audit/Coverage Tasks</a></th>
  -</font>
  +<a name="audit">Audit/Coverage Tasks</a>
  +</font></th>
   <font size="-1" face="arial,helvetica,sanserif">
   <th align="right"><a href="#top">[Back to top]</a></th>
   </font>
  @@ -212,8 +213,8 @@
   <table width="100%" border="0" cellpadding="4" cellspacing="0">
   <th align="left">
   <font size="+0" face="arial,helvetica,sanserif">
  -<a name="compile">Compile Tasks</a></th>
  -</font>
  +<a name="compile">Compile Tasks</a>
  +</font></th>
   <font size="-1" face="arial,helvetica,sanserif">
   <th align="right"><a href="#top">[Back to top]</a></th>
   </font>
  @@ -281,8 +282,8 @@
   <table width="100%" border="0" cellpadding="4" cellspacing="0">
   <th align="left">
   <font size="+0" face="arial,helvetica,sanserif">
  -<a name="deploy">Deployment Tasks</a></th>
  -</font>
  +<a name="deploy">Deployment Tasks</a>
  +</font></th>
   <font size="-1" face="arial,helvetica,sanserif">
   <th align="right"><a href="#top">[Back to top]</a></th>
   </font>
  @@ -305,8 +306,8 @@
   <table width="100%" border="0" cellpadding="4" cellspacing="0">
   <th align="left">
   <font size="+0" face="arial,helvetica,sanserif">
  -<a name="doc">Documentation Tasks</a></th>
  -</font>
  +<a name="doc">Documentation Tasks</a>
  +</font></th>
   <font size="-1" face="arial,helvetica,sanserif">
   <th align="right"><a href="#top">[Back to top]</a></th>
   </font>
  @@ -335,8 +336,8 @@
   <table width="100%" border="0" cellpadding="4" cellspacing="0">
   <th align="left">
   <font size="+0" face="arial,helvetica,sanserif">
  -<a name="ejb">EJB Tasks</a></th>
  -</font>
  +<a name="ejb">EJB Tasks</a>
  +</font></th>
   <font size="-1" face="arial,helvetica,sanserif">
   <th align="right"><a href="#top">[Back to top]</a></th>
   </font>
  @@ -357,8 +358,8 @@
   <table width="100%" border="0" cellpadding="4" cellspacing="0">
   <th align="left">
   <font size="+0" face="arial,helvetica,sanserif">
  -<a name="exec">Execution Tasks</a></th>
  -</font>
  +<a name="exec">Execution Tasks</a>
  +</font></th>
   <font size="-1" face="arial,helvetica,sanserif">
   <th align="right"><a href="#top">[Back to top]</a></th>
   </font>
  @@ -449,8 +450,8 @@
   <table width="100%" border="0" cellpadding="4" cellspacing="0">
   <th align="left">
   <font size="+0" face="arial,helvetica,sanserif">
  -<a name="file">File Tasks</a></th>
  -</font>
  +<a name="file">File Tasks</a>
  +</font></th>
   <font size="-1" face="arial,helvetica,sanserif">
   <th align="right"><a href="#top">[Back to top]</a></th>
   </font>
  @@ -617,8 +618,8 @@
   <table width="100%" border="0" cellpadding="4" cellspacing="0">
   <th align="left">
   <font size="+0" face="arial,helvetica,sanserif">
  -<a name="extensions">Java2 Extensions Tasks</a></th>
  -</font>
  +<a name="extensions">Java2 Extensions Tasks</a>
  +</font></th>
   <font size="-1" face="arial,helvetica,sanserif">
   <th align="right"><a href="#top">[Back to top]</a></th>
   </font>
  @@ -671,8 +672,8 @@
   <table width="100%" border="0" cellpadding="4" cellspacing="0">
   <th align="left">
   <font size="+0" face="arial,helvetica,sanserif">
  -<a name="log">Logging Tasks</a></th>
  -</font>
  +<a name="log">Logging Tasks</a>
  +</font></th>
   <font size="-1" face="arial,helvetica,sanserif">
   <th align="right"><a href="#top">[Back to top]</a></th>
   </font>
  @@ -695,8 +696,8 @@
   <table width="100%" border="0" cellpadding="4" cellspacing="0">
   <th align="left">
   <font size="+0" face="arial,helvetica,sanserif">
  -<a name="mail">Mail Tasks</a></th>
  -</font>
  +<a name="mail">Mail Tasks</a>
  +</font></th>
   <font size="-1" face="arial,helvetica,sanserif">
   <th align="right"><a href="#top">[Back to top]</a></th>
   </font>
  @@ -724,8 +725,8 @@
   <table width="100%" border="0" cellpadding="4" cellspacing="0">
   <th align="left">
   <font size="+0" face="arial,helvetica,sanserif">
  -<a name="misc">Miscellaneous Tasks</a></th>
  -</font>
  +<a name="misc">Miscellaneous Tasks</a>
  +</font></th>
   <font size="-1" face="arial,helvetica,sanserif">
   <th align="right"><a href="#top">[Back to top]</a></th>
   </font>
  @@ -821,8 +822,8 @@
   <table width="100%" border="0" cellpadding="4" cellspacing="0">
   <th align="left">
   <font size="+0" face="arial,helvetica,sanserif">
  -<a name="net">.NET Tasks</a></th>
  -</font>
  +<a name="net">.NET Tasks</a>
  +</font></th>
   <font size="-1" face="arial,helvetica,sanserif">
   <th align="right"><a href="#top">[Back to top]</a></th>
   </font>
  @@ -843,8 +844,8 @@
   <table width="100%" border="0" cellpadding="4" cellspacing="0">
   <th align="left">
   <font size="+0" face="arial,helvetica,sanserif">
  -<a name="preproc">Pre-process Tasks</a></th>
  -</font>
  +<a name="preproc">Pre-process Tasks</a>
  +</font></th>
   <font size="-1" face="arial,helvetica,sanserif">
   <th align="right"><a href="#top">[Back to top]</a></th>
   </font>
  @@ -956,8 +957,8 @@
   <table width="100%" border="0" cellpadding="4" cellspacing="0">
   <th align="left">
   <font size="+0" face="arial,helvetica,sanserif">
  -<a name="prop">Property Tasks</a></th>
  -</font>
  +<a name="prop">Property Tasks</a>
  +</font></th>
   <font size="-1" face="arial,helvetica,sanserif">
   <th align="right"><a href="#top">[Back to top]</a></th>
   </font>
  @@ -1019,6 +1020,11 @@
     </tr>
   
     <tr valign="top">
  +    <td nowrap><a href="CoreTasks/makeurl.html">MakeURL</a></td>
  +    <td><p>Creates a URL (list) from a file/fileset or path</p></td>
  +  </tr>
  +
  +  <tr valign="top">
       <td nowrap><a href="CoreTasks/pathconvert.html">PathConvert</a></td>
       <td><p>Converts a nested path, path reference, filelist reference, or
        fileset reference to the form usable on a specified platform and/or
  @@ -1063,8 +1069,8 @@
   <table width="100%" border="0" cellpadding="4" cellspacing="0">
   <th align="left">
   <font size="+0" face="arial,helvetica,sanserif">
  -<a name="remote">Remote Tasks</a></th>
  -</font>
  +<a name="remote">Remote Tasks</a>
  +</font></th>
   <font size="-1" face="arial,helvetica,sanserif">
   <th align="right"><a href="#top">[Back to top]</a></th>
   </font>
  @@ -1115,8 +1121,8 @@
   <table width="100%" border="0" cellpadding="4" cellspacing="0">
   <th align="left">
   <font size="+0" face="arial,helvetica,sanserif">
  -<a name="scm">SCM Tasks</a></th>
  -</font>
  +<a name="scm">SCM Tasks</a>
  +</font></th>
   <font size="-1" face="arial,helvetica,sanserif">
   <th align="right"><a href="#top">[Back to top]</a></th>
   </font>
  @@ -1211,8 +1217,8 @@
   <table width="100%" border="0" cellpadding="4" cellspacing="0">
   <th align="left">
   <font size="+0" face="arial,helvetica,sanserif">
  -<a name="testing">Testing Tasks</a></th>
  -</font>
  +<a name="testing">Testing Tasks</a>
  +</font></th>
   <font size="-1" face="arial,helvetica,sanserif">
   <th align="right"><a href="#top">[Back to top]</a></th>
   </font>
  @@ -1249,8 +1255,8 @@
   <table width="100%" border="0" cellpadding="4" cellspacing="0">
   <th align="left">
   <font size="+0" face="arial,helvetica,sanserif">
  -<a name="vaj">Visual Age for Java Tasks</a></th>
  -</font>
  +<a name="vaj">Visual Age for Java Tasks</a>
  +</font></th>
   <font size="-1" face="arial,helvetica,sanserif">
   <th align="right"><a href="#top">[Back to top]</a></th>
   </font>
  
  
  
  1.1                  ant/docs/manual/CoreTasks/makeurl.html
  
  Index: makeurl.html
  ===================================================================
      
  <html>
  <head>
    <meta http-equiv="Content-Language" content="en-us">
    <title>Makeurl
   Task</title>
  </head>
  
  <body bgcolor="#ffffff" text="#000000" link="#525D76"
        alink="#525D76" vlink="#525D76">
  
  <table border="0" width="100%" cellspacing="4">
  
    <!-- PAGE HEADER -->
    <tr>
      <td>
        <table border="0" width="100%"><tr>
            <td valign="bottom">
              <font size="+3" face="arial,helvetica,sanserif"><strong>Makeurl
   Task</strong></font>
              <br><font face="arial,helvetica,sanserif">This task takes one or
more filenames and turns them into URLs, which it then assigns to a property.</font>
            </td>
            <td>
              <!-- PROJECT LOGO -->
              <a href="http://ant.apache.org/">
                <img src="../../images/ant_logo_large.gif" align="right" alt="Apache Ant"
border="0"/>
              </a>
            </td>
        </tr></table>
      </td>
    </tr>
  
    <!-- START RIGHT SIDE MAIN BODY -->
    <tr>
      <td  valign="top" align="left">
  
            <!-- Applying task/long-description -->
      <!-- Start Description -->
      <table border="0" cellspacing="0" cellpadding="2" width="100%">
        <tr><td>&nbsp;</td></tr>
  
        <tr><td bgcolor="#525D76">
          <font color="#ffffff" face="arial,helvetica.sanserif">
            <a name="description">
            <strong>Description</strong></a></font>
        </td></tr>
  
        <tr><td><blockquote>
          This task takes one or more filenames and turns them into URLs, which it then assigns
to a property. Useful when setting up RMI codebases. Nested filesets are supported; if present,
these are turned into the url with the given separator between them (default = " "). <p/>
<p>Example</p> <pre> &lt;makeurl file="${user.home}/.m2/repository"
property="m2.repository.url" /&gt; </pre> Sets the property <code>m2.repository.url</code>
to the file: URL of the local Maven2 repository. <pre> &lt;makeurl property="codebase"&gt;
&lt;fileset dir="lib includes="*.jar"/&gt; &lt;/makeurl> </pre> Set the
property <code>codebase</code> to the three URLs of the files provided as nested
elements.
        </blockquote></td></tr>
  
      </table>
      <!-- End Description -->
  
   <!-- Ignore -->
  
  
  
      <!-- Start Attributes -->
      <table border="0" cellspacing="0" cellpadding="2" width="100%">
        <tr><td>&nbsp;</td></tr>
        <tr><td bgcolor="#525D76">
          <font color="#ffffff" face="arial,helvetica.sanserif">
            <a name="attributes">
            <strong>Parameters</strong></a></font>
        </td></tr>
        <tr><td><blockquote>
          <table>
            <tr>
          <td bgcolor="#cccccc" valign="top" align="left">
            <font color="#000000" size="-1" face="arial,helvetica,sanserif"><b>Attribute</b></font>
          </td>
          <td bgcolor="#cccccc" valign="top" align="left">
            <font color="#000000" size="-1" face="arial,helvetica,sanserif"><b>Description</b></font>
          </td>
          <td bgcolor="#cccccc" valign="top" align="left">
            <font color="#000000" size="-1" face="arial,helvetica,sanserif"><b>Type</b></font>
          </td>
          <td bgcolor="#cccccc" valign="top" align="left">
            <font color="#000000" size="-1" face="arial,helvetica,sanserif"><b>Requirement</b></font>
          </td>
            </tr>
      <!-- Attribute Group -->    
      
      <!-- Attribute Group -->    
          <!-- Attribute -->
      <tr>
          <td bgcolor="#eeeeee" valign="top" align="left">
            <font color="#000000" size="-1" face="arial,helvetica,sanserif">file</font>
          </td>
          <td bgcolor="#eeeeee" valign="top" align="left">
            <font color="#000000" size="-1" face="arial,helvetica,sanserif">the name
of a file to be converted into a URL</font>
          </td>
          <td bgcolor="#eeeeee" valign="top" align="left">
            <font color="#000000" size="-1" face="arial,helvetica,sanserif">File</font>
          </td>
          <td bgcolor="#eeeeee" valign="top" align="left" rowspan="4">
            <font color="#000000" size="-1" face="arial,helvetica,sanserif">Optional</font>
          </td>
      </tr>
      <!-- Attribute -->
      <tr>
          <td bgcolor="#eeeeee" valign="top" align="left">
            <font color="#000000" size="-1" face="arial,helvetica,sanserif">property</font>
          </td>
          <td bgcolor="#eeeeee" valign="top" align="left">
            <font color="#000000" size="-1" face="arial,helvetica,sanserif">set the
name of a property to fill with the URL</font>
          </td>
          <td bgcolor="#eeeeee" valign="top" align="left">
            <font color="#000000" size="-1" face="arial,helvetica,sanserif">String</font>
          </td>
      </tr>
      <!-- Attribute -->
      <tr>
          <td bgcolor="#eeeeee" valign="top" align="left">
            <font color="#000000" size="-1" face="arial,helvetica,sanserif">separator</font>
          </td>
          <td bgcolor="#eeeeee" valign="top" align="left">
            <font color="#000000" size="-1" face="arial,helvetica,sanserif">set the
separator for the multi-url option.</font>
          </td>
          <td bgcolor="#eeeeee" valign="top" align="left">
            <font color="#000000" size="-1" face="arial,helvetica,sanserif">String</font>
          </td>
      </tr>
      <!-- Attribute -->
      <tr>
          <td bgcolor="#eeeeee" valign="top" align="left">
            <font color="#000000" size="-1" face="arial,helvetica,sanserif">validate</font>
          </td>
          <td bgcolor="#eeeeee" valign="top" align="left">
            <font color="#000000" size="-1" face="arial,helvetica,sanserif">set this
flag to trigger validation that every named file exists. Optional: default=true</font>
          </td>
          <td bgcolor="#eeeeee" valign="top" align="left">
            <font color="#000000" size="-1" face="arial,helvetica,sanserif">boolean</font>
          </td>
      </tr>
  
  
          </table>
        </blockquote></td></tr>
  
      </table>
      <!-- End Attributes -->
  
      <!-- Start Elements -->
      <table border="0" cellspacing="0" cellpadding="2" width="100%">
        <tr><td>&nbsp;</td></tr>
  
        <tr><td bgcolor="#525D76">
          <font color="#ffffff" face="arial,helvetica.sanserif">
            <a name="elements">
            <strong>Parameters as nested elements</strong></a></font>
        </td></tr>
  
        <tr><td><blockquote>
      <!-- Start Element -->
      <table border="0" cellspacing="0" cellpadding="2" width="100%">
        <tr><td>&nbsp;</td></tr>
        <tr><td bgcolor="#828DA6">
          <font color="#ffffff" face="arial,helvetica.sanserif" size="-1">
            <strong>fileset</strong> (org.apache.tools.ant.types.FileSet)</font>
        </td></tr>
        <tr><td><blockquote>
          a fileset of jar files to include in the URL, each separated by the separator
   <!-- Ignore -->
   <!-- Ignore -->
  
        </blockquote></td></tr>
      </table>
      <!-- End Element -->
      <!-- Start Element -->
      <table border="0" cellspacing="0" cellpadding="2" width="100%">
        <tr><td>&nbsp;</td></tr>
        <tr><td bgcolor="#828DA6">
          <font color="#ffffff" face="arial,helvetica.sanserif" size="-1">
            <strong>path</strong> (org.apache.tools.ant.types.Path)</font>
        </td></tr>
        <tr><td><blockquote>
          add a path to the URL. All elements in the path will be converted to individual
URL entries
   <!-- Ignore -->
   <!-- Ignore -->
  
        </blockquote></td></tr>
      </table>
      <!-- End Element -->
  
        </blockquote></td></tr>
  
      </table>
      <!-- End Elements -->
  
  
      </td>
    </tr>
    <!-- END RIGHT SIDE MAIN BODY -->
  
    <!-- FOOTER SEPARATOR -->
    <tr>
      <td>
        <hr noshade="" size="1"/>
      </td>
    </tr>
  
    <!-- PAGE FOOTER -->
    <tr>
      <td>
        <div align="center"><font color="#525D76" size="-1"><em>
          Copyright &#169; 2000-2005, Apache Software Foundation
        </em></font></div>
      </td>
    </tr>
  
  </table>
  
  </body>
  </html>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message