gatein SVN: r8029 - epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools.
by do-not-reply@jboss.org
Author: hfnukal
Date: 2011-11-10 09:23:41 -0500 (Thu, 10 Nov 2011)
New Revision: 8029
Modified:
epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/build.xml
Log:
JBEPP-1355 Doc and src packaging, git support
Modified: epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/build.xml
===================================================================
--- epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/build.xml 2011-11-10 14:08:31 UTC (rev 8028)
+++ epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/build.xml 2011-11-10 14:23:41 UTC (rev 8029)
@@ -171,7 +171,7 @@
<!-- MEAD BUILD -->
<target name="brew-url-git">
- <echo file="${ant.build.dir}/brew.url">${scm.type}+${scm.base}/${scm.repo}/${scm.path}#${scm.revision}</echo>
+ <echo file="${ant.build.dir}/brew.url">${scm.base}/${scm.repo}/${scm.path}#${scm.revision}</echo>
</target>
<target name="brew-url-svn">
<echo file="${ant.build.dir}/brew.url">${scm.type}+${scm.base}/${scm.repo}?${scm.path}#${scm.revision}</echo>
13 years, 1 month
gatein SVN: r8028 - epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools.
by do-not-reply@jboss.org
Author: hfnukal
Date: 2011-11-10 09:08:31 -0500 (Thu, 10 Nov 2011)
New Revision: 8028
Modified:
epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/build.xml
Log:
JBEPP-1355 Doc and src packaging, git support
Modified: epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/build.xml
===================================================================
--- epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/build.xml 2011-11-10 13:33:50 UTC (rev 8027)
+++ epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/build.xml 2011-11-10 14:08:31 UTC (rev 8028)
@@ -169,19 +169,31 @@
</target>
<!-- MEAD BUILD -->
+
+ <target name="brew-url-git">
+ <echo file="${ant.build.dir}/brew.url">${scm.type}+${scm.base}/${scm.repo}/${scm.path}#${scm.revision}</echo>
+ </target>
+ <target name="brew-url-svn">
+ <echo file="${ant.build.dir}/brew.url">${scm.type}+${scm.base}/${scm.repo}?${scm.path}#${scm.revision}</echo>
+ </target>
+
<target name="mead-build" depends="patch,profiles,properties,brew-build-scratch-no,brew-build-scratch-yes,scm-revision">
<loadfile property="scm.revision" srcFile="${ant.build.dir}/scm.revision"/>
+ <antcall target="brew-url-${scm.type}" inheritRefs="true" inheritAll="true" />
+ <loadfile property="brew.url" srcFile="${ant.build.dir}/brew.url"/>
+
<property name="mead.properties">${mead.build.properties}</property>
<property name="mead.profiles">${mead.build.profiles}</property>
-
+
+
<echo></echo>
- <echo>${cmd.brew} mead-build ${mead.target} '${scm.type}+${scm.base}/${scm.repo}?${scm.path}#${scm.revision}' ${mead.patch} ${mead.profiles} ${mead.properties} ${mead.parameters} ${brew.build.scratch}</echo>
+ <echo>${cmd.brew} mead-build ${mead.target} '${brew.url}' ${mead.patch} ${mead.profiles} ${mead.properties} ${mead.parameters} ${brew.build.scratch}</echo>
<echo></echo>
<echo file="${brew.commands.file}" append="true">
# Name: ${project.name}
-${cmd.brew} mead-build ${mead.target} '${scm.type}+${scm.base}/${scm.repo}?${scm.path}#${scm.revision}' ${mead.patch} ${mead.profiles} ${mead.properties} ${mead.parameters} ${brew.build.scratch}
+${cmd.brew} mead-build ${mead.target} '${brew.url}' ${mead.patch} ${mead.profiles} ${mead.properties} ${mead.parameters} ${brew.build.scratch}
</echo>
@@ -189,7 +201,6 @@
</target>
-
<!-- PATCH -->
<target name="patch" depends="patch-cond-if,patch-cond-else" />
<target name="patch-cond">
@@ -279,10 +290,11 @@
<!-- EXECUTE MEAD BUILD -->
<target name="brew-build-exec" if="brew.exec">
+
<exec executable="${cmd.brew}" output="${ant.build.dir}/task.properties" failonerror="true" failifexecutionfails="">
<arg value="maven-build"/>
<arg value="${mead.target}"/>
- <arg value="${scm.type}+${scm.base}/${scm.repo}?${scm.path}#${scm.revision}" />
+ <arg value="${brew.url}" />
<arg line="${mead.patch} ${mead.profiles} ${mead.properties} ${brew.build.scratch} ${mead.parameters}" />
</exec>
<!-- FOR TESTING -->
13 years, 1 month
gatein SVN: r8027 - in epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools: exo-core and 21 other directories.
by do-not-reply@jboss.org
Author: hfnukal
Date: 2011-11-10 08:33:50 -0500 (Thu, 10 Nov 2011)
New Revision: 8027
Removed:
epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/gatein-packager/
Modified:
epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/build.xml
epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/exo-core/pom.xml
epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/exo-doc/pom.xml
epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/exo-jcr/pom.xml
epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/exo-junit/pom.xml
epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/exo-kernel/pom.xml
epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/exo-parent/pom.xml
epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/exo-ws/pom.xml
epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/gatein-common/pom.xml
epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/gatein-dep/pom.xml
epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/gatein-management/pom.xml
epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/gatein-mop/pom.xml
epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/gatein-parent/pom.xml
epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/gatein-pc/pom.xml
epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/gatein-portal/pom.xml
epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/gatein-shindig/pom.xml
epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/gatein-simplecaptcha/pom.xml
epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/gatein-sso/pom.xml
epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/gatein-wci/pom.xml
epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/gatein-wsrp/pom.xml
epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/jboss-picketlink-idm/pom.xml
epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/jboss-portletbridge/pom.xml
epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/mead.parent/pom.xml
epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/pom.xml
Log:
JBEPP-1355 Doc and src packaging, git support
Modified: epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/build.xml
===================================================================
--- epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/build.xml 2011-11-10 11:50:16 UTC (rev 8026)
+++ epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/build.xml 2011-11-10 13:33:50 UTC (rev 8027)
@@ -1,5 +1,4 @@
-
-<project name="packageEPP">
+<project name="packageEPP" default="svn">
<!--
expecting those parameters:
svn.base - Base sv
@@ -23,18 +22,88 @@
brew.not.scratch - Performs scratch build unless specified. This prevents from unwanted execution.
-->
- <target name="mead-build" depends="patch,profiles,properties,brew-build-scratch-no,brew-build-scratch-yes">
-
- <property name="svnurl">${mead.svn.base}/${mead.svn.repo}/${mead.svn.path}</property>
- <echo>=================================================</echo>
- <echo>Getting revision from ${svnurl}</echo>
- <exec executable="svn" output="${ant.build.dir}/svn.properties" failonerror="true" failifexecutionfails="true">
+ <!-- DOCUMENTATION -->
+ <target name="build-doc">
+
+ <antcall target="scm-co" inheritRefs="true" inheritAll="true" />
+
+ <echo>Generating doc output to ${ant.build.dir}/mvn.doc.log</echo>
+ <exec executable="${cmd.mvn}" dir="${scm.dir}" output="${ant.build.dir}/mvn.doc.log" failonerror="true" failifexecutionfails="">
+ <arg value="clean"/>
+ <arg value="javadoc:aggregate"/>
+ </exec>
+ <copy todir="${doc.target.dir}/${doc.path}">
+ <fileset dir="${scm.dir}/target/site/apidocs">
+ </fileset>
+ </copy>
+
+ </target>
+
+ <!-- SOURCE -->
+ <target name="build-src">
+
+ <antcall target="scm-co" inheritRefs="true" inheritAll="true" />
+
+ <copy todir="${source.target.dir}/${source.path}">
+ <fileset dir="${scm.dir}">
+ <exclude name="**/.git"/>
+ <exclude name="**/.git/**"/>
+ <exclude name="**/.gitattributes"/>
+ <exclude name="**/.gitignore"/>
+ <exclude name="**/.gitmodules"/>
+ <exclude name="**/.hg"/>
+ <exclude name="**/.hg/**"/>
+ <exclude name="**/.hgignore"/>
+ <exclude name="**/.hgsub"/>
+ <exclude name="**/.hgsubstate"/>
+ <exclude name="**/.hgtags"/>
+ <exclude name="**/.bzr"/>
+ <exclude name="**/.bzr/**"/>
+ <exclude name="**/.bzrignore"/>
+ </fileset>
+ </copy>
+ </target>
+
+ <target name="settings">
+
+ <property name="ant.build.dir">target</property>
+ <mkdir dir="${ant.build.dir}"/>
+
+ <property name="scm.dir">${ant.build.dir}/scm.source/</property>
+
+ <property name="source.target.dir">${ant.build.dir}/source</property>
+ <property name="doc.target.dir">${ant.build.dir}/doc</property>
+
+ <!-- SVN -->
+ <property name="svn.base">http://anonsvn.jboss.org/repos</property>
+ <property name="svn.repo">gatein</property>
+
+ <!-- GIT -->
+ <property name="git.base">git://git.app.eng.bos.redhat.com</property>
+ <property name="git.repo">gatein</property>
+ </target>
+
+ <target name="scm-global">
+ <property name="scm.url">${scm.base}/${scm.repo}/${scm.path}</property>
+ </target>
+
+ <target name="scm-co" depends="scm-global">
+ <antcall target="scm-co-${scm.type}" inheritRefs="true" inheritAll="true" />
+ </target>
+
+ <target name="scm-revision" depends="scm-global">
+ <antcall target="scm-revision-${scm.type}" inheritRefs="true" inheritAll="true" />
+ </target>
+
+ <target name="scm-revision-svn">
+ <echo>Get revision SVN ${scm.url}</echo>
+ <exec executable="${cmd.svn}" output="${ant.build.dir}/svn.properties" failonerror="true" failifexecutionfails="true">
<arg value="info" />
- <arg value="${svnurl}" />
+ <arg value="${scm.url}" />
</exec>
- <loadfile property="svn.revision" srcFile="${ant.build.dir}/svn.properties">
+ <loadfile property="scm.revision" srcFile="${ant.build.dir}/svn.properties">
<filterchain>
<linecontains>
<contains value="Last Changed Rev" />
@@ -43,20 +112,76 @@
<deletecharacters chars="Last Changed Rev: "/>
</filterchain>
</loadfile>
- <echo>Last Changed Rev: "${svn.revision}"</echo>
+ <echo>Last Changed Rev: "${scm.revision}"</echo>
+ <echo file="${ant.build.dir}/scm.revision">${scm.revision}</echo>
+ </target>
+
+ <target name="scm-co-svn" depends="scm.dir.check" unless="scm.dir.exists">
+ <echo>Checkout SVN ${scm.url}</echo>
+ <exec executable="${cmd.svn}" output="${ant.build.dir}/svn.log" failonerror="true" failifexecutionfails="">
+ <arg value="co"/>
+ <arg value="${scm.url}" />
+ <arg line="${scm.dir}" />
+ </exec>
+
+ </target>
+
+ <target name="scm-co-git" depends="scm-revision-git">
+ <echo>Checkout GIT ${scm.url}</echo>
+ <echo>Checkout source code</echo>
+ <!-- git reset - -hard $scm.revision -->
+ <exec executable="${cmd.git}" dir="${scm.dir}" output="${ant.build.dir}/scm.log" append="true" failonerror="true" failifexecutionfails="">
+ <arg value="reset"/>
+ <arg value="--hard"/>
+ <arg value="${scm.revision}"/>
+ </exec>
-<!-- <property name="mead.patch">${mead.build.patch}</property>-->
+ </target>
+
+ <target name="scm-clone-git" depends="scm.dir.check" unless="scm.dir.exists">
+ <echo>Clone from GIT ${scm.url} output to ${ant.build.dir}/scm.log</echo>
+ <!-- git clone git://git.app.eng.bos.redhat.com/apache/shindig.git source -->
+ <exec executable="${cmd.git}" output="${ant.build.dir}/scm.log" failonerror="true" failifexecutionfails="">
+ <arg value="clone"/>
+ <arg value="${scm.url}" />
+ <arg line="${scm.dir}" />
+ </exec>
+
+ </target>
+ <target name="scm-revision-git" depends="scm-clone-git">
+ <echo>Get revision GIT ${scm.url}</echo>
+ <echo>Resolve GIT revision for ${scm.version}</echo>
+ <!-- scm.revision=`git rev-list - -max-count=1 2.0.2-Beta03 -->
+ <exec executable="${cmd.git}" dir="${scm.dir}" outputproperty="scm.revision" failonerror="true" failifexecutionfails="">
+ <arg value="rev-list"/>
+ <arg value="--max-count=1"/>
+ <arg value="${scm.version}"/>
+ </exec>
+ <echo>Last Changed Rev: "${scm.revision}"</echo>
+ <echo file="${ant.build.dir}/scm.revision">${scm.revision}</echo>
+ </target>
+
+ <target name="scm.dir.check">
+ <condition property="scm.dir.exists">
+ <available file="${scm.dir}" type="dir"/>
+ </condition>
+ </target>
+
+ <!-- MEAD BUILD -->
+ <target name="mead-build" depends="patch,profiles,properties,brew-build-scratch-no,brew-build-scratch-yes,scm-revision">
+ <loadfile property="scm.revision" srcFile="${ant.build.dir}/scm.revision"/>
+
<property name="mead.properties">${mead.build.properties}</property>
<property name="mead.profiles">${mead.build.profiles}</property>
<echo></echo>
- <echo>brew mead-build ${mead.target} 'svn+${mead.svn.base}/${mead.svn.repo}?${mead.svn.path}#${svn.revision}' ${mead.patch} ${mead.profiles} ${mead.properties} ${mead.parameters} ${brew.build.scratch}</echo>
+ <echo>${cmd.brew} mead-build ${mead.target} '${scm.type}+${scm.base}/${scm.repo}?${scm.path}#${scm.revision}' ${mead.patch} ${mead.profiles} ${mead.properties} ${mead.parameters} ${brew.build.scratch}</echo>
<echo></echo>
<echo file="${brew.commands.file}" append="true">
# Name: ${project.name}
-brew mead-build ${mead.target} 'svn+${mead.svn.base}/${mead.svn.repo}?${mead.svn.path}#${svn.revision}' ${mead.patch} ${mead.profiles} ${mead.properties} ${mead.parameters} ${brew.build.scratch}
+${cmd.brew} mead-build ${mead.target} '${scm.type}+${scm.base}/${scm.repo}?${scm.path}#${scm.revision}' ${mead.patch} ${mead.profiles} ${mead.properties} ${mead.parameters} ${brew.build.scratch}
</echo>
@@ -80,7 +205,7 @@
<property name="svnpatchurl">${svn.patch.base}/${mead.patch.path}</property>
<echo>Getting revision for patch ${svnpatchurl}</echo>
- <exec executable="svn" output="${ant.build.dir}/svnpatch.properties" failonerror="true" failifexecutionfails="true">
+ <exec executable="${cmd.svn}" output="${ant.build.dir}/svnpatch.properties" failonerror="true" failifexecutionfails="true">
<arg value="info" />
<arg value="${svnpatchurl}" />
</exec>
@@ -122,7 +247,6 @@
<replaceregex flags="g" pattern=" " replace=" --profile "/>
</filterchain>
</loadfile>
-<!-- <delete file="${ant.build.dir}/profiles.properties"/>-->
</target>
<target name="profiles-cond-else" depends="profiles-cond" unless="profiles-cond-is-true">
<echo>mead.build.profiles is NOT set</echo>
@@ -147,22 +271,20 @@
<replaceregex flags="g" pattern=" " replace=" --property "/>
</filterchain>
</loadfile>
-<!-- <delete file="${ant.build.dir}/properties.properties"/>-->
</target>
<target name="properties-cond-else" depends="properties-cond" unless="properties-cond-is-true">
<echo>mead.build.properties is NOT set</echo>
<property name="mead.properties" value=""/>
</target>
+ <!-- EXECUTE MEAD BUILD -->
<target name="brew-build-exec" if="brew.exec">
-
- <!-- Exceute MEAD buid -->
- <exec executable="brew" output="${ant.build.dir}/task.properties" failonerror="true" failifexecutionfails="">
- <arg value="maven-build"/>
- <arg value="${mead.target}"/>
- <arg value="svn+${mead.svn.base}/${mead.svn.repo}?${mead.svn.path}#${svn.revision}" />
- <arg line="${mead.patch} ${mead.profiles} ${mead.properties} ${brew.build.scratch} ${mead.parameters}" />
- </exec>
+ <exec executable="${cmd.brew}" output="${ant.build.dir}/task.properties" failonerror="true" failifexecutionfails="">
+ <arg value="maven-build"/>
+ <arg value="${mead.target}"/>
+ <arg value="${scm.type}+${scm.base}/${scm.repo}?${scm.path}#${scm.revision}" />
+ <arg line="${mead.patch} ${mead.profiles} ${mead.properties} ${brew.build.scratch} ${mead.parameters}" />
+ </exec>
<!-- FOR TESTING -->
<!--<echo file="${ant.build.dir}/task.properties">-->
<!--Created task: 3399568-->
@@ -184,8 +306,6 @@
</loadfile>
<echo>Task ID: "${mead.task.id}" go to https://brewweb.devel.redhat.com/taskinfo?taskID=${mead.task.id}</echo>
-
-
<antcall target="brew-build-wait"/>
</target>
@@ -198,17 +318,18 @@
<property name="brew.build.scratch">--scratch</property>
</target>
+ <!-- BREW WAIT -->
<target name="brew-build-wait" unless="brew.not.wait">
<echo>Task ID: "${mead.task.id}"</echo>
<!-- Wait until task ends to get build ID -->
- <exec executable="brew" output="${ant.build.dir}/taskwatch.properties" failonerror="true" failifexecutionfails="">
+ <exec executable="${cmd.brew}" output="${ant.build.dir}/taskwatch.properties" failonerror="true" failifexecutionfails="">
<arg value="watch-task"/>
<arg value="${mead.task.id}"/>
</exec>
<!-- Parse taskinfo to get build ID -->
- <exec executable="brew" output="${ant.build.dir}/taskinfo.properties" failonerror="true" failifexecutionfails="">
+ <exec executable="${cmd.brew}" output="${ant.build.dir}/taskinfo.properties" failonerror="true" failifexecutionfails="">
<arg value="taskinfo"/>
<arg value="${mead.task.id}"/>
</exec>
@@ -231,35 +352,29 @@
<contains value="Build: " />
</linecontains>
<deletecharacters chars="\n"/>
-<!-- <deletecharacters chars="Build: "/>-->
<replaceregex pattern="Build: (.*) \(.*" replace="\1"/>
</filterchain>
</loadfile>
<echo>Build ID: "${mead.build.id}"</echo>
- <echo>EXEC: brew wait-repo --target jboss-epp-5 --build ${mead.build.id}</echo>
+ <echo>EXEC: ${cmd.brew} wait-repo --target jboss-epp-5 --build ${mead.build.id}</echo>
</target>
-
- <!-- Import dependencies -->
+
+ <!-- IMPORT DEPENDENCIES -->
<target name="mead-import-dependencies">
- <property name="svn.path">${ant.build.dir}/import-svn/</property>
- <echo>Checkout from SVN ${mead.svn.base}/${mead.svn.repo}/${mead.svn.path} output to ${ant.build.dir}/svn.log</echo>
- <exec executable="svn" output="${ant.build.dir}/svn.log" failonerror="true" failifexecutionfails="">
- <arg value="co"/>
- <arg value="${mead.svn.base}/${mead.svn.repo}/${mead.svn.path}" />
- <arg line="${svn.path}" />
- </exec>
+ <echo>Checkout from SCM</echo>
+ <antcall target="scm-co" inheritRefs="true" inheritAll="true" />
<echo>Resolve dependencies output to ${ant.build.dir}/mvn.resolve.log</echo>
- <exec executable="mvn" dir="${svn.path}" output="${ant.build.dir}/mvn.resolve.log" failonerror="true" failifexecutionfails="">
+ <exec executable="${cmd.mvn}" dir="${scm.dir}" output="${ant.build.dir}/mvn.resolve.log" failonerror="true" failifexecutionfails="">
<arg value="dependency:resolve"/>
</exec>
<echo>Dependency list output to ${ant.build.dir}/mvn.dependency.list</echo>
- <exec executable="mvn" dir="${svn.path}" output="${ant.build.dir}/mvn.dependency.list" failonerror="true" failifexecutionfails="">
+ <exec executable="${cmd.mvn}" dir="${scm.dir}" output="${ant.build.dir}/mvn.dependency.list" failonerror="true" failifexecutionfails="">
<arg value="dependency:list"/>
</exec>
@@ -295,5 +410,5 @@
<arg value="${ant.build.dir}/mvn.dependency.list.filtered"/>
</exec>
</target>
-
-</project>
\ No newline at end of file
+
+</project>
Modified: epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/exo-core/pom.xml
===================================================================
--- epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/exo-core/pom.xml 2011-11-10 11:50:16 UTC (rev 8026)
+++ epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/exo-core/pom.xml 2011-11-10 13:33:50 UTC (rev 8027)
@@ -13,15 +13,17 @@
<artifactId>mead-exo-core</artifactId>
<packaging>pom</packaging>
+ <name>exo-core</name>
<properties>
<!-- TODO: upgrade to maven 3 -->
<mead.target>jboss-epp-5-maven2-nosign</mead.target>
-
- <mead.svn.base>${svn.base}</mead.svn.base>
- <mead.svn.repo>${svn.exo.repo}</mead.svn.repo>
- <mead.svn.path>${exo-core.svnpath}</mead.svn.path>
+ <scm.type>svn</scm.type>
+ <scm.base>${svn.base}</scm.base>
+ <scm.repo>${svn.exo.repo}</scm.repo>
+ <scm.path>core/tags/${org.exoplatform.core.version}</scm.path>
+
<mead.build.profiles></mead.build.profiles>
<mead.build.properties>skipTests=true</mead.build.properties>
<mead.patch.path>patches/org.exoplatform.core-exo-core/tags/2.4.2-GA</mead.patch.path>
Modified: epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/exo-doc/pom.xml
===================================================================
--- epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/exo-doc/pom.xml 2011-11-10 11:50:16 UTC (rev 8026)
+++ epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/exo-doc/pom.xml 2011-11-10 13:33:50 UTC (rev 8027)
@@ -13,12 +13,14 @@
<artifactId>mead-exo-doc</artifactId>
<packaging>pom</packaging>
+ <name>exo-doc</name>
<properties>
- <mead.svn.base>${svn.base}</mead.svn.base>
- <mead.svn.repo>${svn.exo.repo}</mead.svn.repo>
- <mead.svn.path>${exo-doc.svnpath}</mead.svn.path>
+ <scm.type>svn</scm.type>
+ <scm.base>${svn.base}</scm.base>
+ <scm.repo>${svn.exo.repo}</scm.repo>
+ <scm.path>docs-style/tags/${org.exoplatform.doc-style.version}</scm.path>
<mead.build.profiles></mead.build.profiles>
<mead.build.properties></mead.build.properties>
Modified: epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/exo-jcr/pom.xml
===================================================================
--- epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/exo-jcr/pom.xml 2011-11-10 11:50:16 UTC (rev 8026)
+++ epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/exo-jcr/pom.xml 2011-11-10 13:33:50 UTC (rev 8027)
@@ -11,16 +11,18 @@
<relativePath>../mead.parent/pom.xml</relativePath>
</parent>
- <artifactId>mead-eco-jcr</artifactId>
+ <artifactId>mead-exo-jcr</artifactId>
<packaging>pom</packaging>
+ <name>exo-jcr</name>
<properties>
<!-- TODO: upgrade to maven 3 -->
<!-- mead.target>jboss-epp-5-maven2-nosign</mead.target -->
- <mead.svn.base>${svn.base}</mead.svn.base>
- <mead.svn.repo>${svn.exo.repo}</mead.svn.repo>
- <mead.svn.path>${exo-jcr.svnpath}</mead.svn.path>
+ <scm.type>svn</scm.type>
+ <scm.base>${svn.base}</scm.base>
+ <scm.repo>${svn.exo.repo}</scm.repo>
+ <scm.path>jcr/tags/${org.exoplatform.jcr.version}</scm.path>
<mead.build.profiles></mead.build.profiles>
<mead.build.properties></mead.build.properties>
Modified: epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/exo-junit/pom.xml
===================================================================
--- epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/exo-junit/pom.xml 2011-11-10 11:50:16 UTC (rev 8026)
+++ epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/exo-junit/pom.xml 2011-11-10 13:33:50 UTC (rev 8027)
@@ -13,12 +13,14 @@
<artifactId>mead-exo-junit</artifactId>
<packaging>pom</packaging>
+ <name>exo-junit</name>
<properties>
- <mead.svn.base>${svn.base}</mead.svn.base>
- <mead.svn.repo>${svn.exo.repo}</mead.svn.repo>
- <mead.svn.path>${exo-junit.svnpath}</mead.svn.path>
+ <scm.type>svn</scm.type>
+ <scm.base>${svn.base}</scm.base>
+ <scm.repo>${svn.exo.repo}</scm.repo>
+ <scm.path>junit.framework/tags/${org.exoplatform.kernel.junit.version}</scm.path>
<mead.build.profiles></mead.build.profiles>
<mead.build.properties></mead.build.properties>
Modified: epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/exo-kernel/pom.xml
===================================================================
--- epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/exo-kernel/pom.xml 2011-11-10 11:50:16 UTC (rev 8026)
+++ epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/exo-kernel/pom.xml 2011-11-10 13:33:50 UTC (rev 8027)
@@ -13,14 +13,16 @@
<artifactId>mead-exo-kernel</artifactId>
<packaging>pom</packaging>
+ <name>exo-kernel</name>
<properties>
<!-- TODO: upgrade to maven 3 - - >
<mead.target>jboss-epp-5-maven2-nosign</mead.target>
-->
- <mead.svn.base>${svn.base}</mead.svn.base>
- <mead.svn.repo>${svn.exo.repo}</mead.svn.repo>
- <mead.svn.path>${exo-kernel.svnpath}</mead.svn.path>
+ <scm.type>svn</scm.type>
+ <scm.base>${svn.base}</scm.base>
+ <scm.repo>${svn.exo.repo}</scm.repo>
+ <scm.path>kernel/tags/${org.exoplatform.kernel.version}</scm.path>
<mead.build.profiles></mead.build.profiles>
<mead.build.properties></mead.build.properties>
Modified: epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/exo-parent/pom.xml
===================================================================
--- epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/exo-parent/pom.xml 2011-11-10 11:50:16 UTC (rev 8026)
+++ epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/exo-parent/pom.xml 2011-11-10 13:33:50 UTC (rev 8027)
@@ -13,12 +13,14 @@
<artifactId>mead-exo-parent</artifactId>
<packaging>pom</packaging>
+ <name>exo-parent</name>
<properties>
- <mead.svn.base>${svn.base}</mead.svn.base>
- <mead.svn.repo>${svn.exo.repo}</mead.svn.repo>
- <mead.svn.path>${exo-parent.svnpath}</mead.svn.path>
+ <scm.type>svn</scm.type>
+ <scm.base>${svn.base}</scm.base>
+ <scm.repo>${svn.exo.repo}</scm.repo>
+ <scm.path>parent/tags/${org.exoplatform.parent.version}</scm.path>
<mead.build.profiles></mead.build.profiles>
<mead.build.properties></mead.build.properties>
Modified: epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/exo-ws/pom.xml
===================================================================
--- epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/exo-ws/pom.xml 2011-11-10 11:50:16 UTC (rev 8026)
+++ epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/exo-ws/pom.xml 2011-11-10 13:33:50 UTC (rev 8027)
@@ -13,15 +13,17 @@
<artifactId>mead-exo-ws</artifactId>
<packaging>pom</packaging>
+ <name>exo-ws</name>
<properties>
<!-- TODO: upgrade to maven 3 -->
<mead.target>jboss-epp-5-maven2-nosign</mead.target>
-
- <mead.svn.base>${svn.base}</mead.svn.base>
- <mead.svn.repo>${svn.exo.repo}</mead.svn.repo>
- <mead.svn.path>${exo-ws.svnpath}</mead.svn.path>
+ <scm.type>svn</scm.type>
+ <scm.base>${svn.base}</scm.base>
+ <scm.repo>${svn.exo.repo}</scm.repo>
+ <scm.path>ws/tags/${org.exoplatform.ws.version}</scm.path>
+
<mead.build.profiles></mead.build.profiles>
<mead.build.properties></mead.build.properties>
<mead.patch.path></mead.patch.path>
Modified: epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/gatein-common/pom.xml
===================================================================
--- epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/gatein-common/pom.xml 2011-11-10 11:50:16 UTC (rev 8026)
+++ epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/gatein-common/pom.xml 2011-11-10 13:33:50 UTC (rev 8027)
@@ -13,12 +13,14 @@
<artifactId>mead-gatein-common</artifactId>
<packaging>pom</packaging>
+ <name>common</name>
<properties>
- <mead.svn.base>${svn.base}</mead.svn.base>
- <mead.svn.repo>${svn.gatein.repo}</mead.svn.repo>
- <mead.svn.path>${gatein-common.svnpath}</mead.svn.path>
+ <scm.type>svn</scm.type>
+ <scm.base>${svn.base}</scm.base>
+ <scm.repo>${svn.gatein.repo}</scm.repo>
+ <scm.path>components/common/tags/${org.gatein.common.version}</scm.path>
<mead.build.profiles></mead.build.profiles>
<mead.build.properties></mead.build.properties>
Modified: epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/gatein-dep/pom.xml
===================================================================
--- epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/gatein-dep/pom.xml 2011-11-10 11:50:16 UTC (rev 8026)
+++ epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/gatein-dep/pom.xml 2011-11-10 13:33:50 UTC (rev 8027)
@@ -13,12 +13,14 @@
<artifactId>mead-gatein-dep</artifactId>
<packaging>pom</packaging>
+ <name>gatein-dep</name>
<properties>
- <mead.svn.base>${svn.base}</mead.svn.base>
- <mead.svn.repo>${svn.gatein.repo}</mead.svn.repo>
- <mead.svn.path>${gatein-dep.svnpath}</mead.svn.path>
+ <scm.type>svn</scm.type>
+ <scm.base>${svn.base}</scm.base>
+ <scm.repo>${svn.gatein.repo}</scm.repo>
+ <scm.path>maven/dep/tags/${org.gatein.dep.version}</scm.path>
<mead.build.profiles></mead.build.profiles>
<mead.build.properties></mead.build.properties>
Modified: epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/gatein-management/pom.xml
===================================================================
--- epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/gatein-management/pom.xml 2011-11-10 11:50:16 UTC (rev 8026)
+++ epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/gatein-management/pom.xml 2011-11-10 13:33:50 UTC (rev 8027)
@@ -13,12 +13,17 @@
<artifactId>mead-gatein-management</artifactId>
<packaging>pom</packaging>
+ <name>management</name>
<properties>
+ <doc.path>${project.name}-apidoc</doc.path>
+ <source.path>${project.name}</source.path>
- <mead.svn.base>${svn.base}</mead.svn.base>
- <mead.svn.repo>${svn.gatein.repo}</mead.svn.repo>
- <mead.svn.path>${gatein-common.svnpath}</mead.svn.path>
+ <scm.type>git</scm.type>
+ <scm.base>${git.base}</scm.base>
+ <scm.repo>${git.repo}</scm.repo>
+ <scm.path>gatein-management.git</scm.path>
+ <scm.version>${org.gatein.mgmt.version}</scm.version>
<mead.build.profiles></mead.build.profiles>
<mead.build.properties></mead.build.properties>
Modified: epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/gatein-mop/pom.xml
===================================================================
--- epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/gatein-mop/pom.xml 2011-11-10 11:50:16 UTC (rev 8026)
+++ epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/gatein-mop/pom.xml 2011-11-10 13:33:50 UTC (rev 8027)
@@ -13,12 +13,14 @@
<artifactId>mead-gatein-mop</artifactId>
<packaging>pom</packaging>
+ <name>mop</name>
<properties>
- <mead.svn.base>${svn.base}</mead.svn.base>
- <mead.svn.repo>${svn.gatein.repo}</mead.svn.repo>
- <mead.svn.path>${gatein-mop.svnpath}</mead.svn.path>
+ <scm.type>svn</scm.type>
+ <scm.base>${svn.base}</scm.base>
+ <scm.repo>${svn.gatein.repo}</scm.repo>
+ <scm.path>components/mop/tags/${org.gatein.mop.version}</scm.path>
<mead.build.profiles></mead.build.profiles>
<mead.build.properties></mead.build.properties>
Modified: epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/gatein-parent/pom.xml
===================================================================
--- epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/gatein-parent/pom.xml 2011-11-10 11:50:16 UTC (rev 8026)
+++ epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/gatein-parent/pom.xml 2011-11-10 13:33:50 UTC (rev 8027)
@@ -13,12 +13,14 @@
<artifactId>mead-gatein-parent</artifactId>
<packaging>pom</packaging>
+ <name>gatein-parent</name>
<properties>
- <mead.svn.base>${svn.base}</mead.svn.base>
- <mead.svn.repo>${svn.gatein.repo}</mead.svn.repo>
- <mead.svn.path>${gatein-parent.svnpath}</mead.svn.path>
+ <scm.type>svn</scm.type>
+ <scm.base>${svn.base}</scm.base>
+ <scm.repo>${svn.gatein.repo}</scm.repo>
+ <scm.path>maven/parent/tags/${org.gatein.parent.version}</scm.path>
<mead.build.profiles></mead.build.profiles>
<mead.build.properties></mead.build.properties>
Modified: epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/gatein-pc/pom.xml
===================================================================
--- epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/gatein-pc/pom.xml 2011-11-10 11:50:16 UTC (rev 8026)
+++ epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/gatein-pc/pom.xml 2011-11-10 13:33:50 UTC (rev 8027)
@@ -13,15 +13,18 @@
<artifactId>mead-gatein-pc</artifactId>
<packaging>pom</packaging>
+ <name>pc</name>
<properties>
<!-- TODO: upgrade to maven 3 -->
<mead.target>jboss-epp-5-maven2</mead.target>
-
- <mead.svn.base>${svn.base}</mead.svn.base>
- <mead.svn.repo>${svn.gatein.repo}</mead.svn.repo>
- <mead.svn.path>${gatein-pc.svnpath}</mead.svn.path>
+ <cmd.mvn>${cmd.mvn2}</cmd.mvn>
+ <scm.type>svn</scm.type>
+ <scm.base>${svn.base}</scm.base>
+ <scm.repo>${svn.gatein.repo}</scm.repo>
+ <scm.path>components/pc/tags/${org.gatein.pc.version}</scm.path>
+
<mead.build.profiles>jboss51</mead.build.profiles>
<mead.build.properties>container.unpack.dir=/maven/build/test-containers JBOSS_5_1_HOME=/maven/build/test-containers/jboss-5.1.0.GA tests.failOnError=true gatein.dev=true</mead.build.properties>
<mead.patch.path>patches/org.gatein.pc-pc-parent/tags/2.3.0-Beta06</mead.patch.path>
Modified: epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/gatein-portal/pom.xml
===================================================================
--- epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/gatein-portal/pom.xml 2011-11-10 11:50:16 UTC (rev 8026)
+++ epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/gatein-portal/pom.xml 2011-11-10 13:33:50 UTC (rev 8027)
@@ -13,14 +13,18 @@
<artifactId>mead-gatein-portal</artifactId>
<packaging>pom</packaging>
+ <name>portal</name>
<properties>
<mead.target>jboss-epp-5</mead.target>
+ <doc.path>${project.name}-apidoc</doc.path>
+ <source.path>${project.name}</source.path>
- <mead.svn.base>${svn.base}</mead.svn.base>
- <mead.svn.repo>${svn.gatein.repo}</mead.svn.repo>
- <mead.svn.path>${gatein-portal.svnpath}</mead.svn.path>
+ <scm.type>svn</scm.type>
+ <scm.base>${svn.base}</scm.base>
+ <scm.repo>${svn.gatein.repo}</scm.repo>
+ <scm.path>${gatein-portal.svnpath}</scm.path>
<mead.build.profiles>release epp-distribution epp-distribution-assembly epp-distribution-zip</mead.build.profiles>
<mead.build.properties></mead.build.properties>
Modified: epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/gatein-shindig/pom.xml
===================================================================
--- epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/gatein-shindig/pom.xml 2011-11-10 11:50:16 UTC (rev 8026)
+++ epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/gatein-shindig/pom.xml 2011-11-10 13:33:50 UTC (rev 8027)
@@ -13,12 +13,15 @@
<artifactId>mead-gatein-shindig</artifactId>
<packaging>pom</packaging>
+ <name>shindig</name>
<properties>
- <mead.svn.base>${svn.base}</mead.svn.base>
- <mead.svn.repo>${svn.gatein.repo}</mead.svn.repo>
- <mead.svn.path>${gatein-shindig.svnpath}</mead.svn.path>
+ <scm.type>git</scm.type>
+ <scm.base>${git.base}</scm.base>
+ <scm.repo>${git.repo}</scm.repo>
+ <scm.path>apache/shindig.git</scm.path>
+ <scm.version>${org.shindig.version}</scm.version>
<mead.build.profiles></mead.build.profiles>
<mead.build.properties></mead.build.properties>
Modified: epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/gatein-simplecaptcha/pom.xml
===================================================================
--- epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/gatein-simplecaptcha/pom.xml 2011-11-10 11:50:16 UTC (rev 8026)
+++ epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/gatein-simplecaptcha/pom.xml 2011-11-10 13:33:50 UTC (rev 8027)
@@ -13,12 +13,14 @@
<artifactId>mead-gatein-simplecaptcha</artifactId>
<packaging>pom</packaging>
+ <name>simplecaptcha</name>
<properties>
- <mead.svn.base>${svn.base}</mead.svn.base>
- <mead.svn.repo>${svn.gatein.repo}</mead.svn.repo>
- <mead.svn.path>${gatein-simplecaptcha.svnpath}</mead.svn.path>
+ <scm.type>svn</scm.type>
+ <scm.base>${svn.base}</scm.base>
+ <scm.repo>${svn.gatein.repo}</scm.repo>
+ <scm.path>components/simplecaptcha/tags/${nl.captcha.simplecaptcha.version}</scm.path>
<mead.build.profiles></mead.build.profiles>
<mead.build.properties></mead.build.properties>
Modified: epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/gatein-sso/pom.xml
===================================================================
--- epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/gatein-sso/pom.xml 2011-11-10 11:50:16 UTC (rev 8026)
+++ epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/gatein-sso/pom.xml 2011-11-10 13:33:50 UTC (rev 8027)
@@ -13,12 +13,16 @@
<artifactId>mead-gatein-sso</artifactId>
<packaging>pom</packaging>
+ <name>sso</name>
<properties>
+ <doc.path>${project.name-apidoc}</doc.path>
+ <source.path>${project.name}</source.path>
- <mead.svn.base>${svn.base}</mead.svn.base>
- <mead.svn.repo>${svn.gatein.repo}</mead.svn.repo>
- <mead.svn.path>${gatein-sso.svnpath}</mead.svn.path>
+ <scm.type>svn</scm.type>
+ <scm.base>${svn.base}</scm.base>
+ <scm.repo>${svn.gatein.repo}</scm.repo>
+ <scm.path>components/sso/tags/${sso.version}</scm.path>
<mead.build.profiles></mead.build.profiles>
<mead.build.properties></mead.build.properties>
Modified: epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/gatein-wci/pom.xml
===================================================================
--- epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/gatein-wci/pom.xml 2011-11-10 11:50:16 UTC (rev 8026)
+++ epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/gatein-wci/pom.xml 2011-11-10 13:33:50 UTC (rev 8027)
@@ -13,15 +13,17 @@
<artifactId>mead-gatein-wci</artifactId>
<packaging>pom</packaging>
+ <name>wci</name>
<properties>
<!-- TODO: upgrade to maven 3 -->
<mead.target>jboss-epp-5-maven2</mead.target>
-
- <mead.svn.base>${svn.base}</mead.svn.base>
- <mead.svn.repo>${svn.gatein.repo}</mead.svn.repo>
- <mead.svn.path>${gatein-wci.svnpath}</mead.svn.path>
+ <scm.type>svn</scm.type>
+ <scm.base>${svn.base}</scm.base>
+ <scm.repo>${svn.gatein.repo}</scm.repo>
+ <scm.path>components/wci/tags/${org.gatein.wci.version}</scm.path>
+
<mead.build.profiles>jboss51</mead.build.profiles>
<mead.build.properties>container.unpack.dir=/maven/build/test-containers JBOSS_5_1_HOME=/maven/build/test-containers/jboss-5.1.0.GA tests.failOnError=true</mead.build.properties>
<mead.patch.path>patches/org.gatein.wci-wci-parent/tags/2.1.0-GA</mead.patch.path>
Modified: epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/gatein-wsrp/pom.xml
===================================================================
--- epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/gatein-wsrp/pom.xml 2011-11-10 11:50:16 UTC (rev 8026)
+++ epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/gatein-wsrp/pom.xml 2011-11-10 13:33:50 UTC (rev 8027)
@@ -13,12 +13,14 @@
<artifactId>mead-gatein-wsrp</artifactId>
<packaging>pom</packaging>
+ <name>wsrp</name>
<properties>
- <mead.svn.base>${svn.base}</mead.svn.base>
- <mead.svn.repo>${svn.gatein.repo}</mead.svn.repo>
- <mead.svn.path>${gatein-wsrp.svnpath}</mead.svn.path>
+ <scm.type>svn</scm.type>
+ <scm.base>${svn.base}</scm.base>
+ <scm.repo>${svn.gatein.repo}</scm.repo>
+ <scm.path>components/wsrp/tags/${org.gatein.wsrp.version}</scm.path>
<mead.build.profiles></mead.build.profiles>
<mead.build.properties>container.unpack.dir=/maven/build/test-containers JBOSS_5_1_0_HOME=/maven/build/test-containers/jboss-5.1.0.GA </mead.build.properties>
Modified: epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/jboss-picketlink-idm/pom.xml
===================================================================
--- epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/jboss-picketlink-idm/pom.xml 2011-11-10 11:50:16 UTC (rev 8026)
+++ epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/jboss-picketlink-idm/pom.xml 2011-11-10 13:33:50 UTC (rev 8027)
@@ -13,12 +13,16 @@
<artifactId>mead-jboss-picketlink-idm</artifactId>
<packaging>pom</packaging>
+ <name>picketlink-idm</name>
<properties>
+ <doc.path>${project.name}-apidoc</doc.path>
+ <source.path>${project.name}</source.path>
- <mead.svn.base>${svn.base}</mead.svn.base>
- <mead.svn.repo>${svn.jboss-picketlink-idm.repo}</mead.svn.repo>
- <mead.svn.path>${jboss-picketlink-idm.svnpath}</mead.svn.path>
+ <scm.type>svn</scm.type>
+ <scm.base>${svn.base}</scm.base>
+ <scm.repo>picketlink</scm.repo>
+ <scm.path>idm/tags/${org.picketlink.idm}</scm.path>
<mead.build.profiles>dev</mead.build.profiles>
<mead.build.properties></mead.build.properties>
Modified: epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/jboss-portletbridge/pom.xml
===================================================================
--- epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/jboss-portletbridge/pom.xml 2011-11-10 11:50:16 UTC (rev 8026)
+++ epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/jboss-portletbridge/pom.xml 2011-11-10 13:33:50 UTC (rev 8027)
@@ -13,12 +13,16 @@
<artifactId>mead-jboss-portletbridge</artifactId>
<packaging>pom</packaging>
+ <name>portletbridge</name>
<properties>
+ <doc.path>${project.name}-apidoc</doc.path>
+ <source.path>${project.name}</source.path>
- <mead.svn.base>${svn.base}</mead.svn.base>
- <mead.svn.repo>${svn.jboss-portletbridge.repo}</mead.svn.repo>
- <mead.svn.path>${jboss-portletbridge.svnpath}</mead.svn.path>
+ <scm.type>svn</scm.type>
+ <scm.base>${svn.base}</scm.base>
+ <scm.repo>portletbridge</scm.repo>
+ <scm.path>tags/${portletbridge.version}</scm.path>
<mead.build.profiles></mead.build.profiles>
<mead.build.properties></mead.build.properties>
Modified: epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/mead.parent/pom.xml
===================================================================
--- epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/mead.parent/pom.xml 2011-11-10 11:50:16 UTC (rev 8026)
+++ epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/mead.parent/pom.xml 2011-11-10 13:33:50 UTC (rev 8027)
@@ -83,5 +83,69 @@
</plugins>
</build>
</profile>
+
+ <profile>
+ <id>build-src</id>
+ <activation>
+ <activeByDefault>true</activeByDefault>
+ </activation>
+ <build>
+ <plugins>
+ <!-- Generate MEAD commands -->
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <version>1.6</version>
+ <executions>
+ <execution>
+ <id>mead-import-${project.artifactId}</id>
+ <phase>compile</phase>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ <configuration>
+ <target>
+ <ant antfile="${ant.build.file}" inheritRefs="true" inheritAll="true">
+ <target name="build-src"/>
+ </ant>
+ </target>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+
+ <profile>
+ <id>build-doc</id>
+ <activation>
+ <activeByDefault>true</activeByDefault>
+ </activation>
+ <build>
+ <plugins>
+ <!-- Generate MEAD commands -->
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <version>1.6</version>
+ <executions>
+ <execution>
+ <id>mead-import-${project.artifactId}</id>
+ <phase>compile</phase>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ <configuration>
+ <target>
+ <ant antfile="${ant.build.file}" inheritRefs="true" inheritAll="true">
+ <target name="build-doc"/>
+ </ant>
+ </target>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
</profiles>
</project>
Modified: epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/pom.xml
===================================================================
--- epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/pom.xml 2011-11-10 11:50:16 UTC (rev 8026)
+++ epp/portal/branches/EPP_5_2_Branch/distribution/mead-tools/pom.xml 2011-11-10 13:33:50 UTC (rev 8027)
@@ -55,51 +55,71 @@
</build>
<properties>
+ <gatein-portal.svnpath>epp/portal/tags/EPP_5_2_0_ER06</gatein-portal.svnpath>
+
<!-- Ant properties -->
<ant.build.file>build.xml</ant.build.file>
<ant.target>mead-build</ant.target>
<brew.commands.file>../target/brew.commands</brew.commands.file>
-
+ <ant.build.dir>target</ant.build.dir>
+ <scm.dir>${ant.build.dir}/scm.source/</scm.dir>
+ <source.target.dir>../target/jboss-epp-${project.version}-src</source.target.dir>
+ <source.path>portal-components/${project.name}</source.path>
+ <doc.target.dir>../target/jboss-epp-${project.version}-doc</doc.target.dir>
+ <doc.path>components-apidoc/${project.name}-apidoc</doc.path>
+
<mead.target>jboss-epp-5-nosign</mead.target>
<mead.parameters> </mead.parameters>
+
+ <!-- CMD -->
+ <cmd.mvn>mvn</cmd.mvn>
+ <cmd.mvn2>/Developer/Java/apache-maven-2.2.1/bin/mvn</cmd.mvn2>
+ <cmd.brew>brew</cmd.brew>
+ <cmd.svn>svn</cmd.svn>
+ <cmd.git>git</cmd.git>
+
+ <!-- SVN -->
<svn.patch.base>http://svn.devel.redhat.com/repos/mead</svn.patch.base>
<svn.base>http://anonsvn.jboss.org/repos</svn.base>
-
+
+ <!-- GIT -->
+ <git.base>git://git.app.eng.bos.redhat.com</git.base>
+ <git.repo>gatein</git.repo>
+
<!-- GateIn -->
<svn.gatein.repo>gatein</svn.gatein.repo>
<!--<gatein-portal.svnpath>${project.scm.url}</gatein-portal.svnpath>-->
- <gatein-portal.svnpath>epp/portal/tags/EPP_5_2_0_ER05</gatein-portal.svnpath>
<!-- <gatein-portal.svnpath>epp/portal/branches/EPP_5_2_Branch</gatein-portal.svnpath> -->
- <gatein-parent.svnpath>maven/parent/tags/${org.gatein.parent.version}</gatein-parent.svnpath>
- <gatein-dep.svnpath>maven/dep/tags/${org.gatein.dep.version}</gatein-dep.svnpath>
+ <!--<gatein-parent.svnpath>maven/parent/tags/${org.gatein.parent.version}</gatein-parent.svnpath>-->
+ <!--<gatein-dep.svnpath>maven/dep/tags/${org.gatein.dep.version}</gatein-dep.svnpath>-->
- <gatein-common.svnpath>components/common/tags/${org.gatein.common.version}</gatein-common.svnpath>
- <gatein-wci.svnpath>components/wci/tags/${org.gatein.wci.version}</gatein-wci.svnpath>
- <gatein-pc.svnpath>components/pc/tags/${org.gatein.pc.version}</gatein-pc.svnpath>
- <gatein-wsrp.svnpath>components/wsrp/tags/${org.gatein.wsrp.version}</gatein-wsrp.svnpath>
- <gatein-mop.svnpath>components/mop/tags/${org.gatein.mop.version}</gatein-mop.svnpath>
- <gatein-sso.svnpath>components/sso/tags/${sso.version}</gatein-sso.svnpath>
- <gatein-simplecaptcha.svnpath>components/simplecaptcha/tags/${nl.captcha.simplecaptcha.version}</gatein-simplecaptcha.svnpath>
- <gatein-shindig.svnpath>components/shindig/tags/${org.shindig.version}</gatein-shindig.svnpath>
+ <!--<gatein-common.svnpath>components/common/tags/${org.gatein.common.version}</gatein-common.svnpath>-->
+ <!--<gatein-wci.svnpath>components/wci/tags/${org.gatein.wci.version}</gatein-wci.svnpath>-->
+ <!--<gatein-pc.svnpath>components/pc/tags/${org.gatein.pc.version}</gatein-pc.svnpath>-->
+ <!--<gatein-wsrp.svnpath>components/wsrp/tags/${org.gatein.wsrp.version}</gatein-wsrp.svnpath>-->
+ <!--<gatein-mop.svnpath>components/mop/tags/${org.gatein.mop.version}</gatein-mop.svnpath>-->
+ <!--<gatein-sso.svnpath>components/sso/tags/${sso.version}</gatein-sso.svnpath>-->
+ <!--<gatein-simplecaptcha.svnpath>components/simplecaptcha/tags/${nl.captcha.simplecaptcha.version}</gatein-simplecaptcha.svnpath>-->
+ <!--<gatein-shindig.svnpath>components/shindig/tags/${org.shindig.version}</gatein-shindig.svnpath>-->
<!-- # JBoss components -->
- <svn.jboss-picketlink-idm.repo>picketlink</svn.jboss-picketlink-idm.repo>
- <jboss-picketlink-idm.svnpath>idm/tags/${org.picketlink.idm}</jboss-picketlink-idm.svnpath>
+ <!--<svn.jboss-picketlink-idm.repo>picketlink</svn.jboss-picketlink-idm.repo>-->
+ <!--<jboss-picketlink-idm.svnpath>idm/tags/${org.picketlink.idm}</jboss-picketlink-idm.svnpath>-->
- <svn.jboss-portletbridge.repo>portletbridge</svn.jboss-portletbridge.repo>
- <jboss-portletbridge.svnpath>tags/${portletbridge.version}</jboss-portletbridge.svnpath>
+ <!--<svn.jboss-portletbridge.repo>portletbridge</svn.jboss-portletbridge.repo>-->
+ <!--<jboss-portletbridge.svnpath>tags/${portletbridge.version}</jboss-portletbridge.svnpath>-->
<!-- # eXo components -->
<svn.exo.repo>exo-jcr</svn.exo.repo>
- <exo-parent.svnpath>parent/tags/${org.exoplatform.parent.version}</exo-parent.svnpath>
- <exo-doc.svnpath>docs-style/tags/${org.exoplatform.doc-style.version}</exo-doc.svnpath>
- <exo-junit.svnpath>junit.framework/tags/${org.exoplatform.kernel.junit.version}</exo-junit.svnpath>
+ <!--<exo-parent.svnpath>parent/tags/${org.exoplatform.parent.version}</exo-parent.svnpath>-->
+ <!--<exo-doc.svnpath>docs-style/tags/${org.exoplatform.doc-style.version}</exo-doc.svnpath>-->
+ <!--<exo-junit.svnpath>junit.framework/tags/${org.exoplatform.kernel.junit.version}</exo-junit.svnpath>-->
- <exo-kernel.svnpath>kernel/tags/${org.exoplatform.kernel.version}</exo-kernel.svnpath>
- <exo-core.svnpath>core/tags/${org.exoplatform.core.version}</exo-core.svnpath>
- <exo-ws.svnpath>ws/tags/${org.exoplatform.ws.version}</exo-ws.svnpath>
- <exo-jcr.svnpath>jcr/tags/${org.exoplatform.jcr.version}</exo-jcr.svnpath>
+ <!--<exo-kernel.svnpath>kernel/tags/${org.exoplatform.kernel.version}</exo-kernel.svnpath>-->
+ <!--<exo-core.svnpath>core/tags/${org.exoplatform.core.version}</exo-core.svnpath>-->
+ <!--<exo-ws.svnpath>ws/tags/${org.exoplatform.ws.version}</exo-ws.svnpath>-->
+ <!--<exo-jcr.svnpath>jcr/tags/${org.exoplatform.jcr.version}</exo-jcr.svnpath>-->
</properties>
@@ -132,7 +152,62 @@
<module>jboss-portletbridge </module>
</modules>
</profile>
-
+ <profile>
+ <id>build-src-all</id>
+ <modules>
+ <module>gatein-common </module>
+ <module>gatein-mop </module>
+ <module>gatein-pc </module>
+ <module>gatein-wci </module>
+ <module>gatein-wsrp </module>
+ <module>gatein-sso </module>
+ <module>jboss-picketlink-idm </module>
+ <module>gatein-portal </module>
+ <module>jboss-portletbridge </module>
+ <module>gatein-management </module>
+<!--
+ <module>exo-parent </module>
+ <module>exo-doc </module>
+ <module>exo-junit </module>
+ <module>exo-kernel </module>
+ <module>exo-core </module>
+ <module>exo-ws </module>
+ <module>exo-jcr </module>
+ <module>gatein-parent </module>
+ <module>gatein-dep </module>
+ <module>gatein-simplecaptcha </module>
+ <module>gatein-shindig </module>
+-->
+ </modules>
+ </profile>
+ <profile>
+ <id>build-doc-all</id>
+ <modules>
+ <module>gatein-common </module>
+ <module>gatein-mop </module>
+ <module>gatein-pc </module>
+ <module>gatein-wci </module>
+ <module>gatein-wsrp </module>
+ <module>gatein-sso </module>
+ <module>jboss-picketlink-idm </module>
+ <module>gatein-portal </module>
+ <module>jboss-portletbridge </module>
+ <module>gatein-management </module>
+<!--
+ <module>exo-parent </module>
+ <module>exo-doc </module>
+ <module>exo-junit </module>
+ <module>exo-kernel </module>
+ <module>exo-core </module>
+ <module>exo-ws </module>
+ <module>exo-jcr </module>
+ <module>gatein-parent </module>
+ <module>gatein-dep </module>
+ <module>gatein-simplecaptcha </module>
+ <module>gatein-shindig </module>
+-->
+ </modules>
+ </profile>
<!--gatein-parent-->
<profile>
<id>gatein-parent</id>
13 years, 1 month
gatein SVN: r8026 - in components/wsrp/branches/2.1.x: wsrp-producer-war/src/test/java/org/gatein/wsrp/protocol/v2 and 1 other directory.
by do-not-reply@jboss.org
Author: chris.laprun(a)jboss.com
Date: 2011-11-10 06:50:16 -0500 (Thu, 10 Nov 2011)
New Revision: 8026
Modified:
components/wsrp/branches/2.1.x/producer/src/main/java/org/gatein/wsrp/producer/handlers/ServiceDescriptionHandler.java
components/wsrp/branches/2.1.x/wsrp-producer-war/src/test/java/org/gatein/wsrp/protocol/v2/ServiceDescriptionTestCase.java
Log:
- CopyPortlets is also supported.
Modified: components/wsrp/branches/2.1.x/producer/src/main/java/org/gatein/wsrp/producer/handlers/ServiceDescriptionHandler.java
===================================================================
--- components/wsrp/branches/2.1.x/producer/src/main/java/org/gatein/wsrp/producer/handlers/ServiceDescriptionHandler.java 2011-11-10 10:53:51 UTC (rev 8025)
+++ components/wsrp/branches/2.1.x/producer/src/main/java/org/gatein/wsrp/producer/handlers/ServiceDescriptionHandler.java 2011-11-10 11:50:16 UTC (rev 8026)
@@ -101,6 +101,7 @@
OPTIONS.add(WSRP2Constants.OPTIONS_EVENTS);
OPTIONS.add(WSRP2Constants.OPTIONS_IMPORT);
OPTIONS.add(WSRP2Constants.OPTIONS_EXPORT);
+ OPTIONS.add(WSRP2Constants.OPTIONS_COPYPORTLETS);
}
public ServiceDescriptionHandler(WSRPProducerImpl producer)
Modified: components/wsrp/branches/2.1.x/wsrp-producer-war/src/test/java/org/gatein/wsrp/protocol/v2/ServiceDescriptionTestCase.java
===================================================================
--- components/wsrp/branches/2.1.x/wsrp-producer-war/src/test/java/org/gatein/wsrp/protocol/v2/ServiceDescriptionTestCase.java 2011-11-10 10:53:51 UTC (rev 8025)
+++ components/wsrp/branches/2.1.x/wsrp-producer-war/src/test/java/org/gatein/wsrp/protocol/v2/ServiceDescriptionTestCase.java 2011-11-10 11:50:16 UTC (rev 8026)
@@ -1,6 +1,6 @@
/*
* JBoss, a division of Red Hat
- * Copyright 2010, Red Hat Middleware, LLC, and individual
+ * Copyright 2011, Red Hat Middleware, LLC, and individual
* contributors as indicated by the @authors tag. See the
* copyright.txt in the distribution for a full listing of
* individual contributors.
@@ -214,6 +214,7 @@
ExtendedAssert.assertTrue(options.contains(WSRP2Constants.OPTIONS_EVENTS));
ExtendedAssert.assertTrue(options.contains(WSRP2Constants.OPTIONS_IMPORT));
ExtendedAssert.assertTrue(options.contains(WSRP2Constants.OPTIONS_EXPORT));
+ ExtendedAssert.assertTrue(options.contains(WSRP2Constants.OPTIONS_COPYPORTLETS));
}
@Test
13 years, 1 month
gatein SVN: r8025 - in components/wsrp/trunk: wsrp-producer-war/src/test/java/org/gatein/wsrp/protocol/v2 and 1 other directory.
by do-not-reply@jboss.org
Author: chris.laprun(a)jboss.com
Date: 2011-11-10 05:53:51 -0500 (Thu, 10 Nov 2011)
New Revision: 8025
Modified:
components/wsrp/trunk/producer/src/main/java/org/gatein/wsrp/producer/handlers/ServiceDescriptionHandler.java
components/wsrp/trunk/wsrp-producer-war/src/test/java/org/gatein/wsrp/protocol/v2/ServiceDescriptionTestCase.java
Log:
- CopyPortlets is supposed to be supported as well.
Modified: components/wsrp/trunk/producer/src/main/java/org/gatein/wsrp/producer/handlers/ServiceDescriptionHandler.java
===================================================================
--- components/wsrp/trunk/producer/src/main/java/org/gatein/wsrp/producer/handlers/ServiceDescriptionHandler.java 2011-11-10 10:24:24 UTC (rev 8024)
+++ components/wsrp/trunk/producer/src/main/java/org/gatein/wsrp/producer/handlers/ServiceDescriptionHandler.java 2011-11-10 10:53:51 UTC (rev 8025)
@@ -101,6 +101,7 @@
OPTIONS.add(WSRP2Constants.OPTIONS_EVENTS);
OPTIONS.add(WSRP2Constants.OPTIONS_IMPORT);
OPTIONS.add(WSRP2Constants.OPTIONS_EXPORT);
+ OPTIONS.add(WSRP2Constants.OPTIONS_COPYPORTLETS);
}
public ServiceDescriptionHandler(WSRPProducerImpl producer)
Modified: components/wsrp/trunk/wsrp-producer-war/src/test/java/org/gatein/wsrp/protocol/v2/ServiceDescriptionTestCase.java
===================================================================
--- components/wsrp/trunk/wsrp-producer-war/src/test/java/org/gatein/wsrp/protocol/v2/ServiceDescriptionTestCase.java 2011-11-10 10:24:24 UTC (rev 8024)
+++ components/wsrp/trunk/wsrp-producer-war/src/test/java/org/gatein/wsrp/protocol/v2/ServiceDescriptionTestCase.java 2011-11-10 10:53:51 UTC (rev 8025)
@@ -1,6 +1,6 @@
/*
* JBoss, a division of Red Hat
- * Copyright 2010, Red Hat Middleware, LLC, and individual
+ * Copyright 2011, Red Hat Middleware, LLC, and individual
* contributors as indicated by the @authors tag. See the
* copyright.txt in the distribution for a full listing of
* individual contributors.
@@ -214,6 +214,7 @@
ExtendedAssert.assertTrue(options.contains(WSRP2Constants.OPTIONS_EVENTS));
ExtendedAssert.assertTrue(options.contains(WSRP2Constants.OPTIONS_IMPORT));
ExtendedAssert.assertTrue(options.contains(WSRP2Constants.OPTIONS_EXPORT));
+ ExtendedAssert.assertTrue(options.contains(WSRP2Constants.OPTIONS_COPYPORTLETS));
}
@Test
13 years, 1 month
gatein SVN: r8024 - epp/examples/branches.
by do-not-reply@jboss.org
Author: theute
Date: 2011-11-10 05:24:24 -0500 (Thu, 10 Nov 2011)
New Revision: 8024
Added:
epp/examples/branches/EPP_5_2_Branch/
Log:
Preparing EPP 5.2 Branch
13 years, 1 month
gatein SVN: r8023 - epp/docs/branches/5.2/Site_Publisher/Release_Notes.
by do-not-reply@jboss.org
Author: smumford
Date: 2011-11-09 23:55:43 -0500 (Wed, 09 Nov 2011)
New Revision: 8023
Modified:
epp/docs/branches/5.2/Site_Publisher/Release_Notes/publican.cfg
Log:
Resetting remarks switch
Modified: epp/docs/branches/5.2/Site_Publisher/Release_Notes/publican.cfg
===================================================================
--- epp/docs/branches/5.2/Site_Publisher/Release_Notes/publican.cfg 2011-11-10 04:52:39 UTC (rev 8022)
+++ epp/docs/branches/5.2/Site_Publisher/Release_Notes/publican.cfg 2011-11-10 04:55:43 UTC (rev 8023)
@@ -4,7 +4,7 @@
xml_lang: en-US
type: Book
brand: JBoss
-#show_remarks: 1
+show_remarks: 1
cvs_branch: DOCS-RHEL-6
cvs_root: :ext:cvs.devel.redhat.com:/cvs/dist
cvs_pkg: JBoss_Enterprise_Portal_Platform-Site_Publisher_5.2.0_Release_Notes-5.2-web-__LANG__
13 years, 1 month
gatein SVN: r8022 - epp/docs/branches/5.2/Site_Publisher/Release_Notes.
by do-not-reply@jboss.org
Author: jaredmorgs
Date: 2011-11-09 23:52:39 -0500 (Wed, 09 Nov 2011)
New Revision: 8022
Modified:
epp/docs/branches/5.2/Site_Publisher/Release_Notes/publican.cfg
Log:
Converted Article to Book formatand added in entities to each main file to allow for entity resolution when opened as one large file
Modified: epp/docs/branches/5.2/Site_Publisher/Release_Notes/publican.cfg
===================================================================
--- epp/docs/branches/5.2/Site_Publisher/Release_Notes/publican.cfg 2011-11-10 04:48:33 UTC (rev 8021)
+++ epp/docs/branches/5.2/Site_Publisher/Release_Notes/publican.cfg 2011-11-10 04:52:39 UTC (rev 8022)
@@ -2,9 +2,9 @@
# Tue Nov 16 11:07:34 2010
xml_lang: en-US
-type: Article
+type: Book
brand: JBoss
#show_remarks: 1
cvs_branch: DOCS-RHEL-6
cvs_root: :ext:cvs.devel.redhat.com:/cvs/dist
-cvs_pkg: JBoss_Enterprise_Portal_Platform-Site_Publisher_5.2.0_Release_Notes-5.2-web-__LANG__
\ No newline at end of file
+cvs_pkg: JBoss_Enterprise_Portal_Platform-Site_Publisher_5.2.0_Release_Notes-5.2-web-__LANG__
13 years, 1 month
gatein SVN: r8021 - epp/docs/branches/5.2/Site_Publisher/Release_Notes/en-US.
by do-not-reply@jboss.org
Author: jaredmorgs
Date: 2011-11-09 23:48:33 -0500 (Wed, 09 Nov 2011)
New Revision: 8021
Added:
epp/docs/branches/5.2/Site_Publisher/Release_Notes/en-US/Book_Info.xml
Removed:
epp/docs/branches/5.2/Site_Publisher/Release_Notes/en-US/Article_Info.xml
Modified:
epp/docs/branches/5.2/Site_Publisher/Release_Notes/en-US/Author_Group.xml
epp/docs/branches/5.2/Site_Publisher/Release_Notes/en-US/Revision_History.xml
epp/docs/branches/5.2/Site_Publisher/Release_Notes/en-US/Site_Publisher_5.2.0_Release_Notes.ent
epp/docs/branches/5.2/Site_Publisher/Release_Notes/en-US/Site_Publisher_5.2.0_Release_Notes.xml
Log:
Converted Article to Book formatand added in entities to each main file to allow for entity resolution when opened as one large file
Deleted: epp/docs/branches/5.2/Site_Publisher/Release_Notes/en-US/Article_Info.xml
===================================================================
--- epp/docs/branches/5.2/Site_Publisher/Release_Notes/en-US/Article_Info.xml 2011-11-10 04:45:11 UTC (rev 8020)
+++ epp/docs/branches/5.2/Site_Publisher/Release_Notes/en-US/Article_Info.xml 2011-11-10 04:48:33 UTC (rev 8021)
@@ -1,31 +0,0 @@
-<?xml version='1.0' encoding='utf-8' ?>
-<!DOCTYPE articleinfo PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
-<!ENTITY % BOOK_ENTITIES SYSTEM "Release_Notes.ent">
-%BOOK_ENTITIES;
-]>
-<articleinfo id="arti-Release_Notes-Release_Notes">
- <title>Site Publisher 5.2.0 Release Notes</title>
- <subtitle>For the JBoss Enterprise Portal Platform Site Publisher &VZ; extension.</subtitle>
- <productname>JBoss Enterprise Portal Platform</productname>
- <productnumber>5.2</productnumber>
- <edition>5.2.0</edition>
- <pubsnumber>2</pubsnumber>
- <abstract>
- <para>
- These release notes contain important information related to JBoss Site Publisher &VZ; that may not be currently available in the Product Manuals. You should read these Release Notes in their entirety before installing the product.
- </para>
-
- </abstract>
- <corpauthor>
- <inlinemediaobject>
- <imageobject>
- <imagedata fileref="Common_Content/images/title_logo.svg" format="SVG" />
- </imageobject>
-
- </inlinemediaobject>
-
- </corpauthor>
- <xi:include href="Common_Content/Legal_Notice.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
- <xi:include href="Author_Group.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
-</articleinfo>
-
Modified: epp/docs/branches/5.2/Site_Publisher/Release_Notes/en-US/Author_Group.xml
===================================================================
--- epp/docs/branches/5.2/Site_Publisher/Release_Notes/en-US/Author_Group.xml 2011-11-10 04:45:11 UTC (rev 8020)
+++ epp/docs/branches/5.2/Site_Publisher/Release_Notes/en-US/Author_Group.xml 2011-11-10 04:48:33 UTC (rev 8021)
@@ -1,17 +1,15 @@
-<?xml version='1.0' encoding='utf-8' ?>
+<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE authorgroup PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
-<!ENTITY % BOOK_ENTITIES SYSTEM "Release_Notes.ent">
+<!ENTITY % BOOK_ENTITIES SYSTEM "Site_Publisher_5.2.0_Release_Notes.ent">
%BOOK_ENTITIES;
]>
<authorgroup>
- <author>
- <firstname>Scott</firstname>
- <surname>Mumford</surname>
- <affiliation>
- <shortaffil>Red Hat</shortaffil>
- <orgdiv>Engineering Content Services</orgdiv>
-
- </affiliation>
- </author>
+ <author>
+ <firstname>Red Hat</firstname>
+ <surname>Documentation Team</surname>
+ <affiliation>
+ <shortaffil>Red Hat</shortaffil>
+ <orgdiv>Engineering Content Services</orgdiv>
+ </affiliation>
+ </author>
</authorgroup>
-
Added: epp/docs/branches/5.2/Site_Publisher/Release_Notes/en-US/Book_Info.xml
===================================================================
--- epp/docs/branches/5.2/Site_Publisher/Release_Notes/en-US/Book_Info.xml (rev 0)
+++ epp/docs/branches/5.2/Site_Publisher/Release_Notes/en-US/Book_Info.xml 2011-11-10 04:48:33 UTC (rev 8021)
@@ -0,0 +1,27 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE articleinfo PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "Site_Publisher_5.2.0_Release_Notes.ent">
+%BOOK_ENTITIES;
+]>
+<bookinfo id="arti-Release_Notes-Release_Notes">
+ <title>Site Publisher 5.2.0 Release Notes</title>
+ <subtitle>For the JBoss Enterprise Portal Platform Site Publisher &VZ; extension.</subtitle>
+ <productname>JBoss Enterprise Portal Platform</productname>
+ <productnumber>5.2</productnumber>
+ <edition>5.2.0</edition>
+ <pubsnumber>3</pubsnumber>
+ <abstract>
+ <para>
+ These release notes contain important information related to JBoss Site Publisher &VZ; that may not be currently available in the Product Manuals. You should read these Release Notes in their entirety before installing the product.
+ </para>
+ </abstract>
+ <corpauthor>
+ <inlinemediaobject>
+ <imageobject>
+ <imagedata fileref="Common_Content/images/title_logo.svg" format="SVG"/>
+ </imageobject>
+ </inlinemediaobject>
+ </corpauthor>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Common_Content/Legal_Notice.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Author_Group.xml"/>
+</bookinfo>
Modified: epp/docs/branches/5.2/Site_Publisher/Release_Notes/en-US/Revision_History.xml
===================================================================
--- epp/docs/branches/5.2/Site_Publisher/Release_Notes/en-US/Revision_History.xml 2011-11-10 04:45:11 UTC (rev 8020)
+++ epp/docs/branches/5.2/Site_Publisher/Release_Notes/en-US/Revision_History.xml 2011-11-10 04:48:33 UTC (rev 8021)
@@ -1,41 +1,54 @@
-<?xml version='1.0' encoding='utf-8' ?>
+<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE appendix PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
-<!ENTITY % BOOK_ENTITIES SYSTEM "Release_Notes.ent">
+<!ENTITY % BOOK_ENTITIES SYSTEM "Site_Publisher_5.2.0_Release_Notes.ent">
%BOOK_ENTITIES;
]>
<appendix id="appe-Release_Notes-Revision_History">
- <title>Revision History</title>
- <simpara>
- <revhistory>
- <revision>
- <revnumber>5.2.0-2</revnumber>
- <date>Wed Nov 9 2011</date>
- <author>
- <firstname>Scott</firstname>
- <surname>Mumford</surname>
- <email></email>
- </author>
- <revdescription>
- <simplelist>
- <member>Bumped for cvs branching.</member>
- </simplelist>
- </revdescription>
- </revision>
- <revision>
- <revnumber>5.2.0-1</revnumber>
- <date>Mon Aug 29 2011</date>
- <author>
- <firstname>Scott</firstname>
- <surname>Mumford</surname>
- <email></email>
- </author>
- <revdescription>
- <simplelist>
- <member>Updating version and resetting pubs/ed numbers.</member>
- </simplelist>
- </revdescription>
- </revision>
- </revhistory>
- </simpara>
+ <title>Revision History</title>
+ <simpara>
+ <revhistory>
+ <revision>
+ <revnumber>5.2.0-3</revnumber>
+ <date>Wed Nov 9 2011</date>
+ <author>
+ <firstname>Jared</firstname>
+ <surname>Morgan</surname>
+ <email>jmorgan at redhat dot com</email>
+ </author>
+ <revdescription>
+ <simplelist>
+ <member>Converted from Article to Book, to enable better TOC and structure.</member>
+ </simplelist>
+ </revdescription>
+ </revision>
+ <revision>
+ <revnumber>5.2.0-2</revnumber>
+ <date>Wed Nov 9 2011</date>
+ <author>
+ <firstname>Scott</firstname>
+ <surname>Mumford</surname>
+ <email/>
+ </author>
+ <revdescription>
+ <simplelist>
+ <member>Bumped for cvs branching.</member>
+ </simplelist>
+ </revdescription>
+ </revision>
+ <revision>
+ <revnumber>5.2.0-1</revnumber>
+ <date>Mon Aug 29 2011</date>
+ <author>
+ <firstname>Scott</firstname>
+ <surname>Mumford</surname>
+ <email/>
+ </author>
+ <revdescription>
+ <simplelist>
+ <member>Updating version and resetting pubs/ed numbers.</member>
+ </simplelist>
+ </revdescription>
+ </revision>
+ </revhistory>
+ </simpara>
</appendix>
-
Modified: epp/docs/branches/5.2/Site_Publisher/Release_Notes/en-US/Site_Publisher_5.2.0_Release_Notes.ent
===================================================================
--- epp/docs/branches/5.2/Site_Publisher/Release_Notes/en-US/Site_Publisher_5.2.0_Release_Notes.ent 2011-11-10 04:45:11 UTC (rev 8020)
+++ epp/docs/branches/5.2/Site_Publisher/Release_Notes/en-US/Site_Publisher_5.2.0_Release_Notes.ent 2011-11-10 04:48:33 UTC (rev 8021)
@@ -11,4 +11,4 @@
<!-- Version Specifcs: -->
<!ENTITY VX "5">
<!ENTITY VY "5.2">
-<!ENTITY VZ "5.2.0">
\ No newline at end of file
+<!ENTITY VZ "5.2.0">
Modified: epp/docs/branches/5.2/Site_Publisher/Release_Notes/en-US/Site_Publisher_5.2.0_Release_Notes.xml
===================================================================
--- epp/docs/branches/5.2/Site_Publisher/Release_Notes/en-US/Site_Publisher_5.2.0_Release_Notes.xml 2011-11-10 04:45:11 UTC (rev 8020)
+++ epp/docs/branches/5.2/Site_Publisher/Release_Notes/en-US/Site_Publisher_5.2.0_Release_Notes.xml 2011-11-10 04:48:33 UTC (rev 8021)
@@ -1,169 +1,157 @@
-<?xml version='1.0' encoding='utf-8' ?>
-<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
-<!ENTITY % BOOK_ENTITIES SYSTEM "Release_Notes.ent">
+<?xml version='1.0' encoding='UTF-8'?>
+<!-- This document was created with Syntext Serna Free. -->
+<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "Site_Publisher_5.2.0_Release_Notes.ent">
%BOOK_ENTITIES;
]>
-<article>
- <xi:include href="Article_Info.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
- <section id="sect-Release_Notes-Introduction">
- <title>Introduction</title>
- <para>
+<book>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Book_Info.xml"/>
+ <chapter id="Release_Notes-Introduction">
+ <title>Introduction</title>
+ <para>
JBoss Site Publisher (powered by eXo) is a new add-on component for JBoss Enterprise Portal Platform. Site Publisher enables users to create, edit and publish rich web content within the context of their portal installation.
</para>
- <note>
- <title>Subscription</title>
- <para>
+ <note>
+ <title>Subscription</title>
+ <para>
Subscriptions to JBoss Site Publisher are available at an additional fee over and above JBoss Enterprise Portal Platform subscriptions.
</para>
- </note>
- <para>
+ </note>
+ <para>
JBoss Site Publisher simplifies the authoring and management for every website an organization needs to deploy. It includes the ability to administer sites, manage navigation, and publish content. Site Publisher delivers powerful functionality to everyone responsible for maintaining web content:
</para>
- <itemizedlist>
- <listitem>
- <para>
+ <itemizedlist>
+ <listitem>
+ <para>
Webmasters can easily administer multiple websites.
</para>
- </listitem>
- <listitem>
- <para>
+ </listitem>
+ <listitem>
+ <para>
Website administrators can set permission policies according to user roles to better control website changes.
</para>
- </listitem>
- <listitem>
- <para>
+ </listitem>
+ <listitem>
+ <para>
Content providers can use JBoss Enterprise Portal Platform’s tools to create content and then choose how to publish it using blogs, RSS feeds, social networks and more.
</para>
- </listitem>
- <listitem>
- <para>
+ </listitem>
+ <listitem>
+ <para>
Web developers can introduce other forms of rich media content to create truly professional websites easily and efficiently.
</para>
- </listitem>
- </itemizedlist>
- </section>
-
- <section id="sect-Release_Notes-Component_Features">
- <title><remark>Component Features</remark></title>
- <variablelist>
- <varlistentry>
- <term>Waiting...</term>
- <listitem>
- <para>
+ </listitem>
+ </itemizedlist>
+ </chapter>
+ <chapter id="Release_Notes-Component_Features">
+ <title>
+ <remark>Component Features</remark>
+ </title>
+ <variablelist>
+ <varlistentry>
+ <term>Waiting...</term>
+ <listitem>
+ <para>
...on content.
</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </section>
-
- <section id="sect-Release_Notes-Installation">
- <title>Installation</title>
- <para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </chapter>
+ <chapter id="Release_Notes-Installation">
+ <title>Installation</title>
+ <para>
The JBoss Site Publisher Installation Guide contains detailed installation instructions as well as environment requirements.
</para>
- <para>
- The Installation Guide can be found online at <ulink type="http" url="http://docs.redhat.com/docs/en-US/JBoss_Enterprise_Portal_Platform/index...."/>.
+ <para>
+ The Installation Guide can be found online at <ulink url="http://docs.redhat.com/docs/en-US/JBoss_Enterprise_Portal_Platform/index...." type="http"/>.
</para>
- </section>
-
-
-
- <section id="sect-5.1.1_Release_Notes-Issues_Resolved_In_Production">
- <title><remark>Issues Resolved In Production</remark></title>
- <para>
+ </chapter>
+ <chapter id="Release_Notes-Issues_Resolved_In_Production">
+ <title>
+ <remark>Issues Resolved In Production</remark>
+ </title>
+ <para>
The following issues were resolved in the production process of Site Publisher:
</para>
- <xi:include href="resolved_issues.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
- </section>
-
- <section id="sect-5.1.1_Release_Notes-Issues_Resolved_Upstream">
- <title>Issues Resolved Upstream</title>
- <para>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="resolved_issues.xml"/>
+ </chapter>
+ <chapter id="Release_Notes-Issues_Resolved_Upstream">
+ <title>Issues Resolved Upstream</title>
+ <para>
Awaiting triage efforts.
</para>
- </section>
-
- <section id="sect-5.1.1_Release_Notes-Known_Issues">
- <title><remark>Known Issues</remark></title>
- <!-- <xi:include href="known_issues.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
- -->
- <para>
+ </chapter>
+ <chapter id="Release_Notes-Known_Issues">
+ <title>
+ <remark>Known Issues</remark>
+ </title>
+<!-- <xi:include href="known_issues.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ --> <para>
Awaiting triage efforts.
</para>
- </section>
-
- <!--<section>
+ </chapter>
+<!--<chapter>
<title><remark>NEEDINFO</remark></title>
<xi:include href="need_info.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
- </section>-->
-
- <!--<section>
+ </chapter>--><!--<chapter>
<title><remark>Not Yet Documented</remark></title>
<xi:include href="not_documented.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
- </section>-->
-
- <!--<section id="sect-5.1.1_Release_Notes-Migration">
+ </chapter>--><!--<chapter id="5.1.1_Release_Notes-Migration">
<title><remark>Migration</remark></title>
<para>
Stuff about migration from 5.1.0 to 5.1.1.
</para>
- </section>-->
-
- <section id="sect-Release_Notes-Documentation">
- <title>Documentation</title>
- <para>
- An Installation Guide and a User Guide for JBoss Site Publisher are available at <ulink type="http" url="http://docs.redhat.com/docs/en-US/JBoss_Enterprise_Portal_Platform/index...." />. JBoss Enterprise Portal Platform specific documentation is also available from this location.
+ </chapter>--> <chapter id="Release_Notes-Documentation">
+ <title>Documentation</title>
+ <para>
+ An Installation Guide and a User Guide for JBoss Site Publisher are available at <ulink url="http://docs.redhat.com/docs/en-US/JBoss_Enterprise_Portal_Platform/index...." type="http"/>. JBoss Enterprise Portal Platform specific documentation is also available from this location.
</para>
- </section>
-
- <section id="sect-Release_Notes-_Product_Support_and_License_Website_Links_">
- <title> Product Support and License Website Links </title>
- <formalpara id="form-Release_Notes-_Product_Support_and_License_Website_Links_-Support_Processes">
- <title>Support Processes</title>
- <para>
+ </chapter>
+ <chapter id="Release_Notes-_Product_Support_and_License_Website_Links_">
+ <title> Product Support and License Website Links </title>
+ <formalpara id="form-Release_Notes-_Product_Support_and_License_Website_Links_-Support_Processes">
+ <title>Support Processes</title>
+ <para>
<ulink url="http://www.redhat.com/support/process/">http://www.redhat.com/support/process/</ulink>
</para>
- </formalpara>
- <formalpara id="form-Release_Notes-_Product_Support_and_License_Website_Links_-_Production_Support_Scope_of_Coverage_">
- <title> Production Support Scope of Coverage </title>
- <para>
+ </formalpara>
+ <formalpara id="form-Release_Notes-_Product_Support_and_License_Website_Links_-_Production_Support_Scope_of_Coverage_">
+ <title> Production Support Scope of Coverage </title>
+ <para>
<ulink url="http://www.redhat.com/support/policy/soc/production">http://www.redhat.com/support/policy/soc/production</ulink>
</para>
- </formalpara>
- <formalpara id="form-Release_Notes-_Product_Support_and_License_Website_Links_-_Production_Support_Service_Level_Agreement_">
- <title> Production Support Service Level Agreement </title>
- <para>
+ </formalpara>
+ <formalpara id="form-Release_Notes-_Product_Support_and_License_Website_Links_-_Production_Support_Service_Level_Agreement_">
+ <title> Production Support Service Level Agreement </title>
+ <para>
<ulink url="http://www.redhat.com/support/policy/sla/production/">http://www.redhat.com/support/policy/sla/production/</ulink>
</para>
- </formalpara>
- <formalpara id="form-Release_Notes-_Product_Support_and_License_Website_Links_-_Developer_Support_Scope_of_Coverage_">
- <title> Developer Support Scope of Coverage </title>
- <para>
+ </formalpara>
+ <formalpara id="form-Release_Notes-_Product_Support_and_License_Website_Links_-_Developer_Support_Scope_of_Coverage_">
+ <title> Developer Support Scope of Coverage </title>
+ <para>
<ulink url="http://www.redhat.com/support/policy/soc/developer/">http://www.redhat.com/support/policy/soc/developer/</ulink>
</para>
- </formalpara>
- <formalpara id="form-Release_Notes-_Product_Support_and_License_Website_Links_-_Developer_Support_Service_Level_Agreement_">
- <title> Developer Support Service Level Agreement </title>
- <para>
+ </formalpara>
+ <formalpara id="form-Release_Notes-_Product_Support_and_License_Website_Links_-_Developer_Support_Service_Level_Agreement_">
+ <title> Developer Support Service Level Agreement </title>
+ <para>
<ulink url="http://www.redhat.com/support/policy/sla/developer/">http://www.redhat.com/support/policy/sla/developer/</ulink>
</para>
- </formalpara>
- <formalpara id="form-Release_Notes-_Product_Support_and_License_Website_Links_-_Product_Update_and_Support_Policy_by_Product_">
- <title> Product Update and Support Policy by Product </title>
- <para>
+ </formalpara>
+ <formalpara id="form-Release_Notes-_Product_Support_and_License_Website_Links_-_Product_Update_and_Support_Policy_by_Product_">
+ <title> Product Update and Support Policy by Product </title>
+ <para>
<ulink url="http://www.redhat.com/security/updates/jboss_notes/">http://www.redhat.com/security/updates/jboss_notes/</ulink>
</para>
- </formalpara>
- <formalpara id="form-Release_Notes-_Product_Support_and_License_Website_Links_-_JBoss_End_User_License_Agreement_">
- <title> JBoss End User License Agreement </title>
- <para>
+ </formalpara>
+ <formalpara id="form-Release_Notes-_Product_Support_and_License_Website_Links_-_JBoss_End_User_License_Agreement_">
+ <title> JBoss End User License Agreement </title>
+ <para>
<ulink url="http://www.redhat.com/licenses/jboss_eula.html">http://www.redhat.com/licenses/jboss_eula.html</ulink>
</para>
- </formalpara>
- </section>
-
- <xi:include href="Revision_History.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
- <index />
-</article>
-
+ </formalpara>
+ </chapter>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Revision_History.xml"/>
+</book>
13 years, 1 month
gatein SVN: r8020 - in epp/docs/branches/5.2: Reference_Guide-eXoJCR-1.14/en-US and 2 other directories.
by do-not-reply@jboss.org
Author: smumford
Date: 2011-11-09 23:45:11 -0500 (Wed, 09 Nov 2011)
New Revision: 8020
Modified:
epp/docs/branches/5.2/Reference_Guide-eXoJCR-1.14/en-US/Reference_Guide_eXo_JCR_1.14.xml
epp/docs/branches/5.2/Reference_Guide-eXoJCR-1.14/en-US/modules/Advanced/Foundations/Config_Retrieval.xml
epp/docs/branches/5.2/Reference_Guide-eXoJCR-1.14/en-US/modules/Advanced/Foundations/Specific_Services.xml
epp/docs/branches/5.2/Reference_Guide-eXoJCR-1.14/en-US/modules/PortletDevelopment/Global_Portlet.xml
epp/docs/branches/5.2/Reference_Guide/en-US/modules/PortletDevelopment/Global_Portlet.xml
Log:
Further edits and feedback from theute
Modified: epp/docs/branches/5.2/Reference_Guide/en-US/modules/PortletDevelopment/Global_Portlet.xml
===================================================================
--- epp/docs/branches/5.2/Reference_Guide/en-US/modules/PortletDevelopment/Global_Portlet.xml 2011-11-10 03:29:26 UTC (rev 8019)
+++ epp/docs/branches/5.2/Reference_Guide/en-US/modules/PortletDevelopment/Global_Portlet.xml 2011-11-10 04:45:11 UTC (rev 8020)
@@ -3,10 +3,8 @@
<!ENTITY % BOOK_ENTITIES SYSTEM "../../Reference_Guide.ent">
%BOOK_ENTITIES;
]>
-<chapter id="chap-Reference_Guide-Global_Portlet_Data">
- <title><remark>Global Portlet Data</remark></title>
- <section id="sect-Reference_Guide-Global_Portlet_Data-The_Global_Data_File">
- <title>The Global Data File</title>
+<chapter id="chap-Reference_Guide_eXo_JCR_1.14-Shared_portlet.xml">
+ <title><remark>Shared <filename>portlet.xml</filename></remark></title>
<para>
The Java Portlet Specification introduces <literal>PortletFilter</literal> as a standard approach to extend the behaviors of portlet objects. For example, a filter can transform the content of portlet requests and portlet responses.
</para>
@@ -15,63 +13,70 @@
</para>
<procedure>
<step>
- <para>Implement a <literal>PortletFilter</literal> object.</para>
+ <para>
+ Implement a <literal>PortletFilter</literal> object.
+ </para>
</step>
<step>
- <para>Define the filter in portlet application deployment descriptor.</para>
+ <para>
+ Define the filter in portlet application deployment descriptor.
+ </para>
</step>
<step>
- <para>Define the filter mapping in portlet definitions.</para>
+ <para>
+ Define the filter mapping in portlet definitions.
+ </para>
</step>
</procedure>
<para>
While the first two steps are quite straightforward, the third requires developers or administrators to replicate the filter mapping in many portlet definitions. This can be tedious and opens the potential for input errors. The global portlet feature is designed to mitigate these concerns.
</para>
- </section>
- <section id="sect-Reference_Guide-Global_Portlet_Data-Global_Metadata">
- <title>Global Metadata</title>
+
<para>
Global portlet metadata is declared in the <filename>portlet.xml</filename> file and conforms with the Portlet 2.0 XSD.
</para>
-<programlisting role="XML" language="XML"><![CDATA[<portlet-app version="1.0" xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_2... http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd">
+<programlisting language="XML" role="XML"><portlet-app version="1.0" xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd">
+</portlet-app>
+</programlisting>
-</portlet-app>
-]]></programlisting>
-
- <section id="sect-Reference_Guide-Global_Portlet_Data-Location">
- <title>Location</title>
<para>
- The path to the global <filename>portlet.xml</filename> is the value of <literal>gatein.portlet.config</literal> in the <filename>configuration.properties.xml</filename> file (this can vary depending on the hosting application server).
+ The path to the global <filename>portlet.xml</filename> is the value of <literal>gatein.portlet.config</literal> in the <filename>configuration.properties.xml</filename> file. By default The file path is <filename>/<replaceable><JBOSS_HOME></replaceable>/server/<replaceable><PROFILE></replaceable>/conf/gatein/portlet.xml</filename>
</para>
<para>
<emphasis role="bold">For JBoss</emphasis>: The file path is <filename><replaceable><JBOSS_HOME></replaceable>/server/default/conf/gatein/portlet.xml</filename>.
</para>
- </section>
-
- <section id="sect-Reference_Guide-Global_Portlet_Data-Global_Metadata_Elements">
+
+ <section id="sect-Reference_Guide-Global_Metadata-Global_Metadata_Elements">
<title>Global Metadata Elements</title>
<para>
The global <filename>portlet.xml</filename> file conforms, with some restrictions, to the portlet deployment descriptor schema defined in the Portlet Specification. In this file, the following elements are supported:
</para>
<orderedlist>
<listitem>
- <para>Portlet Filter</para>
+ <para>
+ <xref linkend="form-Reference_Guide_eXo_JCR_1.14-Global_Metadata_Elements-Portlet_Filter"/>
+ </para>
</listitem>
<listitem>
- <para>Portlet Mode</para>
+ <para>
+ Portlet Mode
+ </para>
</listitem>
<listitem>
- <para>Window State</para>
+ <para>
+ Window State
+ </para>
</listitem>
</orderedlist>
- <section id="sect-Reference_Guide-Global_Portlet_Data-Global_Metadata_Elements-Portlet_Filter">
+ <formalpara id="form-Reference_Guide_eXo_JCR_1.14-Global_Metadata_Elements-Portlet_Filter">
<title>Portlet Filter</title>
<para>
Portlet filter mappings declared in the global <filename>portlet.xml</filename> file are applied across portlet applications.
</para>
+ </formalpara>
<para>
With the XML configuration below, the filter <literal>ApplicationMonitoringFilter</literal> involves in request handling on any deployed portlet.
</para>
@@ -110,9 +115,7 @@
</listitem>
</orderedlist>
<para>
- It also records statistic information on deployed portlets. The filter alternates the actual monitoring mechanism in WebUI Framework.
+ The Application Monitoring Filter records statistic information about deployed portlets. The filter alternates the actual monitoring mechanism in WebUI Framework.
</para>
</section>
- </section>
- </section>
</chapter>
Modified: epp/docs/branches/5.2/Reference_Guide-eXoJCR-1.14/en-US/Reference_Guide_eXo_JCR_1.14.xml
===================================================================
--- epp/docs/branches/5.2/Reference_Guide-eXoJCR-1.14/en-US/Reference_Guide_eXo_JCR_1.14.xml 2011-11-10 03:29:26 UTC (rev 8019)
+++ epp/docs/branches/5.2/Reference_Guide-eXoJCR-1.14/en-US/Reference_Guide_eXo_JCR_1.14.xml 2011-11-10 04:45:11 UTC (rev 8020)
@@ -4,14 +4,15 @@
%BOOK_ENTITIES;
]>
<book>
- <xi:include href="Book_Info.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
- <xi:include href="Preface.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
- <xi:include href="modules/Introduction.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
- <xi:include href="modules/PortalDevelopment.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
- <xi:include href="modules/PortletDevelopment.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
- <!-- <xi:include href="modules/GadgetDevelopment.xml" xmlns:xi="http://www.w3.org/2001/XInclude" /> --> <xi:include href="modules/AuthenticationAndIdentity.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
- <xi:include href="modules/WSRP.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
- <xi:include href="modules/Advanced.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
- <xi:include href="Revision_History.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="Book_Info.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="Preface.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="modules/Introduction.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="modules/PortalDevelopment.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="modules/PortletDevelopment.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <!-- <xi:include href="modules/GadgetDevelopment.xml" xmlns:xi="http://www.w3.org/2001/XInclude" /> -->
+ <xi:include href="modules/AuthenticationAndIdentity.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="modules/WSRP.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="modules/Advanced.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="Revision_History.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
</book>
Modified: epp/docs/branches/5.2/Reference_Guide-eXoJCR-1.14/en-US/modules/Advanced/Foundations/Config_Retrieval.xml
===================================================================
--- epp/docs/branches/5.2/Reference_Guide-eXoJCR-1.14/en-US/modules/Advanced/Foundations/Config_Retrieval.xml 2011-11-10 03:29:26 UTC (rev 8019)
+++ epp/docs/branches/5.2/Reference_Guide-eXoJCR-1.14/en-US/modules/Advanced/Foundations/Config_Retrieval.xml 2011-11-10 04:45:11 UTC (rev 8020)
@@ -4,155 +4,77 @@
%BOOK_ENTITIES;
]>
<section>
- <title></title>
- <para>
- The container performs the following steps to make eXo Container configuration retrieval, depending on the container type.
- </para>
- <section id="sect-Reference_Guide_eXo_JCR_1.14-Configuration_retrieval_order_for_the_PortalContainer">
- <title>Configuration retrieval order for the <envar>PortalContainer</envar></title>
- <para>
- The container is initialized by looking into different locations. This container is used by portal applications. Configurations are overloaded in the following lookup sequence:
- </para>
- <orderedlist>
- <listitem>
- <para>
- Services default <envar>RootContainer</envar> configurations from JAR files <emphasis>/conf/configuration.xml</emphasis>
- </para>
+ <title>Configuration Retrieval</title>
+ <para>
+ The container performs the following steps for configuration retrieval, depending on the container type.
+ </para>
+ <para>
+ The container is initialized by looking into different locations. This container is used by portal applications. Configurations are overloaded in the following lookup sequence:
+ </para>
+ <procedure>
+ <step>
+ <para>
+ Services default <envar>RootContainer</envar> configurations from JAR files <filename><replaceable><JBOSS_HOME></replaceable>/conf/gatein/configuration.xml</filename>.
+ </para>
- </listitem>
- <listitem>
- <para>
- External <envar>RootContainer</envar> configuration can be found at <emphasis>$AS_HOME/exo-conf/configuration.xml</emphasis>
- </para>
+ </step>
+ <step>
+ <para>
+ External <envar>RootContainer</envar> configuration can be found at <filename><replaceable><JBOSS_HOME></replaceable>/conf/gatein/configuration.xml</filename>.
+ </para>
- </listitem>
- <listitem>
- <para>
- Services default <envar>PortalContainer</envar> configurations from JAR files <emphasis>/conf/portal/configuration.xml</emphasis>
- </para>
+ </step>
+ <step>
+ <para>
+ Services default <envar>PortalContainer</envar> configurations from JAR files <filename>/conf/portal/configuration.xml</filename>.
+ </para>
- </listitem>
- <listitem>
- <para>
- Web applications configurations from WAR files <emphasis>/WEB-INF/conf/configuration.xml</emphasis>
- </para>
+ </step>
+ <step>
+ <para>
+ Web applications configurations from WAR files <filename>/WEB-INF/conf/configuration.xml</filename>
+ </para>
- </listitem>
- <listitem>
- <para>
- External configuration for services of named portal can be found at <emphasis>$AS_HOME/exo-conf/portal/$PORTAL_NAME/configuration.xml</emphasis>
- </para>
+ </step>
+ <step>
+ <para>
+ External configuration for services of named portal can be found at <filename><replaceable><JBOSS_HOME></replaceable>/conf/gatein/configuration.xml</filename>.
+ </para>
- </listitem>
+ </step>
- </orderedlist>
+ </procedure>
- </section>
-
- <section id="sect-Reference_Guide_eXo_JCR_1.14-General_notes_about_the_configuration_retrieval">
- <title>General notes about the configuration retrieval</title>
- <note>
- <para>
- <emphasis>$AS_HOME</emphasis> - application server home directory, or <emphasis>user.dir</emphasis> JVM system property value in case of Java Standalone application. The application server home is:
- </para>
- <itemizedlist>
- <listitem>
- <para>
- For <envar>Jonas</envar>, the value of the variable <emphasis>${jonas.base}.</emphasis>
- </para>
+ <note>
+ <para>
+ The search looks for a configuration file in each JAR/WAR available from the classpath using the current thread context classloader. During the search these configurations are added to a set. If the service was configured previously and the current JAR contains a new configuration of that service the latest (from the current JAR/WAR) will replace the previous one. The last one will be applied to the service during the services start phase.
+ </para>
- </listitem>
- <listitem>
- <para>
- For <envar>Jetty</envar>, the value of the variable <emphasis>${jetty.home}.</emphasis>
- </para>
+ </note>
+ <warning>
+ <para>
+ Take care to have no dependencies between configurations from JAR files (<filename>/conf/portal/configuration.xml</filename> and <filename>/conf/configuration.xml</filename>) since we have no way to know in advance the loading order of those configurations. In other words, if you want to overload some configuration located in the file <filename>/conf/portal/configuration.xml</filename> of a given JAR file, you must not do it from the file <filename>/conf/portal/configuration.xml</filename> of another JAR file but from another configuration file loaded after configurations from JAR files <filename>/conf/portal/configuration.xml.</filename>
+ </para>
- </listitem>
- <listitem>
- <para>
- For <envar>Websphere</envar>, the value of the variable <emphasis>${was.install.root}.</emphasis>
- </para>
+ </warning>
+ <para>
+ After the processing of all configurations available in system, the container will initialize it and start each service in order of the dependency injection (DI).
+ </para>
+ <para>
+ The user/developer should be careful when configuring the same service in different configuration files. It's recommended to configure a service in its own JAR only. Or, in case of a portal configuration, strictly reconfigure the services in portal WAR files or in an external configuration.
+ </para>
+ <para>
+ There are services that can be (or should be) configured more than one time. This depends on business logic of the service. A service may initialize the same resource (shared with other services) or may add a particular object to a set of objects (shared with other services too). In the first case, it's critical who will be the last, i.e. whose configuration will be used. In the second case, it's no matter who is the first and who is the last (if the parameter objects are independent).
+ </para>
- </listitem>
- <listitem>
- <para>
- For <envar>Weblogic</envar>, the value of the variable <emphasis>${wls.home}</emphasis>.
- </para>
-
- </listitem>
- <listitem>
- <para>
- For <envar>Glassfish</envar>, the value of the variable <emphasis>${com.sun.aas.instanceRoot}</emphasis>.
- </para>
-
- </listitem>
- <listitem>
- <para>
- For <envar>Tomcat</envar>, the value of the variable <emphasis>${catalina.home}</emphasis>.
- </para>
-
- </listitem>
- <listitem>
- <para>
- For <envar>JBoss AS</envar>, the value of the variable <emphasis>${jboss.server.config.url}</emphasis> if the exo-conf directory can be found there otherwise it will be the value of the variable <emphasis>${jboss.home.dir}</emphasis>.
- </para>
-
- </listitem>
-
- </itemizedlist>
-
- </note>
- <note>
- <para>
- <emphasis>$PORTAL_NAME</emphasis> - portal web application name.
- </para>
-
- </note>
- <note>
- <para>
- External configuration location can be overridden with System property <emphasis>exo.conf.dir</emphasis>. If the property exists, its value will be used as path to eXo configuration directory, i.e. to <emphasis>$AS_HOME/exo-conf</emphasis> alternative. E.g. put property in command line java <emphasis>-Dexo.conf.dir=/path/to/exo/conf</emphasis>. In this particular use case, you do not need to use any prefix to import other files. For instance, if your configuration file is <emphasis>$AS_HOME/exo-conf/portal/PORTAL_NAME/configuration.xml</emphasis> and you want to import the configuration file <emphasis>$AS_HOME/exo-conf/portal/PORTAL_NAME/mySubConfDir/myConfig.xml</emphasis>, you can do it by adding <emphasis><import>mySubConfDir/myConfig.xml</import></emphasis> to your configuration file.
- </para>
-
- </note>
- <note>
- <para>
- The name of the configuration folder that is by default <emphasis>"exo-conf"</emphasis>, can be changed thanks to the System property <emphasis>exo.conf.dir.name</emphasis>.
- </para>
-
- </note>
- <note>
- <para>
- The search looks for a configuration file in each JAR/WAR available from the classpath using the current thread context classloader. During the search these configurations are added to a set. If the service was configured previously and the current JAR contains a new configuration of that service the latest (from the current JAR/WAR) will replace the previous one. The last one will be applied to the service during the services start phase.
- </para>
-
- </note>
- <warning>
- <para>
- Take care to have no dependencies between configurations from JAR files (<emphasis>/conf/portal/configuration.xml</emphasis> and <emphasis>/conf/configuration.xml</emphasis>) since we have no way to know in advance the loading order of those configurations. In other words, if you want to overload some configuration located in the file <emphasis>/conf/portal/configuration.xml</emphasis> of a given JAR file, you must not do it from the file <emphasis>/conf/portal/configuration.xml</emphasis> of another JAR file but from another configuration file loaded after configurations from JAR files <emphasis>/conf/portal/configuration.xml.</emphasis>
- </para>
-
- </warning>
- <para>
- After the processing of all configurations available in system, the container will initialize it and start each service in order of the dependency injection (DI).
- </para>
- <para>
- The user/developer should be careful when configuring the same service in different configuration files. It's recommended to configure a service in its own JAR only. Or, in case of a portal configuration, strictly reconfigure the services in portal WAR files or in an external configuration.
- </para>
- <para>
- There are services that can be (or should be) configured more than one time. This depends on business logic of the service. A service may initialize the same resource (shared with other services) or may add a particular object to a set of objects (shared with other services too). In the first case, it's critical who will be the last, i.e. whose configuration will be used. In the second case, it's no matter who is the first and who is the last (if the parameter objects are independent).
- </para>
-
- </section>
-
- <section id="sect-Reference_Guide_eXo_JCR_1.14-Configuration_retrieval_log">
- <title>Configuration retrieval log</title>
- <para>
- In case of problems with service configuration, it's important to know from which JAR/WAR it comes. For that purpose, the JVM system property <emphasis>org.exoplatform.container.configuration.debug</emphasis> can be used.
+ <para>
+ In case of problems with service configuration, it's important to know from which JAR/WAR it comes. For that purpose, the JVM system property <literal>org.exoplatform.container.configuration.debug</literal> can be used.
+ </para>
<programlisting>java -Dorg.exoplatform.container.configuration.debug ...</programlisting>
- </para>
- <para>
- If the property is enabled, the container configuration manager will log the configuration adding process at <emphasis>INFO</emphasis> level.
+ <para>
+ If the property is enabled, the container configuration manager will log the configuration adding process at <emphasis>INFO</emphasis> level.
+ </para>
<programlisting>......
Add configuration jar:file:/D:/Projects/eXo/dev/exo-working/exo-tomcat/lib/exo.kernel.container-trunk.jar!/conf/portal/configuration.xml
Add configuration jar:file:/D:/Projects/eXo/dev/exo-working/exo-tomcat/lib/exo.kernel.component.cache-trunk.jar!/conf/portal/configuration.xml
@@ -163,19 +85,8 @@
import jndi:/localhost/portal/WEB-INF/conf/jcr/jcr-configuration.xml
......</programlisting>
- </para>
+ <para>
+ The effective configuration of the StandaloneContainer, RootContainer and/or PortalContainer can be known thanks to the method <emphasis>getConfigurationXML</emphasis>() that is exposed through JMX at the container's level. This method will give you the effective configuration in XML format that has been really interpreted by the kernel. This could be helpful to understand how a given component or plugin has been initialized.
+ </para>
- </section>
-
- <section id="sect-Reference_Guide_eXo_JCR_1.14-Getting_the_effective_configuration_at_Runtime">
- <title>Getting the effective configuration at Runtime</title>
- <para>
- The effective configuration of the StandaloneContainer, RootContainer and/or PortalContainer can be known thanks to the method <emphasis>getConfigurationXML</emphasis>() that is exposed through JMX at the container's level. This method will give you the effective configuration in XML format that has been really interpreted by the kernel. This could be helpful to understand how a given component or plugin has been initialized.
- </para>
-
- </section>
-
-
-</section>
-
-
+</section>
\ No newline at end of file
Modified: epp/docs/branches/5.2/Reference_Guide-eXoJCR-1.14/en-US/modules/Advanced/Foundations/Specific_Services.xml
===================================================================
--- epp/docs/branches/5.2/Reference_Guide-eXoJCR-1.14/en-US/modules/Advanced/Foundations/Specific_Services.xml 2011-11-10 03:29:26 UTC (rev 8019)
+++ epp/docs/branches/5.2/Reference_Guide-eXoJCR-1.14/en-US/modules/Advanced/Foundations/Specific_Services.xml 2011-11-10 04:45:11 UTC (rev 8020)
@@ -4,30 +4,30 @@
%BOOK_ENTITIES;
]>
<section id="sect-Reference_Guide_eXo_JCR_1.14-Specific_Services">
- <title>Specific Services</title>
- <section id="sect-Reference_Guide_eXo_JCR_1.14-Specific_Services-ListenerService">
- <title>ListenerService</title>
- <section id="sect-Reference_Guide_eXo_JCR_1.14-ListenerService-Asynchronous_Event_Broadcast">
- <title>Asynchronous Event Broadcast</title>
- <para>
- Basically, ListenerService used to store Listeners and broadcast events to them.
- </para>
- <para>
- ListenerService event broadcasting works in next way - it takes a destination listeners and executes event on those listeners.
- </para>
- <para>
- But, some events may take a lot of time, so idea to make event processing asynchronous is useful.
- </para>
- <blockquote>
- <para>
- What do I need to make my listener asynchronous?
- </para>
+ <title>Specific Services</title>
+ <section id="sect-Reference_Guide_eXo_JCR_1.14-Specific_Services-ListenerService">
+ <title>ListenerService</title>
+ <section id="sect-Reference_Guide_eXo_JCR_1.14-ListenerService-Asynchronous_Event_Broadcast">
+ <title>Asynchronous Event Broadcast</title>
+ <para>
+ Basically, ListenerService used to store Listeners and broadcast events to them.
+ </para>
+ <para>
+ ListenerService event broadcasting works in next way - it takes a destination listeners and executes event on those listeners.
+ </para>
+ <para>
+ But, some events may take a lot of time, so idea to make event processing asynchronous is useful.
+ </para>
+ <blockquote>
+ <para>
+ What do I need to make my listener asynchronous?
+ </para>
- </blockquote>
- <para>
- - It's very simple, just mark your Listener implementation as <classname>@Asynchronous</classname>.
- </para>
-
+ </blockquote>
+ <para>
+ - It's very simple, just mark your Listener implementation as <classname>@Asynchronous</classname>.
+ </para>
+
<programlisting language="Java" role="Java">@Asynchronous
class AsynchListenerWithException<S,D> extends Listener<S,D>
{
@@ -37,13 +37,13 @@
// some expensive operation
}
}</programlisting>
- <para>
- Now, our AsynchListener will be executed in separate thread by <classname>ExecutorService</classname>.
- </para>
- <para>
- By default, <classname>ExecutoreService</classname> configured with thread pool size 1, you can change it in configuration:
- </para>
-
+ <para>
+ Now, our AsynchListener will be executed in separate thread by <classname>ExecutorService</classname>.
+ </para>
+ <para>
+ By default, <classname>ExecutoreService</classname> configured with thread pool size 1, you can change it in configuration:
+ </para>
+
<programlisting language="XML" role="XML"> <component>
<key>org.exoplatform.services.listener.ListenerService</key>
<type>org.exoplatform.services.listener.ListenerService</type>
@@ -57,40 +57,40 @@
</component></programlisting>
- </section>
-
+ </section>
+
- </section>
-
- <section id="sect-Reference_Guide_eXo_JCR_1.14-Specific_Services-Understanding_the_ListenerService">
- <title>Understanding the ListenerService</title>
- <section id="sect-Reference_Guide_eXo_JCR_1.14-Understanding_the_ListenerService-Objectives">
- <title>Objectives</title>
- <para>
- This article will first describe how the ListenerService works and then it will show you how to configure the ListenerService.
- </para>
+ </section>
+
+ <section id="sect-Reference_Guide_eXo_JCR_1.14-Specific_Services-Understanding_the_ListenerService">
+ <title>Understanding the ListenerService</title>
+ <section id="sect-Reference_Guide_eXo_JCR_1.14-Understanding_the_ListenerService-Objectives">
+ <title>Objectives</title>
+ <para>
+ This article will first describe how the ListenerService works and then it will show you how to configure the ListenerService.
+ </para>
- </section>
-
- <section id="sect-Reference_Guide_eXo_JCR_1.14-Understanding_the_ListenerService-What_is_the_ListenerService_">
- <title>What is the ListenerService ?</title>
- <para>
- Inside eXo, an event mechanism allows to trigger and listen to events under specific conditions. This mechanism is used in several places in eXo such as login/logout time.
- </para>
+ </section>
+
+ <section id="sect-Reference_Guide_eXo_JCR_1.14-Understanding_the_ListenerService-What_is_the_ListenerService_">
+ <title>What is the ListenerService ?</title>
+ <para>
+ Inside eXo, an event mechanism allows to trigger and listen to events under specific conditions. This mechanism is used in several places in eXo such as login/logout time.
+ </para>
- </section>
-
- <section id="sect-Reference_Guide_eXo_JCR_1.14-Understanding_the_ListenerService-How_does_it_work">
- <title>How does it work?</title>
- <para>
- Listeners must be subclasses of org.exoplatform.services.listener.Listener registered by the ListenerService.
- </para>
- <section id="sect-Reference_Guide_eXo_JCR_1.14-How_does_it_work-Registering_a_listener">
- <title>Registering a listener</title>
- <para>
- To register a listener, you need to call the addListener() method.
- </para>
-
+ </section>
+
+ <section id="sect-Reference_Guide_eXo_JCR_1.14-Understanding_the_ListenerService-How_does_it_work">
+ <title>How does it work?</title>
+ <para>
+ Listeners must be subclasses of org.exoplatform.services.listener.Listener registered by the ListenerService.
+ </para>
+ <section id="sect-Reference_Guide_eXo_JCR_1.14-How_does_it_work-Registering_a_listener">
+ <title>Registering a listener</title>
+ <para>
+ To register a listener, you need to call the addListener() method.
+ </para>
+
<programlisting language="Java" role="Java">/**
* This method is used to register a listener with the service. The method
* should: 1. Check to see if there is a list of listener with the listener
@@ -102,18 +102,18 @@
public void addListener(Listener listener) {
...
}</programlisting>
- <para>
- By convention, we use the listener name as the name of the event to listen to.
- </para>
+ <para>
+ By convention, we use the listener name as the name of the event to listen to.
+ </para>
- </section>
-
- <section id="sect-Reference_Guide_eXo_JCR_1.14-How_does_it_work-Triggering_an_event">
- <title>Triggering an event</title>
- <para>
- To trigger an event, an application can call one of the broadcast() methods of ListenerService.
- </para>
-
+ </section>
+
+ <section id="sect-Reference_Guide_eXo_JCR_1.14-How_does_it_work-Triggering_an_event">
+ <title>Triggering an event</title>
+ <para>
+ To trigger an event, an application can call one of the broadcast() methods of ListenerService.
+ </para>
+
<programlisting language="Java" role="Java">/**
* This method is used to broadcast an event. This method should: 1. Check if
* there is a list of listener that listen to the event name. 2. If there is a
@@ -147,13 +147,13 @@
public <T extends Event> void broadcast(T event) throws Exception {
...
}</programlisting>
- <para>
- The broadcast() methods retrieve the name of the event and find the registered listeners with the same name and call the method onEvent() on each listener found.
- </para>
- <para>
- Each listener is a class that extends org.exoplatform.services.listener.Listener, as you can see below:
- </para>
-
+ <para>
+ The broadcast() methods retrieve the name of the event and find the registered listeners with the same name and call the method onEvent() on each listener found.
+ </para>
+ <para>
+ Each listener is a class that extends org.exoplatform.services.listener.Listener, as you can see below:
+ </para>
+
<programlisting language="Java" role="Java">public abstract class Listener<S, D> extends BaseComponentPlugin {
/**
@@ -162,16 +162,16 @@
*/
public abstract void onEvent(Event<S, D> event) throws Exception;
}</programlisting>
- <warning>
- <para>
- As you can see we use generics to limit the source of the event to the type 'S' and the data of the event to the type 'D', so we expect that listeners implement the method onEvent() with the corresponding types
- </para>
+ <warning>
+ <para>
+ As you can see we use generics to limit the source of the event to the type 'S' and the data of the event to the type 'D', so we expect that listeners implement the method onEvent() with the corresponding types
+ </para>
- </warning>
- <para>
- Each listener is also a ComponentPlugin with a name and a description, in other words, the name of the listener will be the name given in the configuration file, for more details see the next section.
- </para>
-
+ </warning>
+ <para>
+ Each listener is also a ComponentPlugin with a name and a description, in other words, the name of the listener will be the name given in the configuration file, for more details see the next section.
+ </para>
+
<programlisting language="Java" role="Java">public interface ComponentPlugin {
public String getName();
@@ -182,17 +182,17 @@
public void setDescription(String description);
}</programlisting>
- </section>
-
+ </section>
+
- </section>
-
- <section id="sect-Reference_Guide_eXo_JCR_1.14-Understanding_the_ListenerService-How_to_configure_a_listener">
- <title>How to configure a listener?</title>
- <para>
- All listeners are in fact a ComponentPlugin so it must be configured as below:
- </para>
-
+ </section>
+
+ <section id="sect-Reference_Guide_eXo_JCR_1.14-Understanding_the_ListenerService-How_to_configure_a_listener">
+ <title>How to configure a listener?</title>
+ <para>
+ All listeners are in fact a ComponentPlugin so it must be configured as below:
+ </para>
+
<programlisting language="XML" role="XML"><?xml version="1.0" encoding="ISO-8859-1"?>
<configuration>
...
@@ -212,22 +212,22 @@
</external-component-plugins>
</configuration></programlisting>
- </section>
-
- <section id="sect-Reference_Guide_eXo_JCR_1.14-Understanding_the_ListenerService-Concrete_Example">
- <title>Concrete Example</title>
- <para>
- The org.exoplatform.services.security.ConversationRegistry uses the ListenerService to notify that a user has just signed in or just left the application. For example, when a new user signs in, the following code is called:
- </para>
-
+ </section>
+
+ <section id="sect-Reference_Guide_eXo_JCR_1.14-Understanding_the_ListenerService-Concrete_Example">
+ <title>Concrete Example</title>
+ <para>
+ The org.exoplatform.services.security.ConversationRegistry uses the ListenerService to notify that a user has just signed in or just left the application. For example, when a new user signs in, the following code is called:
+ </para>
+
<programlisting language="Java" role="Java">listenerService.broadcast("exo.core.security.ConversationRegistry.register", this, state);</programlisting>
- <para>
- This code will in fact create a new Event which name is "exo.core.security.ConversationRegistry.register", which source is the current instance of ConversationRegistry and which data is the given state. The ListenerService will call the method onEvent(Event<ConversationRegistry, ConversationState> event) on all the listeners which name is "exo.core.security.ConversationRegistry.register".
- </para>
- <para>
- In the example below, we define a Listener that will listen the event "exo.core.security.ConversationRegistry.register".
- </para>
-
+ <para>
+ This code will in fact create a new Event which name is "exo.core.security.ConversationRegistry.register", which source is the current instance of ConversationRegistry and which data is the given state. The ListenerService will call the method onEvent(Event<ConversationRegistry, ConversationState> event) on all the listeners which name is "exo.core.security.ConversationRegistry.register".
+ </para>
+ <para>
+ In the example below, we define a Listener that will listen the event "exo.core.security.ConversationRegistry.register".
+ </para>
+
<programlisting language="XML" role="XML"><?xml version="1.0" encoding="ISO-8859-1"?>
<configuration>
...
@@ -248,169 +248,111 @@
</configuration>
...</programlisting>
- </section>
-
+ </section>
+ </section>
+
+ <section id="sect-Reference_Guide_eXo_JCR_1.14-Specific_Services-Job_Schedule">
+ <title>Job Schedule</title>
+ <section id="sect-Reference_Guide_eXo_JCR_1.14-Job_Schedule-What_is_Job_Scheduler">
+ <title>What is Job Scheduler?</title>
+ <para>
+ <emphasis role="bold">Job scheduler</emphasis> defines a job to execute a given number of times during a given period. It is a service that is in charge of unattended background executions, commonly known for historical reasons as batch processing. It is used to create and run jobs automatically and continuously, to schedule event-driven jobs and reports.
+ </para>
- </section>
-
- <section id="sect-Reference_Guide_eXo_JCR_1.14-Specific_Services-Job_Schedule">
- <!-- This document was created with Syntext Serna Free. --> <title>Job Schedule</title>
- <section id="sect-Reference_Guide_eXo_JCR_1.14-Job_Schedule-What_is_Job_Scheduler">
- <title>What is Job Scheduler?</title>
- <para>
- <emphasis role="bold">Job scheduler</emphasis> defines a job to execute a given number of times during a given period. It is a service that is in charge of unattended background executions, commonly known for historical reasons as batch processing. It is used to create and run jobs automatically and continuously, to schedule event-driven jobs and reports.
- </para>
+ </section>
+
+ <section id="sect-Reference_Guide_eXo_JCR_1.14-Job_Schedule-How_does_Job_Scheduler_work">
+ <title>How does Job Scheduler work?</title>
+ <para>
+ Jobs are scheduled to run when a given Trigger occurs. Triggers can be created with nearly any combination of the following directives:
+ </para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ at a certain time of day (to the millisecond)
+ </para>
- </section>
-
- <section id="sect-Reference_Guide_eXo_JCR_1.14-Job_Schedule-Where_is_Job_Scheduler_Service_used_in_eXo_Products">
- <title>Where is Job Scheduler Service used in eXo Products?</title>
- <para>
- Job Scheduler Service is widely used in many eXo products such as Social, DMS, WCM, eXo Knowledge and eXo Collaboration.
- </para>
- <para>
- In eXo products, Job Schedulers are used to do some tasks as below:
- </para>
- <itemizedlist>
- <listitem>
- <para>
- Automatically send notification, such as task/event reminder in the Calendar application of eXo Collaboration.
- </para>
+ </listitem>
+ <listitem>
+ <para>
+ on certain days of the week
+ </para>
- </listitem>
- <listitem>
- <para>
- Automatically save chat messages from Openfire Server to History in the Chat application of eXo Collaboration.
- </para>
+ </listitem>
- </listitem>
- <listitem>
- <para>
- Inactivate topics in the Forum application of eXo Knowledge.
- </para>
+ </itemizedlist>
+ <itemizedlist>
+ <listitem>
+ <para>
+ on certain days of the month
+ </para>
- </listitem>
- <listitem>
- <para>
- Calculate the number of active and online users in the Forum application of eXo Knowledge.
- </para>
+ </listitem>
+ <listitem>
+ <para>
+ on certain days of the year
+ </para>
- </listitem>
- <listitem>
- <para>
- Automatically collect RSS items from various RSS resources to post to the activity stream of users and spaces in eXo Social.
- </para>
+ </listitem>
- </listitem>
- <listitem>
- <para>
- Automatically send Newsletters to users in WCM.
- </para>
+ </itemizedlist>
+ <itemizedlist>
+ <listitem>
+ <para>
+ not on certain days listed within a registered Calendar (such as business holidays)
+ </para>
- </listitem>
+ </listitem>
- </itemizedlist>
- <para>
- Also, it is used in Schedule lifecycle in DMS.
- </para>
- <para>
- By using Job Scheduler Service in eXo kernel, many kinds of job can be configured to run, such as, addPeriodJob, addCronJob, addGlobalJobListener, addJobListener and many more. Just write a job (a class implements Job interface of quartz library and configures plug-in for JobSchedulerService and you're done.
- </para>
+ </itemizedlist>
+ <itemizedlist>
+ <listitem>
+ <para>
+ repeated a specific number of times
+ </para>
- </section>
-
- <section id="sect-Reference_Guide_eXo_JCR_1.14-Job_Schedule-How_does_Job_Scheduler_work">
- <title>How does Job Scheduler work?</title>
- <para>
- Jobs are scheduled to run when a given Trigger occurs. Triggers can be created with nearly any combination of the following directives:
- </para>
- <itemizedlist>
- <listitem>
- <para>
- at a certain time of day (to the millisecond)
- </para>
+ </listitem>
- </listitem>
- <listitem>
- <para>
- on certain days of the week
- </para>
+ </itemizedlist>
+ <itemizedlist>
+ <listitem>
+ <para>
+ repeated until a specific time/date
+ </para>
- </listitem>
+ </listitem>
+ <listitem>
+ <para>
+ repeated indefinitely
+ </para>
- </itemizedlist>
- <itemizedlist>
- <listitem>
- <para>
- on certain days of the month
- </para>
+ </listitem>
- </listitem>
- <listitem>
- <para>
- on certain days of the year
- </para>
+ </itemizedlist>
+ <itemizedlist>
+ <listitem>
+ <para>
+ repeated with a delay interval
+ </para>
- </listitem>
+ </listitem>
- </itemizedlist>
- <itemizedlist>
- <listitem>
- <para>
- not on certain days listed within a registered Calendar (such as business holidays)
- </para>
-
- </listitem>
-
- </itemizedlist>
- <itemizedlist>
- <listitem>
- <para>
- repeated a specific number of times
- </para>
-
- </listitem>
-
- </itemizedlist>
- <itemizedlist>
- <listitem>
- <para>
- repeated until a specific time/date
- </para>
-
- </listitem>
- <listitem>
- <para>
- repeated indefinitely
- </para>
-
- </listitem>
-
- </itemizedlist>
- <itemizedlist>
- <listitem>
- <para>
- repeated with a delay interval
- </para>
-
- </listitem>
-
- </itemizedlist>
- <para>
- Jobs are given names by their creator and can also be organized into named groups. Triggers may also be given names and placed into groups, in order to easily organize them within the scheduler. Jobs can be added to the scheduler once, but registered with multiple Triggers. Within a J2EE environment, Jobs can perform their work as part of a distributed (XA) transaction.
- </para>
- <para>
- (Source: quartz-scheduler.org)
- </para>
- <section id="sect-Reference_Guide_eXo_JCR_1.14-How_does_Job_Scheduler_work-How_can_Job_Scheduler_Service_be_used_in_Kernel">
- <title>How can Job Scheduler Service be used in Kernel?</title>
- <para>
- Kernel leverages <ulink url="http://www.quartz-scheduler.org">Quartz</ulink> for its scheduler service and wraps <classname>org.quartz.Scheduler</classname> in <classname>org.exoplatform.services.scheduler.impl.QuartzSheduler</classname> for easier service wiring and configuration like any other services. To work with Quartz in Kernel, you will mostly work with <classname>org.exoplatform.services.scheduler.JobSchedulerService</classname> (implemented by <classname>org.exoplatform.services.scheduler.impl.JobSchedulerServiceImpl</classname>.
- </para>
- <para>
- To use <classname>JobSchedulerService</classname>, you can configure it as a component in the configuration.xml. Because <classname>JobSchedulerService</classname> requires <classname>QuartzSheduler</classname> and <classname>QueueTasks</classname>, you also have to configure these two components.
- </para>
-
+ </itemizedlist>
+ <para>
+ Jobs are given names by their creator and can also be organized into named groups. Triggers may also be given names and placed into groups, in order to easily organize them within the scheduler. Jobs can be added to the scheduler once, but registered with multiple Triggers. Within a J2EE environment, Jobs can perform their work as part of a distributed (XA) transaction.
+ </para>
+ <para>
+ (Source: quartz-scheduler.org)
+ </para>
+ <section id="sect-Reference_Guide_eXo_JCR_1.14-How_does_Job_Scheduler_work-How_can_Job_Scheduler_Service_be_used_in_Kernel">
+ <title>How can Job Scheduler Service be used in Kernel?</title>
+ <para>
+ Kernel leverages <ulink url="http://www.quartz-scheduler.org">Quartz</ulink> for its scheduler service and wraps <classname>org.quartz.Scheduler</classname> in <classname>org.exoplatform.services.scheduler.impl.QuartzSheduler</classname> for easier service wiring and configuration like any other services. To work with Quartz in Kernel, you will mostly work with <classname>org.exoplatform.services.scheduler.JobSchedulerService</classname> (implemented by <classname>org.exoplatform.services.scheduler.impl.JobSchedulerServiceImpl</classname>.
+ </para>
+ <para>
+ To use <classname>JobSchedulerService</classname>, you can configure it as a component in the configuration.xml. Because <classname>JobSchedulerService</classname> requires <classname>QuartzSheduler</classname> and <classname>QueueTasks</classname>, you also have to configure these two components.
+ </para>
+
<programlisting language="XML" role="XML"><?xml version="1.0" encoding="UTF-8"?>
<configuration
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@@ -432,62 +374,62 @@
</configuration></programlisting>
- </section>
-
- <section id="sect-Reference_Guide_eXo_JCR_1.14-How_does_Job_Scheduler_work-Samples">
- <title>Samples</title>
- <note>
- <para>
- You can download the project code from <ulink url="https://github.com/hoatle/job-scheduler-service-tutorial">here</ulink>
- </para>
+ </section>
+
+ <section id="sect-Reference_Guide_eXo_JCR_1.14-How_does_Job_Scheduler_work-Samples">
+ <title>Samples</title>
+ <note>
+ <para>
+ You can download the project code from <ulink url="https://github.com/hoatle/job-scheduler-service-tutorial">here</ulink>
+ </para>
- </note>
- <para>
- Work with <classname>JobSchedulerService</classname> by creating a sample project and use GateIn-3.1.0-GA for testing.
- </para>
- <para>
- Firstly, create a project by using maven archetype plugin:
- </para>
-
+ </note>
+ <para>
+ Work with <classname>JobSchedulerService</classname> by creating a sample project and use GateIn-3.1.0-GA for testing.
+ </para>
+ <para>
+ Firstly, create a project by using maven archetype plugin:
+ </para>
+
<programlisting>mvn archetype:generate
</programlisting>
- <itemizedlist>
- <listitem>
- <para>
- For project type: select <emphasis role="bold">maven-archetype-quickstart </emphasis>
- </para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ For project type: select <emphasis role="bold">maven-archetype-quickstart </emphasis>
+ </para>
- </listitem>
- <listitem>
- <para>
- For groupId: select <emphasis role="bold">org.exoplatform.samples</emphasis>
- </para>
+ </listitem>
+ <listitem>
+ <para>
+ For groupId: select <emphasis role="bold">org.exoplatform.samples</emphasis>
+ </para>
- </listitem>
- <listitem>
- <para>
- For artifactId: select <emphasis role="bold">exo.samples.scheduler</emphasis>
- </para>
+ </listitem>
+ <listitem>
+ <para>
+ For artifactId: select <emphasis role="bold">exo.samples.scheduler</emphasis>
+ </para>
- </listitem>
- <listitem>
- <para>
- For version: select<emphasis role="bold"> 1.0.0-SNAPSHOT</emphasis>
- </para>
+ </listitem>
+ <listitem>
+ <para>
+ For version: select<emphasis role="bold"> 1.0.0-SNAPSHOT</emphasis>
+ </para>
- </listitem>
- <listitem>
- <para>
- For package: select <emphasis role="bold">org.exoplatform.samples.scheduler</emphasis>
- </para>
+ </listitem>
+ <listitem>
+ <para>
+ For package: select <emphasis role="bold">org.exoplatform.samples.scheduler</emphasis>
+ </para>
- </listitem>
+ </listitem>
- </itemizedlist>
- <para>
- Edit the pom.xml as follows:
- </para>
-
+ </itemizedlist>
+ <para>
+ Edit the pom.xml as follows:
+ </para>
+
<programlisting language="XML" role="XML"><project
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@@ -507,23 +449,23 @@
<name>eXo Samples For Scheduler</name>
<description>eXo Samples Code For Scheduler</description>
</project></programlisting>
- <para>
- Generate an eclipse project by using maven eclipse plugin and then import into eclipse:
- </para>
-
+ <para>
+ Generate an eclipse project by using maven eclipse plugin and then import into eclipse:
+ </para>
+
<programlisting>mvn eclipse:eclipse</programlisting>
- <para>
- eXo Kernel makes it easier to work with job scheduler service. All you need is just to define your "job" class to be performed by implementing <emphasis role="italic">org.quartz.Job</emphasis> interface and add configuration for it.
- </para>
- <section id="sect-Reference_Guide_eXo_JCR_1.14-Samples-Define_a_job">
- <title>Define a job</title>
- <para>
- To define a job, do as follows:
- </para>
- <para>
- Define your job to be performed. For example, the job <emphasis role="italic">DumbJob</emphasis> is defined as follows:
- </para>
-
+ <para>
+ eXo Kernel makes it easier to work with job scheduler service. All you need is just to define your "job" class to be performed by implementing <emphasis role="italic">org.quartz.Job</emphasis> interface and add configuration for it.
+ </para>
+ <section id="sect-Reference_Guide_eXo_JCR_1.14-Samples-Define_a_job">
+ <title>Define a job</title>
+ <para>
+ To define a job, do as follows:
+ </para>
+ <para>
+ Define your job to be performed. For example, the job <emphasis role="italic">DumbJob</emphasis> is defined as follows:
+ </para>
+
<programlisting language="Java" role="Java">package org.exoplatform.samples.scheduler.jobs;
import org.exoplatform.services.log.ExoLogger;
@@ -552,23 +494,23 @@
LOG.info("DumbJob is executing...");
}
}</programlisting>
- <para>
- All jobs are required to implement the method <emphasis role="italic">execute</emphasis> from <emphasis role="italic">org.quartz.Job</emphasis> interface. This method will be called whenever a job is performed. With <emphasis role="italic">DumbJob</emphasis>, you just use logging to see that it will work. By looking at the terminal, you will see the log message: "DumbJob is executing..."
- </para>
+ <para>
+ All jobs are required to implement the method <emphasis role="italic">execute</emphasis> from <emphasis role="italic">org.quartz.Job</emphasis> interface. This method will be called whenever a job is performed. With <emphasis role="italic">DumbJob</emphasis>, you just use logging to see that it will work. By looking at the terminal, you will see the log message: "DumbJob is executing..."
+ </para>
- </section>
-
- <section id="sect-Reference_Guide_eXo_JCR_1.14-Samples-Job_configuration">
- <title>Job configuration</title>
- <para>
- After defining the "job", the only next step is to configure it by using <emphasis role="italic">external-component-plugin</emphasis> configuration for <emphasis role="italic">org.exoplatform.services.scheduler.JobSchedulerService</emphasis>. You can use these methods below for setting component plugin:
- </para>
-
+ </section>
+
+ <section id="sect-Reference_Guide_eXo_JCR_1.14-Samples-Job_configuration">
+ <title>Job configuration</title>
+ <para>
+ After defining the "job", the only next step is to configure it by using <emphasis role="italic">external-component-plugin</emphasis> configuration for <emphasis role="italic">org.exoplatform.services.scheduler.JobSchedulerService</emphasis>. You can use these methods below for setting component plugin:
+ </para>
+
<programlisting language="Java" role="Java">public void addPeriodJob(ComponentPlugin plugin) throws Exception;</programlisting>
- <para>
- The component plugin for this method must be the type of <emphasis role="italic">org.exoplatform.services.scheduler.PeriodJob</emphasis>. This type of job is used to perform actions that are executed in a period of time. You have to define when this job is performed, when it ends, when it performs the first action, how many times it is executed and the period of time to perform the action. See the configuration sample below to understand more clearly:
- </para>
-
+ <para>
+ The component plugin for this method must be the type of <emphasis role="italic">org.exoplatform.services.scheduler.PeriodJob</emphasis>. This type of job is used to perform actions that are executed in a period of time. You have to define when this job is performed, when it ends, when it performs the first action, how many times it is executed and the period of time to perform the action. See the configuration sample below to understand more clearly:
+ </para>
+
<programlisting language="XML" role="XML"><external-component-plugins>
<target-component>org.exoplatform.services.scheduler.JobSchedulerService</target-component>
<component-plugin>
@@ -591,12 +533,12 @@
</init-params>
</component-plugin>
</external-component-plugins></programlisting>
-
+
<programlisting language="Java" role="Java">public void addCronJob(ComponentPlugin plugin) throws Exception;</programlisting>
- <para>
- The component plugin for this method must be the type of <emphasis role="italic">org.exoplatform.services.scheduler.CronJob</emphasis>. This type of job is used to perform actions at specified time with Unix 'cron-like' definitions. The plugin uses "expression" field for specifying the 'cron-like' definitions to execute the job. This is considered as the most powerful and flexible job to define when it will execute. For example, at 12pm every day => "0 0 12 * * ?"; or at 10:15am every Monday, Tuesday, Wednesday, Thursday and Friday => "0 15 10 ? * MON-FRI". To see more about Cron expression, please refer to this article: <ulink url="http://en.wikipedia.org/wiki/CRON_expression">CRON expression</ulink>. See the configuration sample below to understand more clearly:
- </para>
-
+ <para>
+ The component plugin for this method must be the type of <emphasis role="italic">org.exoplatform.services.scheduler.CronJob</emphasis>. This type of job is used to perform actions at specified time with Unix 'cron-like' definitions. The plugin uses "expression" field for specifying the 'cron-like' definitions to execute the job. This is considered as the most powerful and flexible job to define when it will execute. For example, at 12pm every day => "0 0 12 * * ?"; or at 10:15am every Monday, Tuesday, Wednesday, Thursday and Friday => "0 15 10 ? * MON-FRI". To see more about Cron expression, please refer to this article: <ulink url="http://en.wikipedia.org/wiki/CRON_expression">CRON expression</ulink>. See the configuration sample below to understand more clearly:
+ </para>
+
<programlisting language="XML" role="XML"><external-component-plugins>
<target-component>org.exoplatform.services.scheduler.JobSchedulerService</target-component>
<component-plugin>
@@ -617,29 +559,29 @@
</init-params>
</component-plugin>
</external-component-plugins></programlisting>
-
+
<programlisting language="Java" role="Java">public void addGlobalJobListener(ComponentPlugin plugin) throws Exception;</programlisting>
-
+
<programlisting language="Java" role="Java">public void addJobListener(ComponentPlugin plugin) throws Exception;</programlisting>
- <para>
- The component plugin for two methods above must be the type of <emphasis role="italic">org.quartz.JobListener.</emphasis> This job listener is used so that it will be informed when a <emphasis role="italic">org.quartz.JobDetail</emphasis> executes.
- </para>
-
+ <para>
+ The component plugin for two methods above must be the type of <emphasis role="italic">org.quartz.JobListener.</emphasis> This job listener is used so that it will be informed when a <emphasis role="italic">org.quartz.JobDetail</emphasis> executes.
+ </para>
+
<programlisting language="Java" role="Java">public void addGlobalTriggerListener(ComponentPlugin plugin) throws Exception;</programlisting>
-
+
<programlisting language="Java" role="Java">public void addTriggerListener(ComponentPlugin plugin) throws Exception;</programlisting>
- <para>
- The component plugin for two methods above must be the type of <emphasis role="italic">org.quartz.TriggerListener</emphasis>. This trigger listener is used so that it will be informed when a <emphasis role="italic">org.quartz.Trigger</emphasis> fires.
- </para>
+ <para>
+ The component plugin for two methods above must be the type of <emphasis role="italic">org.quartz.TriggerListener</emphasis>. This trigger listener is used so that it will be informed when a <emphasis role="italic">org.quartz.Trigger</emphasis> fires.
+ </para>
- </section>
-
- <section id="sect-Reference_Guide_eXo_JCR_1.14-Samples-Run_the_project">
- <title>Run the project</title>
- <para>
- Create <emphasis role="italic">conf.portal</emphasis> package in your sample project. Add the configuration.xml file with the content as follows:
- </para>
-
+ </section>
+
+ <section id="sect-Reference_Guide_eXo_JCR_1.14-Samples-Run_the_project">
+ <title>Run the project</title>
+ <para>
+ Create <emphasis role="italic">conf.portal</emphasis> package in your sample project. Add the configuration.xml file with the content as follows:
+ </para>
+
<programlisting language="XML" role="XML"><?xml version="1.0" encoding="UTF-8"?>
<configuration
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@@ -680,106 +622,106 @@
</component-plugin>
</external-component-plugins>
</configuration></programlisting>
- <para>
- <emphasis role="italic">mvn clean install </emphasis>the project. Copy .jar file to<emphasis role="italic"> lib</emphasis> in tomcat bundled with GateIn-3.1.0-GA. Run <emphasis role="italic">bin/gatein.sh</emphasis> to see the <emphasis role="italic">DumbJob</emphasis> to be executed on the terminal when portal containers are initialized. Please look at the terminal to see the log message of <emphasis role="italic">DumbJob</emphasis>.
- </para>
- <para>
- From now on, you can easily create any job to be executed in GateIn's portal by defining your job and configuring it.
- </para>
+ <para>
+ <emphasis role="italic">mvn clean install </emphasis>the project. Copy .jar file to<emphasis role="italic"> lib</emphasis> in tomcat bundled with GateIn-3.1.0-GA. Run <emphasis role="italic">bin/gatein.sh</emphasis> to see the <emphasis role="italic">DumbJob</emphasis> to be executed on the terminal when portal containers are initialized. Please look at the terminal to see the log message of <emphasis role="italic">DumbJob</emphasis>.
+ </para>
+ <para>
+ From now on, you can easily create any job to be executed in GateIn's portal by defining your job and configuring it.
+ </para>
- </section>
-
+ </section>
+
- </section>
-
+ </section>
+
- </section>
-
- <section id="sect-Reference_Guide_eXo_JCR_1.14-Job_Schedule-Reference">
- <title>Reference</title>
- <para>
- To further understand about Job Scheduler, you can refer the following links:
- </para>
- <itemizedlist>
- <listitem>
- <para>
- <ulink url="http://www.quartz-scheduler.org/">http://www.quartz-scheduler.org/</ulink>
- </para>
+ </section>
+
+ <section id="sect-Reference_Guide_eXo_JCR_1.14-Job_Schedule-Reference">
+ <title>Reference</title>
+ <para>
+ To further understand about Job Scheduler, you can refer the following links:
+ </para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <ulink url="http://www.quartz-scheduler.org/">http://www.quartz-scheduler.org/</ulink>
+ </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://en.wikipedia.org/wiki/Job_scheduler">http://en.wikipedia.org/wiki/Job_scheduler</ulink>
- </para>
+ </listitem>
+ <listitem>
+ <para>
+ <ulink url="http://en.wikipedia.org/wiki/Job_scheduler">http://en.wikipedia.org/wiki/Job_scheduler</ulink>
+ </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://www.theserverside.com/news/1364726/Job-Scheduling-in-J2EE-Applicat...">http://www.theserverside.com/news/1364726/Job-Scheduling-in-J2EE-Applicat...</ulink>
- </para>
+ </listitem>
+ <listitem>
+ <para>
+ <ulink url="http://www.theserverside.com/news/1364726/Job-Scheduling-in-J2EE-Applicat...">http://www.theserverside.com/news/1364726/Job-Scheduling-in-J2EE-Applicat...</ulink>
+ </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://technet.microsoft.com/en-us/library/cc720070%28WS.10%29.aspx">http://technet.microsoft.com/en-us/library/cc720070%28WS.10%29.aspx</ulink>
- </para>
+ </listitem>
+ <listitem>
+ <para>
+ <ulink url="http://technet.microsoft.com/en-us/library/cc720070%28WS.10%29.aspx">http://technet.microsoft.com/en-us/library/cc720070%28WS.10%29.aspx</ulink>
+ </para>
- </listitem>
+ </listitem>
- </itemizedlist>
+ </itemizedlist>
- </section>
-
+ </section>
+
- </section>
-
- <section id="sect-Reference_Guide_eXo_JCR_1.14-Specific_Services-The_data_source_provider">
- <title>The data source provider</title>
- <section id="sect-Reference_Guide_eXo_JCR_1.14-The_data_source_provider-Description">
- <title>Description</title>
- <para>
- The <emphasis>DataSourceProvider</emphasis> is a service used to give access to a data source in an uniform manner in order to be able to support data sources that are managed by the application server.
- </para>
- <para>
- <table id="tabl-Reference_Guide_eXo_JCR_1.14-Description-List_methods">
- <title>List methods</title>
- <tgroup cols="2">
- <tbody>
- <row>
- <entry>
- getDataSource(String dataSourceName)
- </entry>
- <entry>
- Tries to get the data source from a JNDI lookup. If it can be found and the data source is defined as managed, the service will wrap the original <emphasis>DataSource</emphasis> instance in a new <emphasis>DataSource</emphasis> instance that is aware of its <emphasis>managed</emphasis> state otherwise it will return the original <emphasis>DataSource</emphasis> instance.
- </entry>
+ </section>
+
+ <section id="sect-Reference_Guide_eXo_JCR_1.14-Specific_Services-The_data_source_provider">
+ <title>The data source provider</title>
+ <section id="sect-Reference_Guide_eXo_JCR_1.14-The_data_source_provider-Description">
+ <title>Description</title>
+ <para>
+ The <emphasis>DataSourceProvider</emphasis> is a service used to give access to a data source in an uniform manner in order to be able to support data sources that are managed by the application server.
+ </para>
+ <para>
+ <table id="tabl-Reference_Guide_eXo_JCR_1.14-Description-List_methods">
+ <title>List methods</title>
+ <tgroup cols="2">
+ <tbody>
+ <row>
+ <entry>
+ getDataSource(String dataSourceName)
+ </entry>
+ <entry>
+ Tries to get the data source from a JNDI lookup. If it can be found and the data source is defined as managed, the service will wrap the original <emphasis>DataSource</emphasis> instance in a new <emphasis>DataSource</emphasis> instance that is aware of its <emphasis>managed</emphasis> state otherwise it will return the original <emphasis>DataSource</emphasis> instance.
+ </entry>
- </row>
- <row>
- <entry>
- isManaged(String dataSourceName)
- </entry>
- <entry>
- Indicates whether or not the given data source is managed.
- </entry>
+ </row>
+ <row>
+ <entry>
+ isManaged(String dataSourceName)
+ </entry>
+ <entry>
+ Indicates whether or not the given data source is managed.
+ </entry>
- </row>
+ </row>
- </tbody>
+ </tbody>
- </tgroup>
+ </tgroup>
- </table>
+ </table>
- </para>
+ </para>
- </section>
-
- <section id="sect-Reference_Guide_eXo_JCR_1.14-The_data_source_provider-Configuration">
- <title>Configuration</title>
- <para>
- The configuration of the <emphasis>DataSourceProvider</emphasis> should be defined only if you use managed data sources since by default all the data sources are considered as not managed. See below the default configuration
- </para>
-
+ </section>
+
+ <section id="sect-Reference_Guide_eXo_JCR_1.14-The_data_source_provider-Configuration">
+ <title>Configuration</title>
+ <para>
+ The configuration of the <emphasis>DataSourceProvider</emphasis> should be defined only if you use managed data sources since by default all the data sources are considered as not managed. See below the default configuration
+ </para>
+
<programlisting><configuration>
....
<component>
@@ -816,49 +758,49 @@
</component>
...
</configuration></programlisting>
- <table id="tabl-Reference_Guide_eXo_JCR_1.14-Configuration-Fields_description">
- <title>Fields description</title>
- <tgroup cols="2">
- <tbody>
- <row>
- <entry>
- <emphasis>check-tx-active</emphasis>
- </entry>
- <entry>
- This parameter indicates that the data source needs to check if a transaction is active to decide if the provided connection needs to be managed or not. If it is set to <emphasis>false</emphasis>, the data source will provide only managed connections if the data source itself is managed. By default, this parameter is set to <emphasis>true</emphasis>. If this parameter is set to <emphasis>true</emphasis>, it will need the <emphasis>TransactionService</emphasis> to work properly, so please ensure that the <emphasis>TransactionService</emphasis> is defined in your configuration.
- </entry>
+ <table id="tabl-Reference_Guide_eXo_JCR_1.14-Configuration-Fields_description">
+ <title>Fields description</title>
+ <tgroup cols="2">
+ <tbody>
+ <row>
+ <entry>
+ <emphasis>check-tx-active</emphasis>
+ </entry>
+ <entry>
+ This parameter indicates that the data source needs to check if a transaction is active to decide if the provided connection needs to be managed or not. If it is set to <emphasis>false</emphasis>, the data source will provide only managed connections if the data source itself is managed. By default, this parameter is set to <emphasis>true</emphasis>. If this parameter is set to <emphasis>true</emphasis>, it will need the <emphasis>TransactionService</emphasis> to work properly, so please ensure that the <emphasis>TransactionService</emphasis> is defined in your configuration.
+ </entry>
- </row>
- <row>
- <entry>
- <emphasis>always-managed</emphasis>
- </entry>
- <entry>
- This parameter indicates that all the data sources are managed. If set to <emphasis>true</emphasis> the parameter <emphasis>never-managed</emphasis> and <emphasis>managed-data-sources</emphasis> will be ignored, so it will consider all the data sources as managed. By default, this parameter is set to <emphasis>false</emphasis>.
- </entry>
+ </row>
+ <row>
+ <entry>
+ <emphasis>always-managed</emphasis>
+ </entry>
+ <entry>
+ This parameter indicates that all the data sources are managed. If set to <emphasis>true</emphasis> the parameter <emphasis>never-managed</emphasis> and <emphasis>managed-data-sources</emphasis> will be ignored, so it will consider all the data sources as managed. By default, this parameter is set to <emphasis>false</emphasis>.
+ </entry>
- </row>
- <row>
- <entry>
- <emphasis>managed-data-sources</emphasis>
- </entry>
- <entry>
- This parameter indicates the list of all the data sources that are managed, each value tag can contain a list of data source names separated by a comma. If <emphasis>always-managed</emphasis> and/or <emphasis>never-managed</emphasis> is set <emphasis>true</emphasis> this parameter is ignored.
- </entry>
+ </row>
+ <row>
+ <entry>
+ <emphasis>managed-data-sources</emphasis>
+ </entry>
+ <entry>
+ This parameter indicates the list of all the data sources that are managed, each value tag can contain a list of data source names separated by a comma. If <emphasis>always-managed</emphasis> and/or <emphasis>never-managed</emphasis> is set <emphasis>true</emphasis> this parameter is ignored.
+ </entry>
- </row>
+ </row>
- </tbody>
+ </tbody>
- </tgroup>
+ </tgroup>
- </table>
+ </table>
- </section>
-
+ </section>
+
- </section>
-
+ </section>
+
</section>
Modified: epp/docs/branches/5.2/Reference_Guide-eXoJCR-1.14/en-US/modules/PortletDevelopment/Global_Portlet.xml
===================================================================
--- epp/docs/branches/5.2/Reference_Guide-eXoJCR-1.14/en-US/modules/PortletDevelopment/Global_Portlet.xml 2011-11-10 03:29:26 UTC (rev 8019)
+++ epp/docs/branches/5.2/Reference_Guide-eXoJCR-1.14/en-US/modules/PortletDevelopment/Global_Portlet.xml 2011-11-10 04:45:11 UTC (rev 8020)
@@ -46,19 +46,15 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd">
</portlet-app>
-</programlisting>
+</programlisting>
- <section id="sect-Reference_Guide_eXo_JCR_1.14-Global_Metadata-Location">
- <title>Location</title>
- <para>
- The path to the global <filename>portlet.xml</filename> is the value of <literal>gatein.portlet.config</literal> in the <filename>configuration.properties.xml</filename> file. By default The file path is <filename>/<replaceable><JBOSS_HOME></replaceable>/server/<replaceable><PROFILE></replaceable>/conf/gatein/portlet.xml</filename>
- </para>
- <para>
- <emphasis role="bold">For JBoss</emphasis>: The file path is <filename><replaceable><JBOSS_HOME></replaceable>/server/default/conf/gatein/portlet.xml</filename>.
- </para>
+ <para>
+ The path to the global <filename>portlet.xml</filename> is the value of <literal>gatein.portlet.config</literal> in the <filename>configuration.properties.xml</filename> file. By default The file path is <filename>/<replaceable><JBOSS_HOME></replaceable>/server/<replaceable><PROFILE></replaceable>/conf/gatein/portlet.xml</filename>
+ </para>
+ <para>
+ <emphasis role="bold">For JBoss</emphasis>: The file path is <filename><replaceable><JBOSS_HOME></replaceable>/server/default/conf/gatein/portlet.xml</filename>.
+ </para>
- </section>
-
<section id="sect-Reference_Guide_eXo_JCR_1.14-Global_Metadata-Global_Metadata_Elements">
<title>Global Metadata Elements</title>
<para>
@@ -67,7 +63,7 @@
<orderedlist>
<listitem>
<para>
- Portlet Filter
+ <xref linkend="form-Reference_Guide_eXo_JCR_1.14-Global_Metadata_Elements-Portlet_Filter"/>
</para>
</listitem>
@@ -85,24 +81,25 @@
</listitem>
</orderedlist>
- <section id="sect-Reference_Guide_eXo_JCR_1.14-Global_Metadata_Elements-Portlet_Filter">
+ <formalpara id="form-Reference_Guide_eXo_JCR_1.14-Global_Metadata_Elements-Portlet_Filter">
<title>Portlet Filter</title>
<para>
Portlet filter mappings declared in the global <filename>portlet.xml</filename> file are applied across portlet applications.
</para>
+ </formalpara>
<para>
With the XML configuration below, the filter <literal>ApplicationMonitoringFilter</literal> involves in request handling on any deployed portlet.
</para>
-<programlisting language="XML" role="XML"><filter>
-<filter-name>org.exoplatform.portal.application.ApplicationMonitoringFilter</filter-name>
-<filter-class>org.exoplatform.portal.application.ApplicationMonitoringFilter</filter-class>
- <lifecycle>ACTION_PHASE</lifecycle>
- <lifecycle>RENDER_PHASE</lifecycle>
- <lifecycle>EVENT_PHASE</lifecycle>
- <lifecycle>RESOURCE_PHASE</lifecycle>
-</filter>
-</programlisting>
+<programlisting role="XML" language="XML"><![CDATA[<filter>
+<filter-name>org.exoplatform.portal.application.ApplicationMonitoringFilter</filter-name>
+<filter-class>org.exoplatform.portal.application.ApplicationMonitoringFilter</filter-class>
+ <lifecycle>ACTION_PHASE</lifecycle>
+ <lifecycle>RENDER_PHASE</lifecycle>
+ <lifecycle>EVENT_PHASE</lifecycle>
+ <lifecycle>RESOURCE_PHASE</lifecycle>
+</filter>
+]]></programlisting>
<para>
<emphasis role="bold">Application Monitoring Filter</emphasis> supports four lifecycle phases in the order below:
</para>
@@ -137,14 +134,7 @@
The Application Monitoring Filter records statistic information about deployed portlets. The filter alternates the actual monitoring mechanism in WebUI Framework.
</para>
- </section>
-
+ </section>
- </section>
-
-
- </section>
-
-
</chapter>
13 years, 1 month