What do you want to fix with that?<div>To me it makes perfect sense to have the relative source path, actually I think this should move to the project file and with absolute project files that's not possible.</div><div>
<br><div class="gmail_quote">On Fri, Jul 9, 2010 at 9:35 PM, Milian Wolff <span dir="ltr"><<a href="mailto:mail@milianw.de">mail@milianw.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Valentin Pavlyuchenko, 03.07.2010:<br>
> I have a patch that allows loading relative paths and does saving<br>
> paths as relative (if inside of project dir).<br>
> But there are few questions:<br>
><br>
> 1. Should paths be converted when the project with absolute paths is<br>
> opened? I think that should.<br>
<br>
Sure, why not. That should not be much overhead and could be disabled later<br>
on.<br>
<br>
> 2. Another thing: if we will try to open projects with relative paths<br>
> in an older KDevelop version, it will cause problems.<br>
> I propose to change parameter names in kdev4 file (from BuildDirs to<br>
> RelativeBuildDirs and from CurrentBuildDir to RelativeBuildDir).<br>
> Old file format will be converted on opening.<br>
><br>
> Is it ok?<br>
> If it is - I will create a merge request.<br>
<br>
Sounds fine with me.<br>
<br>
> 2010/6/26 Andreas Pakulat <<a href="mailto:apaku@gmx.de">apaku@gmx.de</a>>:<br>
> > On 26.06.10 11:15:58, Valentin Pavlyuchenko wrote:<br>
> >> Thanks for an answer!<br>
> >><br>
> >> Will it be ok if I write a patch that will write relative paths in the<br>
> >> following way: "$PROJECT_ROOT/blah/blah" (with appropriate<br>
> >> substitution when reading)?<br>
> ><br>
> > Sure, feel free to do so, please use <a href="http://gitorious.org" target="_blank">gitorious.org</a> Merge Requests for<br>
> > submitting the patch. Unfortunately reading/writing is scattered all<br>
> > over the codebase.<br>
> ><br>
> > Actually I think there's a second report related to this that suggests<br>
> > to make the paths relative to the project.kdev4 file (that is currently<br>
> > created inside the project source directory). That allows for moving the<br>
> > .kdev4 into a separate dir at a later point...<br>
<font color="#888888"><br>
<br>
--<br>
Milian Wolff<br>
<a href="mailto:mail@milianw.de">mail@milianw.de</a><br>
<a href="http://milianw.de" target="_blank">http://milianw.de</a><br>
</font><br>--<br>
KDevelop-devel mailing list<br>
<a href="mailto:KDevelop-devel@kdevelop.org">KDevelop-devel@kdevelop.org</a><br>
<a href="https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel" target="_blank">https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel</a><br>
<br></blockquote></div><br></div>