0

Couldn't find any info regarding this. Is there any way that JRebel monitor struts.xml for changes. This is changed alot when testing.

Any solution?

EDITED

Console

INFO: Starting Servlet Engine: Apache Tomcat/7.0.30

[2012-09-22 19:29:45] JRebel: Directory 'C:\MyProjects\4-Interceptors\target\classes' will be monitored for changes.
[2012-09-22 19:29:45] JRebel: Directory 'C:\MyProjects\4-Interceptors\src\main\webapp' will be monitored for changes.

[2012-09-22 19:29:50] JRebel-Log4j: Monitoring Log4j configuration in 'file:/C:/MyProjects/4-Interceptors/target/classes/log4j.properties'.

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="C:/MyProjects/4-Interceptors/target/classes">
        </dir>
    </classpath>

    <web>
        <link target="/">
            <dir name="C:/MyProjects/4-Interceptors/src/main/webapp">
            </dir>
        </link>
    </web>

</application>

Screenshot

4

2 に答える 2

0

どのバージョンの Struts を使用していますか? そして、あなたがファイルに導入した変更は何ですか? おそらくこれはまだ実装されていないものです。最善の方法は、サンプル アプリを提供し、問題の説明を JRebel サポートに送信することです。

于 2012-09-22T14:08:43.700 に答える
0

プロジェクトフォルダー内のプロジェクトフォルダーに追加rebel.xmlするだけです。resourceのすべての変更を自動的に検出しstruts.xmlます。

注:: jrebel はフレームワークに依存しません。

于 2012-09-21T08:20:00.333 に答える