File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Eclipse and SVN" Watch "Eclipse and SVN" New topic
Author

Eclipse and SVN

deeps sinha
Greenhorn

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

Joined: Mar 17, 2011
Posts: 7718
    
  20

Sinha,

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

Winston


Isn't it funny how there's always time and money enough to do it WRONG?
Articles by Winston can be found here
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16022
    
  20

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.

Customer surveys are for companies who didn't pay proper attention to begin with.
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5823
    
    7

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!

WP
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Eclipse and SVN