Deployment Descriptors configuration

I've filed #23094 a while ago asking to be able to pack extra deployment descriptors (that should be closed, by the way). but the new dialog in #2026 is overly complicated.

Asking for a name, description and "default path" (what's that supposed to mean, by the way) is just too much just to add an extra file to the build. I would suggest that this should be changed the following way:

ejb-jar.xml and web.xml continue to be special deployment descriptors, managed by IDEA, and of course mandatory for the respective types of modules. An application server plugin may add more mandotory descriptors. The user should be able to add extra descriptors, which are just files that should go into META-INF or WEB-INF when idea builds the module. No name, descriptior or default path for these files, just a simple, plain file list.

Comments?

2 comments
Comment actions Permalink

Hm, am I missing something? That's how it works right now in 2026. The extra files are basically file templates that (in theory) are called when you create a new module, same as web.xml/ejb-jar.xml are.

The only problem of course right now is that it's impossible to have file templates loaded from arbitrary locations (ie, the plugin jar), so it doesn't quite work as expected.

I agree though that a user should have more fine-grained control over this.

0
Comment actions Permalink

Em Mon, 24 May 2004 18:21:33 +0400, Hani Suleiman escreveu:

Hm, am I missing something? That's how it works right now in 2026. The
extra files are basically file templates that (in theory) are called when
you create a new module, same as web.xml/ejb-jar.xml are.


Yup, you're missing something. For plugin developers, it's good as it is
now. Now suppose I'm using a certain popular application server which
shall not be named, whithout a specific plugin for it. All my descriptors
are already done, so all I need is IDEA to pack them when building the
jar file. The current UI is quite complex for this simple task.

--
Marcus Brito <pazu@animegaiden.com.br>


0

Please sign in to leave a comment.