File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes IDEs, Version Control and other tools and the fly likes Eclipse and SVN Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Eclipse and SVN" Watch "Eclipse and SVN" New topic

Eclipse and SVN

deeps sinha

Joined: Apr 20, 2012
Posts: 26
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....

Winston Gutkowski

Joined: Mar 17, 2011
Posts: 8927


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


Bats fly at night, 'cause they aren't we. And if we tried, we'd hit a tree -- Ogden Nash (or should've been).
Articles by Winston can be found here
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17410

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.

An IDE is no substitute for an Intelligent Developer.
Peter Johnson

Joined: May 14, 2008
Posts: 5852

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.

JBoss In Action
William P O'Sullivan
Ranch Hand

Joined: Mar 28, 2012
Posts: 859

Fix the structure in svn first to match the expected web-app structure.

It will make life a lot easier!

I agree. Here's the link:
subject: Eclipse and SVN
It's not a secret anymore!