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 293185 | Differences between
and this patch

Collapse All | Expand All

(-)fragments/org.eclipse.core.filesystem.aix.ppc/.project (+22 lines)
Added Link Here
1
<?xml version="1.0" encoding="UTF-8"?>
2
<projectDescription>
3
	<name>org.eclipse.core.filesystem.aix.ppc</name>
4
	<comment></comment>
5
	<projects>
6
	</projects>
7
	<buildSpec>
8
		<buildCommand>
9
			<name>org.eclipse.pde.ManifestBuilder</name>
10
			<arguments>
11
			</arguments>
12
		</buildCommand>
13
		<buildCommand>
14
			<name>org.eclipse.pde.SchemaBuilder</name>
15
			<arguments>
16
			</arguments>
17
		</buildCommand>
18
	</buildSpec>
19
	<natures>
20
		<nature>org.eclipse.pde.PluginNature</nature>
21
	</natures>
22
</projectDescription>
(-)fragments/org.eclipse.core.filesystem.aix.ppc/META-INF/MANIFEST.MF (+9 lines)
Added Link Here
1
Manifest-Version: 1.0
2
Bundle-ManifestVersion: 2
3
Bundle-Name: %fragmentName
4
Bundle-SymbolicName: org.eclipse.core.filesystem.aix.ppc;singleton:=true
5
Bundle-Version: 1.0.0.qualifier
6
Bundle-Vendor: %providerName
7
Fragment-Host: org.eclipse.core.filesystem;bundle-version="[1.1.0,2.0.0)"
8
Bundle-Localization: fragment
9
Eclipse-PlatformFilter: (& (osgi.os=aix) (osgi.arch=ppc))
(-)fragments/org.eclipse.core.filesystem.aix.ppc/about.html (+28 lines)
Added Link Here
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3
<html xmlns="http://www.w3.org/1999/xhtml">
4
<head>
5
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
6
<title>About</title>
7
</head>
8
<body lang="EN-US">
9
<h2>About This Content</h2>
10
 
11
<p>June 2, 2006</p>	
12
<h3>License</h3>
13
14
<p>The Eclipse Foundation makes available all content in this plug-in (&quot;Content&quot;).  Unless otherwise 
15
indicated below, the Content is provided to you under the terms and conditions of the
16
Eclipse Public License Version 1.0 (&quot;EPL&quot;).  A copy of the EPL is available 
17
at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>.
18
For purposes of the EPL, &quot;Program&quot; will mean the Content.</p>
19
20
<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is 
21
being redistributed by another party (&quot;Redistributor&quot;) and different terms and conditions may
22
apply to your use of any object code in the Content.  Check the Redistributor's license that was 
23
provided with the Content.  If no such license exists, contact the Redistributor.  Unless otherwise
24
indicated below, the terms and conditions of the EPL still apply to any source code in the Content
25
and such source code may be obtained at <a href="http://www.eclipse.org">http://www.eclipse.org</a>.</p>
26
27
</body>
28
</html>
(-)fragments/org.eclipse.core.filesystem.aix.ppc/build.properties (+16 lines)
Added Link Here
1
###############################################################################
2
# Copyright (c) 2009 IBM Corporation and others.
3
# All rights reserved. This program and the accompanying materials
4
# are made available under the terms of the Eclipse Public License v1.0
5
# which accompanies this distribution, and is available at
6
# http://www.eclipse.org/legal/epl-v10.html
7
#
8
# Contributors:
9
#     IBM Corporation - initial API and implementation
10
###############################################################################
11
bin.includes = META-INF/,\
12
               about.html,\
13
               os/,\
14
               fragment.properties
