Hi,
I am using IntelliJ 15 with JRebel 6.3.3 and am trying to work with a portal application deployed to JBoss Portla Server 2.7.2. It does not pichk up on the changes I do in my java classes. I enabled tracing and in jrebel.log I can see:
2016-04-19 10:43:14.379 TRACE [18] [IntelliJFSNotify] >> CREATE
2016-04-19 10:43:14.379 TRACE [18] [IntelliJFSNotify] >> D:\projects\git\tui-application\portal\portlets\all\src\main\java\com\cypoint\mcp\tims\portlet\homebound\HomeboundFlightInfoController.java___jb_bak___
2016-04-19 10:43:14.379 TRACE [18] [IntelliJFSNotify] Not watchable, filtered: D:\projects\git\tui-application\portal\portlets\all\src\main\java\com\cypoint\mcp\tims\portlet\homebound\HomeboundFlightInfoController.java___jb_bak___
Saying that the class I changed is not watchable.
I am using CLI (mvn jrebel:generate), have selected the module in the JRebel Modules pane in IntelliJ, I have this rebel.xml:
<?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="D:/projects/git/tui-application/core/war/target/classes">
</dir>
</classpath>
<web>
<link target="/">
<dir name="D:/projects/git/tui-application/core/war/src/main/webapp">
</dir>
</link>
</web>
</application>
which points to the root folder of the classes, and I am using :
@echo off
set REBEL_BASE=C:\Users\MAOH1897\.jrebel
set JAVA_OPTS=”-javaagent:C:\Users\MyUserName\.IntelliJIdea15\config\plugins\jr-ide-idea\lib\jrebel\jrebel.jar” -Xms256m -Xmx512m -XX:MaxPermSize=256m %JAVA_OPTS%
call “%~dp0\run.bat” %*
for running JBoss Portal Server.
I can see that JRebel does a lot of processing when I compile in IntelliJ, and I get that “Not watchable” printout. In the same project I have another module running in Tomcat, and that works just fine.