Source code control non- java/c, help!?!
My head is about to explode.. I have this 'product' that builds multiple runtimes from the same source, on 5 different platforms. and requires 2 different delivery packages.
It takes too long to work thru all the processes to make changes, do the builds, make the deliverables, do the tests.. so I want to put this all together into a system.. source mgmt, change mgmt, auto builds, test and packaging. so I setup a jenkins server, with distributed slaves, all running on virtual machines.. windows, 3 flavors of linux( 32 and 64bit), solaris, aix, and hpux. I defined builds and can invoke them.. so the back part works.. (I don't do packaging build yet).. I want to put the build results (binaries) into artifactory to deliver to the packager, and anyone else that wants to take the parts and test, or repackage. so far, so good.. not its time to address the source code mgmt side.. I develop in Eclipse. but have hand built shell script build scripts. again,this is not java. but perl. so, now I want to put this into source control.. and I'm stuck.. who come first? the chicken or the egg? the sample doc is create a workspace, and deliver to the stream. wait, who created the stream, how does the code/parts get INTO the workspace.. I have something already,, isn't that a baseline? how does that get into the system.. I see share a 'project'.. but right now I am pretty monolithic and I need to fix that.. I have the code, test scripts, the delivery packaging scripts, the build scripts, some supporting files (images) and special text files.. I want to put these is separate areas in the source system (is this component?). then I also have the perl runtime, and the special compiler runtime I use to DO the build. I suppose I would put those in Artifactory, and deploy to the build system as part of the build definition.. (but binaries in the source system are bad news) scm load with get the files OUT of the source system.. what puts them in THE FIRST time? |
6 answers
so, the approach is
components stream workspace - this is a personal? thanks.. missing data still , how do I get my physical files related to the components? the wizard doesn't seem to understand folders, or .txt or .pl files.. also, how do I delete a component definition? I want to do something different and on the binaries.. just be warned.. the OOtB config with Websphere will fall over and die if the binaries consume the websphere heap.. we had a team store the apache source kit and the oracle db install kit in the source tree and reload it on every clean build.. kills websphere faster than u can imagine. |
Ralph Schoon (63.5k●3●36●46)
| answered Sep 28 '12, 8:31 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Sam,
if you want to share files in the eclipse client, you must have the file in an Eclipse project. Each component can hold the files for several Eclipse projects. In the Eclipse client you can only share Eclipse projects. The Eclipse project can be just a general project. It does not have to do anything, except the .project file needs to be there. If you have a folder structure like: arbitraryRoot Folder 1 Folder2 Folder3 Folder4 You can have several options. 1st you can create just one eclipse project and copy the whole tree into it (with the project being the folder that contains the data of arbitraryRoot and all sub folders. This would not allow componentization. If arbitraryRoot does not contain any data, you can create Eclipse projects for all the folders (with the folder name as project name) and do the same for each folder and share each folder. This allows to split into components. There are more capabilities in the SCM that could be interesting. See https://jazz.net/wiki/bin/view/Main/SourceControlMain and for loading https://jazz.net/wiki/bin/view/Main/SCMContentLoading . As far as I understand with load as and component rules you can do a lot more magic to load things in the way you want it, but I haven't collected a lot of experience with it. If you have a massive amount of binaries, don't put them into SCM, set up a caching proxy in front of your build farm, or just load the binaries once with a different build definition and be safe to assume they are stored somewhere stable relative to the build folder, so that you can access them on every build machine. |
Ralph Schoon (63.5k●3●36●46)
| answered Sep 28 '12, 8:38 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
With respect to deleting components. This is not possible today as far as I know. You can rename them and reuse them later. To get them out of the way, the suggested way is to change the ownership to some dummy owner and make them private.
|
gosh thats hard.. a project for every component? ugh..
|
Ralph Schoon (63.5k●3●36●46)
| answered Sep 28 '12, 4:27 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER edited Sep 28 '12, 4:28 p.m.
Sam,
at lesat project for every folder you want in a separate component. You can have more than one project in a folder. |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.