How To Configure Jrebel Inward Eclipse Alongside Maven

This page is a compilation of education on how you lot tin configure your eclipse amongst maven to autodeploy an ear or nation of war using jrebel.

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

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

2.) You tin inquire jrebel to practise your jrebel.xml file exactly for me it's much easier to practise i in addition to position it inwards your resources directory. Example amongst maven project: src/main/resources. For to a greater extent than 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 :-)
Next
Previous
Click here for Comments

0 komentar:

Please comment if there are any that need to be asked.