15
src.includes = about.html
16
generateSourceBundle=false
(-)fragments/org.eclipse.core.filesystem.aix.ppc/fragment.properties (+12 lines)
Added Link Here
1
###############################################################################
2
# Copyright (c) 2009 IBM Corporation and others.
3
# All rights reserved. This program and the accompanying materials
4
# are made available under the terms of the Eclipse Public License v1.0
5
# which accompanies this distribution, and is available at
6
# http://www.eclipse.org/legal/epl-v10.html
7
#
8
# Contributors:
9
#     IBM Corporation - initial API and implementation
10
###############################################################################
11
fragmentName = Core File System for AIX PPC
12
providerName = Eclipse.org
(-)natives/unix/aix/Makefile (+29 lines)
Added Link Here
1
#**********************************************************************
2
# Copyright (c) 2009 IBM Corporation and others.
3
# All rights reserved. This program and the accompanying materials 
4
# are made available under the terms of the Eclipse Public License v1.0
5
# which accompanies this distribution, and is available at
6
# http://www.eclipse.org/legal/epl-v10.html
7
#********************************************************************** 
8
#
9
# makefile for liblocalfile.so
10
11
CORE.C = ../localfile.c
12
CORE.O = localfile.o
13
LIB_NAME = liblocalfile.so
14
LIB_NAME_FULL = liblocalfile_1_0_0.so
15
16
OS_TYPE=aix
17
CC=xlC_r
18
LD=ld
19
CFLAGS=-O -s -q32 -qwarn64
20
LDFLAGS=-b32 -G -s -bnoentry -bexpall -lc
21
JAVA_HOME=
22
JDK_INCLUDE=-I${JAVA_HOME}/include -I${JAVA_HOME}/include/${OS_TYPE}
23
COMMON_INCLUDE=-Iinclude
24
25
core :
26
	$(CC) $(CFLAGS) $(JDK_INCLUDE) $(COMMON_INCLUDE) -c $(CORE.C) -o $(CORE.O)
27
	$(LD) $(LDFLAGS) -o $(LIB_NAME_FULL) $(CORE.O)
28
clean :
29
	rm -f *.o *.so
(-)natives/unix/aix/include/os_custom.h (+22 lines)
Added Link Here
1
/***********************************************************************
2
* Copyright (c) 2009 IBM Corporation and others.
3
* All rights reserved. This program and the accompanying materials 
4
* are made available under the terms of the Eclipse Public License v1.0
5
* which accompanies this distribution, and is available at
6
* http://www.eclipse.org/legal/epl-v10.html
7
* 
8
* Contributors:
9
*     IBM Corporation - initial API and implementation
10
***********************************************************************/
11
12
/* Use this directive when introducing platform-specific code in localfile.c */
13
#ifndef AIX
14
#define AIX
15
#endif
16
17
/* Linux supports reading symbolic links */
18
#ifndef EFS_SYMLINK_SUPPORT
19
#define EFS_SYMLINK_SUPPORT
20
#endif
21
#include <limits.h>
22
#include <unistd.h>
(-)src/org/eclipse/core/tests/filesystem/SymlinkTest.java (-3 / +2 lines)
Lines 49-56 Link Here
49
		// A Platform is testable if it supports the "ln -s" command.
49
		// A Platform is testable if it supports the "ln -s" command.
50
		String os = Platform.getOS();
50
		String os = Platform.getOS();
51
		//currently we only support linux, solaris and mac os
51
		//currently we only support linux, solaris and mac os
52
		if (os.equals(Platform.OS_LINUX) || os.equals(Platform.OS_SOLARIS) || os.equals(Platform.OS_MACOSX)
52
		if (os.equals(Platform.OS_LINUX) || os.equals(Platform.OS_SOLARIS) || os.equals(Platform.OS_MACOSX) || os.equals(Platform.OS_AIX)
53
		//		  ||os.equals(Platform.OS_AIX)
54
		//		  ||os.equals(Platform.OS_HPUX)
53
		//		  ||os.equals(Platform.OS_HPUX)
55
		//		  ||isWindowsVista()
54
		//		  ||isWindowsVista()
56
		) {
55
		) {
Lines 339-345 Link Here
339
	public void testSymlinkEnabled() {
338
	public void testSymlinkEnabled() {
340
		String os = Platform.getOS();
339
		String os = Platform.getOS();
341
		String arch = Platform.getOSArch();
340
		String arch = Platform.getOSArch();
342
		if (Platform.OS_LINUX.equals(os) || (Platform.OS_SOLARIS.equals(os) && Platform.ARCH_SPARC.equals(arch)) || Platform.OS_MACOSX.equals(os)) {
341
		if (Platform.OS_LINUX.equals(os) || (Platform.OS_SOLARIS.equals(os) && Platform.ARCH_SPARC.equals(arch)) || Platform.OS_MACOSX.equals(os) || Platform.OS_AIX.equals(os)) {
343
			assertTrue(haveSymlinks());
342
			assertTrue(haveSymlinks());
344
		} else {
343
		} else {
345
			assertFalse(haveSymlinks());
344
			assertFalse(haveSymlinks());

Return to bug 293185