-----Original Message-----
From: Ara Abrahamian [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 25, 2002 8:11 PM
To: 'Turbine Maven Developers List'
Subject: RE: [plugin.properties] automated generation and documentation


It's a good idea to write such an IDE plugin. Very useful. Now the
question is: there are many plugins there and each has a lot of
properties, how can we write a generic IDE plugin?

Well, I think properties of plugins should be cleanly documented it an
xml file and then read and interpreted by the IDE plugin and shown on
screen. We've done something like that in xdoclet, each module has an
xtags.xml file which defines all the @tags, properties of tags, type of
the property, level and other constraints. So the IDEA/JEDit/whatever
plugin reads it and constructs a gui that let's you edit them visually.
This way we didn't have to create a specific plugin for each specific
module. It's not a 'documentation' xml file like xdoc, it follows a
well-defined dtd. Imho the same should be done for Maven too. So there
will be a module-properties.xml file adhering to a dtd in meta-inf of
each module. This file will be read by both the IDE gui and also XSLT-ed
to xdoc for document generation. What do you think?

Ara. 

> -----Original Message-----
That is exactly what I meant. 

Michal

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to