Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » RCP Testing Tool » Load all projects from a folder.(Load all projects from a folder.)
Load all projects from a folder. [message #1783528] Tue, 13 March 2018 19:40 Go to next message
noor shiblee is currently offline noor shibleeFriend
Messages: 5
Registered: November 2017
Junior Member

I am facing a problem while loading some projects one by one.
My target is to load 10 folders(10 project) using rcptt from another folder.


Folder "Project-dest" contains 10 projects.Target is to load all project one by one.

I am using the below code:

proc "load-project-from-workspace" {
loop [val count 0] {
if [$count | lt 10] {
//script to load the project.
set-dialog-result Folder "/home/test-project/test/Project-dest/" $count

//target is loading /home/test-project/test/Project-dest/proj[1]
//script to do some other stuff.
recur [$count | plus 1]

But the problem is it loads all 10 project at a time instead of loading one by one.

Need help related this things.


[Updated on: Tue, 13 March 2018 19:42]

Report message to a moderator

Re: Load all projects from a folder. [message #1791334 is a reply to message #1783528] Thu, 28 June 2018 08:07 Go to previous message
Viktoria Dlugopolskaya is currently offline Viktoria DlugopolskayaFriend
Messages: 124
Registered: March 2017
Senior Member
Hi Noor,

Please verify that you specify a location to one project at 'set-dialog-result' command
Maybe a correct line will be:
set-dialog-result Folder [concat "/home/test-project/test/Project-dest/proj[" $count "]"]

[Updated on: Thu, 28 June 2018 08:08]

Report message to a moderator

Previous Topic:How to get the length of a list?
Next Topic:Can't create Run Configuration for testing RAP application
Goto Forum:

Current Time: Tue Oct 23 14:07:19 GMT 2018

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

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

Back to the top