Automating RSA DM import from RTC
Hi,
I was trying to follow the article on https://jazz.net/library/article/718 , but when i try to import it gives me this error The provided ant script path "/u01/IBM/rtc_extraction_ant_script.xml" does not refer to a valid ant script this is what i did: 1- the ant script that i used is the same that is attached in the article which is https://jazz.net/library/content/articles/dm/3.0/rsa-dm-imports-rtc/attachment/rtc_extraction_ant_script.xml (i just modified the values) 2- i tried to validate the ant script using ant -f rtc_extraction_ant_script.xml -lib <RTC_BUILDTOOLKIT_INSTALL_ROOT>\buildsystem\buildtoolkit or java org.apache.tools.ant.launch.Launcher f <PATH_TO_THIS_SCRIPT>\rtc_extraction_ant_script.xml -lib <RTC_BUILDTOOLKIT_INSTALL_ROOT>\buildsystem\buildtoolkit but executing with ant gives me
and executing with java gives me classNotFoundException All I'm trying to do is integrating RSA DM with RTC and have a change management on RSA models. both product versions are 3.0.1.2 (RJF-I20111207-1350). the build system toolkit is also installed! Pleeeeease, please, tell me if the ant script is messed up and how to fix it or another way around. |
2 answers
Hi,
The sample file was created in windows; if you downloaded it, make sure the format (encoding) is fine and there is no mal-formatted characters such as line feeds. You may try to open an editor on the computer where the import engine is located and recreate the ant script. With regard to testing with java, it seems you had a classpath problem, make sure in the command line the value for lib is valid. E.g. -lib /user/buildsystem/buildtoolkit Hope it helps. |
thanks for the reply.
i fixed the problem. the problem was with the old java version. :P |
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.