you need to "touch" the deployment descriptor
Can you explain it for me pls ? email email@example.com
Your aid is very appreciated
hmmm interesting. touch -a filename.jar or something else? I'm with the 'verycool' guy on the subject.
sorry I misread your first post.
Yes, you can just touch the jar.
$ touch myapp.jar
This will change the timestamp to the current time.
What I was suggesting earlier applies if you deploy an exploded archive.
Thanks for your comments.
But I am using the Windows as OS. So Please help me how to do that.
Thanks & Regards
Thank you very much , i will test this and inform you, but, one different thing that i deploy my ear. so when i touch my ear .......
If the archive that you are deploying has been recreated with later classes / jars you should not need to touch it as it would already have a later modified time anyway.
If your build process is not updating the modified time of the jar / ear it is likely that the archive is not being updated with the later classes.
praveen.cheedella, where are you putting the jar that should contain the updated classes? Is it a jar containing ejb components or is it just a jar of classes that you are using?
Once again Thanks guys!!...
I will try with the url given by you and let you know..
I have created the .ear folder in the jboss/server/default/deploy/
path. All my working .jar and .war folders are there in .ear folder.
When ever I change any action class in the .jar folder my server needs to restart to reflect those changes.
All my action classes are there in the same working folder itself .
Thanks & Regards
You can use ANT to "touch" your files.
There is a touch task in ANT.
Praveen, Ok this means that the file you need to be touching is the application.xml for the ear, when JBoss sees that this file has been updated it will redeploy your application.