Hi, Kevin.
There's nothing for this is SimpleInterface, but it is a realtively easy thing
to get.
Unfortunately, the comment is stored separately in SJ from the File info, so
you'll have to
retrieve each comment using a separate request to the server.
You can get the comment of a version by calling viewVersionComment() in
CommandCentral. The method
call should look like this:
CommandCentral.getInstance().viewVersionComment(versionUniqueID);
versionUniqueID should be the unique id of the NodeInfo object representing the
version you want
the comment for.
Give this a try and let me know if it works out for you.
Thanks.
--Rob
PS: getDescription returns the description for the file as a whole. This is set
when the file is
added, so it's usually the same as the first version comment. But the
description can be modified
at a later time.
--- [EMAIL PROTECTED] wrote:
> Rob,
>
>
> I'm using the SourceJammer API. I'm trying to to get a
> comment (or description) out of a File class for each
> version of that file. Using the getDescription method I
> can only get the comment for the very first version. How
> can I get comments for the 2nd, 3rd, (etc) versions of a
> source file?
> Thanks
>
> Kevin Cloudt
> 770-806-2648
> [EMAIL PROTECTED]
>
>
>
__________________________________
Do you Yahoo!?
Make Yahoo! your home page
http://www.yahoo.com/r/hs
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
SourceJammer-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sourcejammer-devel