You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These are the list of categories for an IOC. The IOC can appear in multiple categories if it is relevant. There are details relating to specific device IOCs listed from within the categories where applicable. Most IOC control a device which has [manuals](Manuals).
Sometimes the error messages that Eclipse gives are a little opaque, so here are some possible solutions for some of the more common issues.
4
4
5
-
### plugin execution not covered by lifecycle configuration
5
+
##Plugin execution not covered by lifecycle configuration
6
6
7
7
Go to window -> preferences -> Maven -> Errors/Warnings. Change "Plugin execution not covered by lifecycle configuration" to ignore in the drop down.
8
8
9
-
###The type XXXXXXX cannot be resolved. It is indirectly referenced from required .class files ###
9
+
## The type XXXXXXX cannot be resolved. It is indirectly referenced from required .class files
10
10
11
-
####Errors appear for single plugin
11
+
### Errors appear for single plugin
12
12
Possible solutions (in order of desperation):
13
13
14
14
* Check the error message: you may need to add a dependency to the plugin that contains XXXXXXX. For example: if the error message is ```The type org.eclipse.ui.plugin.AbstractUIPlugin cannot be resolved. It is indirectly referenced from required .class files``` then the org.eclipse.ui plugin requires adding.bundle to the required bundle in the manifest file of your plugin.
15
15
* Delete the complaining plugin from the workspace and then re-import it.
16
16
* Remove JRE System Library from the complaining plug-in's Java Build Path then re-add it.
17
17
* This can also occur in similar cases to the **Invalid class hierarchy**.
18
18
19
-
####Errors appear across entire project
19
+
### Errors appear across entire project
20
20
21
21
Suggests that eclipse has got itself into a funny state. Try `Project > Clean` first, if that does not get rid of the problems, try:
22
22
1. Reset the targetplatform: Open file in `uk.ac.stfc.isis.ibex.targetplatform`, reload dependencies if they are in error, then click `Reload Target Platform` top right
23
23
2. Synchronize the runnable product: open `ibex.product` in `uk.ac.stfc.isis.ibex.e4.client.product`, click `Synchronize this configuration with the product's defining plug-in.`
24
24
3. Confirm the problems have disappeared. (you may need to repeat step 1 & 2 a couple of times)
25
25
4. Launch application from `ibex.product` (little green arrow on the top right) and confirm the client starts
26
26
27
-
###Invalid class hierarchy ###
27
+
## Invalid class hierarchy
28
28
29
29
* Make sure that you don't have any circular dependencies. That is package A imports package B imports package A.
30
30
* If you have several layers of derived dependencies, particularly containing CSStudio or eclipse classes, make sure the correct bundles have been imported. Dependencies are not necessarily re-exported from the intermediate layers by default. There are two solutions:
31
31
* Add the base bundle to the list of dependencies of your new class via the manifest file
32
32
* Go through the classes you derive from. In their bundles go to the dependencies menu and click on the plugin you're deriving from. Click properties and check the box that says "Reexport this dependency". Once the intermediate layers all reexport their dependencies then it should become available to your class.
33
33
34
34
35
-
###Product XXXXXXXXXXX.product could not be found ###
35
+
## Product XXXXXXXXXXX.product could not be found
36
36
37
37
Typically is followed by a lot of errors relating to bundle resolution, for example:
38
38
@@ -75,21 +75,20 @@ Possible solution:
75
75
76
76
* Check the offending plug-in has been added to one of the feature projects as a plug-in
77
77
78
-
###New plugin is not available (and possibly crashing existing plugins) ###
78
+
## New plugin is not available (and possibly crashing existing plugins)
79
79
80
80
This might be difficult to find as an error, and it may not exist for other developers - even on the same branch!
81
81
Adding the plugin directly to your configuration solves this.
82
82
83
-
###Plugins compile fine but dependencies cause errors at runtime ###
83
+
## Plugins compile fine but dependencies cause errors at runtime
84
84
85
85
If you can run the application fine but are seeing a `java.lang.NoClassDefFoundError` at runtime, try re-setting the target platform, synchronizing `client.product` (under "testing" in the product overview), and doing a clean.
86
86
87
-
###Menu items are missing ###
87
+
## Menu items are missing
88
88
89
89
This is usually because a dependency is missing. See "I really cannot work out why the GUI won't start!" below.
90
90
91
-
### I really cannot work out why the GUI won't start! ###
92
-
#### Also for runtime error "No application ID" ####
91
+
## No application ID
93
92
94
93
Starting the GUI via Eclipse just doesn't seem to work and I cannot see why!
95
94
@@ -111,20 +110,20 @@ Sometimes eclipse will tell you that you have errors in various projects when yo
111
110
- In `uk.ac.stfc.isis.ibex.targetplatform`, open `uk.ac.stfc.isis.ibex.targetplatform.target` and click "set as target platform".
112
111
- If all else fails, delete all the projects from eclipse's workspace and reimport them.
113
112
114
-
####The GUI starts but looks strange and some items (e.g. menu bar, perspective buttons) are missing ####
113
+
## The GUI starts but looks strange and some items (e.g. menu bar, perspective buttons) are missing
115
114
116
115
This can happen if the wrong ".product" file is run and not all plugins are defined in the application.
117
116
118
117
* Make sure you *only* run ibex.product in uk.ac.stfc.isis.ibex.**client**.product *not* any other ".product" file in the workspace e.g. uk.ac.stfc.isis.ibex.product
119
118
120
-
###I can't see changes in a new branch
119
+
## I can't see changes in a new branch
121
120
122
121
Sometimes when you check out a new branch in the ibex GUI repository, you won't see any changes in the GUI. You can fix this by following the steps below:
123
122
124
123
1. In Eclipse, remove all the projects from the workspace and close Eclipse.
125
124
1. Then, while checked out to the branch you want to see the changes on, perform a `git clean -fdx && git reset HEAD --hard` to reset the git repository. This will remove any changes you have made to the branch.
126
125
1. Restart Eclipse and repeat the steps to get the GUI working from [Building the GUI](https://github.com/ISISComputingGroup/ibex_developers_manual/wiki/Building-the-GUI).
127
126
128
-
###Build fails with `[ERROR] Failed to resolve target definition ... targetplatform.target: Could not find "org.eclipse.e4.tools.spies.feature.feature.group..." in the repositories of the current location`
127
+
## Build fails with `[ERROR] Failed to resolve target definition ... targetplatform.target: Could not find "org.eclipse.e4.tools.spies.feature.feature.group..." in the repositories of the current location`
129
128
130
129
This probably means that our pinned target has gone out of date and needs updating. Open the Eclipse IDE and click on `org.eclipse.tools/latest` and click `update` this should fail and show `Unable to locate installable unit ...`. To fix this remove the plugin and then add it from the `software site `, work with `org.eclipse.e4.core.tools.update - http://download.eclipse.org/e4/snapshots/org.eclipse.e4.tools/latest` then you add `Eclipse E4 - All Spies`.
0 commit comments