Managed make and clearcase [message #88645] |
Fri, 05 December 2003 10:43  |
Eclipse User |
|
|
|
Originally posted by: bharatkhatri2000.yahoo.com
Hello,
My problem is quiet complex, so I'll try to explain in simpler terms with
an example. I have created a menu item in the context menu for resources
of type IProject. If the user selects this menu item, I generate a bunch
of folders and files in the project (just like the managed make creates
files and folders in the release directory). This works fine in a local
project.
But when I am working on a clearcase project, things are a bit different.
I have the option "Prompt for checkout on resource change" selected in the
team clearcase menu. Now when I select my menu item on a clearcase
project, it prompts one-by-one for checkout of every single file and
folder that I generate during the action processing. I want it to promt me
only once for the whole group of files and folders (just like CDT managed
make does for the release folder and all its components).
I know its not strcitly a CDT question, but developers of managed make
should be able to answer this most quickly.
Thanks
|
|
|
Re: Managed make and clearcase [message #89972 is a reply to message #88645] |
Wed, 17 December 2003 11:00  |
Eclipse User |
|
|
|
Hi Bharat,
The main developer for Managed Make is presently on holiday. I'm familiar
with
Managed Make and ClearCase enough that I'll try to answer as best I can.
Without looking at the code, I believe Managed Make didn't do anything
special
to handle ClearCase. All of the files that Managed Make produces are
in the Release (or Debug) folder. If you are prompted for that and say
do-not-add-to-Clearcase, the contents of that folder are ignored.
(That is, if you say add-to-Clearcase, I'm betting you will get more than
one prompt during a Managed Make.)
So, in your plugin, if you are creating more than one resource in the
project
directory (itself already in ClearCase), I would expect one prompt per
resource from the Clearcase plugin.
Now, this is straying far from my expertise (and from the purpose of this
forum), but I would investigate the "Derived" checkbox on the File
properties page.
If you could programmatically set that during file creation, that might be a
clue to the ClearCase plugin to not prompt for that resource. That is just
a
theory, though. Other forums would give you more authoritative advice,
I think.
Good luck,
- Brent
"bharat" <bharatkhatri2000@yahoo.com> wrote in message
news:bqq928$hho$1@eclipse.org...
>
> Hello,
>
> My problem is quiet complex, so I'll try to explain in simpler terms with
> an example. I have created a menu item in the context menu for resources
> of type IProject. If the user selects this menu item, I generate a bunch
> of folders and files in the project (just like the managed make creates
> files and folders in the release directory). This works fine in a local
> project.
>
> But when I am working on a clearcase project, things are a bit different.
> I have the option "Prompt for checkout on resource change" selected in the
> team clearcase menu. Now when I select my menu item on a clearcase
> project, it prompts one-by-one for checkout of every single file and
> folder that I generate during the action processing. I want it to promt me
> only once for the whole group of files and folders (just like CDT managed
> make does for the release folder and all its components).
>
> I know its not strcitly a CDT question, but developers of managed make
> should be able to answer this most quickly.
>
> Thanks
>
|
|
|
Powered by
FUDForum. Page generated in 0.03445 seconds