Source Control - Getting Started
In my first explorations with RTC, I am trying to set up my own sample project. I have created a repository workspace, and added a component. (This is all with no source code yet -- my next step is to actually add some files...)
Then I "loaded" the workspace (which I think means I have something on my local machine for that workspace). However, I can't find any directories/files anywhere that would appear to be the directory associated with either the component or the workspace. IE, I would think if I created a workspace called "workspace1" and a component called "comp1," there would be a directory somewhere on my hard drive called "comp1". I also selected the "Load the Root Folders of the Components as Projects" and expected to see something in my Eclipse Project window that would say "comp1" or "workspace1"... However, nothing of the sort shows up.
So my question as a newbie is, where is the first component folder created on my local machine when I start from scratch so that I can start copying in files?
(BTW, I also looked in my Eclipse workspace directory after loading the workspace and can't find anything corresponding to the RTC workspace or the component either...)
Thanks in advance,
Mike Johnson
Then I "loaded" the workspace (which I think means I have something on my local machine for that workspace). However, I can't find any directories/files anywhere that would appear to be the directory associated with either the component or the workspace. IE, I would think if I created a workspace called "workspace1" and a component called "comp1," there would be a directory somewhere on my hard drive called "comp1". I also selected the "Load the Root Folders of the Components as Projects" and expected to see something in my Eclipse Project window that would say "comp1" or "workspace1"... However, nothing of the sort shows up.
So my question as a newbie is, where is the first component folder created on my local machine when I start from scratch so that I can start copying in files?
(BTW, I also looked in my Eclipse workspace directory after loading the workspace and can't find anything corresponding to the RTC workspace or the component either...)
Thanks in advance,
Mike Johnson
4 answers
In my first explorations with RTC, I am trying to set up my own sample project. I have created a repository workspace, and added a component. (This is all with no source code yet -- my next step is to actually add some files...)
Then I "loaded" the workspace (which I think means I have something on my local machine for that workspace). However, I can't find any directories/files anywhere that would appear to be the directory associated with either the component or the workspace. IE, I would think if I created a workspace called "workspace1" and a component called "comp1," there would be a directory somewhere on my hard drive called "comp1". I also selected the "Load the Root Folders of the Components as Projects" and expected to see something in my Eclipse Project window that would say "comp1" or "workspace1"... However, nothing of the sort shows up.
So my question as a newbie is, where is the first component folder created on my local machine when I start from scratch so that I can start copying in files?
(BTW, I also looked in my Eclipse workspace directory after loading the workspace and can't find anything corresponding to the RTC workspace or the component either...)
Thanks in advance,
Mike Johnson
Hi Mike
First - check where your workspace really is (what did you type in when you started the RTC Eclipse client?). This is your Eclipse workspace and will have a directory like workspace1. If you accept the default workspace location - it may be buried somewhere into your Documents and Settings directory
Next - until you have any code - most of the info about the RTC bits, etc will be held in .jazz3 directory, and, most importantly, in your repository workspace on your server. You will not have sub-directories for the components as such.
If you import code into your RTC Eclipse client - then you start seeing the source code and bin directories you might expect. Import using the File->Import->General->File system to bring in a bunch of directories, then do the usual Eclipse File->Team->Share project to put this under source control.
regards
anthony
kesterto wrote:
.....
or even simpler, drag and drop the projects onto a component - see
https://jazz.net/learn/content/docs/source-control/advanced/#id2
Freddy
.....
If you import code into your RTC Eclipse client - then you start
seeing the source code and bin directories you might expect. Import
using the File->Import->General->File system to bring in a
bunch of directories, then do the usual Eclipse
File->Team->Share project to put this under source control.
regards
anthony
or even simpler, drag and drop the projects onto a component - see
https://jazz.net/learn/content/docs/source-control/advanced/#id2
Freddy
First - check where your workspace really is (what did you type in when you started the RTC Eclipse client?). This is your Eclipse workspace and will have a directory like workspace1. If you accept the default workspace location - it may be buried somewhere into your Documents and Settings directory
I am definitely in my correct Eclipse workspace directory, but the only dirs I see here are .jazz3 and .metadata.
If you import code into your RTC Eclipse client - then you start seeing the source code and bin directories you might expect. Import using the File->Import->General->File system to bring in a bunch of directories, then do the usual Eclipse File->Team->Share project to put this under source control.
When I import, there's no directory to "import" to. I guess that's where my confusion is -- I don't see anywhere in the Eclipse GUI or in my file system that maps to my new Jazz workspace or my new component, even though I have "loaded' the Jazz workspace...
So my question as a newbie is, where is the first component folder created on my local machine when I start from scratch so that I can start copying in files?
You haven't shared any files or folders with the component, so there's nothing to put on the local disk. As Anthony said, you won't see anything outside of the jazz metadata.
To put files/folders into Jazz source control, you have a share a project. Select the project in the Package Explorer or Navigator, open the context menu, and run 'Team > Share'. If you select "Jazz" as the source control provider, and tell RTC to share into your already created workspace and component, you'll then have something loaded.
e