Reputation: 13510
Is it possible to edit .xhtml
or .css
files under JBoss like in Tomcat - on fly?
Without rebuilding of WAR file.
Tried extracted folder,like described here : exploded folder
Didn't help.
Tried plugin under Eclipse for JBoss integration.
Got .sar
file,but it's not recognized by JBoss.
JBoss version is 7.1.1
Upvotes: 3
Views: 3050
Reputation: 1539
The proper way to do this is by using an exploded folder. Please ask another question with title "Exploded folder does not work in JBoss".
Your evaluation of "Didn't help." is a little short to allow us to solve your problem.
myFolder.war
as the folder name?myFolder.war
contain a directory WEB-INF
, with a web.xml
?Upvotes: 0
Reputation: 13510
I've found way how to edit resources.
There is actually,extracted folder,resided here:
$your_jboss_project_folder$\standalone\tmp\vfs
this folder can hold name,for instance,tempbecfe4f41f983f15
There you can find extracted WAR
folder and jar,if you add it to \deployments
folder
Upvotes: 2
Reputation: 3657
You will have to configure the web subsystem to enable development so that JBoss can look for modification. The configuration you'll need to setup is
<subsystem xmlns="urn:jboss:domain:web:1.0" default-virtual-server="default-host">
...
<configuration>
<jsp-configuration development="true"/>
</configuration>
</subsystem>
Refer here and here for more information
Upvotes: 4