Difference between revisions of "Mylyn/FAQ"
(→What if I use multiple workspaces?)
|Line 376:||Line 376:|
== Known limitations ==
== Known limitations ==
* Trac 0.10.1
* Trac 0.10.1
with XML-RPC Plugin. See [https://bugs.eclipse.org/bugs/show_bug.cgi?id=164272 bug 164272
] for details.
= Generic Web Repository Connector =
= Generic Web Repository Connector =
Revision as of 00:29, 8 February 2007
- 1 Installation
- 1.1 What versions of Eclipse are supported?
- 1.2 What version of Java is required?
- 1.3 My tasks or queries disappeared, what do I do?
- 1.4 Installation Troubleshooting
- 1.5 Configuration Troubleshooting
- 1.6 Uninstall troubleshooting
- 1.7 Installation Questions
- 1.8 I am seeing java.lang.OutOfMemoryError: PermGen space errors, what's wrong?
- 1.9 Releases and development builds
- 2 Task List
- 3 Task Repositories
- 4 Bugzilla Connector
- 5 JIRA Connector
- 6 Trac Connector
- 7 Generic Web Repository Connector
- 8 Task-Focused UI
- 9 Java Development
- 10 Team Support
- 11 Misc
What versions of Eclipse are supported?
See the [http://eclipse.org/mylar/dl.php download page.
Mylar also relies on a web browser that works with the Standard Widget Toolkit; Windows and MacOS users are fine, but Linux users might have to download another browser. See the SWT Browser guide for which browsers will work. See installing browser on Linux for installation instructions.
What version of Java is required?
Mylar needs the Java 5 virtual machine.
To check the version of the Java virtual machine that Eclipse was launched with to to Help -> About Eclipse SDK -> Configuration Details and verify that the java.vm.version is 1.5.
Mac users should refer to the last comment on bug 1163477 for instructions on how to change the 1.4 default.
- If you do not have Java 5, you can download it from Sun's web site.
- If you have more than one VM, you need to specify that Eclipse should use the JDK1.5 VM.
In Unix, set the environment variable
JAVA_HOME to the root of the JDK1.5 installation and/or set the
PATH variable to put the JDK1.5 executable directory before any other VM executable directories. For example, under
bash in Unix:
export JAVA_HOME="(location of JDK1.5 root)" export PATH=$JAVA_HOME/bin:$PATH
We do not recommend using JDK 1.6 on Eclipse 3.1. (It works fine with Eclipse 3.2 or 3.3.) To use JDK 1.6 on Eclipse 3.1, you must add the following line to your
My tasks or queries disappeared, what do I do?
This happens if Mylar failed to install. First ensure that you have a correct install by following the instructions in the next section. After that, if you still do not see your tasks use the Task List view menu -> Restore Tasks From History... command (also available via File -> Import -> Task List.
Use only the "Search for new features.." option when updating Mylar. If you use "Search for updates..." the Update Manager will allow a partial install that can cause Mylar to fail to start, and will need to be run again. See the feature configuration problem section below for details. If you encounter this problemm consider voting for Platform bug 132450.
Incompatible VM (e.g. JDK 1.4)
If you are using the wrong VM, you'll see errors like the following in your log file.
Root exception: java.lang.UnsupportedClassVersionError: org/eclipse/mylar/tasklist/MylarTasklistPlugin (Unsupported major.minor version 49.0)
See Configure Java to fix this problem.
Incompatible version of Eclipse
Separate versions and update sites exist for Eclipse 3.1 and 3.2), in which case you may see errors like the following in your
<workspace>/.metadata/.log file or in a Mylar view:
java.lang.NoSuchMethodError: org.eclipse.ui.internal.dialogs.FilteredTree.getFilterControl() The activator org.eclipse.mylar.java.MylarJavaPlugin for bundle org.eclipse.mylar.java is invalid
Mylar feature configuration problem
If the above do not address the issue, the easiest thing to do is uninstall any old versions and update to the latest Mylar. Your tasks won't be lost, because by default they are stored in the
<workspace>/.mylar/tasklist.xml file which will be read next time Mylar starts correctly.
- First, uninstall the old version of Mylar using Help -> Software Updates -> Manage Configuration.
- You need to Disable all Mylar features by right-clicking them.
- Allow Eclipse to restart after the last is disabled.
- After restart, ensure that the 3rd toolbar button is pressed (figure below) so that you see the disabled features to uninstall.
- Uninstall all the disabled features using the popup menu.
If you don't uninstall, the the Update Manager will think that you have the latest and tell you that there are no updates.
Note: manually removing the plug-ins and features can lead to configuration errors.
After uninstalling, update Eclipse by adding the correct update site specified at on the download page, and after that automatically or manually updating will install the correct version.
What do I need to do in installation to be able to use Mylar task management features with bug/task/issue trackers?
When you install, make sure that you select a connector for your bug/task/issue tracking software. For example, to use Bugzilla, you have to install the Bugzilla connector component.
How can I change the number of editors left open before Mylar starts closing editors?
Turn off or increase the number of editors to leave open using Preferences -> General -> Editors -> Number of opened editors before closing. Since Mylar will manage the open editors with task activation, this number can be set higher or you can disable automatic closing entirely.
Do I need the Outline View when running Mylar?
No, not really. The Package Explorer and folded signatures should provide enough context for you. If, at some point, you really need to see an Outline View, you can always enter (Ctrl+O) to show the in-place Outline View.
What does the message "content assist proposals no longer appear" mean?
This usually happens when uninstalling when using Eclipse 3.2. Make sure that the "Java Completions" and "Java Types" proposal categories are included in the default proposals via: Preferences -> Java -> Editor -> Content Assist -> Advanced -> Restore Defaults. Also see: content assist troubleshooting. This bug has been fixed in Eclipse 3.2.1.
Why do I get errors like "HTTP Response Code 407" or "Proxy Authentication Error" when accessing repositories through a proxy server?
It is likely that you need to configure these proxy server settings. Select Window -> Preferences -> Install/Update, and update the section in the "Proxy settings" section of the form.
I can't use
Ctrl+Alt+Shift+Arrow Up for Mark as Landmark. What do I do?
This is usually a Linux/GNOME problem, where the Gnome keyboard shortcuts are interfering with the Eclipse shortcuts. Go to the Keyboard shortcuts (which might be something like Desktop -> Control Centre -> Keyboard Shortcuts or System -> Preferences -> Keyboard Shortcuts) and disable both of these shortcuts:
- Move one workspace up
- Move one workspace down
See also: keyboard mappings on Linux.
How do I turn on spell checking?
See spell checking.
On Eclipse 3.1: you may need to reset the Java editor to be default for
.java again via: Preferences -> General -> Editors -> File Associations
On Eclipse 3.2: if after uninstalling content assist proposals no longer appear you need to ensure that the Java Completions and Java Types proposal categories are included in the default proposals via: Preferences -> Java -> Editor -> Content Assist -> Advanced -> Restore Defaults. Also see: content assist troubleshooting. This bug has been fixed in Eclipse 3.2.1.
I've installed Mylar; why can't I see anything different?
The two most likely possibilities are:
- You don't have any Mylar views open. Select Window -> Show View -> Other, then select Mylar and you should see the available Mylar Views.
- If you still don't see anything, then perhaps you aren't using the JDK1.5 VM (or later). See configuring Java.
What does the error "Network connection problems encountered during search" mean?
If you get that message while trying to download Mylar, it means that Eclipse couldn't find the location you entered. This might be because you copied something incorrectly (watch for extra characters -- even extra spaces can cause errors), or because the site went down. You may be able to see if the site is up or down by copying the URL into your Web browser.
What does the "Update manager failure" message mean?
It means that Eclipse could not access the update site, or that it got confused about the configuration state of your Eclipse. First try updating again to see if the update site is accessible.
If you are trying to update the JIRA connector you can also try de-selecting that feature in case the
Tigris.org update site is not accessible. Using Search for new features to install.. when installing can help to avoid this problem. If that does not work see the feature configuration troubleshooting below.
What does "Could not create Browser page: No more handles (
java.lang.UnsatisfiedLinkError: ...)" mean?
It probably means that you are running Linux and don't have Eclipse and a Web browser configured to work together. See installing a browser on Linux.
When downloading, why do I get a warning that the feature was unsigned?
Signing plugins requires extra administrative details with
eclipse.org which most plug-ins seek to avoid.
N.B.: Security issues with features should not be underestimated. Eclipse allows users to download new functionality from remote servers. A rogue plug-in can act as a perfect Trojan horse. It can look innocent enough and provide useful function while spawning threads in the background with full access to the local file system and the Internet (if connected). Beware of installing features from update sites you do not trust.
What does "
Root exception: java.lang.UnsupportedClassVersionError: org/eclipse/mylar/tasklist/MylarTasklistPlugin (Unsupported major.minor version 49.0)" mean?
It probably means that the virtual machine is JDK1.4 or lower. See download and configure Java.
Why am I getting messages in my
<workspace>/.metadata/.log or my Mylar view that say things like
"java.lang.NoSuchMethodError: org.eclipse.ui.internal.dialogs.FilteredTree.getFilterControl()" and "The activator
org.eclipse.mylar.java.MylarJavaPlugin for bundle
org.eclipse.mylar.java is invalid"?
This probably means that your Mylar download version didn't match your Eclipse download version. Note that the download site has different downloads for Eclipse 3.1 and Eclipse 3.2.
What does "Could not create Bugzilla editor input" and "
java.io.IOException: SAX2 driver class
org.apache.xerces.parsers.SAXParser not found" mean?
It probably means that you are on MacOS, and for some reason are missing Xerces from the Mac JDK1.5. You will probably need to add it to your default classpath. Please refer to and comment on bug 144287 if you see this problem.
To ensure that you are using the 1.5 VM refer to the last comment on bug 1163477 for instructions on how to change the 1.4 default.
I am seeing
java.lang.OutOfMemoryError: PermGen space errors, what's wrong?
This is not a Mylar problem, but a general Eclipse problem that is often triggered on Eclipse 3.2 and later, if you have many plug-ins installed and are using a Sun JVM.
To fix it add the following to your launch arguments. This is usually to your shortcut, or to the eclipse/configuration/config.ini file:
If you are using a large number of plug-ins (e.g. WTP) you may need to increase the number to more than 128M.
Details of the problem are on Platform bug 92250.
Releases and development builds
Development builds are released weekly, usually on Friday, and should be used by all Mylar contributors not using Mylar straight from CVS.
- The best and most stable release to use is always the latest. This goes for milestone releases (e.g. 2.0M1) which will often have bug fixes and other improvements over final release versions (e.g. 1.0.1). The "milestone" tag only refers to the fact that the API for that release is still stabilizing.
- Our policy is not to destabilize, so any Mylar build that you install should be stable, including development builds. The UI of development builds occasionally fluctuates, especially when new features are being added.
- A dev build is available every Friday, and additionally upon request (e.g. for verifying a bug fix).
- Monday prior to Eclipse SDK milestone release: we migrate to the latest integration build and make a dev build available when done.
- Eclipse SDK milestone release day: a Mylar dev build officially supporting the milestone is released.
- 1 week after Eclipse SDK milestone release: a Mylar dev build supporting the milestone is released.
Dev Build Compatibility
- Eclipse 3.3: latest Eclipse milestone release is fully supported.
- Eclipse 3.2: dev builds available on request.
Why won't the Archive category disappear?
The Archive category will automatically appear if a task needs to be shown, but is not in any query or category. In order to ensure that you do not miss reminders or notifications the following tasks will always be shown in the Task List, even if they have been removed from a category or a query:
- Tasks scheduled for this week or overdue. Remove these by using the Schedule pop-up menu option to defer them to a future week or to clear the schedule.
- Repository tasks that have incoming changes, such as comments. Remove these by reading them or marking them as "read" via the Mark -> Read pop-up menu.
How do I prevent long-running tasks from adding to the progress bar?
If you have many long-running or recurring tasks scheduled for this week, they can affect the Task List weekly progress bar. This can be misleading as they may never be completed. The current work-around to prevent long-running tasks from being included in the weekly progress bar is to schedule their estimated time to be 0 (zero). Alternatively, you can schedule only the amount of time you plan on spending on that task this week.
Does the Task List replace the Eclipse Tasks view?
The SDK's Tasks view is used for showing markers such as 'todo' tags which indicate a local problem with a resource, similar to a compiler warning. As such, these 'tasks' are at a much lower level of granularity than Mylar's tasks, and one task could involve cleaning up multiple todos. In order to make working with only the markers in a particular task context, e.g. for clean-up before committing, the Apply Mylar filter is available for both the Problems and the Tasks views.
What if I use multiple workspaces?
Mylar's support for multiple workspaces is currently limited (see bug 130658 for a discussion) because the Task List is considered to be specific to the person, and not to the workspace. We recommend configuring your Eclipse workspace to use working sets instead of relying on multiple workspaces.
- John O'Shea's blog: Eclipse workspaces containing projects with overlapping locations, and Mylar
If using a single workspace is not possible you can do the following:
- In Preferences -> Mylar -> Task List set the Data Directory to be a shared location, and do this for both workspaces.
- Be sure to avoid launching both Eclipse workspaces at the same time, as changes in one workspaces could overwrite the Task List in the other workspace.
- If you upgrade Eclipse or move your workspace and don't see your tasks, check the Data Directory setting.
How do I export my task and repository data?
Export via File > Export > Mylar > Task Data
What if Mylar doesn't support my task/bug/issue/ticket repository?
Generic Repository Connector, allows creating Queries to the web-based issue tracking repositories and get list of issues from the web UI into the Task List.
It is also possible to link a local task with the web page in web-based repository via the Mylar Web integration.
To create a task from any web-based repository:
- Drag the URL from the address bar of the browser, or from a hyperlink in a bug listing to the Mylar Tasks view. This will create a task for the bug, link it to the page, and populate the description with the title of the corresponding page. In Mozilla: simply drag the URL. In Internet Explorer: you must have
Ctrlpressed in order for Eclipse to recognize the drop.
- Alternatively, you can copy the URL, press the New Task button on the Mylar Tasks view. This has the same effect as above but you can edit the description after retrieving it.
- Opening the task will now open the corresponding issue. You can also
right+clickthe task and select Open in External Browser.
Why were my repository credentials reset?
If you upgrade Eclipse or your Java VM, you will need to reset your credentials in the Task Repositories view because these are stored in the secure Eclipse workbench keyring. Also see bug 149607. If you are migrating from Eclipse 3.2 to 3.3 note that you will need to use a different update site: http://eclipse.org/mylar/dl.php
What does the "Add to Task List root" checkbox do on the new repository task editor?
Newly submitted tasks may not be caught by the Queries in your Task List.
This option allows you to specify that the newly created Task be placed in the root of the Task List, thus making it immediately visible. Otherwise, it may only reside in the Task List archive.
You must ensure repository credentials are filled out correctly. Refer to the diagram below:
- Enter the repository URL (i.e. https://bugs.eclipse.org/bugs) and an optional label
- Usually email address and password
- Some sites, such as
dev.eclipse.org, use anonymous logon with password left blank.
- Http Authentication (optional)
- Some sites are protected by either BASIC or DIGEST http authentication. If this is the case, enter appropriate credentials here.
- One way to test if the site requires http authentication is to point your browser at the repository. If you are presented with an authentication dialog popup, the site is likely protected by http authentication.
- Proxy Server Configuration (optional)
- By default Mylar uses the Platform's Install/Update proxy settings. Uncheck this box if you wish to use an alternative proxy.
- If the proxy requires authentication, this is where you enable and enter your proxy credentials.
- If you are experiencing connection problems, ensure your Install/Update proxy settings are valid or the repository specific settings are correct
- Mylar has been tested with HTTP proxy servers. Currently SOCKS is not supported.
- Validate Settings
- Press the validate button to test the settings
- If you are seeing errors like "HTTP Response Code 407" or "Proxy Authentication Error" it is likely that you need to configure proxy settas as described above.
- If your sever uses a certificate and fails to connect, e.g. you see exceptions sun.security.validator.ValidatorException: PKIX path building failed then you need to point Eclipse at your certificate, see the instructions on this blog.
What versions are supported?
We recommend using the latest release of Bugzilla.
- Bugzilla 2.18.6 is the lowest version of Bugzilla supported. If you are getting errors that indicate failure to update attributes this may be an indication that the Bugzilla server is not supported (< 2.18.6).
- If you are using Bugzilla 2.18 and are getting mid-air collisions this is likely due to incorrectly formatted timestamp field in the underlying bugs database table (bug 149513). This can be resolved by upgrading to Bugzilla 2.20 or later.
Why are queries failing?
- If queries are not working correctly ensure that you have the right Bugzilla server version selected for the corresponding repository: Task Repositories (View) -> right+click the repository -> Properties. For supported versions see the download page. If the repository is still not functioning it may be due to authentication or connectivity problems. If that does not resolve the problem please post a message to the newsgroup or submit a bug.
Why do tasks fail to open?
- If upon opening a bug, the Bugzilla tab only displays a warning "Could not download task data, possibly due to timeout or connectivity problem. Please check connection and try again.", ensure that your repository is returning XML data by pointing your browser to
<your-repository-url>/show_bug.cgi?id=1&ctype=xmlto show the contents of bug 1 in XML form. The Bugzilla client requires that bugs be accessible in XML form. If the repository doesn't support xml then it is likely that the repository is too old (Mylar currently supports Bugzilla 2.18 and later).
- If reports fail to load or reports fail to synchronize (task description remains italic), check the error log for a "File not found" error pointing to
bugzilla.dtdor a "Failed to retrieve products from server" error message - these result when the
urlbaseparameter is not set on the bugzilla server, or your bugzilla installation is missing the
bugzilla.dtdfile. See: bug#161759
- If attributes are missing options in the bug editor (ie. missing a recently added milestone, bug# 155431):
- Update attributes by choosing Update Attributes from the context menu in the Task Repositories view
- Synchronize the task in the Task List
- Reopen the task - new options should be available.
Why do tasks fail to submit?
- Error upon submit: unable to make any match for name/email entered. If your bugzilla is configured for user names rather than full email address the QA Contact field will cause the submit to fail (bug# 166555). Current work around is to remove the @address from the user name and submit.
- If tasks fail to submit with credentials error, but the repository validates fine, make sure that you've correctly setup your account's username and password and are not using the HTTP authentication fields instead.
- If attachments are failing to submit and you see that after processing the attachment, the bugzilla bug shows a size of "bytes" (no numbers), your database may be dropping the packet sending the file. On MySQL, check the max_allowed_packet directive. You may see errors like:
DBD::mysql::st executefailed: Got a packet bigger than 'max_allowed_packet' bytes [for Statement "INSERT INTO attach_data (id, thedata) VALUES (38, ?)"] at
/path/to/bugzilla/attachment.cgiline 993. Also, check the maximum attachment size in Bugzilla Parameters -> Attachments.
What time zone is used in the task editor?
- The times that appear in the Bugzilla bug editor (ie. created, modified) are local to the server hosting the Bugzilla repository, not your local machine's time zone.
usermatchmodeis not currently supported (bug 168204) and as such full email addresses need to be used.
If you see errors like the following, work around this by opening repository Properties Page and clicking OK (bug 169102).
org.tigris.jira.core.service.exceptions.AuthenticationException at org.tigris.jira.internal.core.service.soap.SoapJiraService.getProjectsNoSchemes(SoapJiraService.java:204)
What are the server requirements?
The JIRA SOAP/RPC services have to be running on the JIRA server:
- Jira 3.1.1 or higher
- Jira RPC plugin 1.4.3 or higher
Latest information also available on the download page.
Why can't I connect?
- If you get a
org.tigris.jira.core.service.exceptions.ServiceUnavailableExceptionyou need to turn on the JIRA SOAP/RPC services on the server.
- If you get a 503 error code verify that the SOAP/RPC interface is enabled.
- If you get a 403 error code verify that the SOAP/RPC interface is enabled, and also check your authentication mechanism. If the server is using NTLM authentication, see bug 156937 for diagnosis steps.
- If you see an "unrecognized priority" message in the Error Log, the problem is that the JIRA Connector does not support customized priorities so the priority value specified in that message will not correspond to the priority icons visible in the Task List.
- If you are being prompted for your log-in credentials by the Browser tab of the task editor or the new task editor, this is because without rich editor support the connector is using the web-based UI instead of logging in on your behalf as is done with a rich task editor (bug 142869).
- If you get a
AuthenticationExceptionand a query won't synchronize, use Task Repositories (view) -> Properties (on the repository) -> Validate Settings. This will clear the connection if it died.
Why can't I synchronize when using a proxy server?
- Proxy configuration is be based on the normal Java HTTP system properties, which can be configured either by launching Eclipse with
-vmargsand using the following settings, or by putting these settings into the or by putting the following into the
eclipse/eclipse.inifile (after -vmags):
- Make sure that when using these settings you do not enable the proxy settings on the Install/Update preference page, since they may override these settings.
- If you are using SSL, you will also need to set the
- Authentication is configured with the
http.proxyPasswordsystem properties (also for SSL)
- You can also use
http.nonProxyHostssystem property to enumerate hosts that should not be proxied. Note that matching is implemented on the exact host name used for JIRA server and patterns are not supported.
- Attachments are not supported (bug [https://bugs.eclipse.org/bugs/show_bug.cgi?id=169757 169757)
- Customized priorities are not currently supported, so all issues with a customized priority will have the default priority level (https://bugs.eclipse.org/bugs/show_bug.cgi?id=165518 bug 165518).
What are the server requirements?
The Trac connector offers two access methods:
- Trac 0.9 and later: In this mode the standard Trac web interface is used for repository access. Tickets may be created and edited through a web browser.
- XML-RPC Plugin (Trac 0.10 and later): This requires the XmlRpcPlugin (revision 1175) for Trac to be enabled for the accessed repository. The XmlRpcPlugin provides a remote interface to the Trac repository and is distributed separately from Trac (see #217). See these install instructions for requirements and documentation.
- Trac 0.10.1
- Knonw incompatibility with Trac XML-RPC Plugin. See bug 164272 for details.
- Trac 0.10.3
- Knonw incompatibility with Trac HttpAuthPlugin. It enables basic auth for XML-RPC when Trac AccountManagerPlugin for form based authentication is used. See bug 168413 for details.
Generic Web Repository Connector
Why can't I connect using one of the existing templates?
The Web Repository Connector have a Preview option in Advanced Configuration section on the Query preferences. If you get an error or preview table does not show expected list of tasks you can use Query Pattern like (.+?)(\n) to see content of the retrieved page and compare it with the source of the web page for the same url loaded into the web browser.
If that does not help then you could use the wget tool (on Windows it available as a standalone command line tool and also included with Cygwin).
Run the following command:
wget -v -d -o query.log -O query.html "http://your.query.url"
Then open file query.html in the web browser and check if it show list of issues you need to fetch from the web server. If it does have correct list, then there could be a problem with query pattern used for parsing.
A popular mistake is an unmasked '?' that separates request parameters in the url). For example:
<a href="show_bug.cgi\?id\=(.+?)">.+?<span class="summary">(.+?)</span>
If query.html does not show expected list of issues you can check query.log for server responses and try to identify if server require authentication, redirecting your requests somewhere or issue any other errors.
- In Mylar 1.0: if a web server responds by requesting a redirect to an absolute URL while fetching a resource, the connector falsely prepends "/" to the URL and the request will fail. The workaround is to use final url where redirect is pointing to (you can find it as describe above). See bug 167282 for details.
Why do files disappear from Focused views when I close them?
By default Mylar automatically manages the set of open files to match the task context, so that you don't have to. This ensures that the editor list (viewable via mechanisms like Ctrl+E) corresponds to what you in views like the Package Explorer when they are in Focused mode. When you close a file manually, you express that it is uninteresting, and as such it will be removed from the task context. It will also disappear from the corresponding automatically managed change sets for the same reason. This behavior can be turned off via Preferences -> Mylar -> Context -> Manage open editors to match task context. However, it is highly recommended since Mylar will prevent the number of editors from bloating by automatically closing editors for elements that have decayed in interest, and always keep the editors for interesting elements open.
Why did all my editor tabs disappear?
When you deactivate a task, all editors will be closed, and then when you reactivate the task all the windows will be open again. Try it, it's fun.
Mylar actively manages your open editors with task context. It takes some getting used to, but enables switching between tasks when you are multitasking without cluttering your editor tabs. This editor management can be disabled via Window -> Preferences -> Mylar -> Context. However, before disabling it consider reading the "Managing open editors..." section of Task-focused programming with Mylar.
Which Focused UI features can I turn off?
All of them. When no task is active neither are any of Mylar's features. When working with task contexts Mylar's Focused UI features are all optional and in general configurable.
The following table summarizes how the key features can be toggled:
|UI Mechanism||Example/description||Toggle using|
|Interest filtering||Package Explorer||Apply Mylar button on view toolbar|
|Interest decoration||Bolding of landmark elements||Preferences -> General -> Appearance -> Label Decoration|
|Content assist||Ranking of interesting elements||Eclipse 3.2: Java -> Editor -> Content Assist -> Work in Progress -> turn off Mylar, turn on Java
Eclipse 3.1: set the Java editor to be default for .java, not the Mylar Java editor
|Active change sets||Grouping of changes by tasks||Preferences -> Mylar -> Team|
|Editor management||Auto opening/closing of editors||Preferences -> Mylar -> Editor Management|
|Active views||Active Search and Hierarchy||Only on if view is active|
For additional configuration options see the Mylar and General -> Appearance preference pages.
What is the performance profile of the Focused UI?
The goal is for Mylar to have no noticeable effect on Eclipse's speed or memory usage. You do not need to increase the amount of memory Eclipse runs with to use Mylar. Any performance issue should be reported as a bug.
The current Performance Profile is:
- Mylar only runs if a task is active, and has no impact on Eclipse if no task is active.
- Task context models have negligible memory overhead.
- When a task is active, additional view refresh is required to update the views based on interest model changes. This should not be noticeable on Windows where refresh is very quick, but could be more noticeable on other platforms.
- The time to activate a task context is dominated by the time it takes Eclipse to open the editors in the context. You can set the preference for how many editors to open in the Mylar preference page (e.g. setting to 1 will dramatically reduce activation time, but also remove the benefit of having open editors correspond to the task context). You can also turn off editor management entirely in the Mylar Tasks view pull-down.
- Eclipse startup is slowed down by (4) if a task is active when Eclipse is shut down.
- The low priority background searches that the Active Search view runs can be noticeable on slower machines.
What happened to the Active Search and Active Hierarchy views?
These views were not included in the Mylar 1.0 release because they never made it beyond the experimental phase.
- The Active Search view has not been sufficiently tuned to adapt to the lifecycle of a task context, and as a result requires manual manipulation of the degree-of-separation scope as you work on long-running tasks. Otherwise it becomes overloaded with elements. In addition, it is not yet clear whether an additional view is the right UI for this facility, and it is hard to find room for an additional view of this size on screen resolutions of 1600x1200 and smaller.
- The Active Hierarchy view is also hard to allocate space for, especially when using the in-place hierarchy (Ctrl+T) on a landmark can be a quick way to see the relevant part of the task context's hierarchy.
These features still show promise in displaying task context and saving repetitive searches, so we have not removed them. They have instead moved to the Mylar Sandbox, and can be used and experimented with by following the instructions on the Contributors page. For feedback on these views please use the corresponding bug reports or newsgroup.
Content assist troubleshooting
In Eclipse 3.2, Mylar uses extended Content Assist processors in order to rank and separate the elements in the current task context. To see proposals ranked according to interest you must have only the Type Proposals (Mylar) kinds checkbox enabled in the list below, otherwise you will see duplicates. If you do not see any proposals, check this list to ensure that either the Mylar or the plain proposals are enabled. To do this automatically, run New -> Mylar -> Recommended Preferences. Or you can select them manually as in the preference page below.
Proposals will disappear if a workspace into which Mylar was installed is run without Mylar installed (e.g. as a result of uninstalling or multiple Eclipses using same workspace, see Platform bug 140416).
If after invoking Content Assist you see an error message dialog that states "The extension took too long to return from the 'computeCompletionProposals()' operation", this is most likely due to something interrupting the proposal operation (e.g. garbage collection). Ignore it if it does not recur, increase Eclipse's memory if it does (e.g via
-Xmx384M command line argument). See bug 141457 for more details.
How can I see proposed content completions ranked according to interest?
To see proposals ranked according to interest you must be running Eclipse 3.2 (or higher) and have only the (Mylar) proposals kinds enabled in Window -> Preferences -> Java -> Editor -> Content Assist -> Advanced, otherwise you will see duplicates.
Why do interesting elements not show in the Project Explorer?
The Package Presentation -> Hierarchical mode is not supported on the Project Explorer view in Eclipse 3.2 through 3.3M3 and possibly later versions (https://bugs.eclipse.org/bugs/show_bug.cgi?id=161362 bug 161362). Use the view menu to set Package Presentation -> Flat as a work-around.
How do I stop declarations from showing in the Package Explorer?
If you don't like Mylar's constant showing of Java members in the Package Explorer, select the drop-down menu, then Filters... and enable the Mylar Java Declarations Filter. It will then stick in the menu in case you want to toggle between modes. Note that this will hide interest information about members that aren't in your current file (e.g. showing you which methods are landmarks) so this mode is not recommended, but can be useful for
1024x768 screen resolutions.
Why does nothing show up in the Active Search or Active Hierarchy?
As you work, elements become Landmarks (bold decoration), and these elements populate the Active Search and Active Hierarchy views. To force an element to populate the views manually, make it a Landmark by
right+clicking or hitting
- Bug 106678: The Project Explorer's Hierarchical Java package presentation layout is not supported on Eclipse 3.3Mx, and interesting elements will be hidden if enabled. Work-around is to use the default Flat package presentation.
Why are files missing from the task's change set?
First, verify that you have configured the Synchronize View for change sets.
The change set may have disappeared as a result of a commit. The work-around for this is to deactivate and reactivate the task.
Why do files disappear from the change set when I close them?
If you have the Preferences -> Mylar -> Context -> Manage open editors to match task context option enabled, Mylar will perform editor management so that you don't have to. Closing a file makes it less interesting, and causes it to disappear from the active task context, and hence from the change set. This option prevents you from having to manage the set of open files, will automatically close editors for files that become uninteresting, and will ensure that the open editors match the task context.
Why is interest lost when I retrieve someone else's context?
To identify elements within a project, Mylar relies on the name of the project being consistent across workspaces. If the project name in the workspace that the context was created with is different than its name in your workspace, the task context will not show elements within that project (bug 164058). The work-around is to use the same project names across your team's workspaces.
The other case where context can be lost is if the elements change names outside of the workspace ( bug 164243).
How does Mylar relate to IBM's Jazz?
At the EclipseCon and JavaONE conferences IBM demonstrated previews of Jazz, a collaborative team server and Eclipse-based client. Articles have remarked on the similarities between Mylar and Jazz because both integrate tasks into Eclipse (Jazz's "work items" and Mylar's "tasks"), and both provide change sets grouped by task. But there are both significant differences and complementary aspects to the two approaches. A key goal of Mylar is to provide an open source framework to support integration of task management with existing issue trackers and source repositories. According to the presentations, components that come with Jazz include include a next-generation issue tracker and source repository and related lifecycle management tools such as project health. In addition, a driving and unique goal of Mylar is to focus the UI around a usage-based and degree-of-interested weighted task context, which is complementary to the Jazz platform. Just as it integrates with Mylar's Task List, Mylar's Task Focused UI and task context model components are possible to integrate with other kinds of task management systems, such as the one provided by Jazz.