mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
support and instructions for building Python plugin from command line
This commit is contained in:
@@ -14,3 +14,14 @@ To run the test suite, use the built-in JUnit test runner and run all tests in t
|
||||
|
||||
To build the distribution archive of PyCharm Community Edition, execute build.xml Ant build script in this directory. The results of the
|
||||
build execution can be found at out/artifacts.
|
||||
|
||||
## Building the Python Plugin
|
||||
|
||||
To build the Python plugin for IntelliJ IDEA Community Edition:
|
||||
|
||||
* Download the .tar.gz distribution of the most recent EAP or release build of IntelliJ IDEA Community Edition;
|
||||
* Run the following command:
|
||||
|
||||
ant -Didea.path=<download path> -Didea.build.number=<build number of the build you're using> plugin
|
||||
|
||||
The .zip file of the built plugin will be placed at distCE/python-community-<branch number>.SNAPSHOT.zip
|
||||
|
||||
+5
-1
@@ -17,10 +17,11 @@
|
||||
<attribute name="script" />
|
||||
<sequential>
|
||||
<java failonerror="true" jar="${project.home}/lib/ant/lib/ant-launcher.jar" fork="true">
|
||||
<jvmarg line="-Xmx612m -XX:MaxPermSize=152m"/>
|
||||
<jvmarg line="-Xmx612m -XX:MaxPermSize=152m -Didea.build.number=${idea.build.number} -DideaPath=${idea.path}"/>
|
||||
|
||||
<arg line=""-Dgant.script=@{script}""/>
|
||||
<arg line=""-Dteamcity.build.tempDir=${tmp.dir}""/>
|
||||
<arg line=""-Didea.build.number=${idea.build.number}""/>
|
||||
<arg line=""-Didea.test.group=ALL_EXCLUDE_DEFINED""/>
|
||||
<arg value="-f"/>
|
||||
<arg value="${project.home}/build/gant.xml"/>
|
||||
@@ -32,6 +33,9 @@
|
||||
<call_gant script="${python.home}/build/pycharm_community_build.gant"/>
|
||||
</target>
|
||||
|
||||
<target name="plugin" depends="init">
|
||||
<call_gant script="${python.home}/build/python_plugin_build.gant"/>
|
||||
</target>
|
||||
<!--
|
||||
<target name="test" depends="init">
|
||||
<call_gant script="${project.home}/build/scripts/tests.gant"/>
|
||||
|
||||
@@ -7,6 +7,7 @@ includeTargets << new File("${projectHome}/build/scripts/utils.gant")
|
||||
|
||||
setProperty("outDir", "${projectHome}/out/python")
|
||||
setProperty("ideaDir", "${outDir}/ideaCE")
|
||||
requireProperty("ideaPath", ideaDir)
|
||||
|
||||
setProperty("pluginHelp", "${outDir}/help")
|
||||
|
||||
@@ -71,8 +72,8 @@ target(name: "clean", description: "Cleanup output") {
|
||||
|
||||
target(name: "unzip") {
|
||||
ant.mkdir(dir: "${ideaHomePacked}")
|
||||
ant.gunzip(src: "${ideaDir}/ideaIC-${ideaBuildNumber}.tar.gz")
|
||||
ant.untar(src: "${ideaDir}/ideaIC-${ideaBuildNumber}.tar", dest: "${ideaHomePacked}")
|
||||
ant.gunzip(src: "${ideaPath}/ideaIC-${ideaBuildNumber}.tar.gz")
|
||||
ant.untar(src: "${ideaPath}/ideaIC-${ideaBuildNumber}.tar", dest: "${ideaHomePacked}")
|
||||
}
|
||||
|
||||
target(name: "compile", description: "Compile module python") {
|
||||
|
||||
Reference in New Issue
Block a user