Skip to main content



      Home
Home » Eclipse Projects » RCP Testing Tool » How to use a already existing workspace
How to use a already existing workspace [message #1705063] Tue, 11 August 2015 13:33 Go to next message
Eclipse UserFriend
Hi,

Everytime we run a RCPTT using Maven, it creates an workspace for AUT in the name of aut-<some name>. For every clean run, this directory is created automatically.

But, I have an workspace with some predefined data in it. In my application the workspace context is not working due to an internal bug in my AUT. Hence instead of importing data from an external folder which workspace context does, is there a way to use my predefined workspace , instead of creating one.

For example, if my AUT workspace is aut-appname which is created every time, I want a way to use the same workspace which could be in some fixed location for every time.

My motive of doing this, is to temporarily escape from this issue: https://www.eclipse.org/forums/index.php/t/1068641/ and run my CI with predefined data in my aut workspace. I am doing this as Workspace Context is not communicating with my AUT properly, due to bug in my AUT, which we will solve later. For now, I just want tests to run as CI in my Jenkins.

Kindly let me know.

Thank you
Jeevan
Re: How to use a already existing workspace [message #1705092 is a reply to message #1705063] Wed, 12 August 2015 02:18 Go to previous messageGo to next message
Eclipse UserFriend
Hi Jeevan,

Persistent workspace
By default AUT's workspace is recreated each time AUT hangs and is forcefully restarted. This is done to prevent workspace corruption from blocking AUT startup (after test failures). If this is undesirable, use reuseExistingWorkspace option:

<aut>
...
<reuseExistingWorkspace>true</reuseExistingWorkspace>
</aut>

Kind regards,
Ulyana.
Re: How to use a already existing workspace [message #1705244 is a reply to message #1705092] Thu, 13 August 2015 05:21 Go to previous message
Eclipse UserFriend
Thanks Ulyana,

I have made it work using your tag. Before RCPTT Maven plugin starts, I have another maven plugin which copies content of an already predefined loaded workspace and into target/aut-ws

As we are using this tag you gave, it will always take the same workspace which is target/aut-ws

My question is, can I be confident in having the location as target/aut-ws as my aut's workspace while running mvn clean install every time?

Thank you
Jeevan
Previous Topic:Preset Variables in RCPTT
Next Topic:Can the test runner access test cases/suites in other projects or rcptt project?
Goto Forum:
  


Current Time: Sat Jun 14 20:57:26 EDT 2025

Powered by FUDForum. Page generated in 0.04822 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top