JRebel example

185 views
Skip to first unread message

Marcel Overdijk

unread,
Nov 23, 2010, 3:59:29 AM11/23/10
to maven-gae-plugin
I'm using maven-gae-plugin but it's annoying to restart (mvn gae:run)
everytime I change a JSP.

I'm interested to setting up JRebel and I'm wondering if somebody has
an example JRebel configuration file for a typical Maven AppEngine
project.


Taylor Leese

unread,
Nov 23, 2010, 4:16:05 AM11/23/10
to maven-gae-plugin
Here's an example pom if that is what you are looking for. Look at the
local-jrebel profile. As a side note, I've been having some issues
with the latest 3.5 and 3.6-SNAPSHOT releases of JRebel in regards to
JPA queries. Previous snapshot versions seemed to work fine.

https://github.com/tleese22/google-app-engine-jappstart/blob/master/pom.xml

- Taylor

Marcel Overdijk

unread,
Nov 23, 2010, 4:35:15 PM11/23/10
to maven-gae-plugin
Thanks Taylor,

Do you know if it's needed to use profiles for JRebel.
I'm not using them now.

On Nov 23, 10:16 am, Taylor Leese <tlees...@gmail.com> wrote:
> Here's an example pom if that is what you are looking for. Look at the
> local-jrebel profile. As a side note, I've been having some issues
> with the latest 3.5 and 3.6-SNAPSHOT releases of JRebel in regards to
> JPA queries. Previous snapshot versions seemed to work fine.
>
> https://github.com/tleese22/google-app-engine-jappstart/blob/master/p...

Taylor Leese

unread,
Nov 23, 2010, 5:02:37 PM11/23/10
to maven-ga...@googlegroups.com
Not required, but definitely convenient.

Marcel Overdijk

unread,
Nov 29, 2010, 3:17:51 PM11/29/10
to maven-gae-plugin
Thanks again Taylor,

I ended up using this plugins:

<plugin>
<groupId>net.kindleit</groupId>
<artifactId>maven-gae-plugin</artifactId>
<version>0.7.2</version>
<configuration>
<jvmFlags>
<jvmFlag>-javaagent:${env.JREBEL_HOME}
\jrebel.jar</jvmFlag>
<jvmFlag>-noverify</jvmFlag>
</jvmFlags>
</configuration>
<dependencies>
<dependency>
<groupId>net.kindleit</groupId>
<artifactId>gae-runtime</artifactId>
<version>1.3.8.1</version>
<type>pom</type>
</dependency>
</dependencies>
</plugin>

<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>

and so far it works great. Really a great piece of developer
productivity!

On Nov 23, 11:02 pm, Taylor Leese <tlees...@gmail.com> wrote:
> Not required, but definitely convenient.
>
> On Tue, Nov 23, 2010 at 1:35 PM, Marcel Overdijk
> <marceloverd...@gmail.com>wrote:

Taylor Leese

unread,
Nov 29, 2010, 3:48:36 PM11/29/10
to maven-gae-plugin
Marcel,

<groupId>org.zeroturnaround</groupId>
<artifactId>jrebel-maven-plugin</artifactId>
<version>1.0.7</version>

Above is what I am using as well now for JRebel. Previously, I was
using below and it doesn't seem to work with JRebel 3.5 and 3.6-
SNAPSHOT.

<groupId>org.zeroturnaround</groupId>
<artifactId>javarebel-maven-plugin</artifactId>
<version>1.0.5</version>

- Taylor
Reply all
Reply to author
Forward
0 new messages