diff --git a/sources b/sources index fffa0b0..4abf4ea 100644 --- a/sources +++ b/sources @@ -1,3 +1,3 @@ SHA512 (fedoraproject-p2-f0168e8.tar.xz) = 4f6028b7e3901fd218ec61b368329bf3871d74b96b7339efc39a07bd009f194c7eeeb5abe77a7b94a4f6c13b5cb31b4a7914a28d90cfaed9a2706632e93556e3 SHA512 (org.eclipse.tycho-tycho-1.0.0.tar.xz) = 31a082931e578c03d1a7e435944c0d61b1062a99b54c25ae67a705858691855fbd163eba01642210a7a11376e53f7ffa65b29df1f41f3f2dc71771df9d13f10a -SHA512 (eclipse-bootstrap-oxygen.tar.xz) = ded89ac21a7d3dfe143989f817505ea8f0ab8f3c70c41a19a4f786c3f7537bc8c9d497b68d80460cdce5750f7a589c8b211b5e3f71179e3e81e0e633f81ef47b +SHA512 (eclipse-bootstrap-oxygen.tar.xz) = 3d5694dd0d97334ec780c8e8df9d884f55b892e445a9afa371acb62bfb6d242a369728f7411d798a8274b2efa5c7cfbe1c7195c60e3992c88a520f9dda2fe55c diff --git a/tycho-bootstrap.sh b/tycho-bootstrap.sh index b4b526f..7a1c748 100755 --- a/tycho-bootstrap.sh +++ b/tycho-bootstrap.sh @@ -5,7 +5,8 @@ eclipse_bootstrap=$1 preV=$2 v="$preV-SNAPSHOT" -osgiV='3.11.0.v20160419-1000' +osgiV='3.12.0.v20170419-1339' +osgiCompatV='1.0.300.v20170419-1339' fp2V='0.0.1-SNAPSHOT' bundles=() bundles[0]='tycho-bundles/org.eclipse.tycho.embedder.shared' @@ -88,8 +89,8 @@ popd # Run the build on this maven reactor project for proj in ${reactorprojs[@]} ; do isolateProject ${proj} - xmvn -o -f "${proj}/pom.xml" -Dmaven.repo.local=$(pwd)/.m2 -Dmaven.test.skip=true \ - -Dmaven.compiler.source=1.7 -Dmaven.compiler.target=1.7 \ + xmvn -B -o -e -f "${proj}/pom.xml" -Dmaven.repo.local=$(pwd)/.m2 -Dmaven.test.skip=true \ + -Dmaven.compiler.source=1.7 -Dmaven.compiler.target=1.7 -Dproject.build.sourceEncoding=UTF-8 \ clean install unifyProject ${proj} done @@ -135,6 +136,7 @@ mkdir -p ${loc} cp "${tbeTargetDir}/tycho-bundles-external-${v}.zip" ${loc} cp 'tycho-bundles/tycho-bundles-external/pom.xml' "${loc}/tycho-bundles-external-${v}.pom" -sed -i "s/.*<\/equinox\(.*\)VersionMaven>/${osgiV}<\/equinox\1VersionMaven>/" pom.xml +sed -i "s/.*<\/equinoxVersionMaven>/${osgiV}<\/equinoxVersionMaven>/" pom.xml +sed -i "s/.*<\/equinoxCompatVersionMaven>/${osgiCompatV}<\/equinoxCompatVersionMaven>/" pom.xml # xmvn-p2-installer-plugin needs to find the org.eclipse.osgi bundle sed -i "s/>\${equinox-version}${osgiV}org.eclipse.osgi<\/artifactId>/ a ${osgiV}" "$1/pom.xml" -sed -i "/org.eclipse.osgi.compatibility.state<\/artifactId>/ a ${osgiV}" "$1/pom.xml" +sed -i "/org.eclipse.osgi.compatibility.state<\/artifactId>/ a ${osgiCompatV}" "$1/pom.xml" cp $1/pom.xml $1/pom.xml.bak @@ -147,7 +149,7 @@ function unifyProject () { cp $1/pom.xml.bak $1/pom.xml sed -i "/${osgiV}<\/version>/ d" "$1/pom.xml" - +sed -i "/${osgiCompatV}<\/version>/ d" "$1/pom.xml" } function readBSN () { diff --git a/tycho.spec b/tycho.spec index 531f632..1cf0a9f 100644 --- a/tycho.spec +++ b/tycho.spec @@ -25,7 +25,7 @@ Name: tycho Version: 1.0.0 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Plugins and extensions for building Eclipse plugins and OSGI bundles with Maven # license file is missing but all files having some licensing information are ASL 2.0 @@ -361,6 +361,9 @@ ln -s %{_javadir}/tycho/org.fedoraproject.p2.jar %{buildroot}%{_datadir}/xmvn/li %files javadoc -f .mfiles-javadoc %changelog +* Tue Jun 20 2017 Mat Booth - 1.0.0-6 +- Improve bootstrap mode + * Sat Jun 17 2017 Mat Booth - 1.0.0-5 - Debootstrap build