How to duplicate workspaces by copying workspace folder?

Questions and answers for all installation-related topics for Servoy products

How to duplicate workspaces by copying workspace folder?

Postby pbdavis » Mon Apr 23, 2018 8:58 pm

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.
Paul Davis
Belcan Engineering Group, LLC
pbdavis
 
Posts: 18
Joined: Thu Nov 30, 2017 5:40 pm
Location: Florida, USA

Re: How to duplicate workspaces by copying workspace folder?

Postby chaitanyas » Tue Apr 24, 2018 4:59 am

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.
chaitanyas
 
Posts: 94
Joined: Tue Jul 26, 2011 8:28 am

Re: How to duplicate workspaces by copying workspace folder?

Postby ROCLASI » Tue Apr 24, 2018 7:14 am

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 618 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 618 times

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

Hope this helps.
Robert Ivens
ROCLASI Software Solutions / JBS Group, Partner
SAN Developer / Servoy Valued Professional / Servoy Certified Developer
Twitter: @roclasi / @servoyforge
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5285
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

Re: How to duplicate workspaces by copying workspace folder?

Postby pbdavis » Wed May 02, 2018 4:17 pm

Thanks Robert. That worked. Created a new workspace and did the suggested Import Eclipse projects.
Paul Davis
Belcan Engineering Group, LLC
pbdavis
 
Posts: 18
Joined: Thu Nov 30, 2017 5:40 pm
Location: Florida, USA


Return to Installation

Who is online

Users browsing this forum: No registered users and 2 guests

cron