#12 Discovery of WEB-INF location

open
None
5
2005-04-07
2003-12-18
No

The plugin tries lo locate struts-config.xml and web.xml
under <doc_root>/WEB-INF.

So the plugin supposes a source tree that couldn´t be
the desired or needed.

For instance, we work with something like this:
<project_root>
|
+- src (.java files)
|
+- docroot (web resources)
|
+- WEB-INF (web related descriptors)
|
+- META-INF (other descriptors like EJBs and so on)
|
+-lib
|
+-...

That's why we prefer designers and web authors to work
only under docroot dir, while developers can configure
descriptors on other directory.

żIs is possible to include an input in the preferences or
project properties to designate explicitly WEB-INF
location?

Thanks for this great plugin.

Discussion

  • Philippe Ombredanne

    Logged In: YES
    user_id=879778

    Support for flexible discovery and scanning of the
    projects's resources to find the config files and infer the
    WEB-INF location, ass the project may not have a deployedd
    war directory structure.

     
  • Philippe Ombredanne

    • assigned_to: nobody --> pombredanne
    • summary: Don´t assume WEB-INF location --> Discovery of WEB-INF location
     

Log in to post a comment.