Skip to main content



      Home
Home » Newcomers » Newcomers » Editor shows errors not shown in problems
Editor shows errors not shown in problems [message #108344] Sat, 08 October 2005 12:34 Go to next message
Eclipse UserFriend
Originally posted by: rhaertel80.hotmail.com

I'm experience some weirdness I've never seen before. I have a project
"Aligner" that depends on project "Sphinx 4-1.0 Beta". I "Sphinx 4-1.0
Beta" to Aligner's build path, and also added it to the project dependencies
of the same. No errors show up in the "problems" tab nor in the package
explorer nor in the outline view. Yet when I open my source from Aligner in
an editor, the editor contains lots of errors, all stemming from the import
section. It claims that it can't find the import "edu.cmu.sphinx...", which
are definitely part of Sphinx 4-1.0 Beta. This happens no matter how many
times I "clean" and re-build, refresh the projects in package explorer, or
exit eclipse. Even with the editor open and all of the "errors" displayed
in the editor, no errors appear in the "problems", "package explorer", or
"outline view".
More Weirdness [message #108358 is a reply to message #108344] Sat, 08 October 2005 16:24 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rhaertel80.hotmail.com

Now something even more weird is happening. Within the project "Sphinx 4-1.0
Beta", the source code in package demo/** exhibits the previously described
behavior (the editor complains about not being able to find the imports from
edu/**, but no problems show up in the package explorer, problems view, or
outline view). So why would code in the same source folder as another be
invisible to it? Why is it only the editor that is complaining? Most of
all, how do I fix it???

In case it helps, here is some more info: the sole source folder of "Sphinx
4-1.0 Beta" is a linked folder. It has three inclusion patterns: com/**,
demo/**, and edu/cmu/sphinx/**. It also has 4 exclusion patterns,
ed/cmu/sphinx/linguistic/acoustic/tiedstate/trainer/**,
edu/cmu/sphinx/research/bushderby/**,
edu/cmu/sphinx/research/distributed/**, and edu/cmu/sphinx/trainer/**.

The output folder is Sphinx 4-1.0 Beta/bld/classes, where bld is a linked
folder and output folders are not allowed as source folders.
"Robbie Haertel" <rhaertel80@hotmail.com> wrote in message
news:di98b6$8u9$1@news.eclipse.org...
> I'm experience some weirdness I've never seen before. I have a project
> "Aligner" that depends on project "Sphinx 4-1.0 Beta". I "Sphinx 4-1.0
> Beta" to Aligner's build path, and also added it to the project
> dependencies of the same. No errors show up in the "problems" tab nor in
> the package explorer nor in the outline view. Yet when I open my source
> from Aligner in an editor, the editor contains lots of errors, all
> stemming from the import section. It claims that it can't find the import
> "edu.cmu.sphinx...", which are definitely part of Sphinx 4-1.0 Beta. This
> happens no matter how many times I "clean" and re-build, refresh the
> projects in package explorer, or exit eclipse. Even with the editor open
> and all of the "errors" displayed in the editor, no errors appear in the
> "problems", "package explorer", or "outline view".
>
Re: More Weirdness [message #108374 is a reply to message #108358] Sat, 08 October 2005 16:47 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rhaertel80.hotmail.com

I believe I fixed the problem. I changed the include filter from
edu/cmu/sphinx/** to edu/**. Can anyone explain to me why this was
necessary? All classes I import are from edu.cmu.sphinx.** (nothing below
that). Seems to me it should've worked.

Thanks in advance,
Robbie

"Robbie Haertel" <rhaertel80@hotmail.com> wrote in message
news:di99u5$aid$1@news.eclipse.org...
> Now something even more weird is happening. Within the project "Sphinx
> 4-1.0 Beta", the source code in package demo/** exhibits the previously
> described behavior (the editor complains about not being able to find the
> imports from edu/**, but no problems show up in the package explorer,
> problems view, or outline view). So why would code in the same source
> folder as another be invisible to it? Why is it only the editor that is
> complaining? Most of all, how do I fix it???
>
> In case it helps, here is some more info: the sole source folder of
> "Sphinx 4-1.0 Beta" is a linked folder. It has three inclusion patterns:
> com/**, demo/**, and edu/cmu/sphinx/**. It also has 4 exclusion patterns,
> ed/cmu/sphinx/linguistic/acoustic/tiedstate/trainer/**,
> edu/cmu/sphinx/research/bushderby/**,
> edu/cmu/sphinx/research/distributed/**, and edu/cmu/sphinx/trainer/**.
>
> The output folder is Sphinx 4-1.0 Beta/bld/classes, where bld is a linked
> folder and output folders are not allowed as source folders.
> "Robbie Haertel" <rhaertel80@hotmail.com> wrote in message
> news:di98b6$8u9$1@news.eclipse.org...
>> I'm experience some weirdness I've never seen before. I have a project
>> "Aligner" that depends on project "Sphinx 4-1.0 Beta". I "Sphinx 4-1.0
>> Beta" to Aligner's build path, and also added it to the project
>> dependencies of the same. No errors show up in the "problems" tab nor in
>> the package explorer nor in the outline view. Yet when I open my source
>> from Aligner in an editor, the editor contains lots of errors, all
>> stemming from the import section. It claims that it can't find the
>> import "edu.cmu.sphinx...", which are definitely part of Sphinx 4-1.0
>> Beta. This happens no matter how many times I "clean" and re-build,
>> refresh the projects in package explorer, or exit eclipse. Even with the
>> editor open and all of the "errors" displayed in the editor, no errors
>> appear in the "problems", "package explorer", or "outline view".
>>
>
>
Re: More Weirdness [message #108578 is a reply to message #108358] Mon, 10 October 2005 05:59 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: daniel.megert.eclipse.org

Robbie Haertel wrote:

>Now something even more weird is happening. Within the project "Sphinx 4-1.0
>Beta", the source code in package demo/** exhibits the previously described
>behavior (the editor complains about not being able to find the imports from
>edu/**, but no problems show up in the package explorer, problems view, or
>outline view). So why would code in the same source folder as another be
>invisible to it? Why is it only the editor that is complaining?
>
The editor reports problems based on the current source in the editor
while the Problems view and Package Explorer show the state after last
build. You can either enable auto-build or rebuild your project to make
the problems appear/go away.

Dani

> Most of
>all, how do I fix it???
>
>In case it helps, here is some more info: the sole source folder of "Sphinx
>4-1.0 Beta" is a linked folder. It has three inclusion patterns: com/**,
>demo/**, and edu/cmu/sphinx/**. It also has 4 exclusion patterns,
>ed/cmu/sphinx/linguistic/acoustic/tiedstate/trainer/**,
>edu/cmu/sphinx/research/bushderby/**,
>edu/cmu/sphinx/research/distributed/**, and edu/cmu/sphinx/trainer/**.
>
>The output folder is Sphinx 4-1.0 Beta/bld/classes, where bld is a linked
>folder and output folders are not allowed as source folders.
>"Robbie Haertel" <rhaertel80@hotmail.com> wrote in message
>news:di98b6$8u9$1@news.eclipse.org...
>
>
>>I'm experience some weirdness I've never seen before. I have a project
>>"Aligner" that depends on project "Sphinx 4-1.0 Beta". I "Sphinx 4-1.0
>>Beta" to Aligner's build path, and also added it to the project
>>dependencies of the same. No errors show up in the "problems" tab nor in
>>the package explorer nor in the outline view. Yet when I open my source
>>from Aligner in an editor, the editor contains lots of errors, all
>>stemming from the import section. It claims that it can't find the import
>>"edu.cmu.sphinx...", which are definitely part of Sphinx 4-1.0 Beta. This
>>happens no matter how many times I "clean" and re-build, refresh the
>>projects in package explorer, or exit eclipse. Even with the editor open
>>and all of the "errors" displayed in the editor, no errors appear in the
>>"problems", "package explorer", or "outline view".
>>
>>
>>
>
>
>
>
Re: More Weirdness [message #108592 is a reply to message #108578] Mon, 10 October 2005 06:56 Go to previous messageGo to next message
Eclipse UserFriend
Hello Daniel,

I also found another "weirdness" that you may encounter too.
When you add files to project tree from outside Eclipse (e.g. copy
icons into project's subfolder) some parts of Eclipse won't see them
until you refresh tree view in Package Explorer... In my case
I was able to add icon to toolbar using VE (and icon dialog from VE
displayed preview of the icon without problems), but on the
toolbar there was red square displayed instead of icon. Right-click
on project tree and "refresh" option automagically resulted in
replacing red square with appropriate image... :)

Grzegorz Zieliński
g_zielinski<at>intechion.pl
Re: More Weirdness [message #108605 is a reply to message #108592] Mon, 10 October 2005 09:35 Go to previous message
Eclipse UserFriend
Originally posted by: daniel.megert.eclipse.org

Grzegorz Zieliński wrote:

> Hello Daniel,
>
> I also found another "weirdness" that you may encounter too. When you
> add files to project tree from outside Eclipse (e.g. copy icons into
> project's subfolder) some parts of Eclipse won't see them until you
> refresh tree view in Package Explorer...

This is not weirdness but as designed. You can enable to refresh the
workspace automatically.

Dani

> In my case I was able to add icon to toolbar using VE (and icon dialog
> from VE displayed preview of the icon without problems), but on the
> toolbar there was red square displayed instead of icon. Right-click on
> project tree and "refresh" option automagically resulted in replacing
> red square with appropriate image... :)
>
> Grzegorz Zieliński
> g_zielinski<at>intechion.pl
>
>
Previous Topic:Building Eclipse in Eclipse.
Next Topic:Progress
Goto Forum:
  


Current Time: Fri May 09 20:25:54 EDT 2025

Powered by FUDForum. Page generated in 0.44238 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top