-
1. Re: Restart AS7 after every codechange?
samyomar82 Mar 8, 2012 9:50 AM (in response to membersound)double click the server and inthe setting be sure that its getting published when a resource change
also there is a workaround to force hot redeployment by creating file called XXX.dodeploy and replace XXX by your app name.
Then double click the server and check to enable deployment as compressed file.
save and try
-
2. Re: Restart AS7 after every codechange?
maxandersen Mar 8, 2012 12:52 PM (in response to samyomar82)The force hot redeployment with .dodeploy is what right click on a module and choosing Restart will do for you.
In latest builds we also have a field on the server editor where you can say which files you want to always trigger a restart.
its default to .*.jar$ but you can set it to .jar$|.class$ and it will force restart on every .jar or .class change.
but not on xhtml since it does not match the regular expression.
-
3. Re: Restart AS7 after every codechange?
membersound Mar 8, 2012 2:04 PM (in response to maxandersen)this .class$ feature sounds exactly what I'm looking for.
I assume it is available since 7.1.0 Final?
I am runnign 7.0.3 atm where I cannot see this field in editor. So I'd have to switch?
-
4. Re: Restart AS7 after every codechange?
samyomar82 Mar 8, 2012 4:11 PM (in response to membersound)i am using 7.1 and i dont find such feature.
May be it will be available soon in next releases.
-
5. Re: Restart AS7 after every codechange?
maxandersen Mar 8, 2012 5:39 PM (in response to samyomar82)In our nightly builds of JBoss Tools 3.3 and upcoming beta1 release.
Its in the server editor of our AS server adpters.
-
6. Re: Restart AS7 after every codechange?
szhigunov Mar 15, 2012 1:18 PM (in response to maxandersen)Is there a way to publish updated jsp without loosing the session?