Community
Participate
Working Groups
From http://bugs.gentoo.org/attachment.cgi?id=59659, there is a hardcoded reference to x86 in the build.xml for org.eclipse.core.resources.linux which causes the library to not be built on x86-64 machines. diff -ur eclipse.orig/plugins/org.eclipse.core.resources.linux/build.xml eclipse.amd64/plugins/org.eclipse.core.resources.linux/build.xml --- eclipse.orig/plugins/org.eclipse.core.resources.linux/build.xml 2005-05-13 21:34:52.000000000 +0300 +++ eclipse.amd64/plugins/org.eclipse.core.resources.linux/build.xml 2005-05-23 21:43:30.000000000 +0300 @@ -57,10 +57,15 @@ <target name="gather.bin.parts" depends="init" if="destination.temp.folder"> <mkdir dir="${destination.temp.folder}/org.eclipse.core.resources.linux_3.1.0"/> + <exec dir="./src" executable="make"> + </exec> + <copy todir="os/linux/${basearch}" failonerror="true" overwrite="false"> + <fileset dir="src" includes="*.so"/> + </copy> <copy todir="${destination.temp.folder}/org.eclipse.core.resources.linux_3.1.0" failonerror="true" overwrite="false"> <fileset dir="${basedir}" includes="os/,META-INF/,about.html" /> </copy> - <chmod perm="755" dir="${destination.temp.folder}/org.eclipse.core.resources.linux_3.1.0" includes="os/linux/x86/*.so" /> + <chmod perm="755" dir="${destination.temp.folder}/org.eclipse.core.resources.linux_3.1.0" includes="os/linux/${basearch}/*.so" /> </target> <target name="build.zips" depends="init">
org.eclipse.core.resources.linux does not have a build.xml - it is auto-generated at build time by PDE build. This likely won't be as simple as applying a patch.
Where can I find the code/template the PDE build uses to generate this build.xml. I can try to create a patch against that one if it helps getting this one solved.
The code that generates the build xml leaves in org.eclipse.pde.build, in the class called ModelBuildScriptGenerator. However this won't give you much since the script get this value because the environment for which it is generated is x86.
Have you worked around the problem?
Please reopen if this is still a problem