Upgrade projects - before the plugin change
Before you upgrade, it is recommended, that each and every legacy Logic manager project you migrate to Studio project by moving the logics into the CalculationLogic subfolder.
...
Step 1: Upgrade Projects
First it is necessary to make a change in every project started in IDEA in the previous version of the plugin (i.e. Logic Manager) – you need to move the logics into a new subfolder:
- Open the project in IntelliJ IDEA.
- In the project files tree, right-click on the root folder and choose New → Directory.
- Enter CalculationLogic (exactly the samelike this) as a name and click 'OK'.
- Select all your non-workflow logics and drag them to this new CalculationLogic subfolder.
- In the project files tree, right-click on the root folder and choose New → Directory.
- Enter WorkflowFormula (exactly like this) as a name and press click 'OK'.
- Select all your workflow logics and drag them to this new CalculationLogic WorkflowFormula subfolder.
- Commit the changes in GIT.
Info |
---|
Moving the logics to the CalculationLogic and WorkflowFormula subfolders does not have any impact on your team members who are still working in the legacy Logic Manager, since the legacy Logic Manager supports that. So you can do that any time. |
Step 2: Upgrade IDEA plugin
- In the IntelliJ IDEA Windows version, click 'File' and select 'Settings'. In the Mac version, click 'IntelliJ IDEA' and select 'Preferences'.
- Open the Plugins tab.
- Search for pricefx to find the plugin named pricefx-logic-manager-idea and click 'Uninstall'.
- Click the Browse Repositories button.
- Click the Manage Repositories button.
- Select the repository URL and click the 'minus' button.
- Click the 'plus' button to add a new custom repository.
To get the new repository URL, go to this page (registered users only).
Optionally, click 'Check now' to see if the URL can be accessed. - In the list of plugins, search for pricefx to find the plugin named pricefx-studio-idea.
- Select it and click 'Install'.
- Restart IDEA (as asked by the system).
...
Step 3: Update Project Libraries
Apply the latest documentation and auto-completion in your existing projects:
- Open the project in IntelliJ IDEA.
- In the project files tree, right-click on the root folder and choose 'Open Module Setting'.
- Click 'Libraries', select all in the middle and remove them using the 'minus' button.
- Press Click OK to close the Project Structure dialog.
- In the project files tree, right-click on the root folder and choose 'Add Framework support...'.
- Select 'Price f(x)Pricefx' and press click 'OK' to close the dialog.
Info |
---|
This change should not have any impact on your team members either, since the .idea subfolder is usually set to be ignored by GIT. |
...