How do I get package information from the RTC database ?
Hi all,
Does any of you know how to get package's information from the Rational Team Concert database? I'm developing queries to retrieve information from the RTC database for research purposes, but so far I have only found information about files in the VERSIONABLE_QUERY table. I want to get information about which packages these files belong, so any help in this sense would be appreciated.
Thanks,
Jean
One answer
I assume by "package information", you are talking about Java files, and want to know what Java package a file belongs to? If so, this is not something that is stored in the RTC SCM repository. In general, all the RTC SCM repository knows is that the objects are files ... it doesn't try to compute/store semantic information about those files. With the Enterprise Extensions to RTC, there are mechanisms provided to "scan" files for interesting information, and then index that information so that it can be queried ... but I don't think any of the built-in scanners look for Java Package information.
Comments
Evan Hughes
JAZZ DEVELOPER Jul 04 '12, 10:52 a.m.What do you mean by 'package' and 'information'?
If you're talking about a directory under a java src/ directory, it may be easiest to run a repository and query the data using the (internal) source control APIs. If you aren't dealing with many states, you could load the remote workspace and run operations on it that way.