JBoss Community

Re: Thoughts on filesystem action driven hot deployment

created by Brian Stansberry in JBoss AS7 Development - View the full discussion

Stan Silvert wrote:

 

Brian Stansberry wrote:

 

AIUI, the bug is Stan mistyped the file name. :-) The question is whether deleting the wrnog-spelling.dodeploy is the right thing to do. The scanner deletes extraneous marker files as a matter of housekeeping. That behavior could be removed, but I'd argue that in this case, it's disconcerting but somewhat helpful. The file is gone, forcing the user to try again and maybe get it right.

 

At the risk of owing David a beer (you'll have to come to ATL to get it!), let me point something out.  If I mistype the long file name I want to edit it, not type the whole thing in again.  I can't edit the file name if it is deleted.  If I did this from the command line I could just scroll through my previous commands, but from Explorer I'm screwed.

 

Stan

 

Looking at the code I don't see how leaving around marker files that don't match content causes any difficulties in the code, so I'll remove the bit that deletes them.

Reply to this message by going to Community

Start a new discussion in JBoss AS7 Development at Community