Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Mylyn » Files lost from context
Files lost from context [message #58967] Wed, 01 October 2008 20:18 Go to next message
Spike is currently offline SpikeFriend
Messages: 4
Registered: July 2009
Junior Member
Hi,

I really enjoy working with Mylyn and it helps me a lot in my daily work.
But, I think I've found an bug. I have a java-project which has javascript
files living inside the java-source directory:

projectA/src/main/java/com/acme/App/Main.java
projectA/src/main/java/com/acme/App/inc/acme/2.5.2/main.js

It seems these javascript files disappear from the Package Explorer (focus
on active task is on) when you de-activate and then re-activate a task.
The files are correctly opened in the editor tabs, but not in the Package
Explorer. Is this some setting I am missing or is it a bug?

Tnx
Spike
Re: Files lost from context [message #59041 is a reply to message #58967] Wed, 01 October 2008 22:23 Go to previous messageGo to next message
Steffen Pingel is currently offline Steffen PingelFriend
Messages: 706
Registered: July 2009
Senior Member
This sounds similar to this bug which is currently being investigated:

232664: [context] constantly loosing context information
https://bugs.eclipse.org/bugs/show_bug.cgi?id=232664

I will announce it here once there is a weekly build with a fix available.

Steffen


> Hi,
>
> I really enjoy working with Mylyn and it helps me a lot in my daily work.
> But, I think I've found an bug. I have a java-project which has javascript
> files living inside the java-source directory:
>
> projectA/src/main/java/com/acme/App/Main.java
> projectA/src/main/java/com/acme/App/inc/acme/2.5.2/main.js
>
> It seems these javascript files disappear from the Package Explorer (focus
> on active task is on) when you de-activate and then re-activate a task.
> The files are correctly opened in the editor tabs, but not in the Package
> Explorer. Is this some setting I am missing or is it a bug?
>
> Tnx
> Spike
Re: Files lost from context [message #59141 is a reply to message #59041] Thu, 02 October 2008 08:26 Go to previous messageGo to next message
Spike is currently offline SpikeFriend
Messages: 4
Registered: July 2009
Junior Member
Hi Steffen,

It does seem to have some resemblance, except for the fact that I have a
different reproduction path. I'm running Eclipse 3.4 on Ubuntu Hardy and
only use Maven2 from the terminal (so no m2eclipse that generates files).

Here's my way to reproduce:
I activate a new task. I then open a java file and a javascript file. My
PackageExplorer only shows me these two files and I can work clutter free.
I then deactivate the task and go for some coffee. When I come back I
reactive the same task and Mylyn will open the 2 files again (java and
javascript editor) but, only the Java file shows up in the PackageExplorer.

Spike
Re: Files lost from context [message #59414 is a reply to message #59141] Sat, 04 October 2008 18:58 Go to previous message
Eclipse UserFriend
Originally posted by: steffen.pingel.eclipse.org

It is likely that the JavaScript file has a lower interest and decay causes
it drop out of the context on task activation. This comment summarizes the
problems that were fixed in the latest weekly build:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=245234#c14

It would be great if you could try the latest build and report back if that
fixes the problem you are seeing:

http://www.eclipse.org/mylyn/downloads/#weekly

Steffen


> Hi Steffen,
>
> It does seem to have some resemblance, except for the fact that I have a
> different reproduction path. I'm running Eclipse 3.4 on Ubuntu Hardy and
> only use Maven2 from the terminal (so no m2eclipse that generates files).
>
> Here's my way to reproduce:
> I activate a new task. I then open a java file and a javascript file. My
> PackageExplorer only shows me these two files and I can work clutter free.
> I then deactivate the task and go for some coffee. When I come back I
> reactive the same task and Mylyn will open the 2 files again (java and
> javascript editor) but, only the Java file shows up in the
> PackageExplorer.
>
> Spike
Re: Files lost from context [message #593791 is a reply to message #58967] Wed, 01 October 2008 22:23 Go to previous message
Steffen Pingel is currently offline Steffen PingelFriend
Messages: 706
Registered: July 2009
Senior Member
This sounds similar to this bug which is currently being investigated:

232664: [context] constantly loosing context information
https://bugs.eclipse.org/bugs/show_bug.cgi?id=232664

I will announce it here once there is a weekly build with a fix available.

Steffen


> Hi,
>
> I really enjoy working with Mylyn and it helps me a lot in my daily work.
> But, I think I've found an bug. I have a java-project which has javascript
> files living inside the java-source directory:
>
> projectA/src/main/java/com/acme/App/Main.java
> projectA/src/main/java/com/acme/App/inc/acme/2.5.2/main.js
>
> It seems these javascript files disappear from the Package Explorer (focus
> on active task is on) when you de-activate and then re-activate a task.
> The files are correctly opened in the editor tabs, but not in the Package
> Explorer. Is this some setting I am missing or is it a bug?
>
> Tnx
> Spike
Re: Files lost from context [message #593828 is a reply to message #59041] Thu, 02 October 2008 08:26 Go to previous message
Spike is currently offline SpikeFriend
Messages: 4
Registered: July 2009
Junior Member
Hi Steffen,

It does seem to have some resemblance, except for the fact that I have a
different reproduction path. I'm running Eclipse 3.4 on Ubuntu Hardy and
only use Maven2 from the terminal (so no m2eclipse that generates files).

Here's my way to reproduce:
I activate a new task. I then open a java file and a javascript file. My
PackageExplorer only shows me these two files and I can work clutter free.
I then deactivate the task and go for some coffee. When I come back I
reactive the same task and Mylyn will open the 2 files again (java and
javascript editor) but, only the Java file shows up in the PackageExplorer.

Spike
Re: Files lost from context [message #593949 is a reply to message #59141] Sat, 04 October 2008 18:58 Go to previous message
Steffen Pingel is currently offline Steffen PingelFriend
Messages: 706
Registered: July 2009
Senior Member
It is likely that the JavaScript file has a lower interest and decay causes
it drop out of the context on task activation. This comment summarizes the
problems that were fixed in the latest weekly build:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=245234#c14

It would be great if you could try the latest build and report back if that
fixes the problem you are seeing:

http://www.eclipse.org/mylyn/downloads/#weekly

Steffen


> Hi Steffen,
>
> It does seem to have some resemblance, except for the fact that I have a
> different reproduction path. I'm running Eclipse 3.4 on Ubuntu Hardy and
> only use Maven2 from the terminal (so no m2eclipse that generates files).
>
> Here's my way to reproduce:
> I activate a new task. I then open a java file and a javascript file. My
> PackageExplorer only shows me these two files and I can work clutter free.
> I then deactivate the task and go for some coffee. When I come back I
> reactive the same task and Mylyn will open the 2 files again (java and
> javascript editor) but, only the Java file shows up in the
> PackageExplorer.
>
> Spike
Previous Topic:Local task commit message after updating to Mylyn 3.0.2
Next Topic:Query not showing
Goto Forum:
  


Current Time: Mon Dec 22 15:41:11 GMT 2014

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

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