Last active
February 21, 2017 18:05
-
-
Save gilfernandes/b5f5386d725e32c0a5ad85390a7b379a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This file contains the commands I use to build the latestTalend Open Source version | |
# Create a directory where the whole GIT files are to be downloaded | |
# The best way to download the Talend source files as of writing this Gist is to go to URL: https://github.com/Talend/studio-se-master | |
# and follow the instructions there. | |
# Make sure you have already downloaded and installed Maven from https://maven.apache.org/download.cgi, also gits. | |
# We have used a current version of Java 8 | |
mkdir /opt/talend | |
# Make sure you have enough memory for compilation | |
export MAVEN_OPTS="-Xmx8000m -XX:MaxPermSize=512m -XX:-UseConcMarkSweepGC" | |
cd /opt/talend | |
git clone https://github.com/Talend/studio-se-master | |
cd studio-se-master/ | |
gits populate --with-ifpresent | |
cd talend.studio.parent.pom | |
mvn clean install | |
cd /opt/talend | |
git clone https://github.com/Talend/tmdm-common | |
cd tmdm-common/ | |
mvn clean install | |
# Optional - building only DI | |
cd /opt/talend/studio-se-master | |
mvn clean install -Dtos.bd=false -Dtos.di=true -Dtos.dq=false -Dtos.mdm=false -Dtos.esb=false | |
# or | |
mvn install -Dtos.bd=false -Dtos.di=true -Dtos.dq=false -Dtos.mdm=false -Dtos.esb=false | |
# or even to make it faster | |
mvn clean install -Dtos.bd=false -Dtos.di=true -Dtos.dq=false -Dtos.mdm=false -Dtos.esb=false -rf ../tcommon-studio-se | |
# optionally only with install | |
mvn install -Dtos.bd=false -Dtos.di=true -Dtos.dq=false -Dtos.mdm=false -Dtos.esb=false | |
# only ESB | |
mvn clean install -Dtos.bd=false -Dtos.di=false -Dtos.dq=false -Dtos.mdm=false -Dtos.esb=true | |
# synchronize | |
cp -Rv /mnt/dev/eclipse/workspace/org.talend.designer.core/src/main/* /opt/talend/tdi-studio-se/main/plugins/org.talend.designer.core/src/main | |
cp /mnt/dev/eclipse/workspace/org.talend.designer.core/plugin.xml /opt/talend/tdi-studio-se/main/plugins/org.talend.designer.core/plugin.xml | |
cp -Rv /mnt/dev/eclipse/workspace/org.talend.metadata.managment.ui/src/main/java/* /opt/talend/tcommon-studio-se/main/plugins/org.talend.metadata.managment.ui/src/main/java | |
cp -Rv /mnt/dev/eclipse/workspace/org.talend.model/src/main/java/* /opt/talend/tcommon-studio-se/main/plugins/org.talend.model/src/main/java | |
cp -Rv /mnt/dev/eclipse/workspace/org.talend.core.runtime/src/main/java/* /opt/talend/tcommon-studio-se/main/plugins/org.talend.core.runtime/src/main/java | |
cp -Rv /mnt/dev/eclipse/workspace/org.talend.designer.core/src/main/java/* /opt/talend/tdi-studio-se/main/plugins/org.talend.designer.core/src/main/java | |
# Here is Talend DI after compilation | |
cd /opt/talend/studio-se-master/build/talend.studio.tos.di.product/target/products/org.talend.studio.tos.di.product/win32/win32/TOS_DI-20160727_0915-V6.3.0SNAPSHOT | |
ls /opt/talend/studio-se-master/build/talend.studio.tos.di.product/target/products/TOS_DI-20160727_0915-V6.3.0SNAPSHOT.zip | |
# After unpacking it, make sure you add the -vm argument in case you still have Java 7 install in your machine in TOS_DI-win-x86_64.ini | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment