-
Notifications
You must be signed in to change notification settings - Fork 8
/
fast-build.sh
executable file
·36 lines (28 loc) · 1.65 KB
/
fast-build.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#!/bin/sh
#*******************************************************************************
# Copyright (c) 2009, 2020 Xored Software Inc and others.
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v2.0
# which accompanies this distribution, and is available at
# https://www.eclipse.org/legal/epl-v20.html
#
# Contributors:
# Xored Software Inc - initial API and implementation and/or initial documentation
#*******************************************************************************
export MAVEN_OPTS="-Xms512m -Xmx1024m -XX:MaxMetaspaceSize=256m -XX:MaxPermSize=256m"
CWD=`pwd`
OPTIONS="-Ptycho.fast -Dtycho.localArtifacts=ignore $@"
mvn clean verify -f releng/mirroring/pom.xml $OPTIONS || exit 100
echo "======================Building Core======================"
mvn clean verify -f releng/core/pom.xml $OPTIONS || exit 101
echo "======================Building Runtime 4x======================"
mvn clean verify -f releng/runtime/pom.xml -P runtime4x $OPTIONS || exit 103
echo "======================Building IDE and Modules======================"
mvn clean verify -f releng/ide/pom.xml $OPTIONS || exit 105
# Build RAP before RCPTT repository since it is required.
echo "======================Building RAP Core======================"
mvn clean verify -f releng/rap/pom.xml -P core $OPTIONS || exit 110
echo "======================Building RAP IDE part======================"
mvn clean verify -f releng/rap/pom.xml -P ide $OPTIONS || exit 111
echo "======================Building RCP and Full site======================"
mvn clean verify -f releng/rcptt/pom.xml $OPTIONS || exit 106