Revision: 6d966df6bc1d
Author: Alexandre Mendonça <ammendonca>
Date: Tue Sep 11 20:40:49 2012
Log: Updating Docs Install Section to use Git repository
http://code.google.com/p/jain-slee/source/detail?r=6d966df6bc1d&repo=jdbc
Modified:
/resources/jdbc/docs/sources-mobicents/pom.xml
/resources/jdbc/docs/sources/src/main/resources/en-US/Chapter-Setup.xml
/resources/jdbc/docs/sources/src/main/resources/en-US/User_Guide.ent
=======================================
--- /resources/jdbc/docs/sources-mobicents/pom.xml Mon Sep 10 20:47:42 2012
+++ /resources/jdbc/docs/sources-mobicents/pom.xml Tue Sep 11 20:40:49 2012
@@ -14,9 +14,9 @@
<properties>
<THIS.PLATFORM>Mobicents</THIS.PLATFORM>
<JEE.PLATFORM>JBoss Application Server</JEE.PLATFORM>
-
<THIS.ISSUE_TRACKER_URL>http://code.google.com/p/mobicents/issues/list</THIS.ISSUE_TRACKER_URL>
-
<THIS.RELEASE_SOURCE_CODE_URL>http://mobicents.googlecode.com/svn/tags/servers/jain-slee/2.x.y/resources/${docs.ra.dirname}</THIS.RELEASE_SOURCE_CODE_URL>
-
<THIS.TRUNK_SOURCE_CODE_URL>http://mobicents.googlecode.com/svn/trunk/servers/jain-slee/resources/${docs.ra.dirname}</THIS.TRUNK_SOURCE_CODE_URL>
+
<THIS.ISSUE_TRACKER_URL>http://code.google.com/p/jain-slee/issues/list</THIS.ISSUE_TRACKER_URL>
+ <THIS.PACKAGE_NAME>jdbc</THIS.PACKAGE_NAME>
+
<THIS.SOURCE_CODE_URL>https://code.google.com/p/jain-slee.${THIS.PACKAGE_NAME}/</THIS.SOURCE_CODE_URL>
<author.email.eduardo>emmartins (at)
gmail.com</author.email.eduardo>
</properties>
=======================================
--- /resources/jdbc/docs/sources/src/main/resources/en-US/Chapter-Setup.xml
Sat Aug 18 11:48:33 2012
+++ /resources/jdbc/docs/sources/src/main/resources/en-US/Chapter-Setup.xml
Tue Sep 11 20:40:49 2012
@@ -31,31 +31,38 @@
<step>
<title>Downloading the source code</title>
<important>
- <para>Subversion is used to manage its source code. Instructions
for using Subversion, including install, can be found at <ulink
url="http://svnbook.red-bean.com" /></para>
+ <para>Git is used to manage Mobicents JAIN SLEE source code.
Instructions for downloading, installing and using Git can be found at
<ulink url="http://git-scm.com/" /></para>
</important>
- <para>Use SVN to checkout a specific release source, the base URL
is &THIS.RELEASE_SOURCE_CODE_URL;, then add the specific release version,
lets consider &THIS.VERSION;.</para>
- <programlisting>[usr]$ svn co
&THIS.RELEASE_SOURCE_CODE_URL;/&THIS.VERSION;
slee-ra-&THIS.RA.DIRNAME;-&THIS.VERSION;</programlisting>
+ <para>Use Git to checkout a specific release source, the Git
repository URL is &THIS.SOURCE_CODE_URL; , then switch to the specific
release version, lets consider &THIS.VERSION;.</para>
+ <programlisting>
+ [usr]$ git clone &THIS.SOURCE_CODE_URL;
mobicents-jain-slee-&THIS.PACKAGE_NAME;
+ [usr]$ cd
mobicents-jain-slee-&THIS.PACKAGE_NAME;
+ [usr]$ git checkout tags/&THIS.VERSION;
+ </programlisting>
</step>
<step>
<title>Building the source code</title>
<important>
- <para>Maven 2.2.1 (or higher) is used to build the release.
Instructions for using Maven2, including install, can be found at <ulink
url="http://maven.apache.org" /></para>
+ <para>Maven 2.0.9 (or higher) is used to build the release.
Instructions for using Maven2, including install, can be found at <ulink
url="http://maven.apache.org" /></para>
</important>
<para>Use Maven to build the deployable unit
binary.</para>
<programlisting>
- [usr]$ cd
slee-ra-&THIS.RA.DIRNAME;-&THIS.VERSION;
+ [usr]$ cd resources/&THIS.RA.DIRNAME;
[usr]$ mvn install
</programlisting>
<para>Once the process finishes you should have the
<literal>deployable-unit</literal> jar file in the
<filename>target</filename> directory, if &THIS.PLATFORM; JAIN SLEE is
installed and environment variable JBOSS_HOME is pointing to its underlying
&JEE.PLATFORM; directory, then the deployable unit jar will also be
deployed in the container.</para>
</step>
- </procedure>
- </section>
+ </procedure>
+ </section>
- <section id="trunk_source_building">
- <title>Development Trunk Source Building</title>
- <para>Similar process as for <xref linkend="release_source_building"/>,
the only change is the SVN source code URL, which is
&THIS.TRUNK_SOURCE_CODE_URL;.</para>
- </section>
-
+ <section id="master_source_building">
+ <title>Development Master Source Building</title>
+ <para>Similar process as for <xref linkend="release_source_building"/>,
the only change is the Git reference should be the
<literal>master</literal>. The <literal>git checkout
tags/&THIS.VERSION;</literal> command should not be performed. If already
performed, the following should be used in order to switch back to the
master:</para>
+ <programlisting>
+ [usr]$ git checkout master
+ </programlisting>
+ </section>
+
</section>
<section id="install">
=======================================
--- /resources/jdbc/docs/sources/src/main/resources/en-US/User_Guide.ent
Sat Aug 18 11:48:33 2012
+++ /resources/jdbc/docs/sources/src/main/resources/en-US/User_Guide.ent
Tue Sep 11 20:40:49 2012
@@ -17,5 +17,5 @@
<!ENTITY THIS.RA "${docs.ra.name}">
<!ENTITY THIS.RA.DIRNAME "${docs.ra.dirname}">
<!ENTITY THIS.ISSUE_TRACKER_URL "${THIS.ISSUE_TRACKER_URL}">
-<!ENTITY THIS.RELEASE_SOURCE_CODE_URL "${THIS.RELEASE_SOURCE_CODE_URL}">
-<!ENTITY THIS.TRUNK_SOURCE_CODE_URL "${THIS.TRUNK_SOURCE_CODE_URL}">
+<!ENTITY THIS.SOURCE_CODE_URL "${THIS.SOURCE_CODE_URL}">
+<!ENTITY THIS.PACKAGE_NAME "${THIS.PACKAGE_NAME}">