mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-29 09:47:50 +08:00
[site] checkout and build community migrated
This commit is contained in:
parent
132a4667bd
commit
c332f8cf21
@ -3,7 +3,7 @@
|
||||
{"id":"basic_topics", "title":"Basic Topics", "url":"basic_topics.html", "pages":[
|
||||
|
||||
{"id":"getting_started", "title":"Getting Started", "url":"getting_started.html", "pages":[
|
||||
|
||||
{"id":"checkout_and_build_community", "title":"Check Out And Build Community Edition", "url":"checkout_and_build_community.html"},
|
||||
{"id":"setting_up_environment", "title":"Setting Up Development Environment", "url":"setting_up_environment.html"},
|
||||
{"id":"creating_plugin_project", "title":"Creating a Plugin Project", "url":"creating_plugin_project.html"},
|
||||
{"id":"running_plugin", "title":"Running a Plugin", "url":"running_plugin.html"}
|
||||
|
@ -7,6 +7,7 @@
|
||||
## IntelliJ IDEA SDK Documentation
|
||||
* [Basic Topics](basic_topics.html)
|
||||
* [Getting Started](getting_started.html)
|
||||
* [Check Out And Build Community Edition](checkout_and_build_community.html)
|
||||
* [Setting Up Development Environment](setting_up_environment.html)
|
||||
* [Creating a Plugin Project] (creating_plugin_project.html"}
|
||||
* [Running a Plugin] (running_plugin.html)
|
||||
|
87
checkout_and_build_community.md
Normal file
87
checkout_and_build_community.md
Normal file
@ -0,0 +1,87 @@
|
||||
---
|
||||
title: Check Out And Build Community Edition
|
||||
---
|
||||
|
||||
# {{ page.title }}
|
||||
|
||||
## Installing Git
|
||||
The source code of IntelliJ IDEA Community Edition is stored in a Git repository.
|
||||
Therefore, in order to check out the sources, you need to have Git installed.
|
||||
We recommend using the
|
||||
[msys git](http://code.google.com/p/msysgit/)
|
||||
distribution on Windows and
|
||||
[git-osx-installer](http://code.google.com/p/git-osx-installer/)
|
||||
on Mac.
|
||||
|
||||
## Checking Out the Code
|
||||
|
||||
You can check out the code either by using IntelliJ IDEA or from the command line.
|
||||
|
||||
<!--TODO screen shots-->
|
||||
|
||||
**Checking out from IntelliJ IDEA:**
|
||||
|
||||
* Select "Version Control \| Checkout from Version Control \| Git" from the main menu
|
||||
|
||||
* In the "Git Repository URL" field, enter git://git.jetbrains.org/idea/community.git
|
||||
|
||||
**Checking out from the command line**
|
||||
|
||||
Please execute the following command:
|
||||
```
|
||||
git clone git://git.jetbrains.org/idea/community.git idea
|
||||
```
|
||||
<!--TODO update IDEA versions-->
|
||||
|
||||
The master branch currently contains the code for the development version of IntelliJ IDEA 15.x.
|
||||
Source code of older releases of IntelliJ IDEA can be found in the following branches:
|
||||
|
||||
13.0.x - 133
|
||||
|
||||
12.0.x - 123
|
||||
|
||||
11.1.x - 117
|
||||
|
||||
11.0.x - nika
|
||||
|
||||
10.5.x - xena
|
||||
|
||||
10.0.x - x0x
|
||||
|
||||
9.x - maia
|
||||
|
||||
You can also browse the source code through the Web interface.
|
||||
|
||||
## Forking on GitHub
|
||||
|
||||
As an alternative to checking out the official repository, you can fork the GitHub mirror of the IntelliJ IDEA source code, make changes in your own fork, and send us a pull request.
|
||||
|
||||
The GitHub mirror can be found at
|
||||
[https://github.com/JetBrains/intellij-community](https://github.com/JetBrains/intellij-community)
|
||||
|
||||
## Building and Running from the IDE
|
||||
|
||||
To develop IntelliJ IDEA, you can use either IntelliJ IDEA Community Edition or IntelliJ IDEA Ultimate.
|
||||
|
||||
**Building and running the code**
|
||||
|
||||
* Make sure you have the Groovy plugin enabled.
|
||||
Parts of IntelliJ IDEA are written in Groovy, and you will get compilation errors if you don't have the plugin enabled
|
||||
|
||||
* Make sure you have the UI Designer plugin enabled.
|
||||
Most of IntelliJ IDEA's UI is built using the UI Designer, and the version you build will not run correctly if you don't have the plugin enabled
|
||||
|
||||
* Open the directory with the source code as a directory-based project.
|
||||
|
||||
* Configure a JSDK named "IDEA jdk" (case sensitive), pointing to an installation of JDK 1.6
|
||||
|
||||
* Add lib\tools.jar from the JDK installation directory to the classpath of IDEA JDK
|
||||
|
||||
* Use Build \| Make Project to build the code
|
||||
|
||||
* To run the code, use the provided shared run configuration "IDEA"
|
||||
|
||||
## Building and Running from the Command Line
|
||||
<!--TODO link to ant-->
|
||||
To build the distribution archive of IntelliJ IDEA Community Edition, execute build.xml Ant build script in the root directory of the source code.
|
||||
The results of the build execution can be found at out/artifacts.
|
Loading…
x
Reference in New Issue
Block a user