architecture=x86
if [ ! "x${pde_name}" = "x" ]
then
- ide_root_path_name=indigo-pde/eclipse
+ ide_root_path_name=eclipse-pde/eclipse
fi
;;
windows-32)
architecture=x86
if [ ! "x${pde_name}" = "x" ]
then
- ide_root_path_name=indigo-winpde/eclipse
+ ide_root_path_name=eclipse-pde/eclipse
fi
;;
ubuntu-64)
architecture=x86_64
if [ ! "x${pde_name}" = "x" ]
then
- ide_root_path_name=indigo-pde/eclipse
+ ide_root_path_name=eclipse-pde/eclipse
fi
;;
windows-64)
architecture=x86_64
if [ ! "x${pde_name}" = "x" ]
then
- ide_root_path_name=indigo-winpde/eclipse
+ ide_root_path_name=eclipse-pde/eclipse
fi
;;
macos-64)
architecture=x86_64
if [ ! "x${pde_name}" = "x" ]
then
- ide_root_path_name=indigo-macpde/eclipse
+ ide_root_path_name=eclipse-pde/eclipse
fi
;;
*)
__copy_dependency_plugins()
{
dependency_plugin_path=${ROOTDIR}/${ide_root_path_name}
- if [ -d ${dependency_plugin_path} ]
+
+ equinox_launcher=`echo org.eclipse.equinox.launcher_*.jar`
+
+ ## check base-native-ide-product p2 install
+ update_plugin_path=${ROOTDIR}/ide/updatablenative
+ if [ -d ${update_plugin_path} ]
then
- cp -rf ${dependency_plugin_path}/features/* ${build_path}/features/
- cp -rf ${dependency_plugin_path}/plugins/* ${build_path}/plugins/
+ ## install native feature by p2 for install script failure on the cross build
+ java -jar ${reference_ide_path}/plugins/$equinox_launcher \
+ -application org.eclipse.equinox.p2.director \
+ -repository "file:/${update_plugin_path}" \
+ -installIU org.tizen.base.native.feature.feature.group \
+ -noSplash \
+ -p2.os ${archive_platform_name} \
+ -p2.ws ${windowing} \
+ -p2.arch ${architecture}
+ rm -rf ${update_plugin_path}
fi
+
+ ## check base-web-ide-product p2 install
+ update_plugin_path=${ROOTDIR}/ide/updatableweb
+ if [ -d ${update_plugin_path} ]
+ then
+ ## install web feature by p2 for install script failure on the cross build
+ java -jar ${reference_ide_path}/plugins/$equinox_launcher \
+ -application org.eclipse.equinox.p2.director \
+ -repository "file:/${update_plugin_path}" \
+ -installIU org.tizen.base.web.feature.feature.group \
+ -noSplash \
+ -p2.os ${archive_platform_name} \
+ -p2.ws ${windowing} \
+ -p2.arch ${architecture}
+ rm -rf ${update_plugin_path}
+ fi
+
}
__make_ant_build_properties_file()
__set_build_parameter
__clean_build_environment
__copy_build_sources
- #__copy_dependency_plugins
+ __copy_dependency_plugins
__make_ant_build_properties_file
__modify_about_mappings_file
__execute_pde_build