Getting IReportManager gives an exception
hello,
i want to programmatically retrieve reports. In RTC API i found that IReportmanager will be a good start. So i try to get this object:
IReportManager reports = (IReportManager) repo.getClientLibrary(IReportManager.class);
and i have exception:
There is no com.ibm.team.datawarehouse package in API. So how can i do that?
Regards,
Pawel.
i want to programmatically retrieve reports. In RTC API i found that IReportmanager will be a good start. So i try to get this object:
IReportManager reports = (IReportManager) repo.getClientLibrary(IReportManager.class);
and i have exception:
Exception in thread "main" java.lang.NoClassDefFoundError: com.ibm.team.datawarehouse.common.internal.DatawarehousePackage
at com.ibm.team.reports.client.internal.ReportManager.<init>(ReportManager.java:74)
at com.ibm.team.reports.client.internal.ReportsClientLibraryFactory.createClientLibrary(ReportsClientLibraryFactory.java:18)
at com.ibm.team.repository.client.internal.ClientLibraryFactoryRegistry.getClientLibrary(ClientLibraryFactoryRegistry.java:89)
at com.ibm.team.repository.client.internal.TeamRepository.getClientLibrary(TeamRepository.java:460)
There is no com.ibm.team.datawarehouse package in API. So how can i do that?
Regards,
Pawel.
4 answers
On 3/15/2010 4:07 PM, dolecinski wrote:
What does your setup look like? The client should include the data
warehouse plug-ins.
james
RTC Reports Team Lead
hello,
i want to programmatically retrieve reports. In RTC API i found that
IReportmanager will be a good start. So i try to get this object:
IReportManager reports = (IReportManager)
repo.getClientLibrary(IReportManager.class);
and i have exception:
Exception in thread "main"
java.lang.NoClassDefFoundError:
com.ibm.team.datawarehouse.common.internal.DatawarehousePackage
at
com.ibm.team.reports.client.internal.ReportManager.<init>(ReportManager.java:74)
at
com.ibm.team.reports.client.internal.ReportsClientLibraryFactory.createClientLibrary(ReportsClientLibraryFactory.java:18)
at
com.ibm.team.repository.client.internal.ClientLibraryFactoryRegistry.getClientLibrary(ClientLibraryFactoryRegistry.java:89)
at
com.ibm.team.repository.client.internal.TeamRepository.getClientLibrary(TeamRepository.java:460)
There is no com.ibm.team.datawarehouse package in API. So how can i do
that?
Regards,
Pawel.
What does your setup look like? The client should include the data
warehouse plug-ins.
james
RTC Reports Team Lead
What does your setup look like? The client should include the data
warehouse plug-ins.
james
RTC Reports Team Lead
Hi,
i have just a RTC Plain Java Libs downloaded from jazz.net and i'm writting standalone swing application.
Now i have this data warehouse jars from SDK sources. But in Plain java libs this plug-in isn't on default.
On 3/20/2010 7:52 PM, dolecinski wrote:
This looks like a packaging error. If you manually copy the jars to your
plain java libs location, does that help?
james
RTC Reports Team Lead
jmoodywrote:
What does your setup look like? The client should include the data
warehouse plug-ins.
james
RTC Reports Team Lead
Hi,
i have just a RTC Plain Java Libs downloaded from jazz.net and i'm
writting standalone swing application.
Now i have this data warehouse jars from SDK sources. But in Plain
java libs this plug-in isn't on default.
This looks like a packaging error. If you manually copy the jars to your
plain java libs location, does that help?
james
RTC Reports Team Lead