Author |
Message
|
youto |
Posted: Wed Feb 08, 2012 12:24 am Post subject: CVS Structure for WMB projects |
|
|
Novice
Joined: 07 Feb 2012 Posts: 16
|
Hi all,
I'm trying to come up with a cvs-structure for my wmb-projects where I can check out all the modules (eg. MessageFlow, MessageSet, Java etc.) in one swipe.
Today I'm checking out every part of the flow separately.
This is mainly a problem when I'm unsure of what the all the modules are.
For instance, if I'm uncertain of which messageSets are used for a particular flow, I need to check out the flow, then go in to it and view that manually and then be able to check out the correct MessageSets.
Is there a way that I can get all my modules in one motion?
Or at least a way to always know which modules that belongs to which flows.
Happy for all the help I can get! |
|
Back to top |
|
 |
lancelotlinc |
Posted: Wed Feb 08, 2012 6:48 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
|
Back to top |
|
 |
mqjeff |
Posted: Wed Feb 08, 2012 6:52 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
to be more clear, you can apply a higher level organizational structure to your CVS repository, such that it represents a 'project' or 'application' structure as a set of folders.
You would then check individual Mesage Broker projects into the relevant folder, and they would then appear as individual projects there.
That is, just because your workspace represents a flattened structure with all projects at the same hierarchy, does not mean that your CVS repository has to live with that. You can check each individual project into a different location in the CVS repository tree. |
|
Back to top |
|
 |
kimbert |
Posted: Wed Feb 08, 2012 6:54 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
Quote: |
Is there a way that I can get all my modules in one motion?
Or at least a way to always know which modules that belongs to which flows. |
So you want to manage applications rather than individual components. Sounds as if you need to upgrade to WMB v8 . |
|
Back to top |
|
 |
ganesh |
Posted: Wed Feb 08, 2012 7:05 am Post subject: |
|
|
Master
Joined: 18 Jul 2010 Posts: 294
|
Have a separate structure for each project which will contain all its dependencies like - projectA--> MainFlows, Subflows, Msg.sets, Jars, Config files and also have a framework level structure which will have the commonly used subflows, jars. The pros of this approach is it will be easier for developer and build team to just know the project name and it will be easier for them to go to one location and build them or develop them on the flip side the cons would be there will be duplication of files i.e. in case you want to make changes to the commonly used subflows you will have to make changes at the framework level directory and sync them to your project level directory. |
|
Back to top |
|
 |
youto |
Posted: Wed Feb 08, 2012 7:06 am Post subject: |
|
|
Novice
Joined: 07 Feb 2012 Posts: 16
|
Quote: |
So you want to manage applications rather than individual components. Sounds as if you need to upgrade to WMB v8 . |
We've actually been talking about an upgrade from V7 to V8, so hopefully by the end of the year!
Lancelotlinc: Thanks for the link, I will check it out!
mqjeff: What I've tried to do is to add all my different projects(MessageSet, MessageFlow, JavaProject etc) into a general Project. But what I discovered is that projects can't be moved into other projects.
So how do I manage to get all my components into an overall folder in CVS?
Ganesh: Same question for you, What do I have to do to make that structure happen in CVS? |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Feb 08, 2012 7:21 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
youto wrote: |
Quote: |
So you want to manage applications rather than individual components. Sounds as if you need to upgrade to WMB v8 . |
We've actually been talking about an upgrade from V7 to V8, so hopefully by the end of the year!
Lancelotlinc: Thanks for the link, I will check it out!
mqjeff: What I've tried to do is to add all my different projects(MessageSet, MessageFlow, JavaProject etc) into a general Project. But what I discovered is that projects can't be moved into other projects.
So how do I manage to get all my components into an overall folder in CVS?
Ganesh: Same question for you, What do I have to do to make that structure happen in CVS? |
You merely have to add the "project" name as a part of the repository path. So when you "share" the project, put "/Application/" before the message flow project name, for example.
Then you will end up having a repository structure like
Code: |
CVSRoot/
Application1/
projectAmsgFlow
projectBmsgFlow
projectCmsgSet
projectDmsgSet |
and when you're browsing the repository to find projects to check out, you can select the individual projectA and projectB resources and they will be checked out as Eclipse projects of the appropriate type into your workspace. |
|
Back to top |
|
 |
