I'm thinking about how to implement XDoclet generation in the next
version of JBoss-IDE. In the paper of Aslak and in the thread
yesterday it is talked about what an IDE needs to support coding
XDoclet.

But XDoclet generation is another issue. What I want to implement if
XDoclet2 is out is a continous integration for XDoclet tagged classes.
For normal Java classes Eclipse incrementally compiles with every save
the changes so that the binaries always reflect the source code. I've
understood that XDoclet2 doesn't rely on ant and is faster then
XDoclet1.2b. This is perfect for implementing a feature that JBoss-IDE
starts the XDoclet generator with every save (if the tags have
changed) so that the sourcecode always reflect the XDoclet tags.

But what about the information that is needed for the generation
additionally to the tags ?

For XDoclet2 it would be cool to have an API for IDE's via that one
can access this information.

For XDoclet1.2b JBoss-IDE will do the generation via ant. But there is
a problem for offering a good general support. I would need a way to
retrieve the parameters those tasks need but I can't see any. In the
xdoclet.xml you have only the possible tasks but not the parameters.
Some don't need any but others do. For example:

<dataobject/>
<packageSubstitution packages="persistence" substituteWith="interfaces"/>

So if one wants to offer a smart support one has to use his explicit
knowledge what parameter a task want. Am I'm missing something ?


Hans



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to