[jboss-dev-forums] [Deployers on JBoss (Deployers/JBoss)] - Re: Is META-INF in the classpath?

adrian@jboss.org do-not-reply at jboss.com
Tue Jun 10 10:49:20 EDT 2008


"alesj" wrote : "adrian at jboss.org" wrote : Bug report: http://jira.jboss.com/jira/browse/JBDEPLOY-47
  | What would a test for this look like?

Like the original post in this thread.

Or if you are using schemas, something like:

ejb-jar.xml

  | <ejb-jar xmlns="whatever" xmlns:xi="http://www.w3.org/2001/XInclude">
  |   <xi:include href="included.xml"/>
  | </ejb-jar>
  | 

included.xml

  | <enterprise-beans>
  | ...
  | 

Where included.xml is alongside ejb-jar.xml in the META-INF folder.

If you pass the full uri of the enclosing (ejb-jar.)xml, the relative url (included.xml)
should resolved based on that rather than the process's current directory.

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

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



More information about the jboss-dev-forums mailing list