On Saturday 05 September 2015 13:15:32 Graeme Geldenhuys wrote:
> On 2015-09-05 07:41, Martin Schreiber wrote:
> > I'll try to change 'Project'-'New'-'From Program' to use the current
> > project settings.
>
> OK thanks. But the reason I use an "exported" project settings file is
> because that it is a "clean" project .prj file - without any session
> information.

Then either open a clean template project before 'New'-'From program' or use 
the 'New from template' approach.

> That way I can get around the (probably only downside of 
> MSEide) issue that session information is stored inside the same file as
> project settings. I say "issue" because sharing that .prj file with
> others mean that there will be lots of path information (eg: open files
> etc) that isn't valid, or not desired (debug info) on the other
> developers system.
>
> So what I tend to do to overcome this...kind-of, is to not check the
> project.prj file into Git, but rather an experted version named
> project_clean.prj. The other developers then need to open
> project_clean.prj and immediately do a Project - Save as, and call it
> project.prj.  A bit of a kludge. But I don't want to commit my session
> info like open files, bookmarks, breakpoints, watches into a Git
> repository.
>
I commit the clean "theproject.prj" into git and do 'Project'-'Save 
as'-"mse_theproject.prj" immediately.
Then 'Project'-'Options'-'Macros', 
add 'Name'="projectname", 'Value'="theproject". So "theproject.prj" stays 
clean and will only be opened and modified if directories, compiler options 
or defines need to be changed.

Martin

------------------------------------------------------------------------------
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to