web module - resource order. Cannot determine deployment order.
I can't seem to figure out the order in which Idea copies files to build the web module from the "Web Resource Directory". It almost seems to be alhabetical. I have a web project that includes c:\work\cuds\war then c:\work\acfbuild\tdrive\adp2.9\war and no matter what order I place them in the web resource directory list, I always get the web.xml copied from the c:\work\acfbuild directory.
I even have the c:\work\cuds\war\WEB-INF\web.xml specified as the web module deployment descriptor but Idea still copies the wrong file. Sometimes when I restart Idea, it will load the correct web.xml when I click on it from the deployment view but most of the time it loads the wrong file to view. It always copies the wrong file.
Any help will be appreciated.
Please sign in to leave a comment.
Found the problem. There is a bug with global libraries. The files that were being copied over to the exploded directory were from a global library which was UN checked in my module. I had to remove the global library completly from Idea before the files stopped copying.
Sounds like that could have been fixed by checking the library, apply,
unchecking the library, apply.
FWIW, that part of the modules works pretty good.
Norris Shelton
Sun Certified Java Programmer
mcrusty wrote:
>Found the problem. There is a bug with global libraries. The files that were being copied over to the exploded directory were from a global library which was UN checked in my module. I had to remove the global library completly from Idea before the files stopped copying.
>
>
>