It's all about the answers!

Ask a question

Where can I find the com.ibm.rational.rpe.common library?


Ruben Cabello de Galdo (1313) | asked Mar 31 '17, 9:07 a.m.
retagged Mar 31 '17, 2:05 p.m. by Ken Tessier (84117)

 Hello everybody,


I am trying to set up working the Rational Publishing Engine Java API under a Rational Team Concert project that generates reports from Rational DOORS Next Generation.


and I want now to call methods included in the com.ibm.rational.rpe.common package, like AppUtils.setProductHome, or creating new Credential from user_ID and user_password.

The problem is, after importing the JAR files from RPE_HOME/lib to RTC I am able to see just the following libraries (also updated the classpath of the project): 

  • com.ibm.rational.rpe.api.
  • com.ibm.rational.rpe.api.docgen.
  • com.ibm.rational.rpe.api.docgen.job.
  • com.ibm.rational.rpe.doors.
  • com.ibm.rational.rpe.doors.resources.
  • com.ibm.rational.rpe.engine.
  • com.ibm.rational.rpe.engine.core.
  • com.ibm.rational.rpe.examples.
  • com.ibm.rational.rpe.examples.docgen.*

The question is: Why am I not able to see the com.ibm.rational.rpe.common package utilities?
Am I missing something?

Some useful information: 
  • OS: Windows 10 Enterprise
  • RPE version is 2.1.1
  • RPE_HOME is set to C:\Program Files (x86)\IBM\Rational\Publishing Engine
  • Copied the JAR files present in RPE_HOME\lib to RTC project and updated classpath
  • rcl_telelogic.dll and librcl_telelogic.so were also copied into project root folder and added to build path
  • JRE version is 1.8.0_111, JDK version is 1.8.0_111
  • RPE_HOME\config and RPE_HOME\utils exist and contain correct files
  • RTC version is 6.0.2
I had a look into the SampleDocgen example included in RPE_HOME\lib\api\examples and thought I should be able to use the same imported libraries as there after getting the JAR files, am I right?
 
Hope someone can help, thanks in advance!

Accepted answer


permanent link
Subramanya Prasad Pilar (4.6k16) | answered Mar 31 '17, 1:44 p.m.

Did you check in C:\Program Files (x86)\IBM\IMShared\plugins ?

Ruben Cabello de Galdo selected this answer as the correct answer

Comments
Ruben Cabello de Galdo commented Apr 03 '17, 4:19 a.m.

 That was the solution, thank you very much for your help!

One other answer



permanent link
Kumaraswamy Gowda (39115) | answered Mar 31 '17, 9:56 p.m.

Hi Ruben,

You should find
- most of the libraries under RPE_HOME\lib.
- some missing or updated libraries under "C:\Program Files (x86)\IBM\IMShared\plugins" like com.ibm.rational.rrdg.core_2.1.1.v20161114_0525.jar.
- examples under RPE_HOME\lib\api\examples

See example here https://rpeactual.com/2013/11/21/rpe-java-api-example-built-for-1-2-1/

Regards,
Kumar


Comments
Ruben Cabello de Galdo commented Apr 03 '17, 4:20 a.m.

Correct, I found all the lacking libraries in that folder.

Thanks for your help!


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.