Patches item #448452, was opened at 2001-08-06 09:23
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=376687&aid=448452&group_id=22866

Category: JBossServer
Group: v2.2.2 (stable)
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: AutoDeployer  - expanded .war watching

Initial Comment:
Purpose:  To allow JBoss to 'watch' an expanded .war 
structure similar to how it works with an 
expanded .jar structure.

Class:  org.jboss.ejb.AutoDeployer

The AutoDeployer originally tested to see if the file 
being watched was a directory, and if so, if it 
contained /META-INF/ejb-jar.xml.  It wouldn't deploy a 
web application if I pointed it to the expanded 
directory structure of my .war archive.  

Therefore, the code was modified to also check for the 
existence of  /WEB-INF/web.xml in the directory being 
watched, using the same logic for deploying the 
expanded .jar archive.  

The internal helper class, Deployment, was modified to 
distinguish between whether it was a .jar or .war 
structure because, by default, it was setting it's 
watch file to /META-INF/ejb-jar.xml.

The only other changes was the extra parameter on the 
creation of a Deployment object.

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=376687&aid=448452&group_id=22866

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to