Revision: ff02321b9ed0
Author: George Vagenas <[email protected]>
Date: Wed Aug 1 12:34:23 2012
Log: Changes to docs for Telestax, Inc.
http://code.google.com/p/sipservlets/source/detail?r=ff02321b9ed0&repo=frameworks
Added:
/cdi-telco-framework/docs/jdocbook-telescale/pom.xml
/cdi-telco-framework/docs/sources-telescale/.classpath
/cdi-telco-framework/docs/sources-telescale/.project
/cdi-telco-framework/docs/sources-telescale/.settings/org.eclipse.jdt.core.prefs
/cdi-telco-framework/docs/sources-telescale/Makefile
/cdi-telco-framework/docs/sources-telescale/README.txt
/cdi-telco-framework/docs/sources-telescale/mkbk
/cdi-telco-framework/docs/sources-telescale/pom.xml
/cdi-telco-framework/docs/sources-telescale/publican.cfg
Deleted:
/cdi-telco-framework/docs/jdocbook-jbcp/pom.xml
/cdi-telco-framework/docs/sources-jbcp/.classpath
/cdi-telco-framework/docs/sources-jbcp/.project
/cdi-telco-framework/docs/sources-jbcp/.settings/org.eclipse.jdt.core.prefs
/cdi-telco-framework/docs/sources-jbcp/Makefile
/cdi-telco-framework/docs/sources-jbcp/README.txt
/cdi-telco-framework/docs/sources-jbcp/mkbk
/cdi-telco-framework/docs/sources-jbcp/pom.xml
/cdi-telco-framework/docs/sources-jbcp/publican.cfg
Modified:
/cdi-telco-framework/docs/jdocbook-mobicents/pom.xml
/cdi-telco-framework/docs/pom.xml
/cdi-telco-framework/docs/sources/pom.xml
=======================================
--- /dev/null
+++ /cdi-telco-framework/docs/jdocbook-telescale/pom.xml Wed Aug 1
12:34:23 2012
@@ -0,0 +1,98 @@
+
+<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
+
+ <parent>
+ <groupId>org.mobicents.servlet.sip.ctf</groupId>
+ <artifactId>cdi-telco-framework-docs</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ </parent>
+
+ <artifactId>cdi-telco-framework-docs-jdocbook-telescale</artifactId>
+
+ <modelVersion>4.0.0</modelVersion>
+
+ <packaging>jdocbook</packaging>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>unpack</id>
+
<phase>generate-resources</phase>
+ <goals>
+ <goal>unpack</goal>
+ </goals>
+ <configuration>
+ <artifactItems>
+ <artifactItem>
+
<groupId>${pom.groupId}</groupId>
+
<artifactId>cdi-telco-framework-docs-sources-telescale</artifactId>
+
<version>${pom.version}</version>
+
<type>jar</type>
+
<overWrite>true</overWrite>
+
<outputDirectory>${project.build.directory}/docbook/resources</outputDirectory>
+ </artifactItem>
+ </artifactItems>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.jboss.maven.plugins</groupId>
+ <artifactId>maven-jdocbook-plugin</artifactId>
+ <version>2.3.5</version>
+ <extensions>true</extensions>
+ <dependencies>
+ <dependency>
+
<groupId>org.mobicents.jdocbook</groupId>
+
<artifactId>telestax-xslt-ns</artifactId>
+ <version>1.1.0.FINAL</version>
+ </dependency>
+ <dependency>
+
<groupId>org.mobicents.jdocbook</groupId>
+
<artifactId>telestax-community-style</artifactId>
+ <type>jdocbook-style</type>
+ <version>1.1.0.FINAL</version>
+ </dependency>
+ </dependencies>
+ <configuration>
+
<sourceDocumentName>CDI_Telco_Framework_User_Guide.xml</sourceDocumentName>
+
<sourceDirectory>${project.build.directory}/docbook/resources</sourceDirectory>
+ <imageResource>
+
<directory>${project.build.directory}/docbook/resources/en-US</directory>
+ <includes>
+
<include>images/*</include>
+ </includes>
+ </imageResource>
+ <formats>
+ <format>
+
<formatName>pdf</formatName>
+
<stylesheetResource>classpath:/xslt/org/jboss/pdf.xsl</stylesheetResource>
+
<finalName>CDI_Telco_Framework_User_Guide.pdf</finalName>
+ </format>
+ <format>
+
<formatName>html</formatName>
+
<stylesheetResource>classpath:/xslt/org/jboss/xhtml.xsl</stylesheetResource>
+
<finalName>index.html</finalName>
+ </format>
+ <format>
+
<formatName>html_single</formatName>
+
<stylesheetResource>classpath:/xslt/org/jboss/xhtml-single.xsl</stylesheetResource>
+
<finalName>index.html</finalName>
+ </format>
+ </formats>
+ <options>
+
<xincludeSupported>true</xincludeSupported>
+ <!-- needed for uri-resolvers; can be ommitted if using 'current'
uri scheme -->
+ <!-- could also locate the docbook dependency and inspect its
version... -->
+
<docbookVersion>1.72.0</docbookVersion>
+ </options>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+</project>
=======================================
--- /dev/null
+++ /cdi-telco-framework/docs/sources-telescale/.classpath Wed Aug 1
12:34:23 2012
@@ -0,0 +1,5 @@
+<classpath>
+ <classpathentry kind="src" path="src/main/resources"
excluding="**/*.java"/>
+ <classpathentry kind="output" path="target/classes"/>
+ <classpathentry kind="con"
path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+</classpath>
=======================================
--- /dev/null
+++ /cdi-telco-framework/docs/sources-telescale/.project Wed Aug 1
12:34:23 2012
@@ -0,0 +1,13 @@
+<projectDescription>
+ <name>cdi-telco-framework-docs-sources-jbcp</name>
+ <comment>Mobicents :: Parent pom for 2.x releases. NO_M2ECLIPSE_SUPPORT:
Project files created with the maven-eclipse-plugin are not supported in
M2Eclipse.</comment>
+ <projects/>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
=======================================
--- /dev/null
+++
/cdi-telco-framework/docs/sources-telescale/.settings/org.eclipse.jdt.core.prefs
Wed Aug 1 12:34:23 2012
@@ -0,0 +1,5 @@
+#Fri Apr 15 21:47:30 CEST 2011
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.source=1.5
+org.eclipse.jdt.core.compiler.compliance=1.5
=======================================
--- /dev/null
+++ /cdi-telco-framework/docs/sources-telescale/Makefile Wed Aug 1
12:34:23 2012
@@ -0,0 +1,26 @@
+#Makefile for Platform_User_Guide
+
+XML_LANG = en-US
+# DOCNAME = Platform_User_Guide
+# PRODUCT = FIX_ME!
+BRAND = JBoss
+# DOC_TYPE = Set
+
+# Uncomment below 3 lines for a Distributed Set
+#BOOKS = Platform_Installation_Guide JAIN_SLEE_Server_User_Guide
+#BOOKS = Platform_Installation_Guide JAIN_SLEE_Server_User_Guide
SIP_Servlets_Server_User_Guide Media_Server_User_Guide
SIP_Presence_Service_User_Guide
+#SET_REPO =
https://svn.devel.redhat.com/repos/ecs/JBoss_Communications_Platform/1.2.0/
+#SET_REPO_TYPE = SVN
+
+#OTHER_LANGS = as-IN bn-IN de-DE es-ES fr-FR gu-IN hi-IN it-IT ja-JP kn-IN
ko-KR ml-IN mr-IN or-IN pa-IN pt-BR ru-RU si-LK ta-IN te-IN zh-CN zh-TW
+
+# Extra Parameters start here
+
+# Extra Parameters stop here
+COMMON_CONFIG = /usr/share/publican
+include $(COMMON_CONFIG)/make/Makefile.common
+
+# Uncomment below 2 lines for a Distributed Set
+#pre:: get_books set_books
+#clean:: clean_set_books
+
=======================================
--- /dev/null
+++ /cdi-telco-framework/docs/sources-telescale/README.txt Wed Aug 1
12:34:23 2012
@@ -0,0 +1,7 @@
+when mvn clean install has been performed in the parent directory, to
validate against publican do :
+
+cd ./src/main/resources
+chmod 777 mkbk Makefile
+./mkbk sss jbcp html-single-en-US
+
+that's it
=======================================
--- /dev/null
+++ /cdi-telco-framework/docs/sources-telescale/mkbk Wed Aug 1 12:34:23
2012
@@ -0,0 +1,144 @@
+#! /usr/bin/env bash
+# :mode=shellscript:
+
+# short script for building Mobicents docs and ensuring
+# necessary files for JDocBook (all-*) are updated
+# for usage, call ./build_docs.bash without any arguments
+
+# EXAMPLES:
+
+# mkbk test
+# ...means: run xmllint on all books, looking for the first that does
not build
+
+# make CONDITION="mob" html-single-en-US
+# BECOMES
+# mkbk jss mob html-single-en-US
+
+# make CONDITION="jbcp" html-single-en-US
+# BECOMES
+# mkbk jss jbcp html-single-en-US
+
+# JDocBook Reference (ignore this):
+# mvn compile -Denv.DOCNAME="SIP_Servlets_Server_User_Guide"
-Phtml_single
+
+echo "Arg 1 [\$BK] (codename of book OR simply 'test'): $1"; BK=$(echo $1
| tr '[:upper:]' '[:lower:]')
+echo "Arg 2 [\$COND] (CONDITION): $2"; COND=$(echo $2 |
tr '[:upper:]' '[:lower:]')
+echo -n "Arg 3 (pass-through arg; 3rd arg to 'make', if exists): ";
THIRD="$3"; echo $THIRD
+echo -n "Arg 4 (pass-through arg; 4th arg to 'make', if exists): ";
FOURTH="$4"; echo $FOURTH
+echo -n "Arg 5 (pass-through arg; 5th arg to 'make', if exists): ";
FIFTH="$5"; echo $FIFTH
+echo "-------------------------------------------------"
+
+pre="[MKBK] "
+
+ALL_BKS="jss ms sss sps pig plat"
+ALL_CONDS="mob jbcp"
+
+PLAT="Platform_User_Guide"
+PIG="Platform_Installation_Guide"
+JSS="JAIN_SLEE_Server_User_Guide"
+MS="Media_Server_User_Guide"
+SSS="SIP_Servlets_Server_User_Guide"
+SPS="SIP_Presence_Service_User_Guide"
+
+set_docname() {
+ case $BK in
+ "plat") DOCNAME="$PLAT";;
+ "pig" ) DOCNAME="$PIG";;
+ "jss" ) DOCNAME="$JSS";;
+ "ms" ) DOCNAME="$MS";;
+ "sss") DOCNAME="$SSS";;
+ "sps") DOCNAME="$SPS";;
+ esac
+}
+
+test() {
+ for bk in "jss" "ms" "sss" "sps" "pig" "plat" # $PLAT $PIG $JSS $MS $SPS
+ do
+ BK=$bk
+ set_docname
+ cmd = "mkbk $bk jbcp xml-en-US &>/dev/null"
+
+ echo -n "$pre"; echo "DOCNAME is $DOCNAME"
+ echo -n "$pre"; echo "Calling:"; echo ""
+ echo -n "$pre"; echo " $cmd"
+
+ eval $cmd
+
+ if [ $? -ne 0 ]; then
+ echo -n "$pre"; echo "$bk is failing to build! Run!"
+ exit 1
+ else
+ echo -n "$pre"; echo "$DOCNAME builds correctly."
+ echo -n "$pre"; echo "*****************************"
+ fi
+ done
+ echo -n "$pre"; echo "All books build correctly. Throw a party!"
+ exit 0
+}
+
+rm_tmp() {
+ if [[ -e Makefile ]]; then
+ if [[ -e pom.xml ]]; then
+ if [[ -e tmp ]]; then
+ echo -n "$pre"; echo "Removing 'tmp'..."
+ rm tmp -fr
+ fi
+ fi
+ fi
+}
+
+build_bk() {
+ rm_tmp
+ set_docname
+ cmd="make DOCNAME=$DOCNAME CONDITION=$COND $THIRD $FOURTH $FIFTH"
+ echo -n "$pre"; echo "DOCNAME is '$DOCNAME'"
+ echo -n "$pre"; echo "Calling:"; echo ""
+ echo -n "$pre"; echo " $cmd"
+ eval $cmd
+
+ if [ $? -ne 0 ]; then
+ echo -n "$pre"; echo "$DOCNAME did not build!"
+ exit 1
+ else
+ if [ "$COND" = "mob" ]; then
+ echo -n "$pre"; echo "Removing
'en-US/all-$DOCNAME.xml'..."
+ rm "en-US/all-$DOCNAME.xml"
+ echo -n "$pre"; echo "Copying 'tmp/en-US/xml/$DOCNAME.xml'
to 'en-US/all-$DOCNAME.xml'..."
+ xmllint --postvalid --noent --xinclude "tmp/en-US/xml/$DOCNAME.xml"
"en-US/all-$DOCNAME.xml"
+ fi
+ echo -n "$pre"; echo "$DOCNAME built. Exiting successfully."
+ exit 0
+ fi
+}
+
+# TEST ARGUMENTS
+chk_BK_arg() {
+ if [ "$BK" = "" ]; then
+ echo -n "$pre"; echo "***************************************"
+ echo -n "$pre"; echo "Error: the BK argument must either represent a
book or be 'test'"
+ echo -n "$pre"; echo " A possible argument for the BK OPTION is one
of : $ALL_BKS"
+ echo -n "$pre"; echo "***************************************"
+ exit 1
+ fi
+}
+
+chk_COND_arg() {
+ if [ "$COND" != "mob" -a "$COND" != "jbcp" ]; then
+ echo -n "$pre"; echo "***************************************"
+ echo -n "$pre"; echo "Error: the second argument must be one of these
conditions: $ALL_CONDS"
+ echo -n "$pre"; echo "***************************************"
+ exit 1
+ fi
+}
+
+dispatch() {
+ chk_BK_arg
+ if [ "$BK" = "test" ]; then
+ test
+ fi
+ chk_COND_arg
+
+ build_bk
+}
+
+dispatch
=======================================
--- /dev/null
+++ /cdi-telco-framework/docs/sources-telescale/pom.xml Wed Aug 1 12:34:23
2012
@@ -0,0 +1,95 @@
+
+<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
+
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.mobicents.servlet.sip.ctf</groupId>
+ <artifactId>cdi-telco-framework-docs</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ </parent>
+
+ <artifactId>cdi-telco-framework-docs-sources-telescale</artifactId>
+
+ <properties>
+ <platform.name>Telescale Platform</platform.name>
+ <short.platform.name>Telescale SIP
Servlets</short.platform.name>
+ <cmd.platform.name>telescale-ss</cmd.platform.name>
+ <ctf.version>${project.version}</ctf.version>
+ <author.email.ivelin>[email protected]</author.email.ivelin>
+ <author.email.eduardo>[email protected]</author.email.eduardo>
+ <author.email.jean>[email protected]</author.email.jean>
+ <author.email.vlad>[email protected]</author.email.vlad>
+ <author.email.georges>[email protected]</author.email.georges>
+ </properties>
+
+ <build>
+ <resources>
+ <resource>
+ <directory>${basedir}/src/main/resources</directory>
+ <filtering>true</filtering>
+ </resource>
+ </resources>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>unpack</id>
+
<phase>generate-resources</phase>
+ <goals>
+ <goal>unpack</goal>
+ </goals>
+ <configuration>
+ <artifactItems>
+ <artifactItem>
+
<groupId>${pom.groupId}</groupId>
+
<artifactId>cdi-telco-framework-docs-sources</artifactId>
+
<version>${pom.version}</version>
+
<type>jar</type>
+
<overWrite>true</overWrite>
+
<outputDirectory>${basedir}/src/main/resources</outputDirectory>
+ </artifactItem>
+ </artifactItems>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+<execution>
+ <phase>install</phase>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ <configuration>
+ <tasks>
+ <copy file="mkbk" todir="src/main/resources/" />
+ <copy file="Makefile" todir="src/main/resources/" />
+ <copy file="publican.cfg" todir="src/main/resources/" />
+ </tasks>
+ </configuration>
+ </execution>
+
+ <execution>
+ <id>clean-resources</id>
+ <phase>clean</phase>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ <configuration>
+ <tasks>
+ <delete failonerror="false"
includeemptydirs="true">
+ <fileset
dir="${basedir}/src" />
+ </delete>
+ </tasks>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+
+</project>
=======================================
--- /dev/null
+++ /cdi-telco-framework/docs/sources-telescale/publican.cfg Wed Aug 1
12:34:23 2012
@@ -0,0 +1,7 @@
+# Config::Simple 4.59
+# Thu Jan 27 14:23:54 2011
+
+debug: 1
+xml_lang: en-US
+brand: JBoss
+
=======================================
--- /cdi-telco-framework/docs/jdocbook-jbcp/pom.xml Wed Aug 1 06:50:19 2012
+++ /dev/null
@@ -1,98 +0,0 @@
-
-<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
-
- <parent>
- <groupId>org.mobicents.servlet.sip.ctf</groupId>
- <artifactId>cdi-telco-framework-docs</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- </parent>
-
- <artifactId>cdi-telco-framework-docs-jdocbook-jbcp</artifactId>
-
- <modelVersion>4.0.0</modelVersion>
-
- <packaging>jdocbook</packaging>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <executions>
- <execution>
- <id>unpack</id>
-
<phase>generate-resources</phase>
- <goals>
- <goal>unpack</goal>
- </goals>
- <configuration>
- <artifactItems>
- <artifactItem>
-
<groupId>${pom.groupId}</groupId>
-
<artifactId>cdi-telco-framework-docs-sources-jbcp</artifactId>
-
<version>${pom.version}</version>
-
<type>jar</type>
-
<overWrite>true</overWrite>
-
<outputDirectory>${project.build.directory}/docbook/resources</outputDirectory>
- </artifactItem>
- </artifactItems>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.jboss.maven.plugins</groupId>
- <artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.2.0</version>
- <extensions>true</extensions>
- <dependencies>
- <dependency>
- <groupId>org.jboss</groupId>
-
<artifactId>jbossorg-docbook-xslt</artifactId>
- <version>1.1.0</version>
- </dependency>
- <dependency>
- <groupId>org.jboss</groupId>
-
<artifactId>jbossorg-jdocbook-style</artifactId>
- <version>1.1.0</version>
- <type>jdocbook-style</type>
- </dependency>
- </dependencies>
- <configuration>
-
<sourceDocumentName>CDI_Telco_Framework_User_Guide.xml</sourceDocumentName>
-
<sourceDirectory>${project.build.directory}/docbook/resources</sourceDirectory>
- <imageResource>
-
<directory>${project.build.directory}/docbook/resources/en-US</directory>
- <includes>
-
<include>images/*</include>
- </includes>
- </imageResource>
- <formats>
- <format>
-
<formatName>pdf</formatName>
-
<stylesheetResource>classpath:/xslt/org/jboss/pdf.xsl</stylesheetResource>
-
<finalName>CDI_Telco_Framework_User_Guide.pdf</finalName>
- </format>
- <format>
-
<formatName>html</formatName>
-
<stylesheetResource>classpath:/xslt/org/jboss/xhtml.xsl</stylesheetResource>
-
<finalName>index.html</finalName>
- </format>
- <format>
-
<formatName>html_single</formatName>
-
<stylesheetResource>classpath:/xslt/org/jboss/xhtml-single.xsl</stylesheetResource>
-
<finalName>index.html</finalName>
- </format>
- </formats>
- <options>
-
<xincludeSupported>true</xincludeSupported>
- <!-- needed for uri-resolvers; can be ommitted if using 'current'
uri scheme -->
- <!-- could also locate the docbook dependency and inspect its
version... -->
-
<docbookVersion>1.72.0</docbookVersion>
- </options>
- </configuration>
- </plugin>
- </plugins>
- </build>
-
-</project>
=======================================
--- /cdi-telco-framework/docs/sources-jbcp/.classpath Wed Aug 1 06:50:19
2012
+++ /dev/null
@@ -1,5 +0,0 @@
-<classpath>
- <classpathentry kind="src" path="src/main/resources"
excluding="**/*.java"/>
- <classpathentry kind="output" path="target/classes"/>
- <classpathentry kind="con"
path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
-</classpath>
=======================================
--- /cdi-telco-framework/docs/sources-jbcp/.project Wed Aug 1 06:50:19 2012
+++ /dev/null
@@ -1,13 +0,0 @@
-<projectDescription>
- <name>cdi-telco-framework-docs-sources-jbcp</name>
- <comment>Mobicents :: Parent pom for 2.x releases. NO_M2ECLIPSE_SUPPORT:
Project files created with the maven-eclipse-plugin are not supported in
M2Eclipse.</comment>
- <projects/>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.jdt.core.javanature</nature>
- </natures>
-</projectDescription>
=======================================
---
/cdi-telco-framework/docs/sources-jbcp/.settings/org.eclipse.jdt.core.prefs
Wed Aug 1 06:50:19 2012
+++ /dev/null
@@ -1,5 +0,0 @@
-#Fri Apr 15 21:47:30 CEST 2011
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.source=1.5
-org.eclipse.jdt.core.compiler.compliance=1.5
=======================================
--- /cdi-telco-framework/docs/sources-jbcp/Makefile Wed Aug 1 06:50:19 2012
+++ /dev/null
@@ -1,26 +0,0 @@
-#Makefile for Platform_User_Guide
-
-XML_LANG = en-US
-# DOCNAME = Platform_User_Guide
-# PRODUCT = FIX_ME!
-BRAND = JBoss
-# DOC_TYPE = Set
-
-# Uncomment below 3 lines for a Distributed Set
-#BOOKS = Platform_Installation_Guide JAIN_SLEE_Server_User_Guide
-#BOOKS = Platform_Installation_Guide JAIN_SLEE_Server_User_Guide
SIP_Servlets_Server_User_Guide Media_Server_User_Guide
SIP_Presence_Service_User_Guide
-#SET_REPO =
https://svn.devel.redhat.com/repos/ecs/JBoss_Communications_Platform/1.2.0/
-#SET_REPO_TYPE = SVN
-
-#OTHER_LANGS = as-IN bn-IN de-DE es-ES fr-FR gu-IN hi-IN it-IT ja-JP kn-IN
ko-KR ml-IN mr-IN or-IN pa-IN pt-BR ru-RU si-LK ta-IN te-IN zh-CN zh-TW
-
-# Extra Parameters start here
-
-# Extra Parameters stop here
-COMMON_CONFIG = /usr/share/publican
-include $(COMMON_CONFIG)/make/Makefile.common
-
-# Uncomment below 2 lines for a Distributed Set
-#pre:: get_books set_books
-#clean:: clean_set_books
-
=======================================
--- /cdi-telco-framework/docs/sources-jbcp/README.txt Wed Aug 1 06:50:19
2012
+++ /dev/null
@@ -1,7 +0,0 @@
-when mvn clean install has been performed in the parent directory, to
validate against publican do :
-
-cd ./src/main/resources
-chmod 777 mkbk Makefile
-./mkbk sss jbcp html-single-en-US
-
-that's it
=======================================
--- /cdi-telco-framework/docs/sources-jbcp/mkbk Wed Aug 1 06:50:19 2012
+++ /dev/null
@@ -1,144 +0,0 @@
-#! /usr/bin/env bash
-# :mode=shellscript:
-
-# short script for building Mobicents docs and ensuring
-# necessary files for JDocBook (all-*) are updated
-# for usage, call ./build_docs.bash without any arguments
-
-# EXAMPLES:
-
-# mkbk test
-# ...means: run xmllint on all books, looking for the first that does
not build
-
-# make CONDITION="mob" html-single-en-US
-# BECOMES
-# mkbk jss mob html-single-en-US
-
-# make CONDITION="jbcp" html-single-en-US
-# BECOMES
-# mkbk jss jbcp html-single-en-US
-
-# JDocBook Reference (ignore this):
-# mvn compile -Denv.DOCNAME="SIP_Servlets_Server_User_Guide"
-Phtml_single
-
-echo "Arg 1 [\$BK] (codename of book OR simply 'test'): $1"; BK=$(echo $1
| tr '[:upper:]' '[:lower:]')
-echo "Arg 2 [\$COND] (CONDITION): $2"; COND=$(echo $2 |
tr '[:upper:]' '[:lower:]')
-echo -n "Arg 3 (pass-through arg; 3rd arg to 'make', if exists): ";
THIRD="$3"; echo $THIRD
-echo -n "Arg 4 (pass-through arg; 4th arg to 'make', if exists): ";
FOURTH="$4"; echo $FOURTH
-echo -n "Arg 5 (pass-through arg; 5th arg to 'make', if exists): ";
FIFTH="$5"; echo $FIFTH
-echo "-------------------------------------------------"
-
-pre="[MKBK] "
-
-ALL_BKS="jss ms sss sps pig plat"
-ALL_CONDS="mob jbcp"
-
-PLAT="Platform_User_Guide"
-PIG="Platform_Installation_Guide"
-JSS="JAIN_SLEE_Server_User_Guide"
-MS="Media_Server_User_Guide"
-SSS="SIP_Servlets_Server_User_Guide"
-SPS="SIP_Presence_Service_User_Guide"
-
-set_docname() {
- case $BK in
- "plat") DOCNAME="$PLAT";;
- "pig" ) DOCNAME="$PIG";;
- "jss" ) DOCNAME="$JSS";;
- "ms" ) DOCNAME="$MS";;
- "sss") DOCNAME="$SSS";;
- "sps") DOCNAME="$SPS";;
- esac
-}
-
-test() {
- for bk in "jss" "ms" "sss" "sps" "pig" "plat" # $PLAT $PIG $JSS $MS $SPS
- do
- BK=$bk
- set_docname
- cmd = "mkbk $bk jbcp xml-en-US &>/dev/null"
-
- echo -n "$pre"; echo "DOCNAME is $DOCNAME"
- echo -n "$pre"; echo "Calling:"; echo ""
- echo -n "$pre"; echo " $cmd"
-
- eval $cmd
-
- if [ $? -ne 0 ]; then
- echo -n "$pre"; echo "$bk is failing to build! Run!"
- exit 1
- else
- echo -n "$pre"; echo "$DOCNAME builds correctly."
- echo -n "$pre"; echo "*****************************"
- fi
- done
- echo -n "$pre"; echo "All books build correctly. Throw a party!"
- exit 0
-}
-
-rm_tmp() {
- if [[ -e Makefile ]]; then
- if [[ -e pom.xml ]]; then
- if [[ -e tmp ]]; then
- echo -n "$pre"; echo "Removing 'tmp'..."
- rm tmp -fr
- fi
- fi
- fi
-}
-
-build_bk() {
- rm_tmp
- set_docname
- cmd="make DOCNAME=$DOCNAME CONDITION=$COND $THIRD $FOURTH $FIFTH"
- echo -n "$pre"; echo "DOCNAME is '$DOCNAME'"
- echo -n "$pre"; echo "Calling:"; echo ""
- echo -n "$pre"; echo " $cmd"
- eval $cmd
-
- if [ $? -ne 0 ]; then
- echo -n "$pre"; echo "$DOCNAME did not build!"
- exit 1
- else
- if [ "$COND" = "mob" ]; then
- echo -n "$pre"; echo "Removing
'en-US/all-$DOCNAME.xml'..."
- rm "en-US/all-$DOCNAME.xml"
- echo -n "$pre"; echo "Copying 'tmp/en-US/xml/$DOCNAME.xml'
to 'en-US/all-$DOCNAME.xml'..."
- xmllint --postvalid --noent --xinclude "tmp/en-US/xml/$DOCNAME.xml"
"en-US/all-$DOCNAME.xml"
- fi
- echo -n "$pre"; echo "$DOCNAME built. Exiting successfully."
- exit 0
- fi
-}
-
-# TEST ARGUMENTS
-chk_BK_arg() {
- if [ "$BK" = "" ]; then
- echo -n "$pre"; echo "***************************************"
- echo -n "$pre"; echo "Error: the BK argument must either represent a
book or be 'test'"
- echo -n "$pre"; echo " A possible argument for the BK OPTION is one
of : $ALL_BKS"
- echo -n "$pre"; echo "***************************************"
- exit 1
- fi
-}
-
-chk_COND_arg() {
- if [ "$COND" != "mob" -a "$COND" != "jbcp" ]; then
- echo -n "$pre"; echo "***************************************"
- echo -n "$pre"; echo "Error: the second argument must be one of these
conditions: $ALL_CONDS"
- echo -n "$pre"; echo "***************************************"
- exit 1
- fi
-}
-
-dispatch() {
- chk_BK_arg
- if [ "$BK" = "test" ]; then
- test
- fi
- chk_COND_arg
-
- build_bk
-}
-
-dispatch
=======================================
--- /cdi-telco-framework/docs/sources-jbcp/pom.xml Wed Aug 1 06:50:19 2012
+++ /dev/null
@@ -1,95 +0,0 @@
-
-<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
-
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.mobicents.servlet.sip.ctf</groupId>
- <artifactId>cdi-telco-framework-docs</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- </parent>
-
- <artifactId>cdi-telco-framework-docs-sources-jbcp</artifactId>
-
- <properties>
- <platform.name>JBoss Communications</platform.name>
- <short.platform.name>JBCP SIP Servlets</short.platform.name>
- <cmd.platform.name>jbcp-ss</cmd.platform.name>
- <ctf.version>${project.version}</ctf.version>
- <author.email.ivelin>[email protected]</author.email.ivelin>
- <author.email.eduardo>[email protected]</author.email.eduardo>
- <author.email.jean>[email protected]</author.email.jean>
- <author.email.vlad>[email protected]</author.email.vlad>
- <author.email.georges>[email protected]</author.email.georges>
- </properties>
-
- <build>
- <resources>
- <resource>
- <directory>${basedir}/src/main/resources</directory>
- <filtering>true</filtering>
- </resource>
- </resources>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <executions>
- <execution>
- <id>unpack</id>
-
<phase>generate-resources</phase>
- <goals>
- <goal>unpack</goal>
- </goals>
- <configuration>
- <artifactItems>
- <artifactItem>
-
<groupId>${pom.groupId}</groupId>
-
<artifactId>cdi-telco-framework-docs-sources</artifactId>
-
<version>${pom.version}</version>
-
<type>jar</type>
-
<overWrite>true</overWrite>
-
<outputDirectory>${basedir}/src/main/resources</outputDirectory>
- </artifactItem>
- </artifactItems>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <artifactId>maven-antrun-plugin</artifactId>
- <executions>
-<execution>
- <phase>install</phase>
- <goals>
- <goal>run</goal>
- </goals>
- <configuration>
- <tasks>
- <copy file="mkbk" todir="src/main/resources/" />
- <copy file="Makefile" todir="src/main/resources/" />
- <copy file="publican.cfg" todir="src/main/resources/" />
- </tasks>
- </configuration>
- </execution>
-
- <execution>
- <id>clean-resources</id>
- <phase>clean</phase>
- <goals>
- <goal>run</goal>
- </goals>
- <configuration>
- <tasks>
- <delete failonerror="false"
includeemptydirs="true">
- <fileset
dir="${basedir}/src" />
- </delete>
- </tasks>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
-
-</project>
=======================================
--- /cdi-telco-framework/docs/sources-jbcp/publican.cfg Wed Aug 1 06:50:19
2012
+++ /dev/null
@@ -1,7 +0,0 @@
-# Config::Simple 4.59
-# Thu Jan 27 14:23:54 2011
-
-debug: 1
-xml_lang: en-US
-brand: JBoss
-
=======================================
--- /cdi-telco-framework/docs/jdocbook-mobicents/pom.xml Wed Aug 1
06:50:19 2012
+++ /cdi-telco-framework/docs/jdocbook-mobicents/pom.xml Wed Aug 1
12:34:23 2012
@@ -43,19 +43,19 @@
<plugin>
<groupId>org.jboss.maven.plugins</groupId>
<artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.2.0</version>
+ <version>2.3.5</version>
<extensions>true</extensions>
<dependencies>
<dependency>
- <groupId>org.jboss</groupId>
-
<artifactId>jbossorg-docbook-xslt</artifactId>
- <version>1.1.0</version>
+
<groupId>org.mobicents.jdocbook</groupId>
+
<artifactId>telestax-xslt-ns</artifactId>
+ <version>1.1.0.FINAL</version>
</dependency>
<dependency>
- <groupId>org.jboss</groupId>
-
<artifactId>jbossorg-jdocbook-style</artifactId>
- <version>1.1.0</version>
+
<groupId>org.mobicents.jdocbook</groupId>
+
<artifactId>telestax-community-style</artifactId>
<type>jdocbook-style</type>
+ <version>1.1.0.FINAL</version>
</dependency>
</dependencies>
<configuration>
=======================================
--- /cdi-telco-framework/docs/pom.xml Wed Aug 1 06:50:19 2012
+++ /cdi-telco-framework/docs/pom.xml Wed Aug 1 12:34:23 2012
@@ -22,9 +22,9 @@
<id>release</id>
<modules>
<module>sources-mobicents</module>
- <module>sources-jbcp</module>
+ <module>sources-telescale</module>
<module>jdocbook-mobicents</module>
- <module>jdocbook-jbcp</module>
+ <module>jdocbook-telescale</module>
</modules>
</profile>
<profile>
@@ -34,9 +34,9 @@
</activation>
<modules>
<module>sources-mobicents</module>
- <module>sources-jbcp</module>
+ <module>sources-telescale</module>
<module>jdocbook-mobicents</module>
- <module>jdocbook-jbcp</module>
+ <module>jdocbook-telescale</module>
</modules>
</profile>
<profile>
@@ -47,10 +47,10 @@
</modules>
</profile>
<profile>
- <id>jbcp</id>
+ <id>telescale</id>
<modules>
- <module>sources-jbcp</module>
- <module>jdocbook-jbcp</module>
+ <module>sources-telescale</module>
+ <module>jdocbook-telescale</module>
</modules>
</profile>
</profiles>
=======================================
--- /cdi-telco-framework/docs/sources/pom.xml Wed Aug 1 06:50:19 2012
+++ /cdi-telco-framework/docs/sources/pom.xml Wed Aug 1 12:34:23 2012
@@ -15,7 +15,7 @@
<product.name>CDI Telco Framework</product.name>
<year>2011</year>
<bookid>CDI_Telco_Framework_User_Guide</bookid>
- <holder>Red Hat Inc</holder>
+ <holder>Telestax, Inc.</holder>
</properties>
<build>