1 Star 0 Fork 4

刘玄罡/interlij idea community source

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
build.xml 2.76 KB
一键复制 编辑 原始数据 按行查看 历史
guohuacai 提交于 2020-11-22 18:01 . initt
<!--
This build script compiles, build distribution archives and run tests in IntelliJ IDEA Community Edition. Build process can be customized
via options, see org.jetbrains.intellij.build.BuildOptions and org.jetbrains.intellij.build.TestingOptions classes for details. System properties
from these classes can be passed as Ant properties in the command line, e.g. run 'ant -Dintellij.build.output.root=/path/to/dir' to
specify custom output directory.
Note that this script is for building IntelliJ IDEA Community Edition only. If you want to build your own product based on IntelliJ Platform,
create a gant script for it, see javadoc for org.jetbrains.intellij.build package for details.
-->
<project name="IntelliJ IDEA Community Edition" default="build">
<property name="project.home" value="${basedir}"/>
<target name="init">
<condition property="gradle.executable" value="${project.home}/build/dependencies/gradlew.bat"
else="${project.home}/build/dependencies/gradlew">
<os family="windows"/>
</condition>
<exec executable="${gradle.executable}" dir="${project.home}/build/dependencies" failonerror="true">
<env key="JAVA_HOME" value="${java.home}"/>
<arg value="--no-daemon"/>
<arg value="setupKotlinPlugin"/>
</exec>
<propertyset id="intellij.build.properties">
<propertyref name="build.number"/>
<propertyref prefix="intellij.build."/>
</propertyset>
</target>
<macrodef name="call_gant">
<attribute name="script" />
<attribute name="target" default="default"/>
<sequential>
<java failonerror="true" jar="${project.home}/lib/ant/lib/ant-launcher.jar" fork="true">
<jvmarg line="-Xmx1500m"/>
<sysproperty key="jna.nosys" value="true" />
<sysproperty key="java.awt.headless" value="true"/>
<sysproperty key="gant.script" value="@{script}"/>
<sysproperty key="gant.target" value="@{target}"/>
<syspropertyset refid="intellij.build.properties"/>
<arg value="-f"/>
<arg value="${project.home}/build/gant.xml"/>
</java>
</sequential>
</macrodef>
<!-- build distribution archives for IntelliJ Community Edition in out/idea-ce/artifacts directory -->
<target name="build" depends="init">
<call_gant script="${project.home}/build/scripts/idea_community.gant"/>
</target>
<target name="test" depends="init">
<call_gant script="${project.home}/build/scripts/tests_in_community.gant"/>
</target>
<!-- Creates an updater-full.jar in ${intellij.build.output.root}/artifacts, it includes 'intellij.platform.updater' module with all its dependencies -->
<target name="fullupdater" depends="init">
<call_gant script="${project.home}/build/scripts/idea_community.gant" target="updater-full"/>
</target>
</project>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/linuxgt/interlij-idea-community-source.git
[email protected]:linuxgt/interlij-idea-community-source.git
linuxgt
interlij-idea-community-source
interlij idea community source
master

搜索帮助