Skip to main content



      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 15:40 Go to next message
Eclipse UserFriend
Hello,

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.

Project-dest
|____________proj1
|____________proj2
|____________proj3
|____________proj4
|____________proj5
|____________proj6

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.

Thanks

[Updated on: Tue, 13 March 2018 15:42] by Moderator

Re: Load all projects from a folder. [message #1791334 is a reply to message #1783528] Thu, 28 June 2018 04:07 Go to previous message
Eclipse UserFriend
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 04:08] by Moderator

Previous Topic:How to get the length of a list?
Next Topic:get Background color and Foreground color
Goto Forum:
  


Current Time: Wed Jul 23 22:27:00 EDT 2025

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

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

Back to the top