commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject cvs commit: jakarta-commons/jelly/xdocs/tag-reference antlr_grammar.xml all.xml antlr_antlr.xml ant_setProperty.xml ant_ant.xml index.xml
Date Tue, 30 Nov 2004 11:12:53 GMT
dion        2004/11/30 03:12:53

  Modified:    jelly/xdocs/tag-reference ant_setProperty.xml ant_ant.xml
                        index.xml
  Added:       jelly/xdocs/tag-reference antlr_grammar.xml all.xml
                        antlr_antlr.xml
  Log:
  Try All and each taglib in nav.
  
  Revision  Changes    Path
  1.2       +4 -0      jakarta-commons/jelly/xdocs/tag-reference/ant_setProperty.xml
  
  Index: ant_setProperty.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/jelly/xdocs/tag-reference/ant_setProperty.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ant_setProperty.xml	30 Nov 2004 05:01:13 -0000	1.1
  +++ ant_setProperty.xml	30 Nov 2004 11:12:52 -0000	1.2
  @@ -61,6 +61,10 @@
         </table>
       </section>
       
  +    <section name="Nested Elements">
  +      <p>None</p>
  +    </section>
  +
       <section name="Examples">
         <p>
           This tag is <strong>always</strong> nested inside of another Ant task,
target or datatype.
  
  
  
  1.2       +13 -3     jakarta-commons/jelly/xdocs/tag-reference/ant_ant.xml
  
  Index: ant_ant.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/jelly/xdocs/tag-reference/ant_ant.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ant_ant.xml	30 Nov 2004 05:01:13 -0000	1.1
  +++ ant_ant.xml	30 Nov 2004 11:12:52 -0000	1.2
  @@ -37,11 +37,21 @@
           tag name you use, e.g. &lt;copy&gt;
         </p>
         <p>
  -        Any tag <strong>not</strong> defined in the Jelly tag library for Ant
is assumed to be an Ant task, target
  -        or datatype. When Jelly tries to execute an undefined tag, it looks for an Ant
task, target or datatype to match
  -        the tag name, and if found, matches the tag's attributes to the Ant element's attributes,
as Ant would.
  +        Any tag <strong>not</strong> defined in the Jelly tag library for Ant,
but defined to the Ant namespace,
  +        is assumed to be an Ant task, target or datatype. When Jelly tries to execute this
unknown Ant tag, 
  +        it looks for a real Ant element to match the tag name, and if found, matches the
tag's attributes 
  +        to the Ant element's attributes, as Ant would.
         </p>
       </section>
  +
  +    <section name="Attributes">
  +      <p>As per the ant task, target or datatype you are using.</p>
  +    </section>
  +    
  +    <section name="Nested Elements">
  +      <p>As per the ant task, target or datatype you are using.</p>
  +    </section>
  +
       <section name="Examples">
         <p>
           You never code this tag directly, instead you use it by defining the ant tag library
namespace 
  
  
  
  1.3       +1 -1      jakarta-commons/jelly/xdocs/tag-reference/index.xml
  
  Index: index.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/jelly/xdocs/tag-reference/index.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- index.xml	30 Nov 2004 05:03:33 -0000	1.2
  +++ index.xml	30 Nov 2004 11:12:52 -0000	1.3
  @@ -30,7 +30,7 @@
         </p>
         <p>
           <!--  insert hans or other list here -->
  -        Please select a tag on the navigation list for more information about that tag.
  +        Please choose either <strong>All Tags</strong> or an individual tag
library for more information.
         </p>
       </section>
     </body>
  
  
  
  1.1                  jakarta-commons/jelly/xdocs/tag-reference/antlr_grammar.xml
  
  Index: antlr_grammar.xml
  ===================================================================
  <?xml version="1.0"?>
  <!--
    Copyright 2002,2004 The Apache Software Foundation.
    
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at
    
         http://www.apache.org/licenses/LICENSE-2.0
    
    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
  -->
  
  <document>
  
   <properties>
    <title>Jelly Tag Reference (taglib:tag)</title>
   </properties>
  
    <body>
  
      <section name="Home Page">
        <p>See 
          <a href="http://jakarta.apache.org/commons/jelly/libs/antlr/">http://jakarta.apache.org/commons/jelly/libs/antlr/</a>
        </p>
      </section>
  
      <section name="Description">
        <p>
          This tag specifies grammars to add to an <a href="antlr_antlr.html">antlr</a>
tag
          for it's processing.
        </p>
        <p>
          The body of this tag must be a file name to be found in the parent tag's source
directory.
        </p>
      </section>
      
      <section name="Attributes">
        <p>None</p>
      </section>
      
      <section name="Nested Elements">
        <p>None</p>
      </section>
  
      <section name="Examples">
        <source><![CDATA[
  <j:jelly xmlns:j="jelly:core" xmlns:antlr="jelly:antlr">
    <j:set var="maven.antlr.src.dir" value="${basedir}/grammars"/>
  
    <antlr:antlr outputDir="${maven.antlr.target.dir}">
      <antlr:grammar>file1.antlr</antlr:grammar>
      <antlr:grammar>file2.antlr</antlr:grammar>
    </antlr:antlr>
  
  </j:jelly>
        ]]></source>
      </section>
      
    </body>
  </document>
  
  
  1.1                  jakarta-commons/jelly/xdocs/tag-reference/all.xml
  
  Index: all.xml
  ===================================================================
  <?xml version="1.0"?>
  <!--
    Copyright 2002,2004 The Apache Software Foundation.
    
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at
    
         http://www.apache.org/licenses/LICENSE-2.0
    
    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
  -->
  
  <document>
  
   <properties>
    <title>Jelly Tag Reference</title>
   </properties>
  
    <body>
  
      <section name="Overview">
        <p>
          This tag reference details all tags available for Jelly along with
          an example of it's usage.
        </p>
        <p>
          <!--  insert hans or other list here -->
          Please select a tag on the navigation list for more information about that tag.
        </p>
      </section>
    </body>
  </document>
  
  
  1.1                  jakarta-commons/jelly/xdocs/tag-reference/antlr_antlr.xml
  
  Index: antlr_antlr.xml
  ===================================================================
  <?xml version="1.0"?>
  <!--
    Copyright 2002,2004 The Apache Software Foundation.
    
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at
    
         http://www.apache.org/licenses/LICENSE-2.0
    
    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
  -->
  
  <document>
  
   <properties>
    <title>Jelly Tag Reference (antlr:antlr)</title>
   </properties>
  
    <body>
  
      <section name="Home Page">
        <p>See 
          <a href="http://jakarta.apache.org/commons/jelly/libs/antlr/">http://jakarta.apache.org/commons/jelly/libs/antlr/</a>
        </p>
      </section>
  
      <section name="Description">
        <p>
          This tag generates java code based on <a href="http://www.antlr.org/">Antlr</a>
          grammar files. 
        </p>
        <p>
          The grammars to generate are specified using nested <a href="antlr_grammar.html">grammar</a>
          tags.
        </p>
        <p>
          <strong>Warning</strong>: The grammar files must be placed in the directory
          specified by the <code>maven.antlr.src.dir</code> variable. This hard
coding
          should be removed in a future release.
        </p>
      </section>
      
      <section name="Attributes">
        <table>
          <tr>
            <th>Name</th>
            <th>Description</th>
            <th>Required</th>
          </tr>
          <tr>
            <td>outputDir</td>
            <td>The directory to place generated code into.</td>
            <td>Yes</td>
          </tr>
        </table>
      </section>
      
      <section name="Nested Elements">
        <table>
          <tr>
            <th>Name</th>
            <th>Description</th>
            <th>Required</th>
          </tr>
          <tr>
            <td>grammar</td>
            <td>
              The file name (within <code>maven.antlr.src.dir</code>) to use
              in code generation.
            .</td>
            <td>No</td>
          </tr>
        </table>
      </section>
  
      <section name="Examples">
        <source><![CDATA[
  <j:jelly xmlns:j="jelly:core" xmlns:antlr="jelly:antlr">
    <j:set var="maven.antlr.src.dir" value="${basedir}/grammars"/>
  
    <antlr:antlr outputDir="${maven.antlr.target.dir}">
      <antlr:grammar>file1.antlr</antlr:grammar>
    </antlr:antlr>
  
  </j:jelly>
        ]]></source>
      </section>
      
    </body>
  </document>
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message