| Summary: | Cannot keep weaving service enabled after restart, shutdown error | ||
|---|---|---|---|
| Product: | [Tools] AJDT | Reporter: | Matt R <MattRussellUK> |
| Component: | UI | Assignee: | AJDT-inbox <AJDT-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | andrew.eisenberg |
| Version: | 2.1.0 | ||
| Target Milestone: | 2.1.1 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
Matt R
Your error on shutdown is preventing Eclipse to save its state and so therefore Eclipse is not remembering that Weaving should be enabled on the next startup. I have not seen this shutdown error stack trace before and it doesn't include any weaving or AJDT code, so it could possibly be from a different plugin (but it is not out of the question that this is somehow coming from our code). Regardless, it is possible to force weaving to be enabled in a different way. The full description is here: http://wiki.eclipse.org/JDT_weaving_features But, simply put, you can do this: 0. Shut down eclipse 1. Open the file eclipse/configuration/config.ini in your favorite text editor/ 2. Find the line that starts with: osgi.bundles= and add after the '=': org.eclipse.equinox.weaving.aspectj@2\:start, 3. Make sure there is a line that looks like (and if it is not there, then add it): osgi.framework.extensions=org.eclipse.equinox.weaving.hook 4. Start eclipse Weaving should be active now. If for some reason that doesn't work, read the rest of the page I provided above. Please let me know if this works for you, and I can help you more if it doesn't. Any progress on this? (In reply to comment #2) > Any progress on this? Sorry to take a while to get back to you on this. Setting config.ini by hand fixed the problem -- cheers. Also, I get the shutdown error even on a clean install of 3.6, so it's definitely not the fault of AJDT. Thanks for getting back to me on this. Glad that your problem is resolved. |