It's all about the answers!

Ask a question

Load repository workspace: how to find (using Java API) whether component's folders were loaded into a separate folder or not?


Gidi Gal (961530) | asked Jul 17 '16, 8:09 a.m.
edited Jul 17 '16, 8:09 a.m.
Hello to the forum members,

I have some code that calculates a relative path of versionable element. However, this code does not distinct between the following two scenarios:
1)  versionable is part of a component loaded into a separate folder carrying the component's name.
2) versionable is part of a component which all its folders were loaded but not the component folder itself.

These two scenarios are possible in the "Repository folders to load" page during the creation of a new local workspace.

How do I distinct using Java API between the two scenarios ?

Thanks,
Gidi

Be the first one to answer this question!


Register or to post your answer.