Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| devel:documentation:quickstart:dev:ide:idea [2023/11/09 09:36] – [Configure test runner] kolombom | devel:documentation:quickstart:dev:ide:idea [2024/08/22 07:13] (current) – cem | ||
|---|---|---|---|
| Line 7: | Line 7: | ||
| ====== Import project ====== | ====== Import project ====== | ||
| - |   - Open Idea and choose to //Import project (File -> New -> Project from Existing Sources)// | + |   - Open Idea and choose to //Import project (File → New → Project from Existing Sources)// | 
| - |   - Import the ''/ | + |   - Import the ''/ | 
|   - {{  .: |   - {{  .: | ||
| - Next. Next… Project should be imported. | - Next. Next… Project should be imported. | ||
| Line 62: | Line 62: | ||
| Save the configuration and test it by running. Tests from all modules should be executed. | Save the configuration and test it by running. Tests from all modules should be executed. | ||
| - | |||
| ====== Launch on Tomcat ====== | ====== Launch on Tomcat ====== | ||
| - | First of all make sure that you have Tomcat 9.0 installed. Then chose Tomcat server in Run/Debug Configurations in IDEA. Set URL to " | + | First of all make sure that you have Tomcat 9.0 installed. Then chose Tomcat server in Run/Debug Configurations in IDEA. Set URL to " | 
| - | {{  .:backend-path.png? | + | {{.:screenshot2024-07-04at9.42.09.png? | 
| TIP 01: Deploy exploded artefact instead of compressed one. | TIP 01: Deploy exploded artefact instead of compressed one. | ||
| TIP 02: If there is nothing deployed to the server check File → Project Structure → Artefacts tab. Add all modules you want to deploy to the artefact you deploy. This should happen automatically by Maven but sometimes it doesn' | TIP 02: If there is nothing deployed to the server check File → Project Structure → Artefacts tab. Add all modules you want to deploy to the artefact you deploy. This should happen automatically by Maven but sometimes it doesn' | ||
| + | |||
| + | ====== Importing a Module ====== | ||
| + | |||
| + | To develop a module alongside main CzechIdm, import the module from Project Structure > Project Settings > Modules > Right click in the list of modules > Add > Import Module | ||
| + | |||
| + | {{.: | ||
| + | |||
| + | When the module is imported, go to Artifacts tab and drag the module artifact over idm-backend.war. | ||
| + | |||
| + | {{.: | ||
| + | |||
| + | Then rebuild the project. | ||
| + | |||
| + | <note important> | ||
| + | |||
| + | ===== Troubleshooting ===== | ||
| + | |||
| + | If you see errors with missing dependencies, | ||
| + | |||
| + | If that doesn' | ||