It's all about the answers!

Ask a question

Only load selected folders from Component


Shai Shapira (4674) | asked Aug 11 '10, 6:01 a.m.
Hi all,
Looking for a way to load a component (it is an eclipse project with a .project file in its root), but only a selected (specific) set of folders within it.
i.e.
\Comp
\Comp\.project
\Comp\src1
\Comp\src2
\Comp\src3

Allow the user to load the \Comp\.project project, but only one selected folder like \Comp\src1.
Want to avoid loading the other src* folders.

Thanks.,

2 answers



permanent link
Tim Mok (6.6k38) | answered Aug 12 '10, 9:04 a.m.
JAZZ DEVELOPER
Hi all,
Looking for a way to load a component (it is an eclipse project with a .project file in its root), but only a selected (specific) set of folders within it.
i.e.
\Comp
\Comp\.project
\Comp\src1
\Comp\src2
\Comp\src3

Allow the user to load the \Comp\.project project, but only one selected folder like \Comp\src1.
Want to avoid loading the other src* folders.

Thanks.,


When you invoke Load on the component, I think you want to use "Browse the components..." to have finer control over loading. You can try the other options in there if this isn't how you want to load the files.

permanent link
Michael Valenta (3.7k3) | answered Aug 12 '10, 10:19 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
This is not directly supported by the client but can be achieved by
creating the project in Eclipse and then perform a Load As from the
Repository Files view on the .project file and the src1 folder.

Michael

shaishap wrote:
Hi all,
Looking for a way to load a component (it is an eclipse project with a
project file in its root), but only a selected (specific) set of
folders within it.
i.e.
\Comp
\Comp\.project
\Comp\src1
\Comp\src2
\Comp\src3

Allow the user to load the \Comp\.project project, but only one
selected folder like \Comp\src1.
Want to avoid loading the other src* folders.

Thanks.,

Your answer


Register or to post 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.