aspose 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
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: 7073
    
  16

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?
Artlicles by Winston can be found here
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15641
    
  15

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: 5779
    
    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: 860

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

It will make life a lot easier!

WP
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Eclipse and SVN
 
Similar Threads
How to create automatic release with ant and subversion
is just Subclipse enough? or need install a svn server also?
eclipse3, svn and synchronization
Eclipse WTP Directory Structure
Maven & Subversion