no

How to configure jrebel in eclipse with maven

This page is a compilation of instruction on how you can configure your eclipse with maven to autodeploy an ear or war using jrebel. Prer...

This page is a compilation of instruction on how you can configure your eclipse with maven to autodeploy an ear or war using jrebel.

Prerequisites:
1.) eclipse with maven
2.) jrebel with license

Steps:
1.) Install jrebel plugin to eclipse using this guide:
http://zeroturnaround.com/software/jrebel/download/installing-jrebel-plugin-for-eclipse/

2.) You can ask jrebel to create your jrebel.xml file but for me it's much easier to create one and put it in your resources directory. Example with maven project: src/main/resources. For more details:
http://zeroturnaround.com/software/jrebel/how-to-configure-rebel-xml/

This is how my working configuration looks like:
<?xml version="1.0" encoding="UTF-8"?>
<application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 xmlns="http://www.zeroturnaround.com"
 xsi:schemaLocation="http://www.zeroturnaround.com http://www.zeroturnaround.com/alderaan/rebel-2_0.xsd">

 <classpath>
  <dir name="C:\java\git\czetsuya-project\czetsuya-project\czetsuya-project-admin\web\target\classes" />
  <dir name="C:\java\git\czetsuya-project\czetsuya-project\czetsuya-project-admin\web\src\main\resources" />
 </classpath>

 <web>
  <link target="/">
   <dir name="C:\java\git\czetsuya-project\czetsuya-project\czetsuya-project-admin\web\src\main\webapp" />
  </link>
 </web>

</application>

Hope it helps :-)

Related

java-getting-started 136709552934210908

Post a Comment Default Comments

item