Menu

#98 Editor Panel does not follow "current project"

open
None
5
2003-01-17
2003-01-14
No

With AntRunner 1.6 installed over JB8 Enterprise there is
a problem where the current "Content Panel" (ie: the
editor window) is not updated following a change of
project.

To reproduce:

* Open Project-A

* Open a file from this project (file-A) in the editor

* Leave Project-A open but also open Project-B

* Open a file in this project (file-B) in the editor

* Using the dropdown button of the project panel select
Project-A: Notice that file-B is still show in the editor.

* Doubleclick another file from project-A (say file-A2)

* The editor suddenly wakes up and now shows file-A
and file-A2

* Select Project-B from the drop down ... the editor still
shows files from project A

* etc...

This behaviour is not present without AntRunner or with
AntRunner 1.4 (never got 1.5 to work with JBuilder 8).

Note: I am not running any other OpenTools that could
be conflicting with AntRunner.

Thanks for the brilliant work!

Discussion

  • Dirk Schnelle-Walka

    • summary: Editor Panel does not follow "current project" --> Editor Panel does not follow "current project"
     
  • Dirk Schnelle-Walka

    Logged In: YES
    user_id=192116

    Hi,

    that is strange. I just tested this, but cannot reproduce it.

    Does this occur on all your installations?

    On a project change AntRunner reparses the configured build
    file.

    Are you using large build files that consume some time to be
    parsed?
    Dirk

     
  • Dirk Schnelle-Walka

    • assigned_to: nobody --> schnelle
    • summary: Editor Panel does not follow "current project" --> Editor Panel does not follow "current project"
     
  • Dirk Schnelle-Walka

    Logged In: YES
    user_id=192116

    Hi,

    I have to correct myself. I had the same effect. I am
    continuing to examine it.

    Dirk

     
  • Dirk Schnelle-Walka

    • summary: Editor Panel does not follow "current project" --> Editor Panel does not follow "current project"
     
  • James Wilson

    James Wilson - 2003-08-27

    Logged In: YES
    user_id=853566

    I've confirmed this problem in JBuilder9 as well. From time to
    time I also see a "java.lang.NullPointerException" in the
    bottom
    left hand corner or JBuilder 9 when I switch from one
    project to
    another.

     
  • Dirk Schnelle-Walka

    Logged In: YES
    user_id=192116

    Does this still occur with AntRunner 2.2?
    I was not able to observe this any more.

    /Dirk

     
  • Dirk Schnelle-Walka

    Logged In: YES
    user_id=192116

    This usually happens if there is an uncaught exception.
    It is independent from the JBuilder release.

    I'll need a stack trace to be able to determine the reason
    for the exception.

    /dirk