Community
Participate
Working Groups
I just tried the new dynamic web applicatio project and noticed it creates it's own custom directory structure. Our existing web applications have all been created with the most common structure as follows: src - java source files web - html/jsp files + WEB-INF and web.xml stuff doc - documentation files bin - compiled file It's a big headache to restructure our apps and re-add to our source repositary. Can we expect a directory structure that's been widely used and recommended for years? Thanks
Here is an excerpt from: http://www.eclipse.org/newsportal/article.php?id=11000&group=eclipse.newcomer#11000 On the Java Build Path properties page, go to the Source tab. Click on Add Folder. The resulting dialog should show the src and test folders. Check each one and hit OK. You may also want/need to change the default output folder.
Neeraj, Rob, can you comment on this request? Is this still an issue in 2.0?
Although the default directory structure for new dynamic web projects does not match the structure you describe, it is possible to change the defaults: -the new dynamic web project wizard has options to change the web content folder (defaults to "WebContent" but you could change that to "web") and the Java src folder (does default to "src") -the Java output folder is set to "build/classes" but can be changed post-project creation to "bin" (or some other desired value) I imagine there are no plans to alter the existing defaults so setting this enhancement request (which I am interpreting as a request to change these defaults to "web", "src" and "bin") to "future". Chuck/Neeraj: if a direct resolution of "WONTFIX" makes more sense, please change; one thing that might be worth considering would be an option for the Java output folder in the new project wizard.
The web project creation wizard has been updated and currently all the requested values (source, output, and web content folders) can be changed during project creation