• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

hot deploy in Netbeans

 
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

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
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!