This guide is applicable for OFBiz 16.11.x and above, and for Linux-based or Mac working environment.
Step-by-step guide
- Ensure Gradle is installed. If not, follow the procedure at step 2.
- Installing Gradle on Linux-based / Mac system
- Open the terminal, and run the following commands.
- sudo mkdir /opt/gradle // Create a folder for gradle
- sudo unzip id /opt/gradle gradle-3.4.1-bin.zip // Unzip the downloaded gradle file.
ls /opt/gradle/gradle-3.4.1/ // Verify that the content is unzipped at the expected location
- export PATH=$PATH:/opt/gradle/gradle-3.4.1/bin // Add gradle bin folder to PATH
- gradle -v // Check the export is successfully
- Open Intellij IDEA
- In the 'VCS' Menu, click on ‘Get from Version Control ...’ and choose ‘Git’.
- Add URL https://github.com/apache/ofbiz-framework.git, and click ‘Checkout’.
- Select your checkout destination directory which should be an empty folder. Click ‘OK’.
- Accept the defaults and click ‘OK’.
- Select the checkbox for ‘1.8 format’ and click ‘OK’.
- Now wait for IDEA to checkout the project.
- When prompt to create an IDEA project for the sources you have checked out to, click ‘Yes’.
- In the ‘Import Project from Gradle’ screen, keep the defaults for the Gradle settings, and click ‘OK.
- Keep the defaults when prompt to select the modules/data to include in the project. Click ‘OK’.
- Wait for IDEA to do the necessary indexing and you are done.
- OFBIZ-9250Getting issue details... STATUS
1 Comment
Carsten Schinzer
Updated this page to reflect the github based new repo.