| Author |
Eclipse WTP Directory Structure
|
Joe Gliniecki
Greenhorn
Joined: Oct 25, 2007
Posts: 18
|
|
I started to work with a team that has a web application already in SVN. The folder structure is as follows: \application \index.jsp \module1 \test1.jsp \WEB-INF \web.xml I would like to use a Dynamic Web Project in Eclipse WTP 2.0.1, but this requires all web content to be in its own folder (with the default name of WebContent). Thus my workspace would need to look like this: \application \WebContent \index.jsp \module1 \test1.jsp \WEB-INF \web.xml I have been unable to find a way to map from the directory structure in SVN to what is required in Eclipse using the SubEclipse and Subversive plugins. My question, for those of you that use Eclipse WTP, is it standard practice to have a directory structure in the repository that conforms to what is required by the IDE? It seems wrong for the IDE to dictate how the code in the repository is organized. Also, any ideas on how to "map" the SVN directory structure to what Eclipse WTP requires? Thanks, Joe
|
 |
Joe Gliniecki
Greenhorn
Joined: Oct 25, 2007
Posts: 18
|
|
Sorry, looks like the tabs on my directories got messed up. I'll try it this way: \application\index.jsp \application\module1\test1.jsp \application\WEB-INF\web.xml and \application\WebContent\index.jsp \application\WebContent\module1\test1.jsp \application\WebContent\WEB-INF\web.xml
|
 |
Mark Williams
Ranch Hand
Joined: Aug 01, 2008
Posts: 66
|
|
First off, I'd like to say Hello Java Ranch. This is my first post! I realize this is a fairly old thread but I have the exact same question and it looks like nobody ever replied to Joe. Our CVS at work stores the code in a structure similar to Joe's SVN and it is a pain in the rear for me sync the code out or make changes when my project is in the WTP Dynamic Web Project structure. I like the features of Eclipse WTP much better than using the Sysdeo Tomcat plugin (Mostly because I have a lot of projects that take forever to load. With WTP I can put only the projects I am currently working with on the server). Thanks!
|
 |
 |
|
|
subject: Eclipse WTP Directory Structure
|
|
|