Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 107071 - [project creation] Source directory structure needs to be standardized
Summary: [project creation] Source directory structure needs to be standardized
Status: CLOSED WORKSFORME
Alias: None
Product: WTP Java EE Tools
Classification: WebTools
Component: wst.web (show other bugs)
Version: 0.7   Edit
Hardware: PC Windows XP
: P3 enhancement with 2 votes (vote)
Target Milestone: Future   Edit
Assignee: Neeraj Agrawal CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-15 17:31 EDT by Bhupinder CLA
Modified: 2010-02-15 14:26 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bhupinder CLA 2005-08-15 17:31:00 EDT
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
Comment 1 Thom Hehl CLA 2006-08-31 12:27:38 EDT
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.
Comment 2 David Williams CLA 2007-09-19 03:10:03 EDT
Neeraj, Rob, 

can you comment on this request? 

Is this still an issue in 2.0? 

Comment 3 Rob Frost CLA 2007-09-19 08:48:40 EDT
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.
Comment 4 Chuck Bridgham CLA 2010-02-15 14:26:39 EST
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