Page 1 of 1

Need help on setting up svn-project

Posted: Fri Nov 20, 2009 9:27 pm
by Salo
Hey!
I´m using CodeLite v2.0.3365 on MacOSX.
I just don´t get how to set up a project so that the folders of my svn project are shown in the workspace view.
I succesfully checked out the folder structure from my svn and created a project inside this repository. But all that is shown is a "src" folder with a file named main.cpp in it. What i want to in contrast is the folder structure from my svn. Could somebody help me?

Re: Need help on setting up svn-project

Posted: Fri Nov 20, 2009 10:27 pm
by eranif
If I understand you correctly, you checkedout the sources from the SVN to your local disk - this is not enough.
You also need to create a project (which you did, and from your description, you create a console application with main.cpp file.
The best way now is this:
right click on your project, and select 'import files from directory' and select the directory where your files are located.
Once this is done, you will have your sources in the workspace view.

Please search the site to learn more about workspace / project

Eran

Re: Need help on setting up svn-project

Posted: Sat Nov 21, 2009 3:29 pm
by Salo
Ok i tried to use "Import Files from Directory" but when i do this just nothing happens. I changed the root-directory to my local repository and said "Ok" but the only thing that happens is that a window pops up with a text like this "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" and closes immediadetly. No files are imported.

Re: Need help on setting up svn-project

Posted: Sat Nov 21, 2009 10:49 pm
by eranif
I will need to test it on MacOSX, but you need to check the directories and make sure that the files has the proper extensions as set in the import dialog
Eran