set Path=%sdk_path%\tools\mingw\bin;%sdk_path%\tools\mingw\msys\1.0\bin;%Path%
cd /D %ide_path%
-eclipse.exe
+if exist %ide_path%\init (
+ set eclipse_options=-clean
+ del %ide_path%\init
+)
+
+eclipse.exe %eclipse_options%
# only used ubuntu 10.04 or 10.10
if [ ${linux_name} = "ubuntu" ]
then
- if [ ${linux_main_version} = "10.04" -o ${linux_main_version} = "10.10" ]
- then
+ case ${linux_main_version} in
+ 10.04|10.10)
export LD_LIBRARY_PATH=$TIZEN_SDK_INSTALL_PATH/library/webkit:$LD_LIBRARY_PATH
- fi
+ ;;
+ esac
fi
-
## Execute IDE
+eclipse_options="-Dorg.eclipse.swt.browser.DefaultType=MOZILLA"
+
cd ${IDE_PATH}
+
+if [ -e ${IDE_PATH}/init ]
+then
+ eclipse_options="-clean ${eclipse_options}"
+ rm ${IDE_PATH}/init
+fi
+
if [ ${linux_name} = "ubuntu" ]
then
- if [ ${linux_main_version} = "11.04" -o ${linux_main_version} = "11.10" ]
- then
- GDK_NATIVE_WINDOWS=true UBUNTU_MENUPROXY=0 LIBOVERLAY_SCROLLBAR=0 ./eclipse -Dorg.eclipse.swt.browser.DefaultType=MOZILLA
- else
- GDK_NATIVE_WINDOWS=true ./eclipse -Dorg.eclipse.swt.browser.DefaultType=MOZILLA
- fi
+ case ${linux_main_version} in
+ 11.04|11.10|12.04|12.10)
+ GDK_NATIVE_WINDOWS=true UBUNTU_MENUPROXY=0 LIBOVERLAY_SCROLLBAR=0 ./eclipse ${eclipse_options}
+ ;;
+ *)
+ GDK_NATIVE_WINDOWS=true ./eclipse ${eclipse_options}
+ esac
fi
+
cd ${start_path}
+
## Execute IDE
cd ${IDE_PATH}
-GDK_NATIVE_WINDOWS=true ./eclipse.app/Contents/MacOS/eclipse -Dorg.eclipse.swt.browser.DefaultType=MOZILLA
+
+if [ -e ${IDE_PATH}/init ]
+then
+ eclipse_options="-clean ${eclipse_options}"
+ rm ${IDE_PATH}/init
+fi
+
+GDK_NATIVE_WINDOWS=true ./Eclipse.app/Contents/MacOS/eclipse ${eclipse_options}
cd ${start_path}
${MAKESHORTCUT_PATH} -f "${desktopfile}" -e "${exepath}" -i "${ide_icons_path}/${iconfile}" -n "${name}" -c "${comment}"
fi
+touch ${TIZEN_SDK_INSTALL_PATH}/${ide_path}/init
+
exit 0
echo Setting shortcut...
wscript.exe "%MAKESHORTCUT_PATH%" /shortcut:"%shortcut_name%" /target:"%execute_path%" /icon:"%icon_path%\%icon_file%"
-
echo Make shortcut success.
-:: Install Tizen font
-:: copy %font_path%\%font_file% %HOMEDRIVE%\Windows\Fonts
+
+echo Create init file...
+fsutil file createnew %program_path%\init 1
exit 0
clean()
{
echo "=========================================CLEAN============================================"
- rm -rf ${SRCDIR}/*.zip
+ rm -rf ${SRCDIR}/base-ide-product_*_${TARGET_OS}.zip
rm -rf ${SRCDIR}/*.tar.gz
rm -rf ${build_path}
}
-Version:1.0.32
+Version:1.1.0
Source:product
Maintainer:kangho kim <kh5325.kim@samsung.com>, yoonki park <yoonki.park@samsung.com>, hyunsik non <hyunsik.noh@samsung.com>, taeyoung son <taeyoung2.son@samsung.com>, gune Kim <gune.kim@samsung.com>, ho namkoong <ho.namkoong@samsung.com>, hyeongseok heo <hyeong-seok.heo@samsung.com>, gyeongseok seo <gyeongseok.seo@samsung.com>, jihoon song<jihoon80.song@samsung.com>, changhyun lee <changhyun1.lee@samsung.com>, Woongsik Choi <woongsik76.choi@samsung.com>, Hyukmin Kwon <hyukmin0530.kwon@samsung.com>, Wooyoung Cho <wooyoung1.cho@samsung.com>, Jaeheung Kim <jaeheung.kim@samsung.com>