Open Source RDBMS - Seamless, Scalable, Stable and Free

한국어 | Login |Register

CUBRID Manager Build Instructions for Mac OS X


This guide will explain how to build CUBRID Manager GUI client on Mac OS X.

Build Steps

1. Download Eclipse version 3.6 from Eclipse.org

Download Eclipse

2. Download Eclipse Delta Pack version 3.6

Download Eclipse Delta Pack

3. Download Babel language pack for Helios (3.6)

  • BabelLanguagePack-eclipse-ko_****
  • BabelLanguagePack-rt.equinox.p2-ko_****
  • BabelLanguagePack-tools.gef-ko_****

download language pack

4. Extract Eclipse

 extract-eclipse.png

5. Extract Eclipse Delta pack to eclipse/dropins/delta/

extract-eclipse-delta.png  6. Extract Babel language pack to eclipse/dropins/language/

extract language pack

7. Download and copy org.apache.log4j_1.2.13.v200806030600.jar into eclipse/plugin.

8. Checkout CUBRID Manager sources into src/.

  • ex) branches/RB-8.4.0.3xxx/client

9. Execute Eclipse.app

10. Open projects

11. On the left panel choose com.cubrid.cubridmanager.dependence.feature/feature.xml. Then click Plug-ins tab, then press Versions… button.

step-11-plugins-version.png

 step-11-save-version.png

12. Save file

13. Choose com.cubrid.common.update.feature/feature.xml. Click Plug-ins tab, click Versions... button.

step-12-plugins-version.png

step-12-save-version.png 

14. Save file

15. Exit Eclipse

16. Copy buildProduct.sh into src/ on com.cubrid.cubridmanager.build/.

copy-buildproduct.png

 17. Fix ECLIPSE_HOME path with eclipse directory in buildProduct.sh

18. Fix BUILD_DIR path for a source path

19. Remove SVN relation part

#!/bin/bash

TOP_DIR=${1}
if -z "$TOP_DIR";
then
BUILD_HOME=`pwd`
else
BUILD_HOME=`cd ${TOP_DIR} && pwd`
fi

ECLIPSE_HOME=/Users/pcraft/Dev/Build/eclipse
PRODUCT_NAME=CUBRIDManager
BUILD_DIR=${BUILD_HOME}/client/com.cubrid.cubridmanager.build

CUR_VER_DIR=`date +%Y%m%d`
OUTPUT_DIR=${BUILD_HOME}/${CUR_VER_DIR}
rm -rf ${OUTPUT_DIR}
mkdir -p ${OUTPUT_DIR}

chmod ugo+x ${BUILD_DIR}/installer/linux/*.sh

java -jar ${ECLIPSE_HOME}/plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar -application org.eclipse.ant.core.antRunner -buildfile ${BUILD_DIR}/buildProduct.xml -Doutput.path=${OUTPUT_DIR} -Declipse.home=${ECLIPSE_HOME} distlinux

cd ${BUILD_HOME}/client
tar -czf ${OUTPUT_DIR}/${GZ_SOURCE_FILE} *
cd ${BUILD_HOME}

20. Execute the buildProduct.sh

execute-build.png

21. When the build is finished, you will see binaries in a folder named as the current date.

build-directory.png

comments powered by Disqus
Page info
viewed 2259 times
translations en
Author
posted 3 years ago by
newpcraft
Contributors
updated 2 years ago by
View revisions
Share this article