JBoss Community

Re: .xhtml hot deploy not working (Eclipse + Seam + Jboss 5.1)

created by Ales Justin in JBoss Microcontainer Development POJO Server - View the full discussion

See profile.xml for:




<!--  A filter which controls the files that will be watched for changes for hot deployment

By default a org.jboss.system.server.profile.basic.PatternIncludeVirtualFileFilter is

configured to allow flexible control over the files that can be watched for hot deployments.

This PatternIncludeVirtualFileFilter accepts a regular expression and matches it against

the file name(s) in the metadata locations (WEB-INF or META-INF) to decide whether the

change to such file(s) should trigger a redeployment of the application


<bean name="ModificationCheckerFilter" class="org.jboss.system.server.profile.basic.PatternIncludeVirtualFileFilter">

<!-- Remember, the parameter is a regex so use the correct syntax

as below. Here we specify that we are interested in watching changes to

either application.xml, web.xml, ejb-jar.xml, any -service.xml, jboss-beans.xml

(which are all considered top level deployment descriptors) -->

<parameter class="java.lang.String">.*/(application|web|ejb-jar|(.)+-service|.*jboss-beans)\.xml$</parameter>





Reply to this message by going to Community

Start a new discussion in JBoss Microcontainer Development POJO Server at Community