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.
精彩评论