Author: elecharny
Date: Thu Nov 1 10:14:23 2012
New Revision: 1404530
URL: http://svn.apache.org/viewvc?rev=1404530&view=rev
Log:
Removed the tables, and the DIV
Modified:
mina/site/trunk/content/vysper/download_0.5.mdtext
mina/site/trunk/content/vysper/download_0.6.mdtext
mina/site/trunk/content/vysper/download_0.7.mdtext
mina/site/trunk/content/vysper/embed.mdtext
Modified: mina/site/trunk/content/vysper/download_0.5.mdtext
URL:
http://svn.apache.org/viewvc/mina/site/trunk/content/vysper/download_0.5.mdtext?rev=1404530&r1=1404529&r2=1404530&view=diff
==============================================================================
--- mina/site/trunk/content/vysper/download_0.5.mdtext (original)
+++ mina/site/trunk/content/vysper/download_0.5.mdtext Thu Nov 1 10:14:23 2012
@@ -28,25 +28,10 @@ This is the first release of Apache Vysp
# Getting the Binary Distributions
-<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>
+| Description | Download Link | PGP Signature file of download |
+|---|---|---|
+| Windows Distribution |
[vysper-0.5-bin.zip](http://archive.apache.org/dist/mina/vysper/0.5/vysper-0.5-bin.zip)
|
[vysper-0.5-bin.zip.asc](http://archive.apache.org/dist/mina/vysper/0.5/vysper-0.5-bin.zip.asc)
|
+| Unix/Linux/Cygwin Distribution |
[vysper-0.5-bin.tar.gz](http://archive.apache.org/dist/mina/vysper/0.5/vysper-0.5-bin.tar.gz)
|
[vysper-0.5-bin.tar.gz.asc](http://archive.apache.org/dist/mina/vysper/0.5/vysper-0.5-bin.tar.gz.asc)
|
# Verify the Integrity of Downloads
@@ -56,27 +41,18 @@ It is essential that you verify the inte
2. Download the asc signature file for the relevant distribution
3. Verify the signatures using the following commands, depending on your use
of PGP or GPG:
-<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>
+ $ pgpk -a KEYS
+ $ pgpv vysper-<version>-bin.tar.gz.asc
or
-<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>
+ $ pgp -ka KEYS
+ $ pgp vysper-<version>-bin.tar.gz.asc
or
-<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>
+ $ gpg --import KEYS
+ $ gpg --verify vysper-<version>-bin.tar.gz.asc
(Where <version> is replaced with the actual version, e.g., 0.5).
@@ -90,42 +66,20 @@ Alternatively, you can verify the MD5 si
To use this release in your maven project, the proper dependency configuration
that you should use in your [Maven
POM](http://maven.apache.org/guides/introduction/introduction-to-the-pom.html)
is:
-<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>
+ :::XML
+ <dependency>
+ <groupId>org.apache.vysper</groupId>
+ <artifactId>vysper-core</artifactId>
+ <version>0.5</version>
+ </dependency>
# Getting the Source Code
## Source Distributions
-<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>
-
-<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>
+| Description | Download Link | PGP Signature file of download |
+|---|---|---|
+| Source for Windows |
[vysper-0.5-src.zip](http://archive.apache.org/dist/mina/vysper/0.5/vysper-0.5-src.zip)
|
[vysper-0.5-src.zip.asc](http://archive.apache.org/dist/mina/vysper/0.5/vysper-0.5-src.zip.asc)
|
+| Source for Unix/Linux/Cygwin |
[vysper-0.5-src.tar.gz](http://archive.apache.org/dist/mina/vysper/0.5/vysper-0.5-src.tar.gz)
|
[vysper-0.5-src.tar.gz.asc](http://archive.apache.org/dist/mina/vysper/0.5/vysper-0.5-src.tar.gz.asc)
|
+
+ svn co http://svn.apache.org/repos/asf/mina/vysper/tags/0.5
Modified: mina/site/trunk/content/vysper/download_0.6.mdtext
URL:
http://svn.apache.org/viewvc/mina/site/trunk/content/vysper/download_0.6.mdtext?rev=1404530&r1=1404529&r2=1404530&view=diff
==============================================================================
--- mina/site/trunk/content/vysper/download_0.6.mdtext (original)
+++ mina/site/trunk/content/vysper/download_0.6.mdtext Thu Nov 1 10:14:23 2012
@@ -36,28 +36,10 @@ For a detailed view of new features and
# Getting the Binary Distributions
-<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>
+| Description | Download Link | PGP Signature file of download |
+|---|---|---|
+| Windows Distribution |
[vysper-0.6-bin.zip](http://archive.apache.org/dist/mina/vysper/0.6/vysper-0.6-bin.zip)
|
[vysper-0.6-bin.zip.asc](http://archive.apache.org/dist/mina/vysper/0.6/vysper-0.6-bin.zip.asc)
|
+| Unix/Linux/Cygwin Distribution |
[vysper-0.6-bin.tar.gz](http://archive.apache.org/dist/mina/vysper/0.6/vysper-0.6-bin.tar.gz)
|
[vysper-0.6-bin.tar.gz.asc](http://archive.apache.org/dist/mina/vysper/0.6/vysper-0.6-bin.tar.gz.asc)
|
# Verify the Integrity of Downloads
@@ -67,27 +49,18 @@ It is essential that you verify the inte
2. Download the asc signature file for the relevant distribution
3. Verify the signatures using the following commands, depending on your use
of PGP or GPG:
-<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>
+ $ pgpk -a KEYS
+ $ pgpv vysper-<version>-bin.tar.gz.asc
or
-<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>
+ $ pgp -ka KEYS
+ $ pgp vysper-<version>-bin.tar.gz.asc
or
-<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>
+ $ gpg --import KEYS
+ $ gpg --verify vysper-<version>-bin.tar.gz.asc
(Where <version> is replaced with the actual version, e.g., 0.6).
@@ -101,47 +74,22 @@ Alternatively, you can verify the MD5 si
To use this release in your maven project, the proper dependency configuration
that you should use in your [Maven
POM](http://maven.apache.org/guides/introduction/introduction-to-the-pom.html)
is:
-<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>
+ :::XML
+ <dependency>
+ <groupId>org.apache.vysper</groupId>
+ <artifactId>vysper-core</artifactId>
+ <version>0.6</version>
+ </dependency>
# Getting the Source Code
## Source Distributions
-<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>
+| Description | Download Link | PGP Signature file of download |
+|---|---|---|
+| Source for Windows |
[vysper-0.6-src.zip](http://archive.apache.org/dist/mina/vysper/0.6/vysper-0.6-src.zip)
|
[vysper-0.6-src.zip.asc](http://archive.apache.org/dist/mina/vysper/0.6/vysper-0.6-src.zip.asc)
|
+| Source for Unix/Linux/Cygwin |
[vysper-0.6-src.tar.gz](http://archive.apache.org/dist/mina/vysper/0.6/vysper-0.6-src.tar.gz)
|
[vysper-0.6-src.tar.gz.asc](http://archive.apache.org/dist/mina/vysper/0.6/vysper-0.6-src.tar.gz.asc)
|
## SVN Tag Checkout
-<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>
+ svn co http://svn.apache.org/repos/asf/mina/vysper/tags/0.6</SPAN>
Modified: mina/site/trunk/content/vysper/download_0.7.mdtext
URL:
http://svn.apache.org/viewvc/mina/site/trunk/content/vysper/download_0.7.mdtext?rev=1404530&r1=1404529&r2=1404530&view=diff
==============================================================================
--- mina/site/trunk/content/vysper/download_0.7.mdtext (original)
+++ mina/site/trunk/content/vysper/download_0.7.mdtext Thu Nov 1 10:14:23 2012
@@ -27,28 +27,10 @@ For a detailed view of new features and
# Getting the Binary Distributions
-<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>
+| Description | Download Link | PGP Signature file of download |
+|---|---|---|
+| Windows Distribution |
[vysper-0.7-bin.zip](http://archive.apache.org/dist/mina/vysper/0.7/vysper-0.7-bin.zip)
|
[vysper-0.7-bin.zip.asc](http://archive.apache.org/dist/mina/vysper/0.7/vysper-0.7-bin.zip.asc)
|
+| Unix/Linux/Cygwin Distribution |
[vysper-0.7-bin.tar.gz](http://archive.apache.org/dist/mina/vysper/0.7/vysper-0.7-bin.tar.gz)
|
[vysper-0.7-bin.tar.gz.asc](http://archive.apache.org/dist/mina/vysper/0.7/vysper-0.7-bin.tar.gz.asc)
|
# Verify the Integrity of Downloads
@@ -58,27 +40,18 @@ It is essential that you verify the inte
2. Download the asc signature file for the relevant distribution
3. Verify the signatures using the following commands, depending on your use
of PGP or GPG:
-<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>
+ $ pgpk -a KEYS
+ $ pgpv vysper-<version>-bin.tar.gz.asc
or
-<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>
+ $ pgp -ka KEYS
+ $ pgp vysper-<version>-bin.tar.gz.asc
or
-<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>
+ $ gpg --import KEYS
+ $ gpg --verify vysper-<version>-bin.tar.gz.asc
(Where <version> is replaced with the actual version, e.g., 0.7).
@@ -92,47 +65,22 @@ Alternatively, you can verify the MD5 si
To use this release in your maven project, the proper dependency configuration
that you should use in your [Maven
POM](http://maven.apache.org/guides/introduction/introduction-to-the-pom.html)
is:
-<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>
+ :::XML
+ <dependency>
+ <groupId>org.apache.vysper</groupId>
+ <artifactId>vysper-core</artifactId>
+ <version>0.7</version>
+ </dependency>
# Getting the Source Code
## Source Distributions
-<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>
+| Description | Download Link | PGP Signature file of download |
+|---|---|---|
+| Source for Windows |
[vysper-0.7-src.zip](http://archive.apache.org/dist/mina/vysper/0.7/vysper-0.7-src.zip)
|
[vysper-0.7-src.zip.asc](http://archive.apache.org/dist/mina/vysper/0.7/vysper-0.7-src.zip.asc)
|
+| Source for Unix/Linux/Cygwin |
[vysper-0.7-src.tar.gz](http://archive.apache.org/dist/mina/vysper/0.7/vysper-0.7-src.tar.gz)
|
[vysper-0.7-src.tar.gz.asc](http://archive.apache.org/dist/mina/vysper/0.7/vysper-0.7-src.tar.gz.asc)
|
## SVN Tag Checkout
-<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>
+svn co http://svn.apache.org/repos/asf/mina/vysper/tags/0.7
Modified: mina/site/trunk/content/vysper/embed.mdtext
URL:
http://svn.apache.org/viewvc/mina/site/trunk/content/vysper/embed.mdtext?rev=1404530&r1=1404529&r2=1404530&view=diff
==============================================================================
--- mina/site/trunk/content/vysper/embed.mdtext (original)
+++ mina/site/trunk/content/vysper/embed.mdtext Thu Nov 1 10:14:23 2012
@@ -34,13 +34,11 @@ TODO: elaborate about the other libs nee
Having a Vysper XMPP server instance embedded into your own application is
easy:
-<DIV class="preformatted panel" style="border-width: 1px;"><DIV
class="preformattedContent panelContent">
-<PRE>import org.apache.vysper.xmpp.server;
+ :::java
+ import org.apache.vysper.xmpp.server;
-XMPPServer server = new XMPPServer("myembeddedjabber.com");
-server.start();
-</PRE>
-</DIV></DIV>
+ XMPPServer server = new XMPPServer("myembeddedjabber.com");
+ server.start();
Unfortunately, this is not the whole story, we need to do some more
preparations first. Hang on!
@@ -49,44 +47,38 @@ Unfortunately, this is not the whole sto
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).
-<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();
-
-final AccountManagement accountManagement = (AccountManagement)
providerRegistry.retrieve(AccountManagement.class);
-
-if(!accountManagement.verifyAccountExists(EntityImpl.parse("[email protected]")))
{
-
accountManagement.addUser(EntityImpl.parse("[email protected]"),
"password1");
-}
-</PRE>
-</DIV></DIV>
+ :::java
+ // choose the storage you want to use
+ StorageProviderRegistry providerRegistry = new
JcrStorageProviderRegistry();
+ //StorageProviderRegistry providerRegistry = new
MemoryStorageProviderRegistry();
+
+ final AccountManagement accountManagement = (AccountManagement)
providerRegistry.retrieve(AccountManagement.class);
+
+
if(!accountManagement.verifyAccountExists(EntityImpl.parse("[email protected]")))
{
+
accountManagement.addUser(EntityImpl.parse("[email protected]"),
"password1");
+ }
Now, instantiate the server and set the fundamental stuff: endpoint, user
management and TLS.
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.
-<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);
-
-server.setTLSCertificateInfo(new
File("src/main/config/bogus_mina_tls.cert"), "boguspw");
-</PRE>
-</DIV></DIV>
+ :::java
+ XMPPServer server = new XMPPServer("myembeddedjabber.com");
+ server.addEndpoint(new TCPEndpoint());
+ server.setStorageProviderRegistry(providerRegistry);
+
+ server.setTLSCertificateInfo(new
File("src/main/config/bogus_mina_tls.cert"), "boguspw");
With initializing completed, just give it a go:
-<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>
+ :::java
+ try {
+ server.start();
+ System.out.println("server is running...");
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
## Adding modules to the server.
@@ -94,12 +86,10 @@ The server starts up with two built-in m
Some handy modules can be added, but this is optional:
-<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>
+ :::java
+ server.addModule(new SoftwareVersionModule());
+ server.addModule(new EntityTimeModule());
+ server.addModule(new VcardTempModule()); // depends on Jcr persistence
## Reference