开发者

How to programmatically build RFT project?

开发者 https://www.devze.com 2023-02-20 22:07 出处:网络
I use SVN manage my RFT test scripts. I need to repeatedly check out the code to a clean RFT workspace and build the whole project, for some special requ开发者_如何学编程irement. I want to automate th

I use SVN manage my RFT test scripts. I need to repeatedly check out the code to a clean RFT workspace and build the whole project, for some special requ开发者_如何学编程irement. I want to automate this process, which means I need to build the project without manually start RFT. Is there any command or API I can use?


I use APT to programmatically build a RFT project.

"C:\Program Files\IBM\SDP\eclipsec.exe" -nosplash -application org.eclipse.jdt.apt.core.aptBuild -data MYWORKSPACE

There is also an ANT task for this as well, but haven't got it working. Do a google search for APT or headless eclipse build.


This is a really silly way of doing it but it might work. Open two instances of RFT. You can do this by using a different workspace for each one. Create a script in one that automates the building of your project in the other. There you have it, an automated script to build the whole project.

0

精彩评论

暂无评论...
验证码 换一张
取 消