forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Moving Plato project files

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Plato
View previous topic :: View next topic  
Author Message
jjgermis



Joined: 21 Jun 2006
Posts: 404
Location: Nürnberg, Germany

PostPosted: Wed Jan 06, 2010 11:29 am    Post subject: Moving Plato project files Reply with quote

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?
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7916
Location: Salford, UK

PostPosted: Wed Jan 06, 2010 11:39 am    Post subject: Reply with quote

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...

Code:
"Files"
{
    "main.f90"
    {
    "ProjRelPath" = "T"
    "CustomCompilerOptions" = "0"
    "CustomSwitches" = ""
    "ExcludeFromBuild" = "F"
    "FileGUID" = ""
    }
}
Back to top
View user's profile Send private message AIM Address
jjgermis



Joined: 21 Jun 2006
Posts: 404
Location: Nürnberg, Germany

PostPosted: Wed Jan 06, 2010 12:01 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Plato All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group