Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Importing projects + svn + parallel folders
Importing projects + svn + parallel folders [message #227942] Fri, 12 December 2008 11:41 Go to next message
Eclipse UserFriend
Hi there,
I am looking for some help concerning project importing from svn
repositories and creating eclipse projects. Maybe someone can give me a
hint about how to do it:

I have 3 folders:
base_1/src/applic
base_2/src/applic
eclipse_workspace/other_stuff


What I want to do:
- import a svn project from a repository to applic (base_1/src/applic)
- import the same project to the other applic (base_2/src/applic)
- have both projects appear in eclipse with different project names
- my eclipse workspace cannot be under base_x nor can I influence the
folder names

This is what I want to see in eclipse:
eclipse_proj1 -> base_1/src/applic (@svn rep)
eclipse_proj2 -> base_2/src/applic (@svn rep)

The svn import tool only lets me import to my eclipse workspace and the
eclipse project name of the import is always identical to the folder name
(applic). Having two svn projects both point to folders of the same name
but at a different location seems impossible. Renaming a svn project is
also not possible.

A general hint at what to look at would already be helpful. Maybe some
simple edits in eclipse via GUI? Maybe ask the svn import tool devs? Maybe
write scripts to edit the eclipse metadata files or even the svn files?

My thanks in advance!
Re: Importing projects + svn + parallel folders [message #227995 is a reply to message #227942] Mon, 15 December 2008 04:23 Go to previous message
Eclipse UserFriend
I would suggest the following:

1) Create a new C/C++ project with the project wizard. Call the new
project base_1. Unselect the option "Use default location" and choose a
folder for your source files *outside* of the exlipse workspace (this
option appears in the project wizard page where to choose the project
name). Choose the type of project (Makefile or managed project).

2) Repeat step 1 for project base_2

3) Select project base_1 in the project explorer or navigator. Right click
with your mouse and choose "Import". Choose as project type: SVN =>
Projects from SVN. Import the sources to your new projects.

I don't if this project type exists in your installation but this works
for CVS and perhaps the SVN-Plugin provides something similar.

Axel


> Hi there,
> I am looking for some help concerning project importing from svn
> repositories and creating eclipse projects. Maybe someone can give me a
> hint about how to do it:

> I have 3 folders:
> base_1/src/applic
> base_2/src/applic
> eclipse_workspace/other_stuff


> What I want to do:
> - import a svn project from a repository to applic (base_1/src/applic)
> - import the same project to the other applic (base_2/src/applic)
> - have both projects appear in eclipse with different project names
> - my eclipse workspace cannot be under base_x nor can I influence the
> folder names

> This is what I want to see in eclipse:
> eclipse_proj1 -> base_1/src/applic (@svn rep)
> eclipse_proj2 -> base_2/src/applic (@svn rep)

> The svn import tool only lets me import to my eclipse workspace and the
> eclipse project name of the import is always identical to the folder name
> (applic). Having two svn projects both point to folders of the same name
> but at a different location seems impossible. Renaming a svn project is
> also not possible.

> A general hint at what to look at would already be helpful. Maybe some
> simple edits in eclipse via GUI? Maybe ask the svn import tool devs? Maybe
> write scripts to edit the eclipse metadata files or even the svn files?

> My thanks in advance!
Previous Topic:How to reduce message on build console ?
Next Topic:Search in Selected Resources ?
Goto Forum:
  


Current Time: Thu May 01 01:32:46 EDT 2025

Powered by FUDForum. Page generated in 0.03818 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top