Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 184433 | Differences between
and this patch

Collapse All | Expand All

(-)src/org/eclipse/core/internal/filesystem/local/LocalFileSystem.java (-2 / +4 lines)
Lines 9-14 Link Here
9
 *     IBM Corporation - initial API and implementation
9
 *     IBM Corporation - initial API and implementation
10
 * Martin Oberhuber (Wind River) - [170317] add symbolic link support to API
10
 * Martin Oberhuber (Wind River) - [170317] add symbolic link support to API
11
 * Martin Oberhuber (Wind River) - [183137] liblocalfile for solaris-sparc
11
 * Martin Oberhuber (Wind River) - [183137] liblocalfile for solaris-sparc
12
 * Martin Oberhuber (Wind River) - [184433] liblocalfile for Linux x86_64
12
 *******************************************************************************/
13
 *******************************************************************************/
13
package org.eclipse.core.internal.filesystem.local;
14
package org.eclipse.core.internal.filesystem.local;
14
15
Lines 90-97 Link Here
90
		String arch = System.getProperty("osgi.arch", ""); //$NON-NLS-1$ //$NON-NLS-2$
91
		String arch = System.getProperty("osgi.arch", ""); //$NON-NLS-1$ //$NON-NLS-2$
91
		if (os.equals(Constants.OS_WIN32))
92
		if (os.equals(Constants.OS_WIN32))
92
			attributes |= EFS.ATTRIBUTE_ARCHIVE | EFS.ATTRIBUTE_HIDDEN;
93
			attributes |= EFS.ATTRIBUTE_ARCHIVE | EFS.ATTRIBUTE_HIDDEN;
93
		else if ( (os.equals(Constants.OS_LINUX) && (arch.equals(Constants.ARCH_X86) || arch.equals(Constants.ARCH_PPC)))
94
		else if ( 
94
			 ||   (os.equals(Constants.OS_SOLARIS) && arch.equals(Constants.ARCH_SPARC))
95
			(os.equals(Constants.OS_LINUX) && (arch.equals(Constants.ARCH_X86) || arch.equals(Constants.ARCH_X86_64) || arch.equals(Constants.ARCH_PPC)))
96
		 || (os.equals(Constants.OS_SOLARIS) && arch.equals(Constants.ARCH_SPARC))
95
		)
97
		)
96
			attributes |= EFS.ATTRIBUTE_EXECUTABLE | EFS.ATTRIBUTE_SYMLINK | EFS.ATTRIBUTE_LINK_TARGET;
98
			attributes |= EFS.ATTRIBUTE_EXECUTABLE | EFS.ATTRIBUTE_SYMLINK | EFS.ATTRIBUTE_LINK_TARGET;
97
		else if (os.equals(Constants.OS_MACOSX) || os.equals(Constants.OS_HPUX) || os.equals(Constants.OS_QNX))
99
		else if (os.equals(Constants.OS_MACOSX) || os.equals(Constants.OS_HPUX) || os.equals(Constants.OS_QNX))
(-)src/org/eclipse/core/tests/filesystem/SymlinkTest.java (-1 / +2 lines)
Lines 9-14 Link Here
9
 * Martin Oberhuber (Wind River) - initial API and implementation
9
 * Martin Oberhuber (Wind River) - initial API and implementation
10
 * John Arthorne (IBM) - [172346] disable tests with problematic Platform encoding
10
 * John Arthorne (IBM) - [172346] disable tests with problematic Platform encoding
11
 * Martin Oberhuber (Wind River) - [183137] liblocalfile for solaris-sparc
11
 * Martin Oberhuber (Wind River) - [183137] liblocalfile for solaris-sparc
12
 * Martin Oberhuber (Wind River) - [184433] liblocalfile for Linux x86_64
12
 *******************************************************************************/
13
 *******************************************************************************/
13
package org.eclipse.core.tests.filesystem;
14
package org.eclipse.core.tests.filesystem;
14
15
Lines 318-324 Link Here
318
	public void testSymlinkEnabled() {
319
	public void testSymlinkEnabled() {
319
		String os = Platform.getOS();
320
		String os = Platform.getOS();
320
		String arch=Platform.getOSArch();
321
		String arch=Platform.getOSArch();
321
		if ( (Platform.OS_LINUX.equals(os) && (Platform.ARCH_X86.equals(arch) || Platform.ARCH_PPC.equals(arch)))
322
		if ( (Platform.OS_LINUX.equals(os) && (Platform.ARCH_X86.equals(arch) || Platform.ARCH_X86_64.equals(arch) || Platform.ARCH_PPC.equals(arch)))
322
		 ||  (Platform.OS_SOLARIS.equals(os) && Platform.ARCH_SPARC.equals(arch))
323
		 ||  (Platform.OS_SOLARIS.equals(os) && Platform.ARCH_SPARC.equals(arch))
323
		) {
324
		) {
324
			assertTrue(haveSymlinks());
325
			assertTrue(haveSymlinks());
(-)META-INF/MANIFEST.MF (-2 / +2 lines)
Lines 2-9 Link Here
2
Bundle-ManifestVersion: 2
2
Bundle-ManifestVersion: 2
3
Bundle-Name: %fragmentName
3
Bundle-Name: %fragmentName
4
Bundle-SymbolicName: org.eclipse.core.filesystem.linux.x86_64; singleton:=true
4
Bundle-SymbolicName: org.eclipse.core.filesystem.linux.x86_64; singleton:=true
5
Bundle-Version: 1.0.0.qualifier
5
Bundle-Version: 1.0.100.qualifier
6
Bundle-Vendor: %providerName
6
Bundle-Vendor: %providerName
7
Fragment-Host: org.eclipse.core.filesystem;bundle-version="[1.0.0,2.0.0)"
7
Fragment-Host: org.eclipse.core.filesystem;bundle-version="[1.1.0,2.0.0)"
8
Bundle-Localization: fragment
8
Bundle-Localization: fragment
9
Eclipse-PlatformFilter: (& (osgi.os=linux) (osgi.arch=x86_64))
9
Eclipse-PlatformFilter: (& (osgi.os=linux) (osgi.arch=x86_64))
(-)BUILD_INFO.txt (+19 lines)
Added Link Here
1
Native Build Info:
2
------------------
3
4
platform:         x86_64-redhat-linux
5
built by:         martin.oberhuber@windriver.com
6
build date:       27-Apr-2007
7
OS Name:          Red Hat Enterprise Linux Client release 5 (Tikanga)
8
OS Version:       Linux szg-qa-lx2-64 2.6.18-8.1.1.el5 #1 SMP x86_64 GNU/Linux (glibc-2.5-12)
9
Compiler version: gcc version 4.1.1 20070105 (Red Hat 4.1.1-52)
10
11
build script:
12
-------------
13
#!/bin/sh
14
rpm -q glibc
15
#ensure system gcc
16
export PATH=/usr/bin:$PATH
17
cd org.eclipse.core.filesystem/natives/unix/linux
18
make JAVA_HOME=$HOME/jdk1.5.0_11_x86-64
19
cp liblocalfile_1_0_0.so ../../../../org.eclipse.core.filesystem.linux.x86_64/os/linux/x86_64/

Return to bug 184433