User: pathoss 
  Date: 02/07/09 06:50:06

  Added:       xdocs/ide index.xml
  Log:
  Moved from docs to xdocs.
  
  Revision  Changes    Path
  1.1                  xdoclet/xdocs/ide/index.xml
  
  Index: index.xml
  ===================================================================
  <?xml version="1.0"?>
  <document>
  
    <properties>
      <author email="[EMAIL PROTECTED]">Aslak Hellesoy</author>
      <title>IDE Integration</title>
    </properties>
  
  <body>
    <section name="IDE Integration">
      <p>
      Currently XDoclet does not have any GUI tool, though one is being developed
      (more details are found <a href="tools.html#xdocletgui">here</a>).  Other
      people have added support to a couple of other tools, however:
      </p>
  
      <subsection name="IDEA">
          <p>A set of live templates for IntelliJ's IDEA development environment is
          provided. Copy <a href="idea/xdoclet.xml">xdoclet.xml</a> file to 
$idea$/config/templates folder. Here are the
          live templates:</p>
          <table border="1" cellpadding="0" cellspacing="0" style="border-collapse: 
collapse" bordercolor="#111111" width="100%" id="AutoNumber1">
            <tr>
              <td width="100%"><b>Inside class comments</b></td>
            </tr>
            <tr>
              <td width="100%">ejb:cmp, ejb:bmp, ejb:sfsb, ejb:ssb, ejb:mdb, 
ejb:ejb-ref,
              ejb:env, ejb:finder, ejb:perm</td>
            </tr>
            <tr>
              <td width="100%"><b>Inside both class and method comment</b></td>
            </tr>
            <tr>
              <td width="100%">ejb:sec, ejb:trans</td>
            </tr>
            <tr>
              <td width="100%"><b>Inside class body</b></td>
            </tr>
            <tr>
              <td width="100%">ejb:intf, ejb:lintf, ejb:rintf, ejb:create, ejb:pf, 
ejb:pfg,
              ejb:pk</td>
            </tr>
          </table>
          <p>For example:</p>
          <pre>/**
           * |
           */
          public abstract class MyStatelessSessionBean extends javax.ejb.SessionBean
          {
          }</pre>
          <p>And type ejb:slsb and hit tab, you'll get:</p>
          <pre>/**
           * @ejb:bean type=&quot;Stateless&quot;
           *           name=&quot;MyStatelessSessionBean&quot;
           *           jndi-name=&quot;ejb/MyStatelessSessionBean&quot;
           */
          public abstract class MyStatelessSessionBean extends javax.ejb.SessionBean
          {
          }</pre>
      </subsection>
  
          <subsection name="jEdit">
          <p>Carlos Quiroz has developed a profile for jEdit that adds syntax 
highlighting
          for XDoclet's various javadoc tags, which can be found
          <a 
href="http://community.jedit.org/modules.php?op=modload&amp;name=Downloads&amp;file=index&amp;req=viewdownloaddetails&amp;lid=167&amp;ttitle=Java_+_XDoclet_custom_tags";
 target="_blank">here</a>
          (do a "Save Target As..." on the "Download this file now!" link, to avoid 
your
          browser trying to display the profile).</p>
          <p>Have fun!</p>
      </subsection>
    </section>
  </body>
  
  </document>
  
  


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Stuff, things, and much much more.
http://thinkgeek.com/sf
_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to