add files and folders to source control
A simple question - how to add a folder + files structure to RTC component ?
A basic operation that is so simple in other tools looks complecate in RTC or maybe I miss it a lot of times.
I have a file system structure (folder + files) not par of any eclipse project!
I just want to add them to the source control.
Can you guide me ?
Thx,
5 answers
Hi
So complicated for a simple operation !!!!
Why it is not a simple right click - add files like other tools ?
Comments
I'm not sure I understand your usage scenario enough to tell where exactly the complication is. If you're in the Eclipse client, it is just right click -> Team -> Share Project (actually, in current code it's even easier -- you can just drag and drop an unshared project onto a component in the Pending Changes view).
Your original question, though, indicated that your files aren't part of an Eclipse project, so I'm a little unsure about what exactly you want to right-click to initiate the share operation. If the answer is the folder in Windows Explorer, there's yet another way that you can get your files into the repository: using the RTC shell integration for Windows Explorer. You can get an overview of this functionality here, or read about it in more depth in its section in the doc.
So you would create a project with the name of your folder. You import the data it is supposed to contain. Then you share the project. Before you deliver, you select the .project file and add it to the ignore list.
You now have everything in SCM you want. Loading the folder will create a .project file however, since it is ignored, you won't have it in SCM.
Change the attitude if you want to sell this product!
Comments
Geoffrey Clemm
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Feb 18 '13, 6:40 p.m.To get a simple answer, you will need to be more explicit about what client environment you are in.
Are you in a command shell, in an IDE, or in the Windows Explorer?
If it is an IDE, is it Eclipse or Visual Studio?
If it is the Eclipse IDE, where are the folders/files if they aren't in an eclipse project (Eclipse only shows you files in Eclipse projects).