Page 1 of 1

How to duplicate workspaces by copying workspace folder?

PostPosted: Mon Apr 23, 2018 8:58 pm
by pbdavis
I'm trying to duplicate a Servoy web application from one computer to another. I copied the Servoy (8.1.2) folder and the workspace folder via zip files. Then placed them on the new computer. Opened the Servoy developer and pointed to the new location of the workspace. When the developer opens none of the solutions appear. Any help on how to do this would be greatly appreciated. BTW, I cannot duplicate the databases. I just want this duplicate so I can start examining the solutions forms and code that make up the full web application. At this time, I can't log into the current Servoy developer and do any exports of solutions.

Re: How to duplicate workspaces by copying workspace folder?

PostPosted: Tue Apr 24, 2018 4:59 am
by chaitanyas
Hi,

You can export the solution as .servoy file and import to the new machine and regarding database also, take the backup of the database and restore the same at new machine. Best solution is, go for SVN or GIT and sync your changes, so that, you can just checkout the solutions from thew new developer at new PC. Hope it helps.

Re: How to duplicate workspaces by copying workspace folder?

PostPosted: Tue Apr 24, 2018 7:14 am
by ROCLASI
Hi,

What is probably happening is that the workspace meta data is not setup correctly on the new system (probably path related stuff).
What you can try is to update the workspace meta data by 'importing' the solutions. I put those between quotes because you only update this meta data.
Go to the menubar > file > Import. This will open a dialog, select 'Existing Projects into Workspace' under the General node.
import 1.png
import 1.png (51.72 KiB) Viewed 580 times

This will open another dialog where under 'Select root directory' you point it to your existing workspace. This should show all the projects in the projects list.
Now make sure the 'Copy projects into workspace' is not checked as you only want to update the meta data.
import 2.png
import 2.png (65.72 KiB) Viewed 580 times

Hit the Finish button and your solutions should show up in the Solution Explorer.

Hope this helps.

Re: How to duplicate workspaces by copying workspace folder?

PostPosted: Wed May 02, 2018 4:17 pm
by pbdavis
Thanks Robert. That worked. Created a new workspace and did the suggested Import Eclipse projects.