[jboss-cvs] JBossAS SVN: r59034 - trunk/server/src/main/org/jboss/deployment
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Thu Dec 14 05:14:19 EST 2006
Author: alex.loubyansky at jboss.com
Date: 2006-12-14 05:14:18 -0500 (Thu, 14 Dec 2006)
New Revision: 59034
Modified:
trunk/server/src/main/org/jboss/deployment/ClientDeployer.java
Log:
quick fix to filter javaee namespace
Modified: trunk/server/src/main/org/jboss/deployment/ClientDeployer.java
===================================================================
--- trunk/server/src/main/org/jboss/deployment/ClientDeployer.java 2006-12-14 07:04:55 UTC (rev 59033)
+++ trunk/server/src/main/org/jboss/deployment/ClientDeployer.java 2006-12-14 10:14:18 UTC (rev 59034)
@@ -95,9 +95,10 @@
try
{
Element root = DOMUtils.parse(dd.openStream());
+ accepts = true;
String namespaceURI = root.getNamespaceURI();
- // Accept the J2EE-1.4 namespace
- accepts = "http://java.sun.com/xml/ns/j2ee".equals(namespaceURI);
+ // If this is javaee, it should be processed by another deployer
+ accepts = !"http://java.sun.com/xml/ns/javaee".equals(namespaceURI);
if (accepts == false)
log.debug("Ignore application-client.xml with namespace: " + namespaceURI);
}
More information about the jboss-cvs-commits
mailing list