RTC Extending, Runnable Jar (getClientLibrary returns null)
Accepted answer
Comments
I found the jar but and added it "as external jar" but it still doesn't work
This is not API related, these are simple Java questions. Adding it as an external JAR does only make sense in Eclipse. Outside of Eclipse the JAR file needs to be available in the classpath. Consider to search Stackoverflow.com for basic Java Questions.
Thank you :)
One other answer
final IResourcePlanningClient resourcePlanning = (IResourcePlanningClient) teamRepository.getClientLibrary(IResourcePlanningClient.class);
IResourcePlanning.class does not exist or is no client library.
Comments
In the code i have here, this works. Make sure to test that in debug mode. I have also answered on your other question with respect to the jar file.
I haven't changed your code, it is as you wrote in the program, I just described it badly in the question.
From this jar file I can access ITeamBuildClient but not IResourcePlanningClient
ITeamBuildClient buildClient = (ITeamBuildClient) sec.getRepository().getClientLibrary(ITeamBuildClient.class); // works IResourcePlanningClient plan = (IResourcePlanningClient) sec.getRepository().getClientLibrary(IResourcePlanningClient.class); // returns null
As an administrator and moderator I can decide to remove buttons from other people posts or to ban users that create buttons and remove them from the forum entirely 8).
But what, if I need a button or a progess bar to express my problems with the java basics? ;)
You've been warned 8P. You too!