Skip to content

Commit

Permalink
Docs: update the build guide (#632)
Browse files Browse the repository at this point in the history
  • Loading branch information
ForNeVeR authored Oct 3, 2022
1 parent 434cb61 commit fb43454
Showing 1 changed file with 18 additions and 6 deletions.
24 changes: 18 additions & 6 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,27 @@
## Azure Toolkit for IntelliJ IDEA
## Azure Toolkit for Rider
### Prerequisites
- Install [Corretto JDK 8](https://docs.aws.amazon.com/corretto/latest/corretto-8-ug/downloads-list.html)
- Install [Corretto JDK 17](https://docs.aws.amazon.com/corretto/latest/corretto-17-ug/downloads-list.html)

#### Windows
- Make sure to install [Visual Studio 2010 C++ Redistributable](https://learn.microsoft.com/en-US/cpp/windows/latest-supported-vc-redist?
view=msvc-170#visual-studio-2010-vc-100-sp1-no-longer-supported).

Otherwise, you'll get errors related to exit code -1073741515 during the Utils project installation.

### Building
* Clone the repository with HTTPS or SSH:
```
$ git clone https://github.com/Microsoft/azure-tools-for-java.git
$ cd azure-tools-for-java
$ git clone https://github.com/JetBrains/azure-tools-for-intellij.git
$ cd azure-tools-for-intellij
```
* Run the following command under the project base path:
* **Using JDK 8**, run the following command under the project base path:
```
$ mvn clean install -f Utils/pom.xml
$ ./mvnw clean install -f Utils/pom.xml
```
* Use Gradle to build the plugin
(If you have problems, make sure `JAVA_HOME` environment variable points to `<JDK8>/bin`.)
* **Using JDK 17**, use Gradle to build the plugin
```
$ cd PluginsAndFeatures/azure-toolkit-for-intellij
$ ./gradlew buildPlugin
Expand Down

0 comments on commit fb43454

Please sign in to comment.