djencks 2003/12/13 14:12:29
Modified: etc maven.xml Added: etc/xdoclet/template/jmx geronimo-mbeaninfo.xdt Log: Use external template file to deal with stream-reading bug in obsolete xdoclet version 1.2b2 Revision Changes Path 1.1 incubator-geronimo/etc/xdoclet/template/jmx/geronimo-mbeaninfo.xdt Index: geronimo-mbeaninfo.xdt =================================================================== <!-- /* ==================================================================== * The Apache Software License, Version 1.1 * * Copyright (c) 2003 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. * * 3. The end-user documentation included with the redistribution, * if any, must include the following acknowledgment: * "This product includes software developed by the * Apache Software Foundation (http://www.apache.org/)." * Alternately, this acknowledgment may appear in the software itself, * if and wherever such third-party acknowledgments normally appear. * * 4. The names "Apache" and "Apache Software Foundation" and * "Apache Geronimo" must not be used to endorse or promote products * derived from this software without prior written permission. For * written permission, please contact [EMAIL PROTECTED] * * 5. Products derived from this software may not be called "Apache", * "Apache Geronimo", nor may "Apache" appear in their name, without * prior written permission of the Apache Software Foundation. * * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * ==================================================================== * * This software consists of voluntary contributions made by many * individuals on behalf of the Apache Software Foundation. For more * information on the Apache Software Foundation, please see * <http://www.apache.org/>. * * ==================================================================== */ // // Generated by XDoclet; Do not edit. // --> <mbean name="<XDtClass:className/>" description="<XDtClass:firstSentenceDescription/>" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="TBD"> <!-- *** Targets *********************** --> <target class="<XDtClass:fullClassName/>" /> <!-- *** Endpoints ********************* --> <XDtMethod:forAllMethods> <XDtMethod:ifHasMethodTag tagName="geronimo.endpoint"> <XDtParameter:forAllMethodParams> <endpoint name="<XDtMethod:methodNameWithoutPrefix/>" type="<XDtParameter:methodParamType/>" description="<XDtMethod:firstSentenceDescriptionOfCurrentMethod/>" setterName="<XDtMethod:methodName/>" <XDtMethod:ifHasMethodTag tagName="geronimo.endpoint" paramName="required"> required="<XDtMethod:methodTagValue tagName="geronimo.endpoint" paramName="required"/>" </XDtMethod:ifHasMethodTag> > <XDtMethod:forAllMethodTags tagName="geronimo.peer"> <peer pattern="<XDtMethod:methodTagValue tagName="geronimo.peer" paramName="pattern"/>"/> </XDtMethod:forAllMethodTags> </endpoint> </XDtParameter:forAllMethodParams> </XDtMethod:ifHasMethodTag> </XDtMethod:forAllMethods> <!-- *** Attributes ******************** --> <XDtMethod:forAllMethods> <XDtMethod:ifHasMethodTag tagName="geronimo.attribute"> <attribute name="<XDtMethod:methodNameWithoutPrefix/>" description="<XDtMethod:firstSentenceDescriptionOfCurrentMethod/>" <XDtGeronimo:ifIsReadable> readable="true" getterName="<XDtGeronimo:getterName/>" </XDtGeronimo:ifIsReadable> <XDtGeronimo:ifIsNotReadable> readable="false" </XDtGeronimo:ifIsNotReadable> <XDtGeronimo:ifIsWritable> writable="true" setterName="<XDtGeronimo:setterName/>" </XDtGeronimo:ifIsWritable> <XDtGeronimo:ifIsNotWritable> writable="false" </XDtGeronimo:ifIsNotWritable> <XDtMethod:ifHasMethodTag tagName="geronimo.attribute" paramName="cache"> cache="<XDtMethod:methodTagValue tagName="geronimo.attribute" paramName="cache"/>" </XDtMethod:ifHasMethodTag> /> </XDtMethod:ifHasMethodTag> </XDtMethod:forAllMethods> <!-- *** Operations ******************** --> <XDtMethod:forAllMethods> <XDtMethod:ifHasMethodTag tagName="geronimo.operation"> <operation name="<XDtMethod:methodName/>" description="<XDtMethod:firstSentenceDescriptionOfCurrentMethod/>" methodName="<XDtMethod:methodName/>" <XDtMethod:ifHasMethodTag tagName="geronimo.operation" paramName="impact"> impact="<XDtMethod:methodTagValue tagName="geronimo.operation" paramName="impact"/>" </XDtMethod:ifHasMethodTag> <XDtMethod:ifHasMethodTag tagName="geronimo.operation" paramName="cache"> cache="<XDtMethod:methodTagValue tagName="geronimo.operation" paramName="cache"/>" </XDtMethod:ifHasMethodTag> > <XDtParameter:forAllMethodParams> <parameter name="<XDtParameter:methodParamName/>" type="<XDtParameter:methodParamType/>" description="<XDtParameter:methodParamDescription/>"/> </XDtParameter:forAllMethodParams> </operation> </XDtMethod:ifHasMethodTag> </XDtMethod:forAllMethods> </mbean> 1.24 +2 -2 incubator-geronimo/etc/maven.xml Index: maven.xml =================================================================== RCS file: /home/cvs/incubator-geronimo/etc/maven.xml,v retrieving revision 1.23 retrieving revision 1.24 diff -u -r1.23 -r1.24 --- maven.xml 10 Dec 2003 10:54:07 -0000 1.23 +++ maven.xml 13 Dec 2003 22:12:29 -0000 1.24 @@ -277,7 +277,7 @@ <fileset dir="${srcdir}"> <include name="**/*.java"/> </fileset> - <mbeaninfo/> + <mbeaninfo templateFile="${project.root}/etc/xdoclet/template/jmx/geronimo-mbeaninfo.xdt"/> </geronimodoclet> <touch file="${uptodateFile}"/>
