Export java home before using ant to build native part of launchers.
mvn-rpmbuild does it automatically, but in this case we are workarounding an issue with cbi that launchers are built to late and are not included into final product.
This commit is contained in:
parent
02a5be5b0b
commit
0b1589fa0a
@ -69,7 +69,7 @@ fi;
|
||||
Summary: An open, extensible IDE
|
||||
Name: eclipse
|
||||
Version: %{eclipse_version}
|
||||
Release: 13%{?dist}
|
||||
Release: 14%{?dist}
|
||||
License: EPL
|
||||
Group: Development/Tools
|
||||
URL: http://www.eclipse.org/
|
||||
@ -638,6 +638,7 @@ mvn-rpmbuild -f maven-cbi-plugin/pom.xml \
|
||||
|
||||
# workaround for https://bugs.eclipse.org/bugs/show_bug.cgi?id=386377
|
||||
pushd rt.equinox.framework/bundles/org.eclipse.equinox.executable/library/gtk/
|
||||
export JAVA_HOME=%{java_home}
|
||||
ant build_eclipse_cbi
|
||||
popd
|
||||
|
||||
@ -1355,6 +1356,9 @@ rm -rf %{_bindir}/efj/
|
||||
%{_mavendepmapfragdir}/%{name}-equinox-osgi
|
||||
|
||||
%changelog
|
||||
* Tue Nov 6 2012 Krzysztof Daniel <kdaniel@redhat.com> 1:4.2.1-14
|
||||
- Export missing java home.
|
||||
|
||||
* Mon Nov 5 2012 Krzysztof Daniel <kdaniel@redhat.com> 1:4.2.1-13
|
||||
- Reduce the memory available for Tycho build.
|
||||
- Reduce the build time.
|
||||
|
Loading…
Reference in New Issue
Block a user