Hi,

I use Debian Linux, Java 1.5, JBoss 4.0.2 and Eclipse 3.1.1.

I have a web app, let's call it "myapp":

jboss/deploy/server/myapp/deploy:
myapp.ear

jboss/deploy/server/myapp/deploy/myapp.ear:
myapp.war
myapp.jar

I'm wondering how I can do these things with my web app:

1. to save a JSP template in Eclipse and it will automatically be updated in 
the web app.
2. to "hot deploy" a class in myapp.jar, i.e. I have an Ant task that compiles 
the class, copies it to myapp.war, and the class is reloaded in the web app.

Solutions I have tried:
1. I have exploded the EAR. Then I exploded the WAR. I have come as far as 
having an Ant task copy the JSP template to the WAR directory.
2. I have exploded the EAR. Then I exploded the JAR. I have tried to copy the 
class into the JAR directory using an ant task, but the class is not reloaded.


<!-- Copy classes -->


  
    
     
  


<!-- Copy JSP templates -->


  
    
    
  



If there's a way to make the ant task redeploy the app if a class is copied, I 
can live with that. :-)
But the best thing would be if the class would be automagically reloaded.

Note: this is just to speed up development.
It's tedious to create an EAR using ant and then wait for redeployment, just 
because I have a slight change in my JSP template...

Cheers


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3908696#3908696

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3908696


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to