Working copy of local repository [message #44908] |
Sat, 25 April 2009 16:24 |
Eclipse User |
|
|
|
Originally posted by: ddd.offramp.com
I'm using Fedora Linux and the Ganymede eclipse.
I've successfully created a local repository in:
/home/username/svn/C++Projects
using:
cd /home/username/svn/
svnadmin create HelloWorld --fs-type fsfs
I've successfully used the SVN Repository perspective to add this
repository using the New Repository Location button in the SVN
Repositories tab.
I've successfully checked out the repository as a working copy to:
/home/username/workspace/HelloWorld
I've successfully created an eclipse project in:
/home/username/workspace/HelloWorld
using:
File -> New -> Project -> C++ -> C++ Project
Makefile project -> Hello World C++ Project
so that I have the following directories/files:
|-- .cproject
|-- .project
|-- .svn
| |-- format
| |-- lock
| |-- prop-base
| |-- props
| |-- text-base
| `-- tmp
| |-- prop-base
| |-- props
| `-- text-base
|-- HelloWorld
|-- HelloWorld.cpp
|-- HelloWorld.o
`-- Makefile
CDT automatically builds HelloWorld, which explains some of the files.
Obviously, I'm using CDT for program development. I open HelloWorld.cpp
into the editor.
I would think that there would be a way to add resources from the C++
perspective, but no.
I go to the SVN Repository perspective.
I click on:
SVN -> Add to Version Control...
Subversive doesn't find any resources to add to the repository.
Is my sequence of stems correct?
From this sequence, how do I add resources to my local repository?
Which of the files (particularly the eclipse project files) do I need to
add to the repository?
Thanks for the help
|
|
|
Re: Working copy of local repository [message #45990 is a reply to message #44908] |
Tue, 05 May 2009 15:55 |
Igor Burilo Messages: 435 Registered: July 2009 |
Senior Member |
|
|
Hello David,
As I correctly understand the problem: you checked out the project from
repository but you don't know how to add new resoures to repository, do I?
You just need to call Commit action either from Synchronize view or from C++
Perpective(I don't know the exact view name). You can do it in C++
Perpective in the following way: right click your project and select
Team/Commit action and then select resources to commit in Commit dialog.
> Which of the files (particularly the eclipse project files) do I need to
> add to the repository?
It depends on your rules but if there are no restrictions, commit all your
files(e.g. ,project, .cproject), of course, you don't need to commit derived
resource (resources which are created in the course of translating,
compiling, copying, or otherwise processing other files)
> I'm using Fedora Linux and the Ganymede eclipse.
>
> I've successfully created a local repository in:
> /home/username/svn/C++Projects
>
> using:
> cd /home/username/svn/
> svnadmin create HelloWorld --fs-type fsfs
>
> I've successfully used the SVN Repository perspective to add this
> repository using the New Repository Location button in the SVN
> Repositories tab.
>
> I've successfully checked out the repository as a working copy to:
> /home/username/workspace/HelloWorld
>
> I've successfully created an eclipse project in:
> /home/username/workspace/HelloWorld
>
> using:
> File -> New -> Project -> C++ -> C++ Project
> Makefile project -> Hello World C++ Project
>
> so that I have the following directories/files:
> |-- .cproject
> |-- .project
> |-- .svn
> | |-- format
> | |-- lock
> | |-- prop-base
> | |-- props
> | |-- text-base
> | `-- tmp
> | |-- prop-base
> | |-- props
> | `-- text-base
> |-- HelloWorld
> |-- HelloWorld.cpp
> |-- HelloWorld.o
> `-- Makefile
>
> CDT automatically builds HelloWorld, which explains some of the files.
>
> Obviously, I'm using CDT for program development. I open HelloWorld.cpp
> into the editor.
>
> I would think that there would be a way to add resources from the C++
> perspective, but no.
>
> I go to the SVN Repository perspective.
>
> I click on:
> SVN -> Add to Version Control...
>
> Subversive doesn't find any resources to add to the repository.
>
> Is my sequence of stems correct?
>
> From this sequence, how do I add resources to my local repository?
>
> Which of the files (particularly the eclipse project files) do I need to
> add to the repository?
>
> Thanks for the help
|
|
|
Powered by
FUDForum. Page generated in 0.03352 seconds