It's all about the answers!

Ask a question

How do I get the component a package belongs to ?


Christophe Elek (2.9k13021) | asked Apr 27 '09, 8:25 a.m.
JAZZ DEVELOPER
What do people us to find the component a class or a package belongs to ?
How do I find that
com.ibm.team.repository.service.internal.permission.PermissionService is part of the repository component.

Reminder, the goal for me is not to know where com.ibm.team.repository.service.internal.permission.PermissionService is defined, I know it is repository

The goal is to undersstand how one would find that out :)


com.ibm.team.repository.common.PermissionDeniedException: The user "<userid>" is not authorized to perform the operation. The "JazzAdmins" role is required to perform this operation.<br>
at com.ibm.team.repository.service.internal.permission.PermissionService.assertPermissionUsingJ2EERoles(PermissionService.java:116)<br>
at com.ibm.team.repository.service.internal.permission.PermissionService.assertPermissionWithMessage(PermissionService.java:60)<br>
at com.ibm.team.repository.service.internal.permission.PermissionService.assertPermission(PermissionService.java:52)<br>
at sun.reflect.GeneratedMethodAccessor92.invoke(Unknown Source)<br>
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br>
at java.lang.reflect.Method.invoke(Method.java:618)<br>

One answer



permanent link
Geoffrey Clemm (30.1k33035) | answered Apr 27 '09, 8:48 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
One way is request the "show in Package Explorer" operation on the class
or package. The package explorer annotates each package with the Jazz
component it is in.

Cheers,
Geoff

celek wrote:
What do people us to find the component a class or a package belongs
to ?
How do I find that
com.ibm.team.repository.service.internal.permission.PermissionService
is part of the repository component.

Reminder, the goal for me is not to know where
com.ibm.team.repository.service.internal.permission.PermissionService
is defined, I know it is repository

The goal is to undersstand how one would find that out :)


com.ibm.team.repository.common.PermissionDeniedException: The user
"<userid>" is not authorized to perform the
operation. The "JazzAdmins" role is required to perform
this operation.<br
at
com.ibm.team.repository.service.internal.permission.PermissionService.assertPermissionUsingJ2EERoles(PermissionService.java:116)<br
at
com.ibm.team.repository.service.internal.permission.PermissionService.assertPermissionWithMessage(PermissionService.java:60)<br
at
com.ibm.team.repository.service.internal.permission.PermissionService.assertPermission(PermissionService.java:52)<br
at sun.reflect.GeneratedMethodAccessor92.invoke(Unknown
Source)<br
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br
at java.lang.reflect.Method.invoke(Method.java:618)<br

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.