User: patriot1burke
Date: 01/07/16 19:08:53
Modified: src/main/org/jboss/ejb/plugins/jaws/metadata Tag: Branch_2_4
JawsApplicationMetaData.java
Log:
Should use type-mapping-definition tag instead of just type-mapping. This also
matches the jaws dtd and the mainline. Otherwise xml parsing just doesn't work
Revision Changes Path
No revision
No revision
1.5.6.1 +3 -3
jboss/src/main/org/jboss/ejb/plugins/jaws/metadata/JawsApplicationMetaData.java
Index: JawsApplicationMetaData.java
===================================================================
RCS file:
/cvsroot/jboss/jboss/src/main/org/jboss/ejb/plugins/jaws/metadata/JawsApplicationMetaData.java,v
retrieving revision 1.5
retrieving revision 1.5.6.1
diff -u -r1.5 -r1.5.6.1
--- JawsApplicationMetaData.java 2001/03/26 15:19:36 1.5
+++ JawsApplicationMetaData.java 2001/07/17 02:08:53 1.5.6.1
@@ -30,7 +30,7 @@
*
* @see <related>
* @author <a href="[EMAIL PROTECTED]">Sebastien Alborini</a>
- * @version $Revision: 1.5 $
+ * @version $Revision: 1.5.6.1 $
*/
public class JawsApplicationMetaData extends MetaData implements XmlLoadable {
// Constants -----------------------------------------------------
@@ -137,7 +137,7 @@
Element typeMaps = getOptionalChild(element, "type-mappings");
if (typeMaps != null) {
- iterator = getChildrenByTagName(typeMaps, "type-mapping");
+ iterator = getChildrenByTagName(typeMaps,
"type-mapping-definition");
while (iterator.hasNext()) {
Element typeMappingElement = (Element)iterator.next();
@@ -164,7 +164,7 @@
if (typeMappingString != null) {
typeMapping =
(TypeMappingMetaData)typeMappings.get(typeMappingString);
-
+
if (typeMapping == null) {
throw new DeploymentException("Error in jaws.xml :
type-mapping " + typeMappingString + " not found");
}
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development