GitHub user aboullaite opened a pull request:

    https://github.com/apache/tomee/pull/280

    TOMEE-2348 - Setup Asciidoclet in root TomEE

    This PR adds initial setup to use asciidoc formats for TomEE javadocs. The 
initial result on `org.apache.openejb.jee.ResourceAdapter` after update looks 
good so far:
    
    ```
    /**
     * == connector_1_3.xsd
     * 
     * Java class for `resourceadapterType` complex type.
     * 
     * The following schema fragment specifies the expected content contained 
within this class.
     * 
     * [source,java]
     * --
     * <complexType name="resourceadapterType">
     *   <complexContent>
     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType";>
     *       <sequence>
     *         <element name="resourceadapter-class" 
type="{http://java.sun.com/xml/ns/javaee}fully-qualified-classType"; 
minOccurs="0"/>
     *         <element name="config-property" 
type="{http://java.sun.com/xml/ns/javaee}config-propertyType"; 
maxOccurs="unbounded" minOccurs="0"/>
     *         <element name="outbound-resourceadapter" 
type="{http://java.sun.com/xml/ns/javaee}outbound-resourceadapterType"; 
minOccurs="0"/>
     *         <element name="inbound-resourceadapter" 
type="{http://java.sun.com/xml/ns/javaee}inbound-resourceadapterType"; 
minOccurs="0"/>
     *         <element name="adminobject" 
type="{http://java.sun.com/xml/ns/javaee}adminobjectType"; maxOccurs="unbounded" 
minOccurs="0"/>
     *         <element name="security-permission" 
type="{http://java.sun.com/xml/ns/javaee}security-permissionType"; 
maxOccurs="unbounded" minOccurs="0"/>
     *       </sequence>
     *       <attribute name="id" 
type="{http://www.w3.org/2001/XMLSchema}ID"; />
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * --
     */
    ```
    
    <img width="1660" alt="screen shot 2018-12-16 at 2 51 32 pm" 
src="https://user-images.githubusercontent.com/2836850/50054599-82c29800-013b-11e9-9ea9-12a83d0d4d44.png";>
    
    


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/aboullaite/tomee master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/tomee/pull/280.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #280
    
----
commit 571754a01585306d6528a50f8375897c6312b4a0
Author: Mohammed Aboullaite <aboullaite.mohammed@...>
Date:   2018-12-16T14:05:28Z

    Setup Asciidoclet in root TomEE

----


---

Reply via email to