|
From: <rob...@jb...> - 2006-07-06 13:09:55
|
AbelMJ: I've looked at your .jar files in your project and found that they don't contain the typical ejb xml descriptors. As of right now, my plugin works as follows: If META-INF/ejb-jar.xml is found, it's an ejb jar. If WEB-INF/web.xml is found, it's a web archive If META-INF/application.xml is found, it is an ear archive. If none are found, a "launchable artifact" is never created. If multiple are found, It's undetermined which factory will be used but it doesn't matter for most situations of simple deploy because htey all deploy the same way (through simple system copy). They only differ in their 'verify' functionality. I'm very open to suggestions on how to better discover what type of module is being deployed. One suggestion I've heard is to just have a backup "launchable artifact" creater that will create some generic deployable / launchable artifact even if no descriptor is located. I'm quite open to other suggestions. In fact, I beseech the user community for them. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955837#3955837 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955837 |