Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > media > main-release > by-pkgid > 4d889e94f541deb92546be6eed7baaaa > files > 9

jtidy-1.0-0.1.r7dev.1.2.7mdv2008.1.x86_64.rpm

<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
  <title>Making a binary release of JTidy</title>
 </head>
 <body>
  <h1>Making a binary release of JTidy</h1>
  <p>
   $Id: release.html,v 1.1 2000/11/03 16:49:28 lempinen Exp $<br />$Author: lempinen $
  </p>
  <p>
   The Ant build file (<code>build.xml</code>) contains a target
   (<code>release</code>) which can be used for easily building a
   binary release of JTidy for public distribution.
  </p>
  <p>
   The <code>release</code> target takes care of executing the
   following steps:
  </p>
  <ul>
   <li>tagging the CVS repository with the release identifier,</li>
   <li>copying the project contents into a release directory,</li>
   <li>generating a change log in the release directory,</li>
   <li>compiling the classes and javadoc in the release
    directory,</li>
   <li>moving the classes into a jar file,</li>
   <li>creating a zip file with the contents of the release directory
    and</li>
   <li>uploading the zip file into SourceForge.</li>
  </ul>

  <p>
   Executing the target requires that you specify the following
   properties when executing Ant:
  </p>
  <dl>
   <dt><code>version</code></dt>
   <dd>The HTML Tidy version that JTidy is based on
    (e.g. <code>04aug2000</code>)</dd>
   
   <dt><code>update</code></dt>
   <dd>Subrelease within the major Tidy release (a number)</dd>
  </dl>
  
  <p>
   In order to create the jtidy-04aug2000r5 release, for example, you
   can run Ant as
  </p>
  <pre xml:space="preserve">
   % ant -Dversion=04aug2000 -Dupdate=5 release
  </pre>
 </body>
</html>