Author: buildbot
Date: Thu Nov 1 10:14:28 2012
New Revision: 836858
Log:
Staging update by buildbot for mina
Modified:
websites/staging/mina/trunk/content/ (props changed)
websites/staging/mina/trunk/content/vysper/download_0.5.html
websites/staging/mina/trunk/content/vysper/download_0.6.html
websites/staging/mina/trunk/content/vysper/download_0.7.html
websites/staging/mina/trunk/content/vysper/embed.html
Propchange: websites/staging/mina/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Thu Nov 1 10:14:28 2012
@@ -1 +1 @@
-1404465
+1404530
Modified: websites/staging/mina/trunk/content/vysper/download_0.5.html
==============================================================================
--- websites/staging/mina/trunk/content/vysper/download_0.5.html (original)
+++ websites/staging/mina/trunk/content/vysper/download_0.5.html Thu Nov 1
10:14:28 2012
@@ -112,49 +112,50 @@
<li>XEP-0060 Publish-subscribe</li>
</ul>
<h1 id="getting-the-binary-distributions">Getting the Binary Distributions</h1>
-<p><DIV class="table-wrap">
-<TABLE class="confluenceTable"><TBODY>
-<TR>
-<TH class="confluenceTh">Description</TH>
-<TH class="confluenceTh">Download Link</TH>
-<TH class="confluenceTh">PGP Signature file of download</TH>
-</TR>
-<TR>
-<TD class="confluenceTd">Windows Distribution</TD>
-<TD class="confluenceTd"> <A
href="http://archive.apache.org/dist/mina/vysper/0.5/vysper-0.5-bin.zip"
class="external-link" rel="nofollow">vysper-0.5-bin.zip</A> </TD>
-<TD class="confluenceTd"> <A
href="http://archive.apache.org/dist/mina/vysper/0.5/vysper-0.5-bin.zip.asc"
class="external-link" rel="nofollow">vysper-0.5-bin.zip.asc</A></TD>
-</TR>
-<TR>
-<TD class="confluenceTd">Unix/Linux/Cygwin Distribution</TD>
-<TD class="confluenceTd"> <A
href="http://archive.apache.org/dist/mina/vysper/0.5/vysper-0.5-bin.tar.gz"
class="external-link" rel="nofollow">vysper-0.5-bin.tar.gz</A> </TD>
-<TD class="confluenceTd"> <A
href="http://archive.apache.org/dist/mina/vysper/0.5/vysper-0.5-bin.tar.gz.asc"
class="external-link" rel="nofollow">vysper-0.5-bin.tar.gz.asc</A></TD>
-</TR>
-</TBODY></TABLE>
-</DIV></p>
+<table>
+<thead>
+<tr>
+<th>Description</th>
+<th>Download Link</th>
+<th>PGP Signature file of download</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>Windows Distribution</td>
+<td><a
href="http://archive.apache.org/dist/mina/vysper/0.5/vysper-0.5-bin.zip">vysper-0.5-bin.zip</a></td>
+<td><a
href="http://archive.apache.org/dist/mina/vysper/0.5/vysper-0.5-bin.zip.asc">vysper-0.5-bin.zip.asc</a></td>
+</tr>
+<tr>
+<td>Unix/Linux/Cygwin Distribution</td>
+<td><a
href="http://archive.apache.org/dist/mina/vysper/0.5/vysper-0.5-bin.tar.gz">vysper-0.5-bin.tar.gz</a></td>
+<td><a
href="http://archive.apache.org/dist/mina/vysper/0.5/vysper-0.5-bin.tar.gz.asc">vysper-0.5-bin.tar.gz.asc</a></td>
+</tr>
+</tbody>
+</table>
<h1 id="verify-the-integrity-of-downloads">Verify the Integrity of
Downloads</h1>
<p>It is essential that you verify the integrity of the downloaded files using
the PGP or MD5 signatures. The PGP signatures can be verified using PGP or GPG.
Begin by following these steps:</p>
<ol>
<li>Download the <a href="http://www.apache.org/dist/mina/KEYS">KEYS</a></li>
<li>Download the asc signature file for the relevant distribution</li>
-<li>Verify the signatures using the following commands, depending on your use
of PGP or GPG:</li>
+<li>
+<p>Verify the signatures using the following commands, depending on your use
of PGP or GPG:</p>
+<p>$ pgpk -a KEYS
+$ pgpv vysper-<version>-bin.tar.gz.asc</p>
+</li>
</ol>
-<p><DIV class="preformatted panel" style="border-width: 1px;"><DIV
class="preformattedContent panelContent">
-<PRE>$ pgpk -a KEYS
-$ pgpv vysper-<version>-bin.tar.gz.asc
-</PRE>
-</DIV></DIV></p>
<p>or</p>
-<p><DIV class="preformatted panel" style="border-width: 1px;"><DIV
class="preformattedContent panelContent">
-<PRE>$ pgp -ka KEYS
-$ pgp vysper-<version>-bin.tar.gz.asc
-</PRE>
-</DIV></DIV></p>
+<div class="codehilite"><pre><span class="nv">$</span> <span
class="nv">pgp</span> <span class="o">-</span><span class="n">ka</span> <span
class="n">KEYS</span>
+<span class="nv">$</span> <span class="nv">pgp</span> <span
class="n">vysper</span><span class="o">-</span><span
class="sr"><version></span><span class="o">-</span><span
class="n">bin</span><span class="o">.</span><span class="n">tar</span><span
class="o">.</span><span class="n">gz</span><span class="o">.</span><span
class="n">asc</span>
+</pre></div>
+
+
<p>or</p>
-<p><DIV class="preformatted panel" style="border-width: 1px;"><DIV
class="preformattedContent panelContent">
-<PRE>$ gpg --import KEYS
-$ gpg --verify vysper-<version>-bin.tar.gz.asc
-</PRE>
-</DIV></DIV></p>
+<div class="codehilite"><pre><span class="nv">$</span> <span
class="nv">gpg</span> <span class="o">--</span><span class="nb">import</span>
<span class="n">KEYS</span>
+<span class="nv">$</span> <span class="nv">gpg</span> <span
class="o">--</span><span class="n">verify</span> <span
class="n">vysper</span><span class="o">-</span><span
class="sr"><version></span><span class="o">-</span><span
class="n">bin</span><span class="o">.</span><span class="n">tar</span><span
class="o">.</span><span class="n">gz</span><span class="o">.</span><span
class="n">asc</span>
+</pre></div>
+
+
<p>(Where <version> is replaced with the actual version, e.g., 0.5).</p>
<p>Alternatively, you can verify the MD5 signature on the files. A Unix
program called md5 or md5sum is included in most Linux and Unix distributions.
It is also available as part of <a
href="http://www.gnu.org/software/textutils/textutils.html">GNU Textutils</a>.
Windows users can utilize any of the following md5 programs:</p>
<ul>
@@ -164,41 +165,39 @@ $ gpg --verify vysper-<version>-bi
</ul>
<h1 id="getting-the-binaries-using-maven-2">Getting the Binaries using Maven
2</h1>
<p>To use this release in your maven project, the proper dependency
configuration that you should use in your <a
href="http://maven.apache.org/guides/introduction/introduction-to-the-pom.html">Maven
POM</a> is:</p>
-<p><DIV class="code panel" style="border-width: 1px;"><DIV class="codeContent
panelContent">
-<PRE class="code-xml">
-<SPAN class="code-tag"><dependency></SPAN>
- <SPAN class="code-tag"><groupId></SPAN>org.apache.vysper<SPAN
class="code-tag"></groupId></SPAN>
- <SPAN class="code-tag"><artifactId></SPAN>vysper-core<SPAN
class="code-tag"></artifactId></SPAN>
- <SPAN class="code-tag"><version></SPAN>0.5<SPAN
class="code-tag"></version></SPAN>
-<SPAN class="code-tag"></dependency></SPAN>
-</PRE>
-</DIV></DIV></p>
+<div class="codehilite"><pre><span class="nt"><dependency></span>
+ <span class="nt"><groupId></span>org.apache.vysper<span
class="nt"></groupId></span>
+ <span class="nt"><artifactId></span>vysper-core<span
class="nt"></artifactId></span>
+ <span class="nt"><version></span>0.5<span
class="nt"></version></span>
+<span class="nt"></dependency></span>
+</pre></div>
+
+
<h1 id="getting-the-source-code">Getting the Source Code</h1>
<h2 id="source-distributions">Source Distributions</h2>
-<p><DIV class="table-wrap">
-<TABLE class="confluenceTable"><TBODY>
-<TR>
-<TH class="confluenceTh">Description</TH>
-<TH class="confluenceTh">Download Link</TH>
-<TH class="confluenceTh">PGP Signature file of download</TH>
-</TR>
-<TR>
-<TD class="confluenceTd">Source for Windows</TD>
-<TD class="confluenceTd"> <A
href="http://archive.apache.org/dist/mina/vysper/0.5/vysper-0.5-src.zip"
class="external-link" rel="nofollow">vysper-0.5-src.zip</A></TD>
-<TD class="confluenceTd"> <A
href="http://archive.apache.org/dist/mina/vysper/0.5/vysper-0.5-src.zip.asc"
class="external-link" rel="nofollow">vysper-0.5-src.zip.asc</A></TD>
-</TR>
-<TR>
-<TD class="confluenceTd">Source for Unix/Linux/Cygwin</TD>
-<TD class="confluenceTd"> <A
href="http://archive.apache.org/dist/mina/vysper/0.5/vysper-0.5-src.tar.gz"
class="external-link" rel="nofollow">vysper-0.5-src.tar.gz</A></TD>
-<TD class="confluenceTd"> <A
href="http://archive.apache.org/dist/mina/vysper/0.5/vysper-0.5-src.tar.gz.asc"
class="external-link" rel="nofollow">vysper-0.5-src.tar.gz.asc</A></TD>
-</TR>
-</TBODY></TABLE>
-</DIV></p>
-<p><DIV class="code panel" style="border-width: 1px;"><DIV class="codeContent
panelContent">
-<PRE class="code-java">
-svn co http:<SPAN
class="code-comment">//svn.apache.org/repos/asf/mina/vysper/tags/0.5</SPAN>
-</PRE>
-</DIV></DIV></p>
+<table>
+<thead>
+<tr>
+<th>Description</th>
+<th>Download Link</th>
+<th>PGP Signature file of download</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>Source for Windows</td>
+<td><a
href="http://archive.apache.org/dist/mina/vysper/0.5/vysper-0.5-src.zip">vysper-0.5-src.zip</a></td>
+<td><a
href="http://archive.apache.org/dist/mina/vysper/0.5/vysper-0.5-src.zip.asc">vysper-0.5-src.zip.asc</a></td>
+</tr>
+<tr>
+<td>Source for Unix/Linux/Cygwin</td>
+<td><a
href="http://archive.apache.org/dist/mina/vysper/0.5/vysper-0.5-src.tar.gz">vysper-0.5-src.tar.gz</a></td>
+<td><a
href="http://archive.apache.org/dist/mina/vysper/0.5/vysper-0.5-src.tar.gz.asc">vysper-0.5-src.tar.gz.asc</a></td>
+</tr>
+</tbody>
+</table>
+<div class="codehilite"><pre><span class="n">svn</span> <span
class="n">co</span> <span class="n">http:</span><span
class="sr">//s</span><span class="n">vn</span><span class="o">.</span><span
class="n">apache</span><span class="o">.</span><span class="n">org</span><span
class="sr">/repos/</span><span class="n">asf</span><span
class="sr">/mina/</span><span class="n">vysper</span><span
class="sr">/tags/</span><span class="mf">0.5</span>
+</pre></div>
</div><!-- rightColumn -->
<div id="endContent"></div>
Modified: websites/staging/mina/trunk/content/vysper/download_0.6.html
==============================================================================
--- websites/staging/mina/trunk/content/vysper/download_0.6.html (original)
+++ websites/staging/mina/trunk/content/vysper/download_0.6.html Thu Nov 1
10:14:28 2012
@@ -117,52 +117,50 @@
<h1 id="change-log">Change log</h1>
<p>For a detailed view of new features and bug fixes, see the <a
href="https://issues.apache.org/jira/browse/VYSPER/fixforversion/12314873">release
notes</a></p>
<h1 id="getting-the-binary-distributions">Getting the Binary Distributions</h1>
-<p><DIV class="table-wrap">
-<TABLE class="confluenceTable"><TBODY>
-<TR>
-<TH class="confluenceTh">Description</TH>
-<TH class="confluenceTh">Download Link</TH>
-<TH class="confluenceTh"> MD5/SHA1 hashes </TH>
-<TH class="confluenceTh"> PGP Signature file of download</TH>
-</TR>
-<TR>
-<TD class="confluenceTd">Windows Distribution</TD>
-<TD class="confluenceTd"> <A
href="http://archive.apache.org/dist/mina/vysper/0.6/vysper-0.6-bin.zip"
class="external-link" rel="nofollow">vysper-0.6-bin.zip</A> </TD>
-<TD class="confluenceTd"> <A
href="http://archive.apache.org/dist/mina/vysper/0.6/vysper-0.6-bin.zip.md5"
class="external-link" rel="nofollow">MD5</A>/<A
href="http://archive.apache.org/dist/mina/vysper/0.6/vysper-0.6-bin.zip.sha1"
class="external-link" rel="nofollow">SHA1</A> </TD>
-<TD class="confluenceTd"> <A
href="http://archive.apache.org/dist/mina/vysper/0.6/vysper-0.6-bin.zip.asc"
class="external-link" rel="nofollow">vysper-0.6-bin.zip.asc</A></TD>
-</TR>
-<TR>
-<TD class="confluenceTd">Unix/Linux/Cygwin Distribution</TD>
-<TD class="confluenceTd"> <A
href="http://archive.apache.org/dist/mina/vysper/0.6/vysper-0.6-bin.tar.gz"
class="external-link" rel="nofollow">vysper-0.6-bin.tar.gz</A> </TD>
-<TD class="confluenceTd"> <A
href="http://archive.apache.org/dist/mina/vysper/0.6/vysper-0.6-bin.tar.gz.md5"
class="external-link" rel="nofollow">MD5</A>/<A
href="http://archive.apache.org/dist/mina/vysper/0.6/vysper-0.6-bin.tar.gz.sha1"
class="external-link" rel="nofollow">SHA1</A> </TD>
-<TD class="confluenceTd"> <A
href="http://archive.apache.org/dist/mina/vysper/0.6/vysper-0.6-bin.tar.gz.asc"
class="external-link" rel="nofollow">vysper-0.6-bin.tar.gz.asc</A></TD>
-</TR>
-</TBODY></TABLE>
-</DIV></p>
+<table>
+<thead>
+<tr>
+<th>Description</th>
+<th>Download Link</th>
+<th>PGP Signature file of download</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>Windows Distribution</td>
+<td><a
href="http://archive.apache.org/dist/mina/vysper/0.6/vysper-0.6-bin.zip">vysper-0.6-bin.zip</a></td>
+<td><a
href="http://archive.apache.org/dist/mina/vysper/0.6/vysper-0.6-bin.zip.asc">vysper-0.6-bin.zip.asc</a></td>
+</tr>
+<tr>
+<td>Unix/Linux/Cygwin Distribution</td>
+<td><a
href="http://archive.apache.org/dist/mina/vysper/0.6/vysper-0.6-bin.tar.gz">vysper-0.6-bin.tar.gz</a></td>
+<td><a
href="http://archive.apache.org/dist/mina/vysper/0.6/vysper-0.6-bin.tar.gz.asc">vysper-0.6-bin.tar.gz.asc</a></td>
+</tr>
+</tbody>
+</table>
<h1 id="verify-the-integrity-of-downloads">Verify the Integrity of
Downloads</h1>
<p>It is essential that you verify the integrity of the downloaded files using
the PGP or MD5 signatures. The PGP signatures can be verified using PGP or GPG.
Begin by following these steps:</p>
<ol>
<li>Download the <a href="http://www.apache.org/dist/mina/KEYS">KEYS</a></li>
<li>Download the asc signature file for the relevant distribution</li>
-<li>Verify the signatures using the following commands, depending on your use
of PGP or GPG:</li>
+<li>
+<p>Verify the signatures using the following commands, depending on your use
of PGP or GPG:</p>
+<p>$ pgpk -a KEYS
+$ pgpv vysper-<version>-bin.tar.gz.asc</p>
+</li>
</ol>
-<p><DIV class="preformatted panel" style="border-width: 1px;"><DIV
class="preformattedContent panelContent">
-<PRE>$ pgpk -a KEYS
-$ pgpv vysper-<version>-bin.tar.gz.asc
-</PRE>
-</DIV></DIV></p>
<p>or</p>
-<p><DIV class="preformatted panel" style="border-width: 1px;"><DIV
class="preformattedContent panelContent">
-<PRE>$ pgp -ka KEYS
-$ pgp vysper-<version>-bin.tar.gz.asc
-</PRE>
-</DIV></DIV></p>
+<div class="codehilite"><pre><span class="nv">$</span> <span
class="nv">pgp</span> <span class="o">-</span><span class="n">ka</span> <span
class="n">KEYS</span>
+<span class="nv">$</span> <span class="nv">pgp</span> <span
class="n">vysper</span><span class="o">-</span><span
class="sr"><version></span><span class="o">-</span><span
class="n">bin</span><span class="o">.</span><span class="n">tar</span><span
class="o">.</span><span class="n">gz</span><span class="o">.</span><span
class="n">asc</span>
+</pre></div>
+
+
<p>or</p>
-<p><DIV class="preformatted panel" style="border-width: 1px;"><DIV
class="preformattedContent panelContent">
-<PRE>$ gpg --import KEYS
-$ gpg --verify vysper-<version>-bin.tar.gz.asc
-</PRE>
-</DIV></DIV></p>
+<div class="codehilite"><pre><span class="nv">$</span> <span
class="nv">gpg</span> <span class="o">--</span><span class="nb">import</span>
<span class="n">KEYS</span>
+<span class="nv">$</span> <span class="nv">gpg</span> <span
class="o">--</span><span class="n">verify</span> <span
class="n">vysper</span><span class="o">-</span><span
class="sr"><version></span><span class="o">-</span><span
class="n">bin</span><span class="o">.</span><span class="n">tar</span><span
class="o">.</span><span class="n">gz</span><span class="o">.</span><span
class="n">asc</span>
+</pre></div>
+
+
<p>(Where <version> is replaced with the actual version, e.g., 0.6).</p>
<p>Alternatively, you can verify the MD5 signature on the files. A Unix
program called md5 or md5sum is included in most Linux and Unix distributions.
It is also available as part of <a
href="http://www.gnu.org/software/textutils/textutils.html">GNU Textutils</a>.
Windows users can utilize any of the following md5 programs:</p>
<ul>
@@ -172,45 +170,40 @@ $ gpg --verify vysper-<version>-bi
</ul>
<h1 id="getting-the-binaries-using-maven-2">Getting the Binaries using Maven
2</h1>
<p>To use this release in your maven project, the proper dependency
configuration that you should use in your <a
href="http://maven.apache.org/guides/introduction/introduction-to-the-pom.html">Maven
POM</a> is:</p>
-<p><DIV class="code panel" style="border-width: 1px;"><DIV class="codeContent
panelContent">
-<PRE class="code-xml">
-<SPAN class="code-tag"><dependency></SPAN>
- <SPAN class="code-tag"><groupId></SPAN>org.apache.vysper<SPAN
class="code-tag"></groupId></SPAN>
- <SPAN class="code-tag"><artifactId></SPAN>vysper-core<SPAN
class="code-tag"></artifactId></SPAN>
- <SPAN class="code-tag"><version></SPAN>0.6<SPAN
class="code-tag"></version></SPAN>
-<SPAN class="code-tag"></dependency></SPAN>
-</PRE>
-</DIV></DIV></p>
+<div class="codehilite"><pre><span class="nt"><dependency></span>
+ <span class="nt"><groupId></span>org.apache.vysper<span
class="nt"></groupId></span>
+ <span class="nt"><artifactId></span>vysper-core<span
class="nt"></artifactId></span>
+ <span class="nt"><version></span>0.6<span
class="nt"></version></span>
+<span class="nt"></dependency></span>
+</pre></div>
+
+
<h1 id="getting-the-source-code">Getting the Source Code</h1>
<h2 id="source-distributions">Source Distributions</h2>
-<p><DIV class="table-wrap">
-<TABLE class="confluenceTable"><TBODY>
-<TR>
-<TH class="confluenceTh">Description</TH>
-<TH class="confluenceTh">Download Link</TH>
-<TH class="confluenceTh"> MD5/SHA1 hashes </TH>
-<TH class="confluenceTh"> PGP Signature file of download</TH>
-</TR>
-<TR>
-<TD class="confluenceTd">Source for Windows</TD>
-<TD class="confluenceTd"> <A
href="http://archive.apache.org/dist/mina/vysper/0.6/vysper-0.6-src.zip"
class="external-link" rel="nofollow">vysper-0.6-src.zip</A> </TD>
-<TD class="confluenceTd"> <A
href="http://archive.apache.org/dist/mina/vysper/0.6/vysper-0.6-src.zip.md5"
class="external-link" rel="nofollow">MD5</A>/<A
href="http://archive.apache.org/dist/mina/vysper/0.6/vysper-0.6-src.zip.sha1"
class="external-link" rel="nofollow">SHA1</A> </TD>
-<TD class="confluenceTd"> <A
href="http://archive.apache.org/dist/mina/vysper/0.6/vysper-0.6-src.zip.asc"
class="external-link" rel="nofollow">vysper-0.6-src.zip.asc</A></TD>
-</TR>
-<TR>
-<TD class="confluenceTd">Source for Unix/Linux/Cygwin</TD>
-<TD class="confluenceTd"> <A
href="http://archive.apache.org/dist/mina/vysper/0.6/vysper-0.6-src.tar.gz"
class="external-link" rel="nofollow">vysper-0.6-src.tar.gz</A> </TD>
-<TD class="confluenceTd"> <A
href="http://archive.apache.org/dist/mina/vysper/0.6/vysper-0.6-src.tar.gz.md5"
class="external-link" rel="nofollow">MD5</A>/<A
href="http://archive.apache.org/dist/mina/vysper/0.6/vysper-0.6-src.tar.gz.sha1"
class="external-link" rel="nofollow">SHA1</A> </TD>
-<TD class="confluenceTd"> <A
href="http://archive.apache.org/dist/mina/vysper/0.6/vysper-0.6-src.tar.gz.asc"
class="external-link" rel="nofollow">vysper-0.6-src.tar.gz.asc</A></TD>
-</TR>
-</TBODY></TABLE>
-</DIV></p>
+<table>
+<thead>
+<tr>
+<th>Description</th>
+<th>Download Link</th>
+<th>PGP Signature file of download</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>Source for Windows</td>
+<td><a
href="http://archive.apache.org/dist/mina/vysper/0.6/vysper-0.6-src.zip">vysper-0.6-src.zip</a></td>
+<td><a
href="http://archive.apache.org/dist/mina/vysper/0.6/vysper-0.6-src.zip.asc">vysper-0.6-src.zip.asc</a></td>
+</tr>
+<tr>
+<td>Source for Unix/Linux/Cygwin</td>
+<td><a
href="http://archive.apache.org/dist/mina/vysper/0.6/vysper-0.6-src.tar.gz">vysper-0.6-src.tar.gz</a></td>
+<td><a
href="http://archive.apache.org/dist/mina/vysper/0.6/vysper-0.6-src.tar.gz.asc">vysper-0.6-src.tar.gz.asc</a></td>
+</tr>
+</tbody>
+</table>
<h2 id="svn-tag-checkout">SVN Tag Checkout</h2>
-<p><DIV class="code panel" style="border-width: 1px;"><DIV class="codeContent
panelContent">
-<PRE class="code-java">
-svn co http:<SPAN
class="code-comment">//svn.apache.org/repos/asf/mina/vysper/tags/0.6</SPAN>
-</PRE>
-</DIV></DIV></p>
+<div class="codehilite"><pre><span class="n">svn</span> <span
class="n">co</span> <span class="n">http:</span><span
class="sr">//s</span><span class="n">vn</span><span class="o">.</span><span
class="n">apache</span><span class="o">.</span><span class="n">org</span><span
class="sr">/repos/</span><span class="n">asf</span><span
class="sr">/mina/</span><span class="n">vysper</span><span
class="sr">/tags/</span><span class="mf">0.6</span><span
class="sr"></SPAN></span>
+</pre></div>
</div><!-- rightColumn -->
<div id="endContent"></div>
Modified: websites/staging/mina/trunk/content/vysper/download_0.7.html
==============================================================================
--- websites/staging/mina/trunk/content/vysper/download_0.7.html (original)
+++ websites/staging/mina/trunk/content/vysper/download_0.7.html Thu Nov 1
10:14:28 2012
@@ -108,52 +108,50 @@
<h1 id="change-log">Change log</h1>
<p>For a detailed view of new features and bug fixes, see the <a
href="https://issues.apache.org/jira/browse/VYSPER/fixforversion/12315280">release
notes</a></p>
<h1 id="getting-the-binary-distributions">Getting the Binary Distributions</h1>
-<p><DIV class="table-wrap">
-<TABLE class="confluenceTable"><TBODY>
-<TR>
-<TH class="confluenceTh">Description</TH>
-<TH class="confluenceTh">Download Link</TH>
-<TH class="confluenceTh"> MD5/SHA1 hashes </TH>
-<TH class="confluenceTh"> PGP Signature file of download</TH>
-</TR>
-<TR>
-<TD class="confluenceTd">Windows Distribution</TD>
-<TD class="confluenceTd"> <A
href="http://www.apache.org/dyn/closer.cgi/mina/vysper/0.7/vysper-0.7-bin.zip"
class="external-link" rel="nofollow">vysper-0.7-bin.zip</A> </TD>
-<TD class="confluenceTd"> <A
href="http://www.apache.org/dist/mina/vysper/0.7/vysper-0.7-bin.zip.md5"
class="external-link" rel="nofollow">MD5</A>/<A
href="http://www.apache.org/dist/mina/vysper/0.7/vysper-0.7-bin.zip.sha1"
class="external-link" rel="nofollow">SHA1</A> </TD>
-<TD class="confluenceTd"> <A
href="http://www.apache.org/dist/mina/vysper/0.7/vysper-0.7-bin.zip.asc"
class="external-link" rel="nofollow">vysper-0.7-bin.zip.asc</A></TD>
-</TR>
-<TR>
-<TD class="confluenceTd">Unix/Linux/Cygwin Distribution</TD>
-<TD class="confluenceTd"> <A
href="http://www.apache.org/dyn/closer.cgi/mina/vysper/0.7/vysper-0.7-bin.tar.gz"
class="external-link" rel="nofollow">vysper-0.7-bin.tar.gz</A> </TD>
-<TD class="confluenceTd"> <A
href="http://www.apache.org/dist/mina/vysper/0.7/vysper-0.7-bin.tar.gz.md5"
class="external-link" rel="nofollow">MD5</A>/<A
href="http://www.apache.org/dist/mina/vysper/0.7/vysper-0.7-bin.tar.gz.sha1"
class="external-link" rel="nofollow">SHA1</A> </TD>
-<TD class="confluenceTd"> <A
href="http://www.apache.org/dist/mina/vysper/0.7/vysper-0.7-bin.tar.gz.asc"
class="external-link" rel="nofollow">vysper-0.7-bin.tar.gz.asc</A></TD>
-</TR>
-</TBODY></TABLE>
-</DIV></p>
+<table>
+<thead>
+<tr>
+<th>Description</th>
+<th>Download Link</th>
+<th>PGP Signature file of download</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>Windows Distribution</td>
+<td><a
href="http://archive.apache.org/dist/mina/vysper/0.7/vysper-0.7-bin.zip">vysper-0.7-bin.zip</a></td>
+<td><a
href="http://archive.apache.org/dist/mina/vysper/0.7/vysper-0.7-bin.zip.asc">vysper-0.7-bin.zip.asc</a></td>
+</tr>
+<tr>
+<td>Unix/Linux/Cygwin Distribution</td>
+<td><a
href="http://archive.apache.org/dist/mina/vysper/0.7/vysper-0.7-bin.tar.gz">vysper-0.7-bin.tar.gz</a></td>
+<td><a
href="http://archive.apache.org/dist/mina/vysper/0.7/vysper-0.7-bin.tar.gz.asc">vysper-0.7-bin.tar.gz.asc</a></td>
+</tr>
+</tbody>
+</table>
<h1 id="verify-the-integrity-of-downloads">Verify the Integrity of
Downloads</h1>
<p>It is essential that you verify the integrity of the downloaded files using
the PGP or MD5 signatures. The PGP signatures can be verified using PGP or GPG.
Begin by following these steps:</p>
<ol>
<li>Download the <a href="http://www.apache.org/dist/mina/KEYS">KEYS</a></li>
<li>Download the asc signature file for the relevant distribution</li>
-<li>Verify the signatures using the following commands, depending on your use
of PGP or GPG:</li>
+<li>
+<p>Verify the signatures using the following commands, depending on your use
of PGP or GPG:</p>
+<p>$ pgpk -a KEYS
+$ pgpv vysper-<version>-bin.tar.gz.asc</p>
+</li>
</ol>
-<p><DIV class="preformatted panel" style="border-width: 1px;"><DIV
class="preformattedContent panelContent">
-<PRE>$ pgpk -a KEYS
-$ pgpv vysper-<version>-bin.tar.gz.asc
-</PRE>
-</DIV></DIV></p>
<p>or</p>
-<p><DIV class="preformatted panel" style="border-width: 1px;"><DIV
class="preformattedContent panelContent">
-<PRE>$ pgp -ka KEYS
-$ pgp vysper-<version>-bin.tar.gz.asc
-</PRE>
-</DIV></DIV></p>
+<div class="codehilite"><pre><span class="nv">$</span> <span
class="nv">pgp</span> <span class="o">-</span><span class="n">ka</span> <span
class="n">KEYS</span>
+<span class="nv">$</span> <span class="nv">pgp</span> <span
class="n">vysper</span><span class="o">-</span><span
class="sr"><version></span><span class="o">-</span><span
class="n">bin</span><span class="o">.</span><span class="n">tar</span><span
class="o">.</span><span class="n">gz</span><span class="o">.</span><span
class="n">asc</span>
+</pre></div>
+
+
<p>or</p>
-<p><DIV class="preformatted panel" style="border-width: 1px;"><DIV
class="preformattedContent panelContent">
-<PRE>$ gpg --import KEYS
-$ gpg --verify vysper-<version>-bin.tar.gz.asc
-</PRE>
-</DIV></DIV></p>
+<div class="codehilite"><pre><span class="nv">$</span> <span
class="nv">gpg</span> <span class="o">--</span><span class="nb">import</span>
<span class="n">KEYS</span>
+<span class="nv">$</span> <span class="nv">gpg</span> <span
class="o">--</span><span class="n">verify</span> <span
class="n">vysper</span><span class="o">-</span><span
class="sr"><version></span><span class="o">-</span><span
class="n">bin</span><span class="o">.</span><span class="n">tar</span><span
class="o">.</span><span class="n">gz</span><span class="o">.</span><span
class="n">asc</span>
+</pre></div>
+
+
<p>(Where <version> is replaced with the actual version, e.g., 0.7).</p>
<p>Alternatively, you can verify the MD5 signature on the files. A Unix
program called md5 or md5sum is included in most Linux and Unix distributions.
It is also available as part of <a
href="http://www.gnu.org/software/textutils/textutils.html">GNU Textutils</a>.
Windows users can utilize any of the following md5 programs:</p>
<ul>
@@ -163,45 +161,39 @@ $ gpg --verify vysper-<version>-bi
</ul>
<h1 id="getting-the-binaries-using-maven-2">Getting the Binaries using Maven
2</h1>
<p>To use this release in your maven project, the proper dependency
configuration that you should use in your <a
href="http://maven.apache.org/guides/introduction/introduction-to-the-pom.html">Maven
POM</a> is:</p>
-<p><DIV class="code panel" style="border-width: 1px;"><DIV class="codeContent
panelContent">
-<PRE class="code-xml">
-<SPAN class="code-tag"><dependency></SPAN>
- <SPAN class="code-tag"><groupId></SPAN>org.apache.vysper<SPAN
class="code-tag"></groupId></SPAN>
- <SPAN class="code-tag"><artifactId></SPAN>vysper-core<SPAN
class="code-tag"></artifactId></SPAN>
- <SPAN class="code-tag"><version></SPAN>0.7<SPAN
class="code-tag"></version></SPAN>
-<SPAN class="code-tag"></dependency></SPAN>
-</PRE>
-</DIV></DIV></p>
+<div class="codehilite"><pre><span class="nt"><dependency></span>
+ <span class="nt"><groupId></span>org.apache.vysper<span
class="nt"></groupId></span>
+ <span class="nt"><artifactId></span>vysper-core<span
class="nt"></artifactId></span>
+ <span class="nt"><version></span>0.7<span
class="nt"></version></span>
+<span class="nt"></dependency></span>
+</pre></div>
+
+
<h1 id="getting-the-source-code">Getting the Source Code</h1>
<h2 id="source-distributions">Source Distributions</h2>
-<p><DIV class="table-wrap">
-<TABLE class="confluenceTable"><TBODY>
-<TR>
-<TH class="confluenceTh">Description</TH>
-<TH class="confluenceTh">Download Link</TH>
-<TH class="confluenceTh"> MD5/SHA1 hashes </TH>
-<TH class="confluenceTh"> PGP Signature file of download</TH>
-</TR>
-<TR>
-<TD class="confluenceTd">Source for Windows</TD>
-<TD class="confluenceTd"> <A
href="http://www.apache.org/dyn/closer.cgi/mina/vysper/0.7/vysper-0.7-src.zip"
class="external-link" rel="nofollow">vysper-0.7-src.zip</A> </TD>
-<TD class="confluenceTd"> <A
href="http://www.apache.org/dist/mina/vysper/0.7/vysper-0.7-src.zip.md5"
class="external-link" rel="nofollow">MD5</A>/<A
href="http://www.apache.org/dist/mina/vysper/0.7/vysper-0.7-src.zip.sha1"
class="external-link" rel="nofollow">SHA1</A> </TD>
-<TD class="confluenceTd"> <A
href="http://www.apache.org/dist/mina/vysper/0.7/vysper-0.7-src.zip.asc"
class="external-link" rel="nofollow">vysper-0.7-src.zip.asc</A></TD>
-</TR>
-<TR>
-<TD class="confluenceTd">Source for Unix/Linux/Cygwin</TD>
-<TD class="confluenceTd"> <A
href="http://www.apache.org/dyn/closer.cgi/mina/vysper/0.7/vysper-0.7-src.tar.gz"
class="external-link" rel="nofollow">vysper-0.7-src.tar.gz</A> </TD>
-<TD class="confluenceTd"> <A
href="http://www.apache.org/dist/mina/vysper/0.7/vysper-0.7-src.tar.gz.md5"
class="external-link" rel="nofollow">MD5</A>/<A
href="http://www.apache.org/dist/mina/vysper/0.7/vysper-0.7-src.tar.gz.sha1"
class="external-link" rel="nofollow">SHA1</A> </TD>
-<TD class="confluenceTd"> <A
href="http://www.apache.org/dist/mina/vysper/0.7/vysper-0.7-src.tar.gz.asc"
class="external-link" rel="nofollow">vysper-0.7-src.tar.gz.asc</A></TD>
-</TR>
-</TBODY></TABLE>
-</DIV></p>
+<table>
+<thead>
+<tr>
+<th>Description</th>
+<th>Download Link</th>
+<th>PGP Signature file of download</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>Source for Windows</td>
+<td><a
href="http://archive.apache.org/dist/mina/vysper/0.7/vysper-0.7-src.zip">vysper-0.7-src.zip</a></td>
+<td><a
href="http://archive.apache.org/dist/mina/vysper/0.7/vysper-0.7-src.zip.asc">vysper-0.7-src.zip.asc</a></td>
+</tr>
+<tr>
+<td>Source for Unix/Linux/Cygwin</td>
+<td><a
href="http://archive.apache.org/dist/mina/vysper/0.7/vysper-0.7-src.tar.gz">vysper-0.7-src.tar.gz</a></td>
+<td><a
href="http://archive.apache.org/dist/mina/vysper/0.7/vysper-0.7-src.tar.gz.asc">vysper-0.7-src.tar.gz.asc</a></td>
+</tr>
+</tbody>
+</table>
<h2 id="svn-tag-checkout">SVN Tag Checkout</h2>
-<p><DIV class="code panel" style="border-width: 1px;"><DIV class="codeContent
panelContent">
-<PRE class="code-java">
-svn co http:<SPAN
class="code-comment">//svn.apache.org/repos/asf/mina/vysper/tags/0.7</SPAN>
-</PRE>
-</DIV></DIV></p>
+<p>svn co http://svn.apache.org/repos/asf/mina/vysper/tags/0.7</p>
</div><!-- rightColumn -->
<div id="endContent"></div>
Modified: websites/staging/mina/trunk/content/vysper/embed.html
==============================================================================
--- websites/staging/mina/trunk/content/vysper/embed.html (original)
+++ websites/staging/mina/trunk/content/vysper/embed.html Thu Nov 1 10:14:28
2012
@@ -112,55 +112,59 @@ Vysper uses slf4j for logging, which for
<p>TODO: elaborate about the other libs needed.</p>
<h2 id="start-server-naivly">Start server (naivly)</h2>
<p>Having a Vysper XMPP server instance embedded into your own application is
easy:</p>
-<p><DIV class="preformatted panel" style="border-width: 1px;"><DIV
class="preformattedContent panelContent">
-<PRE>import org.apache.vysper.xmpp.server;</p>
-<p>XMPPServer server = new XMPPServer("myembeddedjabber.com");
-server.start();
-</PRE>
-</DIV></DIV></p>
+<div class="codehilite"><pre><span class="kn">import</span> <span
class="nn">org.apache.vysper.xmpp.server</span><span class="o">;</span>
+
+<span class="n">XMPPServer</span> <span class="n">server</span> <span
class="o">=</span> <span class="k">new</span> <span
class="n">XMPPServer</span><span class="o">(&</span><span
class="n">quot</span><span class="o">;</span><span
class="n">myembeddedjabber</span><span class="o">.</span><span
class="na">com</span><span class="o">&</span><span
class="n">quot</span><span class="o">;);</span>
+<span class="n">server</span><span class="o">.</span><span
class="na">start</span><span class="o">();</span>
+</pre></div>
+
+
<p>Unfortunately, this is not the whole story, we need to do some more
preparations first. Hang on!</p>
<h2 id="start-server-full-story">Start server (full story)</h2>
<p>We make use of the JCR-persistent storage, and we add one user.
If you need more users, add more. Just make sure their Jabber ID domain
matches the server's domain ("myembeddedjabber.com", in this case).</p>
-<p><DIV class="preformatted panel" style="border-width: 1px;"><DIV
class="preformattedContent panelContent">
-<PRE>// choose the storage you want to use
-StorageProviderRegistry providerRegistry = new JcrStorageProviderRegistry();
-//StorageProviderRegistry providerRegistry = new
MemoryStorageProviderRegistry();</p>
-<p>final AccountManagement accountManagement = (AccountManagement)
providerRegistry.retrieve(AccountManagement.class);</p>
-<p>if(!accountManagement.verifyAccountExists(EntityImpl.parse("[email protected]")))
{
-
accountManagement.addUser(EntityImpl.parse("[email protected]"),
"password1");
-}
-</PRE>
-</DIV></DIV></p>
+<div class="codehilite"><pre><span class="c1">// choose the storage you want
to use</span>
+<span class="n">StorageProviderRegistry</span> <span
class="n">providerRegistry</span> <span class="o">=</span> <span
class="k">new</span> <span class="n">JcrStorageProviderRegistry</span><span
class="o">();</span>
+<span class="c1">//StorageProviderRegistry providerRegistry = new
MemoryStorageProviderRegistry();</span>
+
+<span class="kd">final</span> <span class="n">AccountManagement</span> <span
class="n">accountManagement</span> <span class="o">=</span> <span
class="o">(</span><span class="n">AccountManagement</span><span
class="o">)</span> <span class="n">providerRegistry</span><span
class="o">.</span><span class="na">retrieve</span><span class="o">(</span><span
class="n">AccountManagement</span><span class="o">.</span><span
class="na">class</span><span class="o">);</span>
+
+<span class="k">if</span><span class="o">(!</span><span
class="n">accountManagement</span><span class="o">.</span><span
class="na">verifyAccountExists</span><span class="o">(</span><span
class="n">EntityImpl</span><span class="o">.</span><span
class="na">parse</span><span class="o">(&</span><span
class="n">quot</span><span class="o">;</span><span class="n">user1</span><span
class="nd">@myembeddedjabber.com</span><span class="o">&</span><span
class="n">quot</span><span class="o">;)))</span> <span class="o">{</span>
+ <span class="n">accountManagement</span><span class="o">.</span><span
class="na">addUser</span><span class="o">(</span><span
class="n">EntityImpl</span><span class="o">.</span><span
class="na">parse</span><span class="o">(&</span><span
class="n">quot</span><span class="o">;</span><span class="n">user1</span><span
class="nd">@myembeddedjabber.com</span><span class="o">&</span><span
class="n">quot</span><span class="o">;),</span> <span
class="o">&</span><span class="n">quot</span><span class="o">;</span><span
class="n">password1</span><span class="o">&</span><span
class="n">quot</span><span class="o">;);</span>
+<span class="o">}</span>
+</pre></div>
+
+
<p>Now, instantiate the server and set the fundamental stuff: endpoint, user
management and TLS.</p>
<p>SSL needs a TLS certificate. There is one coming along with Vysper for
testing purposes only, just make sure it is properly referenced on the file
system.
Or, even better, create your own.</p>
-<p><DIV class="preformatted panel" style="border-width: 1px;"><DIV
class="preformattedContent panelContent">
-<PRE>XMPPServer server = new XMPPServer("myembeddedjabber.com");
-server.addEndpoint(new TCPEndpoint());
-server.setStorageProviderRegistry(providerRegistry);</p>
-<p>server.setTLSCertificateInfo(new
File("src/main/config/bogus_mina_tls.cert"), "boguspw");
-</PRE>
-</DIV></DIV></p>
+<div class="codehilite"><pre><span class="n">XMPPServer</span> <span
class="n">server</span> <span class="o">=</span> <span class="k">new</span>
<span class="n">XMPPServer</span><span class="o">(&</span><span
class="n">quot</span><span class="o">;</span><span
class="n">myembeddedjabber</span><span class="o">.</span><span
class="na">com</span><span class="o">&</span><span
class="n">quot</span><span class="o">;);</span>
+<span class="n">server</span><span class="o">.</span><span
class="na">addEndpoint</span><span class="o">(</span><span class="k">new</span>
<span class="n">TCPEndpoint</span><span class="o">());</span>
+<span class="n">server</span><span class="o">.</span><span
class="na">setStorageProviderRegistry</span><span class="o">(</span><span
class="n">providerRegistry</span><span class="o">);</span>
+
+<span class="n">server</span><span class="o">.</span><span
class="na">setTLSCertificateInfo</span><span class="o">(</span><span
class="k">new</span> <span class="n">File</span><span
class="o">(&</span><span class="n">quot</span><span class="o">;</span><span
class="n">src</span><span class="o">/</span><span class="n">main</span><span
class="o">/</span><span class="n">config</span><span class="o">/</span><span
class="n">bogus_mina_tls</span><span class="o">.</span><span
class="na">cert</span><span class="o">&</span><span
class="n">quot</span><span class="o">;),</span> <span
class="o">&</span><span class="n">quot</span><span class="o">;</span><span
class="n">boguspw</span><span class="o">&</span><span
class="n">quot</span><span class="o">;);</span>
+</pre></div>
+
+
<p>With initializing completed, just give it a go:</p>
-<p><DIV class="preformatted panel" style="border-width: 1px;"><DIV
class="preformattedContent panelContent">
-<PRE>try {
- server.start();
- System.out.println("server is running...");
-} catch (Exception e) {
- e.printStackTrace();
-}
-</PRE>
-</DIV></DIV></p>
+<div class="codehilite"><pre><span class="k">try</span> <span
class="o">{</span>
+ <span class="n">server</span><span class="o">.</span><span
class="na">start</span><span class="o">();</span>
+ <span class="n">System</span><span class="o">.</span><span
class="na">out</span><span class="o">.</span><span
class="na">println</span><span class="o">(&</span><span
class="n">quot</span><span class="o">;</span><span class="n">server</span>
<span class="n">is</span> <span class="n">running</span><span
class="o">...&</span><span class="n">quot</span><span class="o">;);</span>
+<span class="o">}</span> <span class="k">catch</span> <span
class="o">(</span><span class="n">Exception</span> <span
class="n">e</span><span class="o">)</span> <span class="o">{</span>
+ <span class="n">e</span><span class="o">.</span><span
class="na">printStackTrace</span><span class="o">();</span>
+<span class="o">}</span>
+</pre></div>
+
+
<h2 id="adding-modules-to-the-server">Adding modules to the server.</h2>
<p>The server starts up with two built-in modules, Roster and Service
Discovery. Both can be considered as optional, but for a proper server you
would normally want to have them (and if you don't, remove them from code in
XMPPServer.start() and rebuild).</p>
<p>Some handy modules can be added, but this is optional:</p>
-<p><DIV class="preformatted panel" style="border-width: 1px;"><DIV
class="preformattedContent panelContent">
-<PRE>server.addModule(new SoftwareVersionModule());
-server.addModule(new EntityTimeModule());
-server.addModule(new VcardTempModule()); // depends on Jcr persistence
-</PRE>
-</DIV></DIV></p>
+<div class="codehilite"><pre><span class="n">server</span><span
class="o">.</span><span class="na">addModule</span><span
class="o">(</span><span class="k">new</span> <span
class="n">SoftwareVersionModule</span><span class="o">());</span>
+<span class="n">server</span><span class="o">.</span><span
class="na">addModule</span><span class="o">(</span><span class="k">new</span>
<span class="n">EntityTimeModule</span><span class="o">());</span>
+<span class="n">server</span><span class="o">.</span><span
class="na">addModule</span><span class="o">(</span><span class="k">new</span>
<span class="n">VcardTempModule</span><span class="o">());</span> <span
class="c1">// depends on Jcr persistence</span>
+</pre></div>
+
+
<h2 id="reference">Reference</h2>
<p>The full and probably improved latest version of this code can be found <a
href="http://svn.apache.org/repos/asf/mina/sandbox/vysper/trunk/server/core/src/main/java/org/apache/vysper/xmpp/server/ServerMain.java">here</a></p>