[jboss-cvs] JBossAS SVN: r66040 - projects/metadata/trunk/src/main/resources/dtd.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Oct 11 14:13:31 EDT 2007


Author: scott.stark at jboss.org
Date: 2007-10-11 14:13:30 -0400 (Thu, 11 Oct 2007)
New Revision: 66040

Modified:
   projects/metadata/trunk/src/main/resources/dtd/jboss-app_5_0.dtd
Log:
Add id attribute to jboss-app and security-role

Modified: projects/metadata/trunk/src/main/resources/dtd/jboss-app_5_0.dtd
===================================================================
--- projects/metadata/trunk/src/main/resources/dtd/jboss-app_5_0.dtd	2007-10-11 17:35:58 UTC (rev 66039)
+++ projects/metadata/trunk/src/main/resources/dtd/jboss-app_5_0.dtd	2007-10-11 18:13:30 UTC (rev 66040)
@@ -11,7 +11,7 @@
 <!-- The jboss-app element is the root element.
 -->
 <!ELEMENT jboss-app (security-domain?, unauthenticated-principal?,
- loader-repository?, jmx-name?, module*, security-role*)>
+ loader-repository?, jmx-name?, library-directory?, module*, security-role*)>
 
 <!--
   The security-domain element specifies the JNDI name of the security
@@ -75,11 +75,23 @@
 -->
 <!ELEMENT jmx-name (#PCDATA)>
 
+<!-- An .ear file may contain a directory that contains libraries packaged in JAR files.
+The library-directory element of the .ear files deployment descriptor contains the name
+of this directory. If a library-directory element is not specified,
+the directory named lib is used.
+
+An empty library-directory element may be used to specify that there is no library directory.
+
+All files in this directory (but not subdirectories) with a .jar extension must be made available
+to all components packaged in the EAR file, including application clients.
+
+   Used in: jboss-app
+-->
+<!ELEMENT library-directory (#PCDATA)>
+
 <!-- The module element is used to specify a jboss specific module archive.
 -->
 <!ELEMENT module (service | har | web)>
-<!-- Allow the module to have a unique id -->
-<!ATTLIST module id ID #IMPLIED>
 
 <!-- The service element specifies a service archive (SAR) to deploy.
 
@@ -157,3 +169,9 @@
 -->
 <!ELEMENT principal-name (#PCDATA)>
 
+<!-- Allow the jboss-app to have a unique id -->
+<!ATTLIST jboss-app id ID #IMPLIED>
+<!-- Allow the module to have a unique id -->
+<!ATTLIST module id ID #IMPLIED>
+<!-- Allow the security-role to have a unique id -->
+<!ATTLIST security-role id ID #IMPLIED>




More information about the jboss-cvs-commits mailing list