File not indexed because it was not built [message #147870] |
Fri, 01 July 2005 00:08 |
Patrick Turley Messages: 43 Registered: July 2009 |
Member |
|
|
I am checking out a source tree into a directory underneath my workspace
directory. Then, I create a new Eclipse project with a name that just
happens to be the name of the top directory of the source tree.
At first, this seems to work fine. When I create the project, Eclipse
sees the source tree and busily sets about indexing it. This is where I
run into problems.
The project I create is a Standard Make C Project (NOT Managed). We
don't actually use make to build the project, and I don't really care to
have Eclipse building the project - I'm perfectly happy to do that by
hand. I really just want Eclipse for editing and indexing so I can
easily navigate the code.
So, as I said, Eclipse sees the source tree there and starts trying to
index it. But the Problems view quickly fills up with information
messages that say "File not indexed because it was not built." Well, of
*course* it's not being built - I don't *want* it to be built. But I
*do* want it to be indexed.
Please, someone with insight tell me what I'm doing wrong here.
BTW, I'm running under Windows XP, using MSYS and MinGW. I'm using the
"make" out of the MinGW directory.
|
|
|
Re: File not indexed because it was not built [message #147878 is a reply to message #147870] |
Fri, 01 July 2005 00:26 |
Patrick Turley Messages: 43 Registered: July 2009 |
Member |
|
|
Patrick Turley wrote:
> I am checking out a source tree into a directory underneath my workspace
> directory. Then, I create a new Eclipse project with a name that just
> happens to be the name of the top directory of the source tree.
>
> At first, this seems to work fine. When I create the project, Eclipse
> sees the source tree and busily sets about indexing it. This is where I
> run into problems.
>
> The project I create is a Standard Make C Project (NOT Managed). We
> don't actually use make to build the project, and I don't really care to
> have Eclipse building the project - I'm perfectly happy to do that by
> hand. I really just want Eclipse for editing and indexing so I can
> easily navigate the code.
>
> So, as I said, Eclipse sees the source tree there and starts trying to
> index it. But the Problems view quickly fills up with information
> messages that say "File not indexed because it was not built." Well, of
> *course* it's not being built - I don't *want* it to be built. But I
> *do* want it to be indexed.
>
> Please, someone with insight tell me what I'm doing wrong here.
>
> BTW, I'm running under Windows XP, using MSYS and MinGW. I'm using the
> "make" out of the MinGW directory.
And another potentially interesting fact...
The first item in my Problems view says:
Error launching 'cygpath' command
It's almost as if Eclipse suspects that I'm running Cygwin and is trying
to do something good - but, in fact, I'm running MSYS, which is related
to Cygwin but substantially different. Does anyone know if there's any
stuff in Eclipse that is Cygwin-aware?
|
|
|
Powered by
FUDForum. Page generated in 0.02717 seconds