I have imported my project in netbeans using 'existing source code with existing build script' So I have my own build script that compiles the code and makes an EAR. But I would like to have hot deploy so whenever I change code, I dont have to redeploy the EAR again. I know that when we create a web project from netbeans, It automatically makes the build script so that hot deploy features are there. We dont have to reploy the code at every code change. But can this be achieved when we are using our own build script? I'd appreciate any help
Glassfish appserver use an empty file called .reload under your project. For ex. MyApp-war --- src --- test --- web --- .reload Use your ant script to touch (change the timestamp (unix like command)) .reload file every time you build it.
This is for Glassfish appserver.
We don't have time for this. We've gotta save the moon! Or check this out: