Community
Participate
Working Groups
Build ID: M20080221-1800 Steps To Reproduce: 1. Create an SQL file within a task context 2. Right-click the file and execute it (optionally mark it as landmark) 3. Work on some different files - the SQL file should vanish after severla clicks from the context. More information: I found that Mylyn removes files from the context if they are not opened in an editor. This makes handling more difficult (in my case, it was an SQL file I had to execute regularly while working on a task - I had to Alt-Click the navigator to make the file visible again and then could choose "Execute" from the context menu). Even marking the element as a landmark doesn't seem to help (I see the element in bold after making it visible, but its still taken out again).
Shawn, do you have any thoughts?
Interest should be tracked the same between all file types and opening a file or selecting it in a navigation view should be the same (or very similar) operations. Alexander, can you try to reproduce this with a different file as the landmark that you add (i.e. a java file)? Does the execution of the sql file generate files within a project that are added to your context?
(In reply to comment #2) > Interest should be tracked the same between all file types and opening a file > or selecting it in a navigation view should be the same (or very similar) > operations. Alexander, can you try to reproduce this with a different file as > the landmark that you add (i.e. a java file)? Does the execution of the sql > file generate files within a project that are added to your context? > Shawn, I will try to reproduce it with other files. So far, the SQL files do not get any visible result in the working space, as I use them only to update a database.
So far I am not sure what is the cause for this behaviour, but executing an AspectJ application worked, whereas opening an Excel Sheet removed the element from the navigator view as soon as I clicked into the Java editor (the element was still shown in bold after marking it as a landmark and making it visible again).
Which version of Mylyn are you using Alexander?
(In reply to comment #5) > Which version of Mylyn are you using Alexander? > Steffen, I use 2.3.0. Isn't that the purpose of the version field above? ;-) If it is fixed in a later version, let me know (so far, I could not find any update for my Eclipse version, which still is 3.3.2, so I may have to switch to 3.4/3.5 then).
Thanks. I wasn't sure if the version field was set correctly since 2.3 is fairly old. Would you be able to update to the latest 3.2.0 release which supports Eclipse 3.3 and retry your steps with a fresh context (use clear context or create a new task)? Please reopen this bug if the error persists with the latest version. *** This bug has been marked as a duplicate of bug 268434 ***