Sorry, I really screwed up with this. I was using a mainline
standardjaws.xml not a 2.4.
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Bill
> Burke
> Sent: Monday, July 16, 2001 10:09 PM
> To: [EMAIL PROTECTED]
> Subject: [JBoss-dev] CVS update:
> jboss/src/main/org/jboss/ejb/plugins/jaws/metadata
> JawsApplicationMetaData.java
>
>
> 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/JawsApplication
> MetaData.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
>
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development