-
1. Re: Jboss Auto deploy after compile the class files...
luc.texier Nov 4, 2004 11:46 AM (in response to praveen.cheedella)you need to "touch" the deployment descriptor
http://www.linuxforum.com/man/touch.1.php -
2. Re: Jboss Auto deploy after compile the class files...
verycool Nov 5, 2004 9:20 AM (in response to praveen.cheedella)"ltexier" wrote:
you need to "touch" the deployment descriptor
http://www.linuxforum.com/man/touch.1.php
Hello,
Can you explain it for me pls ? email manhhung.le@bnpparibas.com
Your aid is very appreciated -
3. Re: Jboss Auto deploy after compile the class files...
pageld Nov 9, 2004 5:09 PM (in response to praveen.cheedella)hmmm interesting. touch -a filename.jar or something else? I'm with the 'verycool' guy on the subject.
Thanks -
4. Re: Jboss Auto deploy after compile the class files...
luc.texier Nov 10, 2004 4:10 AM (in response to praveen.cheedella)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. -
5. Re: Jboss Auto deploy after compile the class files...
praveen.cheedella Nov 11, 2004 12:17 AM (in response to praveen.cheedella)Hi Guys
Thanks for your comments.
But I am using the Windows as OS. So Please help me how to do that.
Thanks & Regards
Praveen -
6. Re: Jboss Auto deploy after compile the class files...
luc.texier Nov 11, 2004 4:52 AM (in response to praveen.cheedella)Try this tool (I've never used it)
http://www.codeproject.com/tools/touch_win.asp
or install Cygwin
http://www.cygwin.com/ -
7. Re: Jboss Auto deploy after compile the class files...
verycool Nov 15, 2004 11:53 AM (in response to praveen.cheedella)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 .......
-
8. Re: Jboss Auto deploy after compile the class files...
darranl Nov 15, 2004 12:13 PM (in response to praveen.cheedella)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? -
9. Re: Jboss Auto deploy after compile the class files...
praveen.cheedella Nov 16, 2004 4:11 AM (in response to praveen.cheedella)Once again Thanks guys!!...
Hi ltexier,
I will try with the url given by you and let you know..
Hi darranl
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
Praveen. -
10. Re: Jboss Auto deploy after compile the class files...
mpalicka Nov 16, 2004 4:57 AM (in response to praveen.cheedella)You can use ANT to "touch" your files.
There is a touch task in ANT. -
11. Re: Jboss Auto deploy after compile the class files...
darranl Nov 16, 2004 5:04 AM (in response to praveen.cheedella)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.