mb01mqbrkrs |
Posted: Wed Feb 08, 2012 7:34 am Post subject: |
|
|
Apprentice
Joined: 18 Nov 2011 Posts: 48
|
Look at eclipse's "Team Project Set". It allows you to have one file that defines all of your eclipse/broker projects for a particular solution.
The developers simply check out the solution's one .psf file, then right click and select "Import Project Set" - it then imports all the other projects.
The other suggestions of using <app>/<projects> is totally the right way to go, but the .psf file allows you to work with old projects that didn't use this structure. |
|
Back to top |
|
 |
youto |
Posted: Wed Feb 08, 2012 7:35 am Post subject: |
|
|
Novice
Joined: 07 Feb 2012 Posts: 16
|
Do you mean like this?
When opening a new repository location, you add the host as usual, and in the repository path you add Repository/anExistingEmptyProject
Because this doesn't work for me.
And the application is a projects that exists in the cvs.
Lancelotlinc: I didn't find anything useful on the website you linked to.
Can you point out more specific what you were refering to? |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Feb 08, 2012 7:36 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
mb01mqbrkrs wrote: |
Look at eclipse's "Team Project Set". It allows you to have one file that defines all of your eclipse/broker projects for a particular solution.
The developers simply check out the solution's one .psf file, then right click and select "Import Project Set" - it then imports all the other projects.
The other suggestions of using <app>/<projects> is totally the right way to go, but the .psf file allows you to work with old projects that didn't use this structure. |
Nifty! |
|
Back to top |
|
 |
youto |
Posted: Wed Feb 08, 2012 7:45 am Post subject: |
|
|
Novice
Joined: 07 Feb 2012 Posts: 16
|
hmm... The .psf option isn't working either.
I klick "Export" and then choose "Team working set", but when I click "Next" to add which projects to include, there isn't any projects to choose from.
Even though I have several different projects in my workspace... |
|
Back to top |
|
 |
youto |
Posted: Wed Feb 08, 2012 8:20 am Post subject: |
|
|
Novice
Joined: 07 Feb 2012 Posts: 16
|
Im running Eclipse CVS Client 1.1.2.R342_v20090122
CVS SSH Core 3.2.100.I20080604
CVS SSH2 3.2.100.I20080604
CVS Team Provider Core 3.3.101.r34x_20090115
CVS Team Provider UI 3.3.100.r34x_20090121
If that can explain anything? |
|
Back to top |
|
 |
youto |
Posted: Sun Feb 12, 2012 11:48 pm Post subject: |
|
|
Novice
Joined: 07 Feb 2012 Posts: 16
|
Is there any specific configuration that needs to be done before the previous suggested solution should work??
Does any one have a suggestion of how to solve my cvs-structure, that actually will work for me? |
|
Back to top |
|
 |
smdavies99 |
Posted: Mon Feb 13, 2012 12:28 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
My guess that the lack of replies these past few days is down to the fact that CVS is not as widely used as it once was. Subversion, ClearCase and even 'git' seem to be more popular.
AFAIK, Subversion was created to overcome some of the shortcomings of CVS.
Perhaps it is time to think about moving your version control system? _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
youto |
Posted: Mon Feb 13, 2012 12:43 am Post subject: |
|
|
Novice
Joined: 07 Feb 2012 Posts: 16
|
Yes, I know that CVS has some issues. Unfortunately it's out of my hands and a move do a another solution isn't something that the company is considering at the moment.
So if anyone out there has a solution or a suggestion to my problem, please post it. |
|
Back to top |
|
 |
|