Entering content frame

This graphic is explained in the accompanying text j2ee-components-generator.xml Locate the document in its SAP Library structure

<?xml version="1.0" encoding="UTF-8" ?>

<!DOCTYPE j2ee - components - generator [

<!ELEMENT j2ee - components - generator ( project - dir ?, archive *)>

<!ELEMENT project - dir (#PCDATA)>

<!ELEMENT archive ( file - name , archive - descriptor , files *, directories *, additional - classpath )>

<!ELEMENT file - name (#PCDATA)>

<!ELEMENT archive - descriptor ( file - location )>

<!ATTLIST archive - descriptor type CDATA #REQUIRED>

<!ELEMENT file - location (#PCDATA)>

<!ELEMENT files ( entry - name , file - path )>

<!ELEMENT entry - name (#PCDATA)>

<!ELEMENT file - path (#PCDATA)>

<!ELEMENT directories ( dir - path , extension - mapping *, included , excluded - files ?)>

<!ELEMENT dir - path (#PCDATA)>

<!ELEMENT included (#PCDATA)>

<!ELEMENT extension - mapping ( ext , mapping )>

<!ELEMENT ext (#PCDATA)>

<!ELEMENT mapping (#PCDATA)>

<!ELEMENT excluded - files (#PCDATA)>

<!ELEMENT additional - classpath (#PCDATA)>

]>

 

  <j2ee-components-generator>

    <project-dir>

      C:\J2EEngine\deploying

    </project-dir>

    <archive>

      <file-name>

        \one_example\jar.jar

      </file-name>

      <archive-descriptor type= "EJB" >

        <file-location>

          \one_example\jar_jar_DD.xml

        </file-location>

      </archive-descriptor>

      <files>

        <entry-name>

          meta-inf/Manifest.mf

        </entry-name>

        <file-path>

          \one_example\jar_jar.mf

        </file-path>

      </files>

      <additional-classpath>

        C:\J2EEngine\deploying\deploy_example;

      </additional-classpath>

    </archive>

    <archive>

      <file-name>

        \one_example\Client.jar

      </file-name>

      <archive-descriptor type= "JAVA" >

        <file-location>

          \one_example\Client_jar_DD.xml

        </file-location>

      </archive-descriptor>

      <files>

        <entry-name>

          meta-inf/Manifest.mf

        </entry-name>

        <file-path>

          \one_example\Client_jar.mf

        </file-path>

      </files>

      <additional-classpath>

        C:\J2EEngine\deploying\deploy_example;

      </additional-classpath>

    </archive>

    <archive>

      <file-name>

        \one_example\War.war

      </file-name>

      <archive-descriptor type= "WEB" >

        <file-location>

          \one_example\War_war_DD.xml

        </file-location>

      </archive-descriptor>

      <files>

        <entry-name>

          meta-inf/Manifest.mf

        </entry-name>

        <file-path>

          \one_example\War_war.mf

        </file-path>

        <entry-name>

          WEB-INF/classes/test1/TestServlet.class

        </entry-name>

        <file-path>

         ./WEB-INF/classes/test1/TestServlet.class

        </file-path>

      </files>

      <files>

       <entry-name>

        index.html

       </entry-name>

       <file-path>

        ./index.html

       </file-path>

      </files>

      <directories>

        <dir-path>

          \deploy_example\WEB-INF\classes\test1

        </dir-path>

        <extension-mapping>

          <ext>

            .class

          </ext>

          <mapping>

            WEB-INF/classes/test1

          </mapping>

        </extension-mapping>

        <included>

          YES

        </included>

        <excluded-files>

        </excluded-files>

      </directories>

      <additional-classpath>

        C:\J2EEngine\deploying\deploy_example;

      </additional-classpath>

    </archive>

  </j2ee-components-generator>

 

 

Leaving content frame