Author: heiko.braun(a)jboss.com
Date: 2007-10-18 08:14:05 -0400 (Thu, 18 Oct 2007)
New Revision: 4787
Modified:
container/jboss40/trunk/src/main/java/org/jboss/wsf/container/jboss40/JSEArchiveMetaDataAdapter.java
container/jboss40/trunk/version.properties
Log:
Fix JBWS-1854, forces a snapshot release
Modified:
container/jboss40/trunk/src/main/java/org/jboss/wsf/container/jboss40/JSEArchiveMetaDataAdapter.java
===================================================================
---
container/jboss40/trunk/src/main/java/org/jboss/wsf/container/jboss40/JSEArchiveMetaDataAdapter.java 2007-10-18
10:26:36 UTC (rev 4786)
+++
container/jboss40/trunk/src/main/java/org/jboss/wsf/container/jboss40/JSEArchiveMetaDataAdapter.java 2007-10-18
12:14:05 UTC (rev 4787)
@@ -60,12 +60,15 @@
if (di.parent != null)
{
J2eeApplicationMetaData appmd = (J2eeApplicationMetaData)di.parent.metaData;
- Iterator it = appmd.getModules();
- while (it.hasNext())
+ if(appmd!=null) // I.e. *.war inside *.esb
{
- J2eeModuleMetaData module = (J2eeModuleMetaData)it.next();
- if (module.getFileName().equals(dep.getSimpleName()))
- contextRoot = module.getWebContext();
+ Iterator it = appmd.getModules();
+ while (it.hasNext())
+ {
+ J2eeModuleMetaData module = (J2eeModuleMetaData)it.next();
+ if (module.getFileName().equals(dep.getSimpleName()))
+ contextRoot = module.getWebContext();
+ }
}
}
Modified: container/jboss40/trunk/version.properties
===================================================================
--- container/jboss40/trunk/version.properties 2007-10-18 10:26:36 UTC (rev 4786)
+++ container/jboss40/trunk/version.properties 2007-10-18 12:14:05 UTC (rev 4787)
@@ -6,7 +6,7 @@
specification.version=jbossws-2.0
version.id=2.0.1.GA
-repository.id=2.0.1.GA
+repository.id=snapshot
implementation.title=JBoss Web Services - Integration JBoss40
implementation.url=http://www.jboss.org/products/jbossws