This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Eclipse and SVN  RSS feed

 
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
Posts: 10573
65
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
Bartender
Posts: 18531
61
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: 5856
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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!