- source.. = src/\r
- output.. = bin/\r
- bin.includes = .,\\r
- plugin.xml,\\r
- META-INF/,\\r
- plugin.properties,\\r
- build.properties,\\r
- .settings/,\\r
- .project,\\r
- .classpath,\\r
- lib/,\\r
- lib/org.eclipse.cdt.debug.edc_1.0.0.201503041838.jar,\\r
- lib/org.eclipse.draw2d_3.7.2.v20111017-2020.jar\r
-
+ source.. = src/
+ output.. = bin/
+ bin.includes = .,\
+ plugin.xml,\
+ META-INF/,\
+ plugin.properties,\
+ build.properties,\
+ .settings/,\
+ .project,\
+ .classpath,\
+ lib/,\
+ lib/org.eclipse.cdt.debug.edc_1.0.0.20160816.jar,\
- lib/org.eclipse.draw2d_3.10.1.201508170204.jar
++ lib/org.eclipse.draw2d_3.10.1.201508170204.jar
;;
esac
-- build_result_path="$build_path/$archive_platform_name/$windowing/$architecture/da"
++ build_result_path="$build_path/$archive_platform_name/$windowing/$architecture/da"
result_archive_file=${build_id}-${archive_platform_name}.${windowing}.${architecture}.zip
+
+ reference_ide_path=${ROOTDIR}/eclipse-pde/eclipse
+ reference_ce_path=${ROOTDIR}/ide
+
+ if [ "${platform}" = "macos-64" ]; then
+ reference_ide_path=${ROOTDIR}/eclipse-pde/Eclipse.app/Contents/Eclipse
+ reference_ce_path=${ROOTDIR}/TizenStudio.app/Contents/Eclipse
+ elif [ "${archive_platform_name}" = "linux" ]; then
+ reference_ide_path=${ROOTDIR}/eclipse-pde/repository_mars2
+ __unpack_eclipse ${reference_ide_path}
+ fi
+ }
+
+ __unpack_eclipse()
+ {
+ for package in ${1}/plugins/*.jar.pack.gz; do
+ if [ -f "${package}" ]; then
+ jar=${package%.pack.gz}
+ unpack200 -r "${package}" "${jar}"
+ fi
+ done
+
+ cp -rf ${SRCDIR}/p2-deps/configuration ${1}
}
__set_build_parameter()