Java API for listing/retrieving files in Jazz SCM repository
I need to write some standalone Java code for scanning the contents of files in a Jazz repository. Is there a simple Java library somewhere that allows access to files in a Jazz SCM repository? A simple OSGI plugin is fine, as long as it doesn't prereq any eclipse plugins.
I could just write a wrapper around the SCM CLI, but I'd like a solution that doesn't include the overhead of starting up a JVM for every command I issue. In particular, I need to be able to...
- List all components in a workspace. - List all files in a component or subdirectory (preferably one level at a time...not the entire tree, and also preferably including various meta-data such as last-modified timestamps and file sizes). - Retrieve the contents of a single file (preferrably as an input stream, not just copied to the local file system). - Retrieve the contents of all files in an entire component or subdirectory. Any suggestions? |
3 answers
I need to write some standalone Java code for scanning the contents of files in a Jazz repository. Is there a simple Java library somewhere that allows access to files in a Jazz SCM repository? A simple OSGI plugin is fine, as long as it doesn't prereq any eclipse plugins. Any suggestions? hello jbognar .. i just saw ur query even i am facing the same issue ...i am using a scm load command to load a workspace but i need some code in java api to load a workspace or component for me ...are u verse with any such api with regards Neerav |
Hi Neerav,
No, I have not received an answer to my question yet. Therefore, my assumption is that such a Java API does not exist. I have postponed my work until a suitable solution becomes available. |
Hi Neerav, For question number1 (find workspaces)
This should be the first brick... |
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.