update CE build from sources

This commit is contained in:
Kirill Kalishev
2010-01-29 15:05:55 +03:00
parent 602701d166
commit b57c761b8b
3 changed files with 135 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
#! /bin/bash
if [ -z "$WORK_IDEA_HOME" ]; then
echo WORK_IDEA_HOME must be defined and point to build you're updating
exit
fi
if [ -z "$DEV_IDEA_HOME" ]; then
echo DEV_IDEA_HOME must be defined and point to source base your're updating from
exit
fi
echo Updating $WORK_IDEA_HOME from compiled classes in $DEV_IDEA_HOME
rm -rf $WORK_IDEA_HOME/lib
rm -rf $WORK_IDEA_HOME/plugins
ant -f update.xml
cd $DEV_IDEA_HOME
cp -R $DEV_IDEA_HOME/out/deploy/* $WORK_IDEA_HOME
cd $WORK_IDEA_HOME/bin
+63
View File
@@ -0,0 +1,63 @@
<!--
~ Copyright 2000-2010 JetBrains s.r.o.
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<project name="IntelliJ IDEA CE" default="layout">
<dirname property="build" file="${ant.file}"/>
<property name="project.home" value="${build}/../"/>
<property name="gant.home" value="${project.home}/build/lib/gant"/>
<property name="modules.output" value="${project.home}/out"/>
<macrodef name="run">
<attribute name="script"/>
<attribute name="deploy"/>
<sequential>
<java failonerror="true" classname="org.apache.tools.ant.Main" fork="true">
<jvmarg line="-Xms64m -Xmx512m"/>
<jvmarg line="&quot;-Ddeploy=@{deploy}&quot;"/>
<jvmarg line="&quot;-Dmodules.output=${modules.output}&quot;"/>
<jvmarg line="&quot;-Dgant.script=@{script}&quot;"/>
<classpath>
<fileset dir="${project.home}/lib/ant/lib">
<include name="*.jar"/>
</fileset>
<pathelement location="../build/lib/gant_patches.jar"/>
<fileset dir="${gant.home}/lib">
<include name="*.jar"/>
</fileset>
</classpath>
<arg value="-f"/>
<arg value="gant.xml"/>
</java>
<java classname="com.intellij.util.io.zip.ReorderJarsMain" fork="true">
<arg value="${build}/order.txt"/>
<arg value="@{deploy}"/>
<arg value="@{deploy}"/>
<arg value="${project.home}/lib"/>
<classpath>
<pathelement location="${modules.output}/production/util"/>
</classpath>
</java>
</sequential>
</macrodef>
<target name="layout">
<run script="${project.home}/build/scripts/layouts.gant"
deploy="${project.home}/out/deploy"/>
</target>
</project>
+49
View File
@@ -0,0 +1,49 @@
alloy.jar
ant.jar
asm-commons.jar
asm.jar
asm-tree-3.0.jar
bcel.jar
cglib-nodep-2.1_3.jar
coverage-agent.jar
coverage-report.jar
coverage-report-idea.jar
commons-codec-1.3.jar
commons-collections.jar
commons-lang-2.4.jar
emma.jar
freemarker.jar
jdom.jar
jgoodies-forms.jar
looks-2.2.2.jar
jcip-annotations.jar
jh.jar
JNIWrap.jar
jsf-api.jar
jsp-api.jar
junit.jar
junit-4.6.jar
log4j.jar
microba.jar
nanoxml-2.2.3.jar
org.eclipse.jdt.core_3.4.4.v_894_R34x.jar
oromatcher.jar
picocontainer.jar
resolver.jar
servlet-api.jar
trove4j.jar
velocity.jar
xerces.jar
xml-apis.jar
xmlrpc-2.0.jar
xstream.jar
xpp3-1.1.4-min.jar
yjp-controller-api-redist.jar
jna.jar
jna-utils.jar
groovy-all-1.6.3.jar
jaxen-1.1.1.jar
commons-net-1.4.1.jar
serviceMessages.jar
xbean.jar
jsr173_1.0_api.jar