java - Is it possible to call an EAR with a script ?(an deployed EAR on jboss 7) -
i write svn pre commit hook script able call ear deployed on jboss 7. mean when script executed open web navigator , call ear via (localhost:8080/nameoftheear). important in project appreciated.
edit : thx answer. details : ear contains application (in war module of course) action precommit hook same opening web browser, writing "localhost:8080/nameoftheear" , clicking on enter. possible ?? in few words, when script executed => application (in ear) pops in web browser
because limitations of precommit hook can based on language in write hook, can in precommit hook. languages allow system call open web page. wouldn't imagine prevent commit occurring. there's little reason precommit hook.
however, precommit hook runs on machine hosting subversion repository. hook kind of functionality work if working copy committing changes on same physical box hosting repository. if have remote clients sending changes repository via svnserve or http, attempting display browser via precommit hook not have impact on client machine committing changes.
i'm not aware of way communicate these types of actions client part of subversion code itself. sounds want client-side hook. tortoisesvn has way define client-side hooks, specific tortoisesvn , not repository-based precommit. aliasing in linux/unix environments client-side approach well.
Comments
Post a Comment