Files
openide/build/update.xml
Alexander Zolotov ac3848fa7c Add ability to build non-bundled plugins while updating from sources and install the via plugins repository
- additional bundled plugin modules are disabled as ruby and python plugin can be now installed in a natural way
- snapshot distributions are now allowed to use builtin plugins repository url
- add date to snapshot plugin versions to make IDEA understand that they can be updated

GitOrigin-RevId: 8ffb3c9c8f760f0fd4caf02e117c4d89fdfbed87
2019-11-08 09:06:35 +00:00

41 lines
1.8 KiB
XML

<!-- Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. -->
<project name="IntelliJ IDEA CE developer's update" default="layout">
<dirname property="build" file="${ant.file}"/>
<property name="project.home" value="${build}/../"/>
<property name="gant.home" value="${project.home}/build/lib/gant"/>
<macrodef name="run">
<attribute name="script"/>
<attribute name="target" default="default"/>
<attribute name="deploy"/>
<attribute name="distOutputRelativePath" default="dist"/>
<sequential>
<java classname="org.apache.tools.ant.Main" dir="${project.home}" fork="true" failonerror="true">
<jvmarg line="-Xmx512m"/>
<jvmarg line="&quot;-Dintellij.build.output.root=@{deploy}&quot;"/>
<jvmarg line="&quot;-Dintellij.build.local.plugins.repository=${intellij.build.local.plugins.repository}&quot;"/>
<jvmarg line="&quot;-DdistOutputRelativePath=@{distOutputRelativePath}&quot;"/>
<jvmarg line="&quot;-Dgant.script=@{script}&quot;"/>
<jvmarg line="&quot;-Dgant.target=@{target}&quot;"/>
<classpath>
<fileset dir="${project.home}/lib/ant/lib" includes="*.jar"/>
</classpath>
<arg value="-f"/>
<arg value="${project.home}/build/gant.xml"/>
</java>
</sequential>
</macrodef>
<target name="layout">
<run script="${project.home}/build/scripts/idea_community.gant"
target="update-from-sources"
deploy="${project.home}/out/deploy"/>
</target>
<target name="build-intellij-core">
<run script="${project.home}/build/scripts/idea_community.gant"
target="build-intellij-core"
deploy="${project.home}/out/deploy"/>
</target>
</project>