Return-Path: X-Original-To: apmail-incubator-rave-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-rave-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7710671FB for ; Tue, 15 Nov 2011 20:43:40 +0000 (UTC) Received: (qmail 61618 invoked by uid 500); 15 Nov 2011 20:43:38 -0000 Delivered-To: apmail-incubator-rave-commits-archive@incubator.apache.org Received: (qmail 61586 invoked by uid 500); 15 Nov 2011 20:43:38 -0000 Mailing-List: contact rave-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: rave-dev@incubator.apache.org Delivered-To: mailing list rave-commits@incubator.apache.org Received: (qmail 61579 invoked by uid 99); 15 Nov 2011 20:43:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Nov 2011 20:43:38 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.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; Tue, 15 Nov 2011 20:43:33 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 68FBB23888E4 for ; Tue, 15 Nov 2011 20:43:13 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r798726 - in /websites/production/rave: ./ content/rave/ide-settings-and-debugging.html content/rave/source.html Date: Tue, 15 Nov 2011 20:43:13 -0000 To: rave-commits@incubator.apache.org From: jasha@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20111115204313.68FBB23888E4@eris.apache.org> Author: jasha Date: Tue Nov 15 20:43:12 2011 New Revision: 798726 Log: remove Jrebel instructions that no longer work mention that canonical has admin rights in the getting started instructions Modified: websites/production/rave/ (props changed) websites/production/rave/content/rave/ide-settings-and-debugging.html websites/production/rave/content/rave/source.html Propchange: websites/production/rave/ ------------------------------------------------------------------------------ --- svn:mergeinfo (original) +++ svn:mergeinfo Tue Nov 15 20:43:12 2011 @@ -1 +1 @@ -/websites/staging/rave/trunk:787226-798703 +/websites/staging/rave/trunk:787226-798725 Modified: websites/production/rave/content/rave/ide-settings-and-debugging.html ============================================================================== --- websites/production/rave/content/rave/ide-settings-and-debugging.html (original) +++ websites/production/rave/content/rave/ide-settings-and-debugging.html Tue Nov 15 20:43:12 2011 @@ -128,59 +128,6 @@ exist. Furthermore, if you are not using

If you have "Build automatically" enabled within Eclipse, the FileSync plugin will synchronize changes automatically after you saved them in Eclipse. Otherwise you can force a manual synchronization from the project (rave-portal or rave-shindig) its context menu actions.

-

Using Remote debugging with the JRebel plugin

-

Using JRebel provides one the best remote debugging and runtime code change synchronizing -solutions, as well as can handle resource (non-code) change synchronization.

-

However, JRebel is not free. If you are a committer you can get a free licence, but if not you -will need to buy your own licence (you can try out a free 30 day trial licence first).

-

Setting up the JRebel plugin

-

To enable JRebel for the Rave project add the following profile to the rave-project (root) pom:

-
<profile>
-  <id>jrebel</id>
-  <activation>
-    <property>
-      <name>jrebel</name>
-    </property>
-  </activation>
-  <properties>
-    <javaagent>-javaagent:${env.REBEL_HOME}/jrebel.jar</javaagent>
-  </properties>
-  <build>
-    <plugins>
-      <plugin>
-        <groupId>org.zeroturnaround</groupId>
-        <artifactId>jrebel-maven-plugin</artifactId>
-        <version>1.0.7</version>
-        <executions>
-          <execution>
-            <id>generate-rebel-xml</id>
-            <phase>process-resources</phase>
-            <goals>
-              <goal>generate</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
-    </plugins>
-  </build>
-</profile>
-
- - -

To build the Rave project with JRebel descriptors run

-
mvn install -Djrebel
-
- - -

The same profile also takes care of enabling the JRebel java agent when running Cargo. -To run Cargo with JRebel enabled, use the following command from the rave-portal directory:

-
mvn cargo:run -Djrebel
-
- - -

Note: using both the Eclipse FileSync plugin for (only) resources synchronization and JRebel -for the hot-code replacement probably will provide the best combination with the least -configuration overhead.

Using Eclipse WTP

The Rave project can also be deployed through Eclipse WTP, and might be adequate for some, but it it is less functional and sometimes a bit quirky. Furthermore, because of (current) limitations Modified: websites/production/rave/content/rave/source.html ============================================================================== --- websites/production/rave/content/rave/source.html (original) +++ websites/production/rave/content/rave/source.html Tue Nov 15 20:43:12 2011 @@ -127,7 +127,7 @@ needed on general and global level.

  • localhost:8080/portal
  • login as one of the following test users (password is same as username)
      -
    • canonical
    • +
    • canonical (this user has admin rights)
    • john.doe
    • jane.doe
    • OpenID: http://rave2011.myopenid.com/ (password rave2011)