Silverfrost Forums

Welcome to our forums

Moving Plato project files

6 Jan 2010 10:29 #5652

In some cases (like reoganising my projects) I would like to copy the project to a new directory. The files that belongs to a project are kept in: 1.) project_file.ftn95p and 2.) project_file.ini.

However, the paths in .ini files are absolute which causes a source file to become listed under the **Include files ** in the Plato project tree. Is there perhaps some way to use reletive paths instead?

6 Jan 2010 10:39 #5653

In the Tools menu and the Options dialog under General there is an option to 'Use relative path for project files'.

You will need to select this before moving the project.

If this does not work then you can edit your project_file.ftn95p file manually so that the file entries have the form...

'Files'
{
    'main.f90'
    {
    'ProjRelPath' = 'T'
    'CustomCompilerOptions' = '0'
    'CustomSwitches' = ''
    'ExcludeFromBuild' = 'F'
    'FileGUID' = ''
    }
}
6 Jan 2010 11:01 #5654

I checked the project_file.ftn95p and it was actually already in the suggested form.

In the Build menu I selected the Rebuild Dependencies and the project tree in the project explorer was updated as expected. This allows me to reorganise my project without making new projects.

Please login to reply.