It is in xdoc's plugin.jelly:

   <define:tag name="text-xdoc">
     <!--
       @output - The output file
       @title - Title for page
       @section - Section heading
       @encoding - The XML encoding
       @preamble - Placed in paragraph block prior to text
@inputText - Will be wrapped in a CDATA, will not escape CDATA tags (as yet) @inputFile - Will be read in and wrapped in CDATA. Overrides inputText if set
       -->
     <j:set var="inputFile">${inputFile}</j:set>
     <j:if test="${inputFile != ''}">
       <util:file name="${inputFile}" var="inputFileObject"/>
       <util:loadText var="inputText" file="${inputFileObject}"/>
      </j:if>

     <!-- Set default encoding if not set. -->
     <j:if test="${encoding == null}">
       <j:set var="encoding"
         value="${plugin.getVariable('maven.docs.outputencoding')}"/>
     </j:if>

     <j:file name="${output}" prettyPrint="false" encoding="${encoding}">
       <document>
         <properties><title>${title}</title></properties>
         <body>
           <section name="${section}">
             <p>${preamble}</p>
             <source>
               <![CDATA[${inputText}]]>
             </source>
           </section>
         </body>
       </document>
     </j:file>
   </define:tag>

Jeff Jensen wrote:

Apologies in advance for such beginner question, but I just can't find what
plugin runs for "<doc:text-xdoc>".

I am adding some things to the findbugs plugin (upgrade to latest, adding
more params), and learning my way through it.

New findbugs versions have xdoc output.  I have changed the plugin to gen
xdoc, and now I need to learn the way to get xdoc plugin to gen correctly.
It looks like the next step is to change <doc> to gen not text but some
other option.  Then xdoc plugin will take that and gen correctly.

Appreciate a pointer to the docs on <doc>.  TIA!


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to