blob: 87bac63252bab1ee965cdc4bc13a290d6e1e6dfd [file] [log] [blame]
<?xml version="1.0"?>
<document url="./building.xml">
<properties>
<title>Building Jakarta Taglibs</title>
</properties>
<body>
<section name="Prerequisites">
<p>To build Jakara Taglibs packages you need to install <a href="http://maven.apache.org">Maven</a>. </p>
</section>
<section name="Building Trunk">
<p>To checkout and build the latest code in trunk, run: </p>
<ul>
<li><code>svn co https://svn.apache.org/repos/asf/tomcat/taglibs/trunks apache-taglibs</code></li>
<li><code>cd apache-taglibs</code></li>
<li><code>mvn clean install</code></li>
</ul>
<p>To build only one of the taglibs, checkout the <code>trunk/</code> directory for the subcomponent at <code><a href="https://svn.apache.org/repos/asf/tomcat/taglibs/">https://svn.apache.org/repos/asf/tomcat/taglibs/</a></code> and run <code>mvn clean install</code>. </p>
</section>
<section name="Building &amp; Deploying the Site">
<p>The main site is built by checking out the site/ directory: </p>
<pre>svn co http://svn.apache.org/repos/asf/jakarta/taglibs/proper/site site</pre>
<p>Taglib specific sites are built by directly from that taglib. </p>
<p>To build, run <code>mvn clean site</code>. </p>
<p>The sites are deployed by copying their source onto the Tomcat site's docs directory, located in the Tomcat site project: <a href="https://svn.apache.org/repos/asf/tomcat/site/trunk">https://svn.apache.org/repos/asf/tomcat/site/trunk</a>. It's not a very automated solution. </p>
</section>
<section name="Releasing">
<p>To build the tar.gz or .zip for a Taglibs release, run <code>mvn clean assembly:assembly</code>. </p>
</section>
</body>
</document>