Hi everyone,
This is patch for use with the latest betwixt nightly. (which isn't in
the maven repo jet!).
Since a used method is deprecated, I changed the call and uncommented a
line, which makes sure the formatting of the xml goes ok (the default is
true btw, but to explicitely state it, is nice always better..)
BTW I built the betwixt dev version from cvs (don't know if the
nightlies are already running correctly..)
Mvgr,
Martin
Index: MavenUtils.java
===================================================================
RCS file: /home/cvspublic/jakarta-turbine-maven/src/java/org/apache/maven/MavenUtils.java,v
retrieving revision 1.21
diff -u -r1.21 MavenUtils.java
--- MavenUtils.java 6 Jun 2002 16:11:51 -0000 1.21
+++ MavenUtils.java 11 Jun 2002 21:03:09 -0000
@@ -77,6 +77,7 @@
* necessary patternsets and paths required to build the project.
*
* @author <a href="[EMAIL PROTECTED]">Jason van Zyl</a>
+ * @author <a href="[EMAIL PROTECTED]">Martin van den Bemt</a>
* @version $Id: MavenUtils.java,v 1.21 2002/06/06 16:11:51 dion Exp $
*/
public class MavenUtils
@@ -104,10 +105,10 @@
introspector.setAttributesForPrimitives(false);
// wrap collections in an XML element
- //introspector.setWrapCollectionsInElement(true);
+ introspector.setWrapCollectionsInElement(true);
// turn bean elements into lower case
- introspector.setNameMapper(new DecapitalizeNameMapper());
+ introspector.setElementNameMapper(new DecapitalizeNameMapper());
BeanReader reader = new BeanReader();
reader.setXMLIntrospector(introspector);
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>