Return-Path:
Delivered-To: apmail-portals-jetspeed-dev-archive@www.apache.org
Received: (qmail 1421 invoked from network); 23 Apr 2009 17:00:18 -0000
Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3)
by minotaur.apache.org with SMTP; 23 Apr 2009 17:00:18 -0000
Received: (qmail 16375 invoked by uid 500); 23 Apr 2009 17:00:18 -0000
Delivered-To: apmail-portals-jetspeed-dev-archive@portals.apache.org
Received: (qmail 16311 invoked by uid 500); 23 Apr 2009 17:00:18 -0000
Mailing-List: contact jetspeed-dev-help@portals.apache.org; run by ezmlm
Precedence: bulk
List-Help:
List-Unsubscribe:
List-Post:
List-Id:
Reply-To: "Jetspeed Developers List"
Delivered-To: mailing list jetspeed-dev@portals.apache.org
Received: (qmail 16301 invoked by uid 99); 23 Apr 2009 17:00:18 -0000
Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136)
by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Apr 2009 17:00:18 +0000
X-ASF-Spam-Status: No, hits=-2000.0 required=10.0
tests=ALL_TRUSTED
X-Spam-Check-By: apache.org
Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4)
by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Apr 2009 17:00:17 +0000
Received: by eris.apache.org (Postfix, from userid 65534)
id CCEF423889C4; Thu, 23 Apr 2009 16:59:56 +0000 (UTC)
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: svn commit: r767977 - in /portals/jetspeed-2/portal/trunk:
components/jetspeed-page-manager/src/test/resources/
components/jetspeed-portal-site/src/test/resources/
components/jetspeed-profiler/src/test/resources/ src/site/xdoc/
Date: Thu, 23 Apr 2009 16:59:56 -0000
To: jetspeed-dev@portals.apache.org
From: woonsan@apache.org
X-Mailer: svnmailer-1.0.8
Message-Id: <20090423165956.CCEF423889C4@eris.apache.org>
X-Virus-Checked: Checked by ClamAV on apache.org
Author: woonsan
Date: Thu Apr 23 16:59:55 2009
New Revision: 767977
URL: http://svn.apache.org/viewvc?rev=767977&view=rev
Log:
JS2-976: Fixing unit tests of jetspeed-portal-site and jetspeed-profiler components. Also, adds a note about JVM option setting.
Added:
portals/jetspeed-2/portal/trunk/components/jetspeed-page-manager/src/test/resources/castor.properties (with props)
portals/jetspeed-2/portal/trunk/components/jetspeed-portal-site/src/test/resources/castor.properties (with props)
Modified:
portals/jetspeed-2/portal/trunk/components/jetspeed-portal-site/src/test/resources/cache-test.xml
portals/jetspeed-2/portal/trunk/components/jetspeed-profiler/src/test/resources/cache-test.xml
portals/jetspeed-2/portal/trunk/src/site/xdoc/maven-2-build.xml
Added: portals/jetspeed-2/portal/trunk/components/jetspeed-page-manager/src/test/resources/castor.properties
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/components/jetspeed-page-manager/src/test/resources/castor.properties?rev=767977&view=auto
==============================================================================
--- portals/jetspeed-2/portal/trunk/components/jetspeed-page-manager/src/test/resources/castor.properties (added)
+++ portals/jetspeed-2/portal/trunk/components/jetspeed-page-manager/src/test/resources/castor.properties Thu Apr 23 16:59:55 2009
@@ -0,0 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# Defines the XML parser to be used by Castor.
+# The parser must implement org.xml.sax.Parser.
+org.exolab.castor.parser=org.xml.sax.helpers.XMLReaderAdapter
+
Propchange: portals/jetspeed-2/portal/trunk/components/jetspeed-page-manager/src/test/resources/castor.properties
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: portals/jetspeed-2/portal/trunk/components/jetspeed-page-manager/src/test/resources/castor.properties
------------------------------------------------------------------------------
svn:keywords = Id
Propchange: portals/jetspeed-2/portal/trunk/components/jetspeed-page-manager/src/test/resources/castor.properties
------------------------------------------------------------------------------
svn:mime-type = text/plain
Modified: portals/jetspeed-2/portal/trunk/components/jetspeed-portal-site/src/test/resources/cache-test.xml
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/components/jetspeed-portal-site/src/test/resources/cache-test.xml?rev=767977&r1=767976&r2=767977&view=diff
==============================================================================
--- portals/jetspeed-2/portal/trunk/components/jetspeed-portal-site/src/test/resources/cache-test.xml (original)
+++ portals/jetspeed-2/portal/trunk/components/jetspeed-portal-site/src/test/resources/cache-test.xml Thu Apr 23 16:59:55 2009
@@ -233,21 +233,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Added: portals/jetspeed-2/portal/trunk/components/jetspeed-portal-site/src/test/resources/castor.properties
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/components/jetspeed-portal-site/src/test/resources/castor.properties?rev=767977&view=auto
==============================================================================
--- portals/jetspeed-2/portal/trunk/components/jetspeed-portal-site/src/test/resources/castor.properties (added)
+++ portals/jetspeed-2/portal/trunk/components/jetspeed-portal-site/src/test/resources/castor.properties Thu Apr 23 16:59:55 2009
@@ -0,0 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# Defines the XML parser to be used by Castor.
+# The parser must implement org.xml.sax.Parser.
+org.exolab.castor.parser=org.xml.sax.helpers.XMLReaderAdapter
+
Propchange: portals/jetspeed-2/portal/trunk/components/jetspeed-portal-site/src/test/resources/castor.properties
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: portals/jetspeed-2/portal/trunk/components/jetspeed-portal-site/src/test/resources/castor.properties
------------------------------------------------------------------------------
svn:keywords = Id
Propchange: portals/jetspeed-2/portal/trunk/components/jetspeed-portal-site/src/test/resources/castor.properties
------------------------------------------------------------------------------
svn:mime-type = text/plain
Modified: portals/jetspeed-2/portal/trunk/components/jetspeed-profiler/src/test/resources/cache-test.xml
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/components/jetspeed-profiler/src/test/resources/cache-test.xml?rev=767977&r1=767976&r2=767977&view=diff
==============================================================================
--- portals/jetspeed-2/portal/trunk/components/jetspeed-profiler/src/test/resources/cache-test.xml (original)
+++ portals/jetspeed-2/portal/trunk/components/jetspeed-profiler/src/test/resources/cache-test.xml Thu Apr 23 16:59:55 2009
@@ -233,21 +233,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Modified: portals/jetspeed-2/portal/trunk/src/site/xdoc/maven-2-build.xml
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/src/site/xdoc/maven-2-build.xml?rev=767977&r1=767976&r2=767977&view=diff
==============================================================================
--- portals/jetspeed-2/portal/trunk/src/site/xdoc/maven-2-build.xml (original)
+++ portals/jetspeed-2/portal/trunk/src/site/xdoc/maven-2-build.xml Thu Apr 23 16:59:55 2009
@@ -190,50 +190,6 @@
-
- The following profiles can be supplied when building
-
-
-
-
-
- mvn -P all
- |
-
- specified that all modules (the API, plugins, portal resources, commons, components and applications) be built.
- |
-
-
-
- mvn -P init
- |
-
- specified some modules to be initialized first (the API, plugins and portal resources)
- |
-
-
-
- mvn -P test
- |
-
- specified that all modules (the API, plugins, portal resources, commons, components and applications) be built, with the property setting, -Dmaven.test.skip=false
- |
-
-
-
-
-
-
-
-
With the new jetspeed-mvn plugin, building the Jetspeed-2 Portal itself from source as well as building and deploying the default jetspeed-demo portal is now extremely easy.
@@ -253,7 +209,17 @@
$mvn jetspeed:mvn -Dtarget=test-install
- Note: Running the test-cases requires (and only for this) the proper configuration of the org.apache.jetspeed.test.database.* properties in jetspeed-mvn-settings.xml
+
+ Note: Running the test-cases requires (and only for this) the proper configuration of the org.apache.jetspeed.test.database.* properties in jetspeed-mvn-settings.xml
+
+
+
+ Note: Probably you need to configure some memory settings for maven to run all the tests properly because some test cases require more memory than the default size.
+ You can configure memory settings for maven by setting the environment variable 'MAVEN_OPTS'. For example,
+ $export MAVEN_OPTS="-Xmx128m -XX:MaxPermSize=128m"
+
+
+
The production database configuration provided by the Jetspeed-2 Portal project itself is primarly intended to be used by the developers using the jetspeed-demo Portal.
@@ -331,5 +297,49 @@
Further detail of the different jetspeed:mvn targets and configurations used for the dbpsml demo can be found in the jetspeed-mvn-plugin configuration within the root pom.xml.
+
+ The following profiles can be supplied when building.
+
+
+
+
+
+ mvn -P all
+ |
+
+ specified that all modules (the API, plugins, portal resources, commons, components and applications) be built.
+ |
+
+
+
+ mvn -P init
+ |
+
+ specified some modules to be initialized first (the API, plugins and portal resources)
+ |
+
+
+
+ mvn -P test
+ |
+
+ specified that all modules (the API, plugins, portal resources, commons, components and applications) be built, with the property setting, -DskipTests=false
+ |
+
+
+
+
+
+
+
+