jGuru
Register Email     Password Forgot your
password?
HOME FAQS FORUMS DOWNLOADS ARTICLES PEERSCOPE LEARN

  Search   jGuru Search Help

View:
XDoclet FAQ Home Page

FAQ Manager is guru Ara Abrahamian PREMIUM.

XDoclet is a tool that let's you do attribute-oriented programming in Java. It's a generic Java tool that lets you create custom Javadoc @tags and based on those @tags generate source code or other files (such as xml-ish deployment descriptors). The broader goal is to let you apply "Continuous Integration" in component-oriented development to manage meta-data and code generation.

What's New

I'm getting lots of javadoc warning messages in console when I run XDoclet. What's the problem? Can I avoid it?
Tools:Generator:XDoclet
Ara Abrahamian PREMIUM, Feb 13, 2002
You can safely ignore these warning messages. Your code refers to a class that Javadoc can't find. Javadoc always complains about this, but it doesn't...
<ejbdoclet/> has <entitycmp/>/<entitybmp/>/<session/> sub-tasks. What are they for? Why is a sub-class generated from my EJB?
Tools:Generator:XDoclet
Ara Abrahamian PREMIUM, Jan 28, 2002
They provide some services for you: <entitycmp/> if ejbSpec="1.1" generates a EJB 1.1-based CMP bean from your EJB 2.0-based abstract...
All of the EJB samples XDoclet provides are for EJB 2.0. Is it possible to write EJB 1.1 applications using XDoclet?
Tools:Generator:XDoclet
Ara Abrahamian PREMIUM, Jan 28, 2002
Definitely. Set ejbSpec="1.1" in <ejbdoclet/> but follow the rules of EJB 2.0 in source code. This means instead of defining persistent...

I know XDoclet has various @tags for various EJB containers. Does that mean my application will run on all application servers?
Tools:Generator:XDoclet
Ara Abrahamian PREMIUM, Jan 28, 2002
No, XDoclet can't do any magic :-) But at least it can make it a lot easier. There's built-in support for various application servers, so you can create...
I don't like the code convention XDoclet uses for generating code. How can I change it?
Tools:Generator:XDoclet
Ara Abrahamian PREMIUM, Jan 28, 2002
XDoclet does not have any mechanism to apply a specified code convention, built-in. It's really out of the scope of this tool. All templates use a single...
Is it possible to use XDoclet without Ant?
Tools:Generator:XDoclet
Ara Abrahamian PREMIUM, Jan 28, 2002
It's not possible to use XDoclet without Ant, for some good reasons. But anyway you should be able to invoke Ant from make for example. Obviously it's...
What are the merge points? What are they for?
Tools:Generator:XDoclet
Ara Abrahamian PREMIUM, Jan 28, 2002
Merge points (or merge files) are a mechanism XDoclet provides for merging in a user-written file with the template file. It has various uses: Not...
How can I create new @tags, templates and sub-tasks?
Tools:Generator:XDoclet
Ara Abrahamian PREMIUM, Jan 28, 2002
You can easily create new @tags/templates/tasks/sub-tasks. We're enhancing it all the time so I'm not going to provide any details here. Refer to do...
Where can I find the list of supported @tags and sub-tasks?
Tools:Generator:XDoclet
Ara Abrahamian PREMIUM, Jan 27, 2002
In your copy of XDoclet, open docs/index.html. The left hand side pane has various links to different parts of the documentation. XDoclet is itself just...
How can I customize XDoclet to generate what I want?
Tools:Generator:XDoclet
Ara Abrahamian PREMIUM, Jan 27, 2002
XDoclet is designed with extensibility in mind. You can modify the way it works in various ways: You can set a modified template file as the template...
What is the format of the @tags? Where should I put them in source code?
Tools:Generator:XDoclet
Ara Abrahamian PREMIUM, Jan 25, 2002
You put @tags in javadoc comments of the program elements (method, class, field, etc). It follows the basic rules of javadoc comments, and a set of x...


Ask A Question



Related Links

XDoclet Forum

Home page, documentation

Main project page

Wish List
Features
About jGuru
Contact Us

 



The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers