Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Eclipse and SVN

 
deeps sinha
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
My version control(SVN) has a different folder structure then what a web application folder structure should be , and they are unstructured. Now I want to put all the files in correct format in my local workspace when I checkout into eclipse. How do I do this ? I mean how to checkout the code into a folder structure. I am using Eclipse Helios. Please help....

Thanks,
Deeps
 
Winston Gutkowski
Bartender
Pie
Posts: 10226
58
Eclipse IDE Hibernate Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sinha,

I've moved your topic to a more appropriate forum as this is not really a Java question.

Winston
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18094
48
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Version control plugins in Eclipse expect that when you check out a project into the Eclipse workspace that the project will all be under one folder. In fact, the version control systems themselves generally don't permit doing otherwise, IDE or no IDE.

What you can do is check out the different folders as separate Eclipse projects and use Eclipse's project-referencing functionality to handle their inter-relationships.
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Or better yet, use "svn move" to rearrange the files in Subversion to be in the proper layout. Either that or create a new project, copy the files into in in the layout that you would like, and check in as a new project. I've done both, depending on the project and how complicated the move was.
 
William P O'Sullivan
Ranch Hand
Posts: 859
Chrome IBM DB2 Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Fix the structure in svn first to match the expected web-app structure.

It will make life a lot easier!

WP
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic