Update your OSGi plugin project after product location changes
Before you begin
After you initially configure a project within IntelliJ IDEA with OSGi Editor, the project includes information that references the Guidewire product directory on your local disk. If you move your product directory, you must update your project with the new product location on your local disk. Similarly, if you upgrade your Guidewire product to a new version with a different install path, you must update the OSGi project.
Procedure
- If you need to move your OSGi project on disk, quit IntelliJ IDEA with OSGi Editor and move the files on disk.
- Launch IntelliJ IDEA with OSGi Editor from your new Guidewire product location.
- In IntelliJ IDEA with OSGi Editor, open your OSGi plugin project.
-
In IntelliJ IDEA with OSGi Editor,
update the module dependency for your OSGi module.
- Open the Project Structure window.
- Click the Modules item in the left navigation.
- In the list of modules to the right, under the name of your module, click OSGi Bundle Facet.
- To the right of the Guidewire product directory text field, click the Change button.
- Set the new disk path and click OK.
- Click OK in the dialog. The tool updates IDE library dependencies and the build.properties file.
- Test your new configuration.
