Print Thread
Project Files in different drives
#61513 04/27/20 01:35 PM
Joined: Sep 2004
Posts: 476
Munich, Germany
Member
OP Offline
Member
Joined: Sep 2004
Posts: 476
Munich, Germany
I work on a PC with PL/SQL Developer Project Files (*.prj & *.dsk) stored in a folder on C drive. On a VM (virtual machine) I have the same in a folder named the same, but now on D drive, as C drive there is too small and should therefore only be used for installations.

I guess currently there is no easy way to work with the same project files on both the PC and the VM, as for the VM the project file content would have to be replaced ("C:\" -> "D:\") and vice versa, or is there any easier method?

If not I would like that the main drive and main folder for project files should be easily changable within the preferences of each installation and the path in *.prj & *.dsk should then be rather stored relative to that main path. This would make it a lot easier to adapt to project files stored in a different main path in a different installation.


Regards,
Berny
Re: Project Files in different drives
Bernhard S #61514 04/27/20 02:07 PM
Joined: Aug 1999
Posts: 22,206
Member
Offline
Member
Joined: Aug 1999
Posts: 22,206
If you store the project .prj file and the source files in the same directory and/or subdirectories, all file references will be relative within the .prj file. This way the project directory (.prj + its files) is portable between different locations and drives.


Marco Kalter
Allround Automations
Re: Project Files in different drives
Marco Kalter #61515 04/27/20 03:43 PM
Joined: Sep 2004
Posts: 476
Munich, Germany
Member
OP Offline
Member
Joined: Sep 2004
Posts: 476
Munich, Germany
This works well for the project .prj file, but not for the .dsk file. In there the whole old path including the drive still appears in sections [Desktop] and [MRU]. Therefore when you open the same project in an environment using a different drive for the project and all project files, no file gets opened and you have to first open them all manually again using the right connection again as well.

I like to keep project files (*.prj + *.dsk) also in a separate folder within the same main root path altogether. It should still be possible to have projects stored in a portable way like this, avoiding absolute paths including drive letters.

Re: Project Files in different drives
Bernhard S #61557 05/04/20 09:25 AM
Joined: Sep 2004
Posts: 476
Munich, Germany
Member
OP Offline
Member
Joined: Sep 2004
Posts: 476
Munich, Germany
Hi Marco, could you please add it as an enhancement request to make both, project and desktop files, truly portable and not just the prj files in case when all scripts are in same folder or underneath. Thank you.


Regards,
Berny
Re: Project Files in different drives
Bernhard S #61558 05/04/20 10:37 AM
Joined: Aug 1999
Posts: 22,206
Member
Offline
Member
Joined: Aug 1999
Posts: 22,206
I have added this to the list of enhancement requests.


Marco Kalter
Allround Automations
Re: Project Files in different drives
Marco Kalter #61561 05/04/20 03:05 PM
Joined: Sep 2004
Posts: 476
Munich, Germany
Member
OP Offline
Member
Joined: Sep 2004
Posts: 476
Munich, Germany
Another point affecting portability is the file browser setting.
See thread https://forums.allroundautomations....showflat&Main=15322&Number=60344
There should be a portable way for that as well.


Regards,
Berny
Re: Project Files in different drives
Bernhard S #61566 05/05/20 08:14 AM
Joined: Aug 1999
Posts: 22,206
Member
Offline
Member
Joined: Aug 1999
Posts: 22,206
I have added this to the list of enhancement requests as well.


Marco Kalter
Allround Automations

Moderated by  support 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.1.33 Page Time: 0.060s Queries: 15 (0.028s) Memory: 2.5233 MB (Peak: 3.0395 MB) Data Comp: Off Server Time: 2024-04-27 17:17:24 UTC
Valid HTML 5 and Valid CSS