Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 2 of 2 total
Thread File order oddity
Mon, Mar 14 2016 5:57 AMPermanent Link

Matthew Jones

Not sure there is anything really to do here, but it confused me for a
while, so I am mentioning it to help others (and me in the future when
I forget about it!).

I have a project that has been solid for a while, but it wouldn't
compile today, complaining about a missing property in TParser. Thing
is, the property is in a custom version of the webcore unit, which is
referenced in the compilation paths for the project. So why didn't it
find it? Indeed, it had just compiled in the command line version. And
it compiles okay in another project! So for some reason, the IDE was
not finding my custom version.

And then I saw that I had webcore open as one of the files in the IDE.
The master one, not mine.

So the IDE compiler is looking for the file to compile and seeing a
match in the open files, and using that, not noting that it isn't the
first in the path and therefore not the one that should be in use.
Close the file, and my project compiles again.

Like I say, I'm not sure this is a bad thing - why would you have the
wrong one open? It would be painful to have to search the path every
time when the file is just there for goodness sake! On the other hand,
I might have a file open and be editing it, and then when it is closed
the project completely ignores the changes. So I'd load it up again,
and it would see the changes again. Close, gone!

Perhaps though, some sort of warning might be possible, if efficient.
Not the biggest thing to worry about, which is why just being aware of
this might be enough, and hence my post.

--

Matthew Jones
Mon, Mar 14 2016 8:30 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Matthew,

<< Perhaps though, some sort of warning might be possible, if efficient. Not the biggest thing to worry about, which is why just being aware of  this might be enough, and hence my post. >>

I'll check this out and see what the issue is.

Tim Young
Elevate Software
www.elevatesoft.com
Image