Netbeans deploy on save: how is it supposed to work?
问题 I'm trying to setup deploy on save (or compile on save, or whatever I should setup) correctly in Netbeans. I'm trying to achieve this: 1) hot-replace some class when needed if the structure didn't change (push the button, new code replacing the old one) 2) copy my jsf pages (.xhtml) to glassfish on save 1) works most of the time; it sometimes doesn't after I deploy many times (why?), or if Netbeans decides for whatever reason that it should deploy the whole thing (it does... sometimes) 2)