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

Collapse All | Expand All

(-)slave/windows-em64t/configure-environment.probekit.sf (-6 / +13 lines)
Lines 4-16 Link Here
4
fi
4
fi
5
5
6
#
6
#
7
#Compiler
7
#Dependencies
8
#
8
#
9
PATH="/cygdrive/c/Progra~1/MI9547~1/Bin/Win64/x86/AMD64:/cygdrive/c/Progra~1/MI9547~1/Bin:/cygdrive/c/Progra~1/MI9547~1/Bin/WinNT:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/usr/local/bin:/usr/bin:/bin"
9
export JAVA_HOME="C:\Util\jdk1.5.0_16"
10
INCLUDE="C:\Progra~1\MI9547~1\Include;C:\Progra~1\MI9547~1\Include\crt;C:\Progra~1\MI9547~1\Include\crt\sys;C:\Progra~1\MI9547~1\Include\mfc;C:\Progra~1\MI9547~1\Include\atl"
10
export JDK_HOME=$JAVA_HOME
11
JAVA_HOME="C:\j2sdk1.4.2_09"
11
export RAC_SDK_HOME="C:\RAC_SDK_HOME"
12
LIB="C:\Progra~1\MI9547~1\Lib\AMD64;C:\Progra~1\MI9547~1\Lib\AMD64\atlmfc"
13
12
14
export PATH INCLUDE JAVA_HOME LIB
13
#
14
#Compiler
15
#
16
export PATH="/cygdrive/d/Microsoft_Platform_SDK_64/Bin:/cygdrive/d/Microsoft_Platform_SDK_64/Bin/Win64/x86/AMD64:/cygdrive/d/Microsoft_Platform_SDK_64/Bin/WinNT:/usr/local/bin:/usr/bin:/bin:/cygdrive/c/WINDOWS/system32"
17
export INCLUDE="D:\Microsoft_Platform_SDK_64\Include;D:\Microsoft_Platform_SDK_64\Include\crt;D:\Microsoft_Platform_SDK_64\Include\crt\sys;D:\Microsoft_Platform_SDK_64\Include\mfc;D:\Microsoft_Platform_SDK_64\Include\atl"
18
export LIB="D:\Microsoft_Platform_SDK_64\Lib\AMD64;D:\Microsoft_Platform_SDK_64\Lib\AMD64\atlmfc"
15
19
20
#
21
#GNU make
22
#
16
export NATIVE_MAKE='nmake -f org.eclipse.hyades.probekit\src-native\BCI\makefile.win_em64t.build'
23
export NATIVE_MAKE='nmake -f org.eclipse.hyades.probekit\src-native\BCI\makefile.win_em64t.build'
(-)slave/windows-em64t/configure-environment.agntctrl.sf (-13 / +20 lines)
Lines 4-23 Link Here
4
fi
4
fi
5
5
6
#
6
#
7
#Compiler
7
#Dependencies
8
#
8
#
9
PATH="/cygdrive/c/Progra~1/MI9547~1/Bin/Win64/x86/AMD64:/cygdrive/c/Progra~1/MI9547~1/Bin:/cygdrive/c/Progra~1/MI9547~1/Bin/WinNT:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/usr/local/bin:/usr/bin:/bin"
9
# CBE_SDK_HOME must be set to a folder in the root level of a Windows drive due to cygwin's problems handling \'s.
10
INCLUDE="C:\Progra~1\MI9547~1\Include;C:\Progra~1\MI9547~1\Include\crt;C:\Progra~1\MI9547~1\Include\crt\sys;C:\Progra~1\MI9547~1\Include\mfc;C:\Progra~1\MI9547~1\Include\atl"
10
CBE_SDK_HOME_TMP=`pwd | cut -d/ -f1-6`
11
JAVA_HOME="C:\j2sdk1.4.2_09"
11
CBE_SDK_HOME_TMP="$CBE_SDK_HOME_TMP/cbe/sdk"
12
LIB="C:\Progra~1\MI9547~1\Lib\AMD64;C:\Progra~1\MI9547~1\Lib\AMD64\atlmfc"
12
rm -rf /cygdrive/d/CBE_SDK_HOME/*
13
cp -r ${CBE_SDK_HOME_TMP}/* /cygdrive/d/CBE_SDK_HOME
14
export CBE_SDK_HOME="D:\CBE_SDK_HOME"
15
export XERCESCROOT="C:\Util\xerces-c-src_2_6_0\Build\Win64\VC6\Release"
16
export XERCESC_HOME="$XERCESCROOT"
17
export JAVA_HOME="C:\Util\jdk1.5.0_16"
13
18
14
export PATH INCLUDE JAVA_HOME LIB
19
#
20
#Compiler
21
#
22
export PATH="/cygdrive/d/Microsoft_Platform_SDK_64/Bin:/cygdrive/d/Microsoft_Platform_SDK_64/Bin/Win64/x86/AMD64:/cygdrive/d/Microsoft_Platform_SDK_64/Bin/WinNT:/usr/local/bin:/usr/bin:/bin:/cygdrive/c/WINDOWS/system32"
23
export INCLUDE="C:\Util\xerces-c-src_2_6_0\src;D:\Microsoft_Platform_SDK_64\Include;D:\Microsoft_Platform_SDK_64\Include\crt;D:\Microsoft_Platform_SDK_64\Include\crt\sys;D:\Microsoft_Platform_SDK_64\Include\mfc;D:\Microsoft_Platform_SDK_64\Include\atl"
24
export LIB="$XERCESCROOT;D:\Microsoft_Platform_SDK_64\Lib\AMD64;D:\Microsoft_Platform_SDK_64\Lib\AMD64\atlmfc"
15
25
26
#
27
#GNU make
28
#
16
umask 002
29
umask 002
17
30
export NATIVE_MAKE='nmake -f makefile.win_em64t'
18
export TEMP_LICENSE_HOME="C:\cygwin\home\build\TEMP_LICENSE_HOME"
19
export RAC_SDK_HOME="C:\RAC_SDK_HOME"
20
export CBE_SDK_HOME="C:\CBE_SDK_HOME"
21
export XERCESCROOT="C:\utils\xerces-c-src_2_6_0.win_em64t"
22
export XERCESC_HOME="$XERCESCROOT"
23
export NATIVE_MAKE='nmake -f makefile.win_em64t'
(-)slave/windows-em64t/configure-environment.sf (-6 / +11 lines)
Lines 4-16 Link Here
4
fi
4
fi
5
5
6
#
6
#
7
#Compiler
7
#Dependencies
8
#
8
#
9
PATH="/cygdrive/c/Progra~1/MI9547~1/Bin/Win64/x86/AMD64:/cygdrive/c/Progra~1/MI9547~1/Bin:/cygdrive/c/Progra~1/MI9547~1/Bin/WinNT:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/usr/local/bin:/usr/bin:/bin"
9
export JAVA_HOME="C:\Util\jdk1.5.0_16"
10
INCLUDE="C:\Progra~1\MI9547~1\Include;C:\Progra~1\MI9547~1\Include\crt;C:\Progra~1\MI9547~1\Include\crt\sys;C:\Progra~1\MI9547~1\Include\mfc;C:\Progra~1\MI9547~1\Include\atl"
11
JAVA_HOME="C:\j2sdk1.4.2_09"
12
LIB="C:\Progra~1\MI9547~1\Lib\AMD64;C:\Progra~1\MI9547~1\Lib\AMD64\atlmfc"
13
10
14
export PATH INCLUDE JAVA_HOME LIB
11
#
12
#Compiler
13
#
14
export PATH="/cygdrive/d/Microsoft_Platform_SDK_64/Bin:/cygdrive/d/Microsoft_Platform_SDK_64/Bin/Win64/x86/AMD64:/cygdrive/d/Microsoft_Platform_SDK_64/Bin/WinNT:/usr/local/bin:/usr/bin:/bin:/cygdrive/c/WINDOWS/system32"
15
export INCLUDE="D:\Microsoft_Platform_SDK_64\Include;D:\Microsoft_Platform_SDK_64\Include\crt;D:\Microsoft_Platform_SDK_64\Include\crt\sys;D:\Microsoft_Platform_SDK_64\Include\mfc;D:\Microsoft_Platform_SDK_64\Include\atl"
16
export LIB="D:\Microsoft_Platform_SDK_64\Lib\AMD64;D:\Microsoft_Platform_SDK_64\Lib\AMD64\atlmfc"
15
17
18
#
19
#GNU make
20
#
16
export NATIVE_MAKE='nmake -f makefile.win_em64t'
21
export NATIVE_MAKE='nmake -f makefile.win_em64t'
(-)slave/windows-em64t/configure-environment.jvmti.sf (-6 / +14 lines)
Lines 4-17 Link Here
4
fi
4
fi
5
5
6
#
6
#
7
#Dependencies
8
#
9
export JAVA_HOME="C:\\Util\\jdk1.5.0_16"
10
export TPTP_ACSDK_HOME=../../../../agntctrl
11
export CBE_SDK_HOME=../../../../cbe/sdk
12
export PROBEKIT_LIB="..\probekit\org.eclipse.hyades.probekit\src-native"
13
14
#
7
#Compiler
15
#Compiler
8
#
16
#
9
export INCLUDE="C:\Progra~1\MI9547~1\Include;C:\Progra~1\MI9547~1\Include\crt;C:\Progra~1\MI9547~1\Include\crt\sys;C:\Progra~1\MI9547~1\Include\mfc;C:\Progra~1\MI9547~1\Include\atl"
17
export PATH="/cygdrive/d/Microsoft_Platform_SDK_64/Bin:/cygdrive/d/Microsoft_Platform_SDK_64/Bin/Win64/x86/AMD64:/cygdrive/d/Microsoft_Platform_SDK_64/Bin/WinNT:/usr/local/bin:/usr/bin:/bin:/cygdrive/c/WINDOWS/system32"
10
export JAVA_HOME="C:\\Progra~1\\Java\\jdk1.5.0_06"
18
export INCLUDE="D:\Microsoft_Platform_SDK_64\Include;D:\Microsoft_Platform_SDK_64\Include\crt;D:\Microsoft_Platform_SDK_64\Include\crt\sys;D:\Microsoft_Platform_SDK_64\Include\mfc;D:\Microsoft_Platform_SDK_64\Include\atl"
11
export LIB="C:\Progra~1\MI9547~1\Lib\AMD64;C:\Progra~1\MI9547~1\Lib\AMD64\atlmfc"
19
export LIB="D:\Microsoft_Platform_SDK_64\Lib\AMD64;D:\Microsoft_Platform_SDK_64\Lib\AMD64\atlmfc"
12
export PATH="/cygdrive/c/Progra~1/Java/jdk1.5.0_06/bin:/cygdrive/c/Progra~1/MI9547~1/Bin/Win64/x86/AMD64:/cygdrive/c/Progra~1/MI9547~1/Bin:/cygdrive/c/Progra~1/MI9547~1/Bin/WinNT:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/usr/local/bin:/usr/bin:/bin"
13
export TPTP_ACSDK_HOME="C:\\TPTP_ACSDK_HOME"
14
20
21
#
22
#GNU make
23
#
15
umask 002
24
umask 002
16
17
export NATIVE_MAKE='nmake -f org.eclipse.tptp.platform.jvmti.runtime/makefile.win_em64t'
25
export NATIVE_MAKE='nmake -f org.eclipse.tptp.platform.jvmti.runtime/makefile.win_em64t'
(-)master/bash/universal-make.sh (-2 / +2 lines)
Lines 1-6 Link Here
1
#!/bin/bash -ex
1
#!/bin/bash -ex
2
############################################################################### 
2
############################################################################### 
3
# Copyright (c) 2005, 2008 IBM Corporation and others.
3
# Copyright (c) 2005, 2009 IBM Corporation and others.
4
# All rights reserved.   This program and the accompanying materials
4
# All rights reserved.   This program and the accompanying materials
5
# are made available under the terms of the Eclipse Public License v1.0
5
# are made available under the terms of the Eclipse Public License v1.0
6
# which accompanies this distribution, and is available at
6
# which accompanies this distribution, and is available at
Lines 124-130 Link Here
124
execute-remote-command.sh \
124
execute-remote-command.sh \
125
    "--dstosarc=$rmtosarc" \
125
    "--dstosarc=$rmtosarc" \
126
    "--rmthst=$rmtosarc" \
126
    "--rmthst=$rmtosarc" \
127
    "--rmtcmd=. $rmtutldir/$rmtcfgutl $tgtprj $tgtrel && cd $rmtsrcdir && \$NATIVE_MAKE && \$NATIVE_MAKE package"
127
    "--rmtcmd=cd $rmtsrcdir && . $rmtutldir/$rmtcfgutl $tgtprj $tgtrel && \$NATIVE_MAKE && \$NATIVE_MAKE package"
128
128
129
# Retrieve the result of the build.
129
# Retrieve the result of the build.
130
pull-binary-files.sh \
130
pull-binary-files.sh \
(-)master/bash/convert-to-native-encoding.windows-ia32.sf (-2 / +2 lines)
Lines 1-5 Link Here
1
############################################################################### 
1
############################################################################### 
2
# Copyright (c) 2005 IBM Corporation and others.
2
# Copyright (c) 2005, 2009 IBM Corporation and others.
3
# All rights reserved.   This program and the accompanying materials
3
# All rights reserved.   This program and the accompanying materials
4
# are made available under the terms of the Eclipse Public License v1.0
4
# are made available under the terms of the Eclipse Public License v1.0
5
# which accompanies this distribution, and is available at
5
# which accompanies this distribution, and is available at
Lines 20-23 Link Here
20
20
21
21
22
# The only transformation required for Windows is the end of line character.
22
# The only transformation required for Windows is the end of line character.
23
# find "$stgdir" $txtfileptrn -exec unix2dos -of {} \;
23
find "$stgdir" $txtfileptrn ! -name *.sf -exec unix2dos -of {} \;
(-)master/bash/updateNativeRelatedPlugins.sh (-1 / +12 lines)
Lines 1-4 Link Here
1
#!/bin/bash -x
1
#!/bin/bash -x
2
############################################################################### 
3
# Copyright (c) 2009 IBM Corporation and others.
4
# All rights reserved.   This program and the accompanying materials
5
# are made available under the terms of the Eclipse Public License v1.0
6
# which accompanies this distribution, and is available at
7
# http://www.eclipse.org/legal/epl-v10.html
8
# $Id: $
9
#
10
# Contributors: 
11
# IBM - Initial API and implementation
12
############################################################################### 
2
13
3
wsdir=$1
14
wsdir=$1
4
bldid=$2
15
bldid=$2
Lines 18-24 Link Here
18
		unzip -q $publishdir/$component.$platform.zip -d $wsdir/upd-$component/$updpath
29
		unzip -q $publishdir/$component.$platform.zip -d $wsdir/upd-$component/$updpath
19
		cd $wsdir/upd-$component
30
		cd $wsdir/upd-$component
20
		chmod +x $updpath/*
31
		chmod +x $updpath/*
21
		zip -urq $feat *
32
		zip -urqy $feat *
22
		rm -rf $wsdir/upd-$component
33
		rm -rf $wsdir/upd-$component
23
		unset feat updpath
34
		unset feat updpath
24
	fi
35
	fi
(-)master/bash/upload-driver.sh (-4 / +29 lines)
Lines 1-4 Link Here
1
#!/bin/bash -ex
1
#!/bin/bash -ex
2
############################################################################### 
3
# Copyright (c) 2009 IBM Corporation and others.
4
# All rights reserved.   This program and the accompanying materials
5
# are made available under the terms of the Eclipse Public License v1.0
6
# which accompanies this distribution, and is available at
7
# http://www.eclipse.org/legal/epl-v10.html
8
# $Id: $
9
#
10
# Contributors: 
11
# IBM - Initial API and implementation
12
############################################################################### 
2
13
3
if [ $# -ne 3 ]; then
14
if [ $# -ne 3 ]; then
4
    echo "usage: upload-driver.sh <driver-root> <releaseVersion> <build-id>"
15
    echo "usage: upload-driver.sh <driver-root> <releaseVersion> <build-id>"
Lines 40-51 Link Here
40
	probekit.all_platforms-$bldid.zip \
51
	probekit.all_platforms-$bldid.zip \
41
	probekit.linux_ia32-$bldid.zip \
52
	probekit.linux_ia32-$bldid.zip \
42
	probekit.win_ia32-$bldid.zip \
53
	probekit.win_ia32-$bldid.zip \
54
	agntctrl.linux_ia32.sdk-$bldid.zip \
55
	agntctrl.linux_ia32-$bldid.zip \
56
	agntctrl.win_ia32.sdk-$bldid.zip \
57
	agntctrl.win_ia32-$bldid.zip \
58
	agntctrl.linux_em64t.sdk-$bldid.zip \
59
	agntctrl.linux_em64t-$bldid.zip \
60
	agntctrl.win_em64t.sdk-$bldid.zip \
61
	agntctrl.win_em64t-$bldid.zip \
62
	agntctrl.all_platforms.sdk-$bldid.zip \
63
	agntctrl.all_platforms-$bldid.zip \
43
	tptpdc.all_platforms.sdk-$bldid.zip \
64
	tptpdc.all_platforms.sdk-$bldid.zip \
44
	tptpdc.all_platforms-$bldid.zip \
65
	tptpdc.all_platforms-$bldid.zip \
45
	tptpdc.linux_ia32.sdk-$bldid.zip \
66
	javaprofiler.linux_ia32-$bldid.zip \
46
	tptpdc.linux_ia32-$bldid.zip \
67
	javaprofiler.linux_ia32.sdk-$bldid.zip \
47
	tptpdc.win_ia32.sdk-$bldid.zip \
68
	javaprofiler.win_ia32-$bldid.zip \
48
	tptpdc.win_ia32-$bldid.zip \
69
	javaprofiler.win_ia32.sdk-$bldid.zip \
70
	javaprofiler.linux_em64t-$bldid.zip \
71
	javaprofiler.linux_em64t.sdk-$bldid.zip \
72
	javaprofiler.win_em64t-$bldid.zip \
73
	javaprofiler.win_em64t.sdk-$bldid.zip \
49
	tptp.examples-$bldid.zip \
74
	tptp.examples-$bldid.zip \
50
	tptp.gla.runtime-$bldid.zip \
75
	tptp.gla.runtime-$bldid.zip \
51
	tptp.lta.runtime-$bldid.zip \
76
	tptp.lta.runtime-$bldid.zip \
(-)master/bash/eclipse-build.sh (-4 / +4 lines)
Lines 1-6 Link Here
1
#!/bin/bash -ex
1
#!/bin/bash -ex
2
############################################################################### 
2
############################################################################### 
3
# Copyright (c) 2005 IBM Corporation and others.
3
# Copyright (c) 2005, 2009 IBM Corporation and others.
4
# All rights reserved.   This program and the accompanying materials
4
# All rights reserved.   This program and the accompanying materials
5
# are made available under the terms of the Eclipse Public License v1.0
5
# are made available under the terms of the Eclipse Public License v1.0
6
# which accompanies this distribution, and is available at
6
# which accompanies this distribution, and is available at
Lines 104-111 Link Here
104
    -DtemplateFilesDirectory="$bldloc/master/templateFiles" \
104
    -DtemplateFilesDirectory="$bldloc/master/templateFiles" \
105
    -DcbePlatforms="$CBE_PLATFORMS" \
105
    -DcbePlatforms="$CBE_PLATFORMS" \
106
    $(for plat in $CBE_PLATFORMS; do echo "-Dcbe_$plat=true" | tr '\n' ' '; done) \
106
    $(for plat in $CBE_PLATFORMS; do echo "-Dcbe_$plat=true" | tr '\n' ' '; done) \
107
    -DtptpdcPlatforms="$TPTPDC_PLATFORMS" \
108
    $(for plat in $TPTPDC_PLATFORMS; do echo "-Dtptpdc_$plat=true" | tr '\n' ' '; done) \
109
    -DglaPlatforms="$GLA_PLATFORMS" \
107
    -DglaPlatforms="$GLA_PLATFORMS" \
110
    $(for plat in $GLA_PLATFORMS; do echo "-Dgla_$plat=true" | tr '\n' ' '; done) \
108
    $(for plat in $GLA_PLATFORMS; do echo "-Dgla_$plat=true" | tr '\n' ' '; done) \
111
    -DprobekitPlatforms="$PROBEKIT_PLATFORMS" \
109
    -DprobekitPlatforms="$PROBEKIT_PLATFORMS" \
Lines 113-117 Link Here
113
    -DiacPlatforms="$IAC_PLATFORMS" \
111
    -DiacPlatforms="$IAC_PLATFORMS" \
114
    $(for plat in $IAC_PLATFORMS; do echo "-Diac_$plat=true" | tr '\n' ' '; done) \
112
    $(for plat in $IAC_PLATFORMS; do echo "-Diac_$plat=true" | tr '\n' ' '; done) \
115
    -DagntctrlPlatforms="$AGNTCTRL_PLATFORMS" \
113
    -DagntctrlPlatforms="$AGNTCTRL_PLATFORMS" \
116
    $(for plat in $AGNTCTRL_PLATFORMS; do echo "-Dagntctrl_$plat=true" | tr '\n' ' '; done)
114
    $(for plat in $AGNTCTRL_PLATFORMS; do echo "-Dagntctrl_$plat=true" | tr '\n' ' '; done) \
115
    -DjvmtiPlatforms="$JVMTI_PLATFORMS" \
116
    $(for plat in $JVMTI_PLATFORMS; do echo "-Djavaprofiler_$plat=true" | tr '\n' ' '; done)
117
117
(-)master/bash/make-multiplatforms.sh (-1 / +9 lines)
Lines 1-6 Link Here
1
#!/bin/bash -ex
1
#!/bin/bash -ex
2
############################################################################### 
2
############################################################################### 
3
# Copyright (c) 2005, 2008 IBM Corporation and others.
3
# Copyright (c) 2005, 2009 IBM Corporation and others.
4
# All rights reserved.   This program and the accompanying materials
4
# All rights reserved.   This program and the accompanying materials
5
# are made available under the terms of the Eclipse Public License v1.0
5
# are made available under the terms of the Eclipse Public License v1.0
6
# which accompanies this distribution, and is available at
6
# which accompanies this distribution, and is available at
Lines 68-73 Link Here
68
    
68
    
69
    if [ $tgtosarc = 'linux-ia32' ]; then
69
    if [ $tgtosarc = 'linux-ia32' ]; then
70
		swtzippth=$swtzipdir/$eclipseSwtLinux
70
		swtzippth=$swtzipdir/$eclipseSwtLinux
71
	elif [ $tgtosarc = 'linux-em64t' ]; then
72
		swtzippth=$swtzipdir/$eclipseSwtLinux
73
	elif [ $tgtosarc = 'linux-ipf' ]; then
74
		swtzippth=$swtzipdir/$eclipseSwtLinux
71
	elif [ $tgtosarc = 'linux-ppc64' ]; then
75
	elif [ $tgtosarc = 'linux-ppc64' ]; then
72
		swtzippth=$swtzipdir/$eclipseSwtLinuxPPC
76
		swtzippth=$swtzipdir/$eclipseSwtLinuxPPC
73
	elif [ $tgtosarc = 'hpux-risc' ]; then
77
	elif [ $tgtosarc = 'hpux-risc' ]; then
Lines 78-83 Link Here
78
		swtzippth=$swtzipdir/$eclipseSwtAIX
82
		swtzippth=$swtzipdir/$eclipseSwtAIX
79
	elif [ $tgtosarc = 'windows-ia32' ]; then
83
	elif [ $tgtosarc = 'windows-ia32' ]; then
80
		swtzippth=$swtzipdir/$eclipseSwtWindows
84
		swtzippth=$swtzipdir/$eclipseSwtWindows
85
	elif [ $tgtosarc = 'windows-em64t' ]; then
86
		swtzippth=$swtzipdir/$eclipseSwtWindows
87
	elif [ $tgtosarc = 'windows-ipf' ]; then
88
		swtzippth=$swtzipdir/$eclipseSwtWindows
81
	else 
89
	else 
82
		unset swtzippth
90
		unset swtzippth
83
	fi
91
	fi
(-)slave/linux-ia32/configure-environment.jvmti.sf (-5 / +22 lines)
Lines 3-13 Link Here
3
    exit 2
3
    exit 2
4
fi
4
fi
5
5
6
export JAVA_HOME=/home/proj/tptp/builder/ia32/TPTP/4.2.0/depends/jrockit
6
#
7
#Dependencies
8
#
9
WORKING_DIR=`pwd`
10
export TPTP_ACSDK_HOME=$WORKING_DIR/../agntctrl
11
export CBE_SDK_HOME=$WORKING_DIR/../cbe/sdk
12
export PROBEKIT_LIB=$WORKING_DIR/../probekit/org.eclipse.hyades.probekit/src-native/BCI/Release
13
export JAVA_HOME=$HOME/$1/$2/depends/java_sun
14
export XERCESCROOT=$HOME/$1/$2/depends/xercesc
15
export XERCESC_HOME=$XERCESCROOT
16
17
# For creating ProbeAgentExtension.so to be packaged in the AC
18
export RASERVER_SDK=$TPTP_ACSDK_HOME
19
20
#
21
#Compiler
22
#
7
export PATH=$JAVA_HOME/bin:/opt/binutils/bin:/usr/bin:/bin:$PATH
23
export PATH=$JAVA_HOME/bin:/opt/binutils/bin:/usr/bin:/bin:$PATH
8
export LD_LIBRARY_PATH=/opt/binutils/lib:$LD_LIBRARY_PATH
24
export LD_LIBRARY_PATH=/opt/binutils/lib:$XERCESCROOT/lib:$LD_LIBRARY_PATH
9
export TPTP_ACSDK_HOME=/home/proj/tptp/tptpbld/depends/IA32/TPTP_ACSDK_HOME
10
25
26
#
27
#GNU make
28
#
11
umask 022
29
umask 022
12
30
export NATIVE_MAKE='make -f org.eclipse.tptp.platform.jvmti.runtime/makefile'
13
export NATIVE_MAKE='make -f org.eclipse.tptp.platform.jvmti.runtime/makefile'
(-)slave/linux-ia32/configure-environment.agntctrl.sf (-9 / +8 lines)
Lines 4-27 Link Here
4
fi
4
fi
5
5
6
#
6
#
7
#Compiler
7
#Dependencies
8
#
8
#
9
PATH=/usr/bin:$PATH
9
export XERCESCROOT=$HOME/$1/$2/depends/xercesc
10
export XERCESC_HOME=$XERCESCROOT
11
export LD_LIBRARY_PATH=$XERCESCROOT/lib
12
export JAVA_HOME=$HOME/$1/$2/depends/java_5
13
CBE_SDK_HOME=`pwd`
14
export CBE_SDK_HOME=`echo $CBE_SDK_HOME/../cbe/sdk`
10
15
11
#
16
#
12
#Zip/Unzip
17
#Compiler
13
#
18
#
14
PATH=/usr/bin:$PATH
19
PATH=/usr/bin:$PATH
15
20
16
#
21
#
17
#GNU make
22
#GNU make
18
#
23
#
19
20
export JAVA_HOME=$HOME/../tptpbld/depends/IA32/java
21
umask 022
24
umask 022
22
NATIVE_MAKE=make
25
NATIVE_MAKE=make
23
export NATIVE_MAKE
26
export NATIVE_MAKE
24
25
export XERCESCROOT=$HOME/../tptpbld/depends/IA32/xerces-c-src_2_6_0
26
export XERCESC_HOME=$XERCESCROOT
27
export LD_LIBRARY_PATH=$XERCESCROOT/lib
(-)master/runtime/customTargets.xml (-70 / +260 lines)
Lines 501-507 Link Here
501
	<!-- Runs copyright report on the build workspace before new files are created -->	
501
	<!-- Runs copyright report on the build workspace before new files are created -->	
502
	<antcall target="checkCopyright" />
502
	<antcall target="checkCopyright" />
503
	<antcall target="runCHKPII" />
503
	<antcall target="runCHKPII" />
504
		
504
505
	<replace dir="${buildDirectory}/plugins" includes="**/about.mappings">
505
	<replace dir="${buildDirectory}/plugins" includes="**/about.mappings">
506
		<replacefilter token="@PDESetBuildID@" value="${buildId}"/>
506
		<replacefilter token="@PDESetBuildID@" value="${buildId}"/>
507
	</replace>
507
	</replace>
Lines 529-534 Link Here
529
    	<param name="depDir" value="." />
529
    	<param name="depDir" value="." />
530
    </antcall>
530
    </antcall>
531
531
532
	<!-- Create a probekit scr folder with it's build requirements -->
532
	<!-- Manual check-out of Harmony code. Copy files to temp location (as workaround) to push onto native build machine-->
533
	<!-- Manual check-out of Harmony code. Copy files to temp location (as workaround) to push onto native build machine-->
533
	<cvs 
534
	<cvs 
534
		command="export"
535
		command="export"
Lines 548-554 Link Here
548
		<arg value="makefile.unix.build"/>
549
		<arg value="makefile.unix.build"/>
549
    </exec>	
550
    </exec>	
550
	<chmod dir="${buildDirectory}/probekit/platform/org.eclipse.hyades.probekit/src-native/BCI" perm="a+x" includes="**/*.build"/>
551
	<chmod dir="${buildDirectory}/probekit/platform/org.eclipse.hyades.probekit/src-native/BCI" perm="a+x" includes="**/*.build"/>
551
		
552
	
553
	<!-- Create a JVMTI src folder with it's build requirements -->
554
	<mkdir dir="${buildDirectory}/jvmti-src"/>
555
	<exec executable="cp">
556
	   <arg line="-r ${buildDirectory}/plugins/org.eclipse.tptp.platform.jvmti.runtime ${buildDirectory}/jvmti-src"/>
557
	</exec>
558
	<!-- Get the Harmony code that was checked out manually for probekit -->
559
	<exec executable="cp">
560
	   <arg line="-r ${buildDirectory}/probekit/platform/org.apache.harmony_vmcore_verifier ${buildDirectory}/jvmti-src"/>
561
	</exec>
562
	<exec executable="cp">
563
		<arg line="-r ${buildDirectory}/plugins/org.eclipse.hyades.probekit ${buildDirectory}/jvmti-src"/>
564
	</exec>
565
	<exec executable="cp">
566
		<arg line="-r ${buildDirectory}/plugins/org.eclipse.tptp.platform.agentcontroller ${buildDirectory}/jvmti-src"/>
567
	</exec>
568
	
552
	<antcall target="nativeBuild">
569
	<antcall target="nativeBuild">
553
        <param name="component" value="probekit" />
570
        <param name="component" value="probekit" />
554
        <param name="platforms" value="${probekitPlatforms}" />
571
        <param name="platforms" value="${probekitPlatforms}" />
Lines 562-574 Link Here
562
		<param name="srcDir" value="${buildDirectory}/plugins/org.eclipse.hyades.execution/src-iac-native" />
579
		<param name="srcDir" value="${buildDirectory}/plugins/org.eclipse.hyades.execution/src-iac-native" />
563
    	<param name="depDir" value="." />
580
    	<param name="depDir" value="." />
564
    </antcall>
581
    </antcall>
565
		
566
	<antcall target="nativeBuild">
567
        <param name="component" value="tptpdc" />
568
        <param name="platforms" value="${tptpdcPlatforms}" />
569
		<param name="srcDir" value="${buildDirectory}/plugins/org.eclipse.tptp.platform.agentcontroller/src-native/collection ${buildDirectory}/plugins/org.eclipse.hyades.probekit/src-native/ProbeAgentExtension" />
570
    	<param name="depDir" value="${buildDirectory}/all-plugins" />
571
    </antcall>
572
582
573
    <exec dir="${buildDirectory}/plugins" executable="zip">
583
    <exec dir="${buildDirectory}/plugins" executable="zip">
574
        <arg value="-9rq" /> 
584
        <arg value="-9rq" /> 
Lines 787-795 Link Here
787
		<param name="platformId" value="windows-ia32" />
797
		<param name="platformId" value="windows-ia32" />
788
		<param name="plgId" value="eclipse/plugins/org.eclipse.hyades.probekit" />
798
		<param name="plgId" value="eclipse/plugins/org.eclipse.hyades.probekit" />
789
		<param name="destDir" value="os/win32/x86" />
799
		<param name="destDir" value="os/win32/x86" />
790
	</antcall>	
800
	</antcall>
791
801
792
	<!-- tptpdc dependencies -->
802
	<!-- agntctrl dependencies -->
793
    <mkdir dir="${buildDirectory}/post-build"/>
803
    <mkdir dir="${buildDirectory}/post-build"/>
794
    <exec executable="unzip">
804
    <exec executable="unzip">
795
        <arg line="-q ${buildDirectory}/${buildId}/org.eclipse.tptp.platform.runtime-${buildId}.zip -d ${buildDirectory}/post-build"/>
805
        <arg line="-q ${buildDirectory}/${buildId}/org.eclipse.tptp.platform.runtime-${buildId}.zip -d ${buildDirectory}/post-build"/>
Lines 818-824 Link Here
818
        <arg line="-silent ${buildDirectory}/post-build/eclipse/plugins ${buildDirectory}/all-plugins"/>
828
        <arg line="-silent ${buildDirectory}/post-build/eclipse/plugins ${buildDirectory}/all-plugins"/>
819
    </exec>
829
    </exec>
820
    
830
    
821
	<!-- make sure CBE and probekit native builds have finished before starting tptpdc builds. -->
831
	<!-- make sure CBE and probekit native builds have finished before starting agntctrl builds. -->
822
	<exec executable="lockfile">
832
	<exec executable="lockfile">
823
        <arg line="-r 16 ${publishDirectory}/lock.cbe.linux-ia32 ${publishDirectory}/lock.cbe.windows-ia32"/>
833
        <arg line="-r 16 ${publishDirectory}/lock.cbe.linux-ia32 ${publishDirectory}/lock.cbe.windows-ia32"/>
824
    </exec>
834
    </exec>
Lines 826-836 Link Here
826
        <arg line="-r 16 ${publishDirectory}/lock.probekit.linux-ia32 ${publishDirectory}/lock.probekit.windows-ia32"/>
836
        <arg line="-r 16 ${publishDirectory}/lock.probekit.linux-ia32 ${publishDirectory}/lock.probekit.windows-ia32"/>
827
    </exec>
837
    </exec>
828
838
829
    <!-- tptpdc build will continue after removing these lock files -->
839
    <!-- agntctrl build will continue after removing these lock files -->
830
    <exec executable="rm">
840
    <exec executable="rm">
831
        <arg line="-f ${publishDirectory}/lock.tptpdc.linux-ia32 ${publishDirectory}/lock.tptpdc.linux-ppc64 ${publishDirectory}/lock.tptpdc.linux-zseries ${publishDirectory}/lock.tptpdc.hpux-risc ${publishDirectory}/lock.tptpdc.solaris-sparc ${publishDirectory}/lock.tptpdc.aix-ppc ${publishDirectory}/lock.tptpdc.zos-zseries ${publishDirectory}/lock.tptpdc.os400-iseries ${publishDirectory}/lock.tptpdc.windows-ia32"/>
841
        <arg line="-f ${publishDirectory}/lock.agntctrl.linux-ia32 ${publishDirectory}/lock.agntctrl.windows-ia32 ${publishDirectory}/lock.agntctrl.linux-em64t ${publishDirectory}/lock.agntctrl.windows-em64t"/>
832
    </exec>
842
    </exec>
833
		    
843
844
	<!-- Wait for agntctrl to finish building before building JVMTI -->
845
	<waitfor maxwait="1000" maxwaitunit="second" checkevery="10" checkeveryunit="second">
846
		<available file="${publishDirectory}/agntctrl.linux_ia32.zip" />
847
	</waitfor>
848
	<waitfor maxwait="1000" maxwaitunit="second" checkevery="10" checkeveryunit="second">
849
		<available file="${publishDirectory}/agntctrl.linux_em64t.zip" />
850
	</waitfor>
851
	<waitfor maxwait="1000" maxwaitunit="second" checkevery="10" checkeveryunit="second">
852
		<available file="${publishDirectory}/agntctrl.win_ia32.zip" />
853
	</waitfor>
854
	<waitfor maxwait="1000" maxwaitunit="second" checkevery="10" checkeveryunit="second">
855
		<available file="${publishDirectory}/agntctrl.win_em64t.zip" />
856
	</waitfor>
857
858
	<antcall target="nativeBuild">
859
	    <param name="component" value="jvmti" />
860
	    <param name="platforms" value="${jvmtiPlatforms}" />
861
		<param name="srcDir" value="${buildDirectory}/jvmti-src" />
862
	  	<param name="depDir" value="${buildDirectory}/all-plugins" />
863
	</antcall>
864
834
	<antcall target="packageGLARuntime" />
865
	<antcall target="packageGLARuntime" />
835
	<antcall target="internalPkgUse" />
866
	<antcall target="internalPkgUse" />
836
867
Lines 842-863 Link Here
842
<!--	<mkdir dir="${buildDirectory}/tmp.iac"/>  -->
873
<!--	<mkdir dir="${buildDirectory}/tmp.iac"/>  -->
843
874
844
<!--	<antcall target="addDll2IAC" />   --> 
875
<!--	<antcall target="addDll2IAC" />   --> 
845
846
	<!-- add probe agent extension to probekit plugin -->
847
	<antcall target="updateNativeRelatedPlugins">
848
		<param name="component" value="pae" />
849
		<param name="platform" value="linux_ia32" />
850
		<param name="platformId" value="linux-ia32" />
851
		<param name="plgId" value="eclipse/plugins/org.eclipse.hyades.probekit" />
852
		<param name="destDir" value="os/linux/x86" />
853
	</antcall>
854
	<antcall target="updateNativeRelatedPlugins">
855
		<param name="component" value="pae" />
856
		<param name="platform" value="win_ia32" />
857
		<param name="platformId" value="windows-ia32" />
858
		<param name="plgId" value="eclipse/plugins/org.eclipse.hyades.probekit" />
859
		<param name="destDir" value="os/win32/x86" />
860
	</antcall>	
861
	
876
	
862
<!-- Repackage all the features -->
877
<!-- Repackage all the features -->
863
	
878
	
Lines 1158-1164 Link Here
1158
	<move file="${buildDirectory}/AsIsCleanUp/org.eclipse.tptp.platform.sdk-${buildId}.zip" todir="${buildDirectory}/${buildId}"/>	
1173
	<move file="${buildDirectory}/AsIsCleanUp/org.eclipse.tptp.platform.sdk-${buildId}.zip" todir="${buildDirectory}/${buildId}"/>	
1159
	<delete dir="${buildDirectory}/AsIsCleanUp"/>
1174
	<delete dir="${buildDirectory}/AsIsCleanUp"/>
1160
	<!-- END STATIC ANALYSIS -->
1175
	<!-- END STATIC ANALYSIS -->
1176
1177
	<!-- Wait for the JVMTI native build to finish before adding it to the agntctrl native files -->
1178
	<waitfor maxwait="1000" maxwaitunit="second" checkevery="10" checkeveryunit="second">
1179
		<available file="${publishDirectory}/javaprofiler.linux_ia32.zip" />
1180
	</waitfor>
1181
	<waitfor maxwait="1000" maxwaitunit="second" checkevery="10" checkeveryunit="second">
1182
		<available file="${publishDirectory}/javaprofiler.linux_em64t.zip" />
1183
	</waitfor>
1184
	<waitfor maxwait="1000" maxwaitunit="second" checkevery="10" checkeveryunit="second">
1185
		<available file="${publishDirectory}/javaprofiler.win_ia32.zip" />
1186
	</waitfor>
1187
	<waitfor maxwait="1000" maxwaitunit="second" checkevery="10" checkeveryunit="second">
1188
		<available file="${publishDirectory}/javaprofiler.win_em64t.zip" />
1189
	</waitfor>
1161
	
1190
	
1191
	<!-- Add ProbeKit and JVMTI plugins to the AC -->
1192
	<antcall target="nativeACpackaging">
1193
		<param name="platform" value="linux_ia32" />
1194
	</antcall>
1195
	<antcall target="nativeACpackaging">
1196
		<param name="platform" value="win_ia32" />
1197
	</antcall>
1198
	<antcall target="nativeACpackaging">
1199
		<param name="platform" value="linux_em64t" />
1200
	</antcall>
1201
	<antcall target="nativeACpackaging">
1202
		<param name="platform" value="win_em64t" />
1203
	</antcall>
1204
	
1205
	<!-- add probe agent extension to probekit plugin -->
1206
	<antcall target="updateNativeRelatedPlugins">
1207
		<param name="component" value="pae-only" />
1208
		<param name="platform" value="linux_ia32" />
1209
		<param name="platformId" value="linux-ia32" />
1210
		<param name="plgId" value="eclipse/plugins/org.eclipse.hyades.probekit" />
1211
		<param name="destDir" value="os/linux/x86" />
1212
	</antcall>
1213
	<antcall target="updateNativeRelatedPlugins">
1214
		<param name="component" value="pae-only" />
1215
		<param name="platform" value="win_ia32" />
1216
		<param name="platformId" value="windows-ia32" />
1217
		<param name="plgId" value="eclipse/plugins/org.eclipse.hyades.probekit" />
1218
		<param name="destDir" value="os/win32/x86" />
1219
	</antcall>
1220
1221
	<!-- add java profiler extension to javaprofiler plugin -->
1222
	<antcall target="updateNativeRelatedPlugins">
1223
		<param name="component" value="jvmti-only" />
1224
		<param name="platform" value="linux_ia32" />
1225
		<param name="platformId" value="linux-ia32" />
1226
		<param name="plgId" value="eclipse/plugins/org.eclipse.tptp.platform.jvmti.runtime" />
1227
		<param name="destDir" value="agent_files/linux_ia32" />
1228
	</antcall>
1229
	<antcall target="updateNativeRelatedPlugins">
1230
		<param name="component" value="jvmti-only" />
1231
		<param name="platform" value="win_ia32" />
1232
		<param name="platformId" value="windows-ia32" />
1233
		<param name="plgId" value="eclipse/plugins/org.eclipse.tptp.platform.jvmti.runtime" />
1234
		<param name="destDir" value="agent_files/win_ia32" />
1235
	</antcall>
1236
	<antcall target="updateNativeRelatedPlugins">
1237
		<param name="component" value="jvmti-only" />
1238
		<param name="platform" value="linux_em64t" />
1239
		<param name="platformId" value="linux-em64t" />
1240
		<param name="plgId" value="eclipse/plugins/org.eclipse.tptp.platform.jvmti.runtime" />
1241
		<param name="destDir" value="agent_files/linux_em64t" />
1242
	</antcall>
1243
	<antcall target="updateNativeRelatedPlugins">
1244
		<param name="component" value="jvmti-only" />
1245
		<param name="platform" value="win_em64t" />
1246
		<param name="platformId" value="windows-em64t" />
1247
		<param name="plgId" value="eclipse/plugins/org.eclipse.tptp.platform.jvmti.runtime" />
1248
		<param name="destDir" value="agent_files/win_em64t" />
1249
	</antcall>
1250
	
1251
	<!-- add agent controler files to iac plugin -->
1252
	<antcall target="updateNativeRelatedPlugins">
1253
		<param name="component" value="agntctrl" />
1254
		<param name="platform" value="linux_ia32" />
1255
		<param name="platformId" value="linux-ia32" />
1256
		<param name="plgId" value="eclipse/plugins/org.eclipse.tptp.platform.ac.linux_ia32" />
1257
		<param name="destDir" value="agent_controller" />
1258
	</antcall>
1259
	<antcall target="updateNativeRelatedPlugins">
1260
		<param name="component" value="agntctrl" />
1261
		<param name="platform" value="win_ia32" />
1262
		<param name="platformId" value="windows-ia32" />
1263
		<param name="plgId" value="eclipse/plugins/org.eclipse.tptp.platform.ac.win_ia32" />
1264
		<param name="destDir" value="agent_controller" />
1265
	</antcall>
1266
	<antcall target="updateNativeRelatedPlugins">
1267
		<param name="component" value="agntctrl" />
1268
		<param name="platform" value="linux_em64t" />
1269
		<param name="platformId" value="linux-em64t" />
1270
		<param name="plgId" value="eclipse/plugins/org.eclipse.tptp.platform.ac.linux_em64t" />
1271
		<param name="destDir" value="agent_controller" />
1272
	</antcall>
1273
	<antcall target="updateNativeRelatedPlugins">
1274
		<param name="component" value="agntctrl" />
1275
		<param name="platform" value="win_em64t" />
1276
		<param name="platformId" value="windows-em64t" />
1277
		<param name="plgId" value="eclipse/plugins/org.eclipse.tptp.platform.ac.win_em64t" />
1278
		<param name="destDir" value="agent_controller" />
1279
	</antcall>
1280
1162
	<!-- pack the driver -->
1281
	<!-- pack the driver -->
1163
	<property name="pack200wrapper" 
1282
	<property name="pack200wrapper" 
1164
		value="${buildDirectory}/platform/org.eclipse.hyades.releng.builder/master/bash/pack200"/>
1283
		value="${buildDirectory}/platform/org.eclipse.hyades.releng.builder/master/bash/pack200"/>
Lines 1351-1357 Link Here
1351
	
1470
	
1352
	<!-- Check feature and plugin version numbers -->
1471
	<!-- Check feature and plugin version numbers -->
1353
	<antcall target="checkVersion" />
1472
	<antcall target="checkVersion" />
1354
		
1473
1474
	<!-- Create the IAC's by altering the Standalone AC's -->
1475
	<exec executable="make-iac.sh">
1476
		<arg line="${buildDirectory} linux_ia32 ${publishDirectory} ${buildId}"/>
1477
	</exec>
1478
	<exec executable="make-iac.sh">
1479
		<arg line="${buildDirectory} win_ia32 ${publishDirectory} ${buildId}"/>
1480
	</exec>
1481
	<exec executable="make-iac.sh">
1482
		<arg line="${buildDirectory} linux_em64t ${publishDirectory} ${buildId}"/>
1483
	</exec>
1484
	<exec executable="make-iac.sh">
1485
		<arg line="${buildDirectory} win_em64t ${publishDirectory} ${buildId}"/>
1486
	</exec>
1487
1355
	<!-- Repackage native components -->
1488
	<!-- Repackage native components -->
1356
	<mkdir dir="${buildDirectory}/tmp.packaging" />
1489
	<mkdir dir="${buildDirectory}/tmp.packaging" />
1357
    <antcall target="nativeRepackaging">
1490
    <antcall target="nativeRepackaging">
Lines 1364-1399 Link Here
1364
    	<param name="platform" value="win_ia32"/>
1497
    	<param name="platform" value="win_ia32"/>
1365
    	<param name="platformId" value="windows-ia32"/>
1498
    	<param name="platformId" value="windows-ia32"/>
1366
    </antcall>
1499
    </antcall>
1367
1368
	<antcall target="nativeRepackaging">
1500
	<antcall target="nativeRepackaging">
1369
    	<param name="component" value="tptpdc"/>
1501
	    <param name="component" value="cbe"/>
1502
	    <param name="platform" value="linux_em64t"/>
1503
	    <param name="platformId" value="linux-em64t"/>
1504
	</antcall>
1505
	<antcall target="nativeRepackaging">
1506
	   	<param name="component" value="cbe"/>
1507
	   	<param name="platform" value="win_em64t"/>
1508
	   	<param name="platformId" value="windows-em64t"/>
1509
	</antcall>
1510
	
1511
    <antcall target="nativeRepackaging">
1512
    	<param name="component" value="probekit"/>
1370
    	<param name="platform" value="linux_ia32"/>
1513
    	<param name="platform" value="linux_ia32"/>
1371
    	<param name="platformId" value="linux-ia32"/>
1514
    	<param name="platformId" value="linux-ia32"/>
1372
    </antcall>
1515
    </antcall>
1373
	<antcall target="nativeRepackaging">
1516
    <antcall target="nativeRepackaging">
1374
    	<param name="component" value="tptpdc"/>
1517
    	<param name="component" value="probekit"/>
1375
    	<param name="platform" value="win_ia32"/>
1518
    	<param name="platform" value="win_ia32"/>
1376
    	<param name="platformId" value="windows-ia32"/>
1519
    	<param name="platformId" value="windows-ia32"/>
1377
    </antcall>
1520
    </antcall>
1378
	
1379
    <antcall target="nativeRepackaging">
1521
    <antcall target="nativeRepackaging">
1380
    	<param name="component" value="probekit"/>
1522
    	<param name="component" value="probekit"/>
1523
    	<param name="platform" value="linux_em64t"/>
1524
    	<param name="platformId" value="linux-em64t"/>
1525
    </antcall>
1526
	<antcall target="nativeRepackaging">
1527
		<param name="component" value="probekit"/>
1528
		<param name="platform" value="win_em64t"/>
1529
		<param name="platformId" value="windows-em64t"/>
1530
	</antcall>
1531
	
1532
    <antcall target="nativeRepackaging">
1533
    	<param name="component" value="agntctrl"/>
1381
    	<param name="platform" value="linux_ia32"/>
1534
    	<param name="platform" value="linux_ia32"/>
1382
    	<param name="platformId" value="linux-ia32"/>
1535
    	<param name="platformId" value="linux-ia32"/>
1383
    </antcall>
1536
    </antcall>
1384
    <antcall target="nativeRepackaging">
1537
    <antcall target="nativeRepackaging">
1385
    	<param name="component" value="probekit"/>
1538
    	<param name="component" value="agntctrl"/>
1386
    	<param name="platform" value="win_ia32"/>
1539
    	<param name="platform" value="win_ia32"/>
1387
    	<param name="platformId" value="windows-ia32"/>
1540
    	<param name="platformId" value="windows-ia32"/>
1388
    </antcall>
1541
    </antcall>
1542
	<antcall target="nativeRepackaging">
1543
	    <param name="component" value="agntctrl"/>
1544
	    <param name="platform" value="linux_em64t"/>
1545
	    <param name="platformId" value="linux-em64t"/>
1546
	</antcall>
1547
	<antcall target="nativeRepackaging">
1548
	   	<param name="component" value="agntctrl"/>
1549
	   	<param name="platform" value="win_em64t"/>
1550
	   	<param name="platformId" value="windows-em64t"/>
1551
	</antcall>
1552
	
1553
	<!-- TEMP - make a  copy of the agntctrl all_platform.zip named tptpdc.all_platform for consumtion by IES until they are ready for new zip name -->
1554
	<exec executable="unzip">
1555
		<arg line="-q ${publishDirectory}/agntctrl.all_platforms-${buildId} -d ${buildDirectory}/tptpdc-package"/>
1556
	</exec>
1557
	<exec executable="mv">
1558
		<arg line="${buildDirectory}/tptpdc-package/tptp/agntctrl ${buildDirectory}/tptpdc-package/tptp/tptpdc"/>
1559
	</exec>
1560
	<exec executable="zip" dir="${buildDirectory}/tptpdc-package" failonerror="true">
1561
		<arg line="-9rquy ${publishDirectory}/tptpdc.all_platforms-${buildId}.zip tptp" />
1562
	</exec>
1563
	<delete dir="${buildDirectory}/tptpdc-package"/>
1389
1564
1565
	<antcall target="nativeRepackaging">
1566
    	<param name="component" value="javaprofiler"/>
1567
    	<param name="platform" value="linux_ia32"/>
1568
    	<param name="platformId" value="linux-ia32"/>
1569
    </antcall>
1570
    <antcall target="nativeRepackaging">
1571
    	<param name="component" value="javaprofiler"/>
1572
    	<param name="platform" value="win_ia32"/>
1573
    	<param name="platformId" value="windows-ia32"/>
1574
    </antcall>
1575
	<antcall target="nativeRepackaging">
1576
	    <param name="component" value="javaprofiler"/>
1577
	    <param name="platform" value="linux_em64t"/>
1578
	    <param name="platformId" value="linux-em64t"/>
1579
	</antcall>
1580
	<antcall target="nativeRepackaging">
1581
	   	<param name="component" value="javaprofiler"/>
1582
	   	<param name="platform" value="win_em64t"/>
1583
	   	<param name="platformId" value="windows-em64t"/>
1584
	</antcall>
1585
	
1390
	<antcall target="createDriversList" />
1586
	<antcall target="createDriversList" />
1391
</target>
1587
</target>
1392
1588
1589
<!-- Adds javaprofiler probekit and profiler.jar plugins to the ${platform} native AC plugin -->
1590
<target name="nativeACpackaging">
1591
	<mkdir dir="${buildDirectory}/ac-package" />
1592
1593
	<exec executable="unzip">
1594
		<arg line="-q ${publishDirectory}/javaprofiler.${platform}.zip -d ${buildDirectory}/ac-package"/>
1595
	</exec>
1596
	<exec executable="unzip">
1597
		<arg line="-q ${publishDirectory}/pae.${platform}.zip -d ${buildDirectory}/ac-package/plugins/org.eclipse.hyades.probekit"/>
1598
	</exec>
1599
	<copy file="${buildDirectory}/plugins/org.eclipse.tptp.platform.jvmti.runtime/profiler.jar" todir="${buildDirectory}/ac-package/plugins/org.eclipse.tptp.javaprofiler" />
1600
	<copy file="${buildDirectory}/plugins/org.eclipse.tptp.platform.jvmti.runtime/about.html" todir="${buildDirectory}/ac-package/plugins/org.eclipse.tptp.javaprofiler" />
1601
1602
	<exec executable="zip" dir="${buildDirectory}/ac-package">
1603
		<arg line="-r9uy ${publishDirectory}/agntctrl.${platform}.zip plugins/org.eclipse.hyades.probekit plugins/org.eclipse.tptp.javaprofiler"/>
1604
	</exec>
1605
	
1606
	<delete dir="${buildDirectory}/ac-package"/>
1607
	
1608
</target>
1609
	
1393
<target name="nativeRepackaging" if="${component}_${platformId}">
1610
<target name="nativeRepackaging" if="${component}_${platformId}">
1394
	<!--
1611
	<!--
1395
		Required Params:
1612
		Required Params:
1396
			component  (ie: cbe|tptpdc|probekit|...)
1613
			component  (ie: cbe|probekit|...)
1397
			platform  ( part of native zip file name ie: os390|linux_ia32|...)
1614
			platform  ( part of native zip file name ie: os390|linux_ia32|...)
1398
			platformId (as in the call to make-multiple-platforms.sh)
1615
			platformId (as in the call to make-multiple-platforms.sh)
1399
	-->
1616
	-->
Lines 1507-1513 Link Here
1507
	<sleep seconds="2"/>
1724
	<sleep seconds="2"/>
1508
	<!-- Add license and notice -->
1725
	<!-- Add license and notice -->
1509
    <exec executable="zip" failonerror="true">
1726
    <exec executable="zip" failonerror="true">
1510
        <arg value="-9ju" /> 
1727
        <arg value="-9juy" /> 
1511
        <arg value="${newRTFile}" />
1728
        <arg value="${newRTFile}" />
1512
        <arg value="${buildDirectory}/${buildId}/notice.html" />
1729
        <arg value="${buildDirectory}/${buildId}/notice.html" />
1513
        <arg value="${buildDirectory}/${buildId}/epl-v10.html" />
1730
        <arg value="${buildDirectory}/${buildId}/epl-v10.html" />
Lines 1538-1544 Link Here
1538
1755
1539
	<!-- Add license and notice -->
1756
	<!-- Add license and notice -->
1540
    <exec executable="zip" failonerror="true">
1757
    <exec executable="zip" failonerror="true">
1541
        <arg value="-9juq" /> 
1758
        <arg value="-9juqy" /> 
1542
        <arg value="${newSDKFile}" />
1759
        <arg value="${newSDKFile}" />
1543
        <arg value="${buildDirectory}/${buildId}/notice.html" />
1760
        <arg value="${buildDirectory}/${buildId}/notice.html" />
1544
        <arg value="${buildDirectory}/${buildId}/epl-v10.html" />
1761
        <arg value="${buildDirectory}/${buildId}/epl-v10.html" />
Lines 1568-1574 Link Here
1568
1785
1569
	<!-- Add license and notice -->
1786
	<!-- Add license and notice -->
1570
    <exec executable="zip" failonerror="true">
1787
    <exec executable="zip" failonerror="true">
1571
        <arg value="-9juq" /> 
1788
        <arg value="-9juqy" /> 
1572
        <arg value="${newUTFile}" />
1789
        <arg value="${newUTFile}" />
1573
        <arg value="${buildDirectory}/${buildId}/notice.html" />
1790
        <arg value="${buildDirectory}/${buildId}/notice.html" />
1574
        <arg value="${buildDirectory}/${buildId}/epl-v10.html" />
1791
        <arg value="${buildDirectory}/${buildId}/epl-v10.html" />
Lines 1602-1634 Link Here
1602
	<antcall target="allinone.assemble">
1819
	<antcall target="allinone.assemble">
1603
		<param name="eviroment.modifier" value="win"/>
1820
		<param name="eviroment.modifier" value="win"/>
1604
	</antcall>
1821
	</antcall>
1605
1606
	
1607
	<!-- Temp. Work around for certain native components being installed in the p2 all-in-ones -->
1608
	
1609
	<exec executable="ls" outputproperty="plugin.dirs">
1610
		<arg value="${buildDirectory}/win_allinone/eclipse/plugins" />
1611
	</exec>
1612
	<exec executable="grep" outputproperty="probe.dir" inputstring="${plugin.dirs}">
1613
		<arg value="org.eclipse.hyades.probekit_" />
1614
	</exec>
1615
	
1616
	<copy todir="${buildDirectory}/linux_allinone/eclipse/plugins" includeEmptyDirs="true" preservelastmodified="true">
1617
		<fileset dir="${buildDirectory}/post-build/eclipse/plugins" includes="**/org.eclipse.hyades.probekit_*/os/**"/>
1618
	</copy>
1619
	<copy todir="${buildDirectory}/win_allinone/eclipse/plugins" includeEmptyDirs="true" preservelastmodified="true">
1620
		<fileset dir="${buildDirectory}/post-build/eclipse/plugins" includes="**/org.eclipse.hyades.probekit_*/os/**"/>
1621
	</copy>
1622
1623
	<unzip src="${publishDirectory}/pae.linux_ia32.zip" dest="${buildDirectory}/win_allinone/eclipse/plugins/${probe.dir}/os/linux/x86"/>
1624
	<unzip src="${publishDirectory}/pae.linux_ia32.zip" dest="${buildDirectory}/linux_allinone/eclipse/plugins/${probe.dir}/os/linux/x86"/>
1625
	<unzip src="${publishDirectory}/pae.win_ia32.zip" dest="${buildDirectory}/win_allinone/eclipse/plugins/${probe.dir}/os/win32/x86"/>
1626
	<unzip src="${publishDirectory}/pae.win_ia32.zip" dest="${buildDirectory}/linux_allinone/eclipse/plugins/${probe.dir}/os/win32/x86"/>
1627
1628
	<!-- Restore file permissions for linux -->
1629
	<chmod dir="${buildDirectory}/linux_allinone/eclipse/plugins" perm="755" includes="**/org.eclipse.hyades.probekit_*/os/linux/x86/*"/>
1630
	<chmod dir="${buildDirectory}/win_allinone/eclipse/plugins" perm="755" includes="**/org.eclipse.hyades.probekit_*/os/linux/x86/*"/>
1631
1632
	
1822
	
1633
	<exec executable="zip" dir="${buildDirectory}/win_allinone">
1823
	<exec executable="zip" dir="${buildDirectory}/win_allinone">
1634
		<arg line="-qry ${publishDirectory}/tptp.runtime.allInOne.win32.win32.x86-${buildId}.zip eclipse"/>
1824
		<arg line="-qry ${publishDirectory}/tptp.runtime.allInOne.win32.win32.x86-${buildId}.zip eclipse"/>
Lines 1636-1642 Link Here
1636
	<exec executable="zip" dir="${buildDirectory}/linux_allinone">
1826
	<exec executable="zip" dir="${buildDirectory}/linux_allinone">
1637
		<arg line="-qry ${publishDirectory}/tptp.runtime.allInOne.linux.gtk.x86-${buildId}.zip eclipse"/>
1827
		<arg line="-qry ${publishDirectory}/tptp.runtime.allInOne.linux.gtk.x86-${buildId}.zip eclipse"/>
1638
	</exec>
1828
	</exec>
1639
	
1829
1640
	<antcall target="publish" />
1830
	<antcall target="publish" />
1641
1831
1642
	<!-- Did any plugins fail? -->
1832
	<!-- Did any plugins fail? -->
(-)slave/linux-em64t/configure-environment.probekit.sf (-14 / +5 lines)
Lines 4-29 Link Here
4
fi
4
fi
5
5
6
#
6
#
7
#Compiler
7
#Dependencies
8
#
9
PATH=/usr/bin:$PATH
10
11
#
8
#
12
#Java
9
export JDK_HOME=$HOME/$1/$2/depends/java
13
#
14
PATH=$HOME/$1/$2/depends/java/jre/bin:$HOME/$1/$2/depends/java/bin:$PATH
15
10
16
#
11
#
17
#Zip/Unzip
12
#Compiler
18
#
13
#
19
PATH=/usr/bin:$PATH
14
export PATH=$HOME/$1/$2/depends/make:$HOME/$1/$2/depends/java/jre/bin:$HOME/$1/$2/depends/java/bin:/usr/bin:$PATH
20
15
21
#
16
#
22
#GNU make
17
#GNU make
23
#
18
#
24
PATH=$HOME/$1/$2/depends/make:$PATH
25
26
export PATH
27
umask 022
19
umask 022
28
export NATIVE_MAKE='make -f makefile.unix'
20
export NATIVE_MAKE='make -f org.eclipse.hyades.probekit/src-native/BCI/makefile.unix.build'
29
export ZIP_EXT=linux_ia32.zip
(-)slave/linux-em64t/configure-environment.jvmti.sf (-3 / +22 lines)
Lines 3-12 Link Here
3
    exit 2
3
    exit 2
4
fi
4
fi
5
5
6
export JAVA_HOME=/home/proj/tptp/builder/em64t/TPTP/4.2.0/depends/jrockit
6
#
7
#Dependencies
8
#
9
WORKING_DIR=`pwd`
10
export TPTP_ACSDK_HOME=$WORKING_DIR/../agntctrl
11
export CBE_SDK_HOME=$WORKING_DIR/../cbe/sdk
12
export PROBEKIT_LIB=$WORKING_DIR/../probekit/org.eclipse.hyades.probekit/src-native/BCI/Release
13
export XERCESCROOT=$HOME/$1/$2/depends/xercesc
14
export XERCESC_HOME=$XERCESCROOT
15
export JAVA_HOME=$HOME/$1/$2/depends/java
16
17
# For creating ProbeAgentExtension.so to be packaged in the AC
18
export RASERVER_SDK=$TPTP_ACSDK_HOME
19
20
#
21
#Compiler
22
#
23
export LD_LIBRARY_PATH=$XERCESCROOT/lib:$JAVA_HOME/lib:$LD_LIBRARY_PATH
7
export PATH=$JAVA_HOME/bin:/usr/bin:/bin:$PATH
24
export PATH=$JAVA_HOME/bin:/usr/bin:/bin:$PATH
8
export TPTP_ACSDK_HOME=/home/proj/tptp/tptpbld/depends/EM64T/TPTP_ACSDK_HOME
25
export INCLUDE=$INCLUDE:$JAVA_HOME/include
9
26
27
#
28
#GNU make
29
#
10
umask 022
30
umask 022
11
12
export NATIVE_MAKE='make -f org.eclipse.tptp.platform.jvmti.runtime/makefile'
31
export NATIVE_MAKE='make -f org.eclipse.tptp.platform.jvmti.runtime/makefile'
(-)slave/windows-ia32/configure-environment.jvmti.sf (-5 / +20 lines)
Lines 3-13 Link Here
3
    exit 2
3
    exit 2
4
fi
4
fi
5
5
6
#export JAVA_HOME="D:\\Progra~1\\Java\\jrockit-R26.3.0-jdk1.5.0_06"
6
#
7
#export INCLUDE=$INCLUDE;"C:\Util\ibm.java.sdk.142\include"
7
#Dependencies
8
#export PATH=/cygdrive/d/Progra~1/Java/jrockit-R26.3.0-jdk1.5.0_06/bin:$PATH
8
#
9
export TPTP_ACSDK_HOME="D:\\TPTP_ACSDK_HOME"
9
export TPTP_ACSDK_HOME=../../../../agntctrl
10
export CBE_SDK_HOME=../../../../cbe/sdk
11
export PROBEKIT_LIB="..\probekit\org.eclipse.hyades.probekit\src-native\BCI\Release"
12
export JAVA_HOME="C:\Util\jdk1.5.0_16"
13
export XERCESCROOT=$HOME/$1/$2/depends/xerces-c-src_2_6_0
14
export XERCESC_HOME=$XERCESCROOT
15
export RASERVER_SDK=../../../../../agntctrl
16
export JDK_HOME=$JAVA_HOME
10
17
11
umask 002
18
#
19
#Compiler
20
#
21
export PATH=$JAVA_HOME/bin:/opt/binutils/bin:/usr/bin:/bin:$PATH
22
export LD_LIBRARY_PATH=/opt/binutils/lib:$XERCESCROOT/lib:$LD_LIBRARY_PATH
12
23
24
#
25
#GNU make
26
#
27
umask 002
13
export NATIVE_MAKE='nmake -f org.eclipse.tptp.platform.jvmti.runtime/makefile.win_ia32'
28
export NATIVE_MAKE='nmake -f org.eclipse.tptp.platform.jvmti.runtime/makefile.win_ia32'
(-)slave/windows-ia32/configure-environment.agntctrl.sf (-7 / +16 lines)
Lines 4-18 Link Here
4
fi
4
fi
5
5
6
#
6
#
7
#Dependencies
8
#
9
# CBE_SDK_HOME must be set to a folder in the root level of a Windows drive.
10
CBE_SDK_HOME_TMP=`pwd | cut -d/ -f1-6`
11
CBE_SDK_HOME_TMP="$CBE_SDK_HOME_TMP/cbe/sdk"
12
rm -rf /cygdrive/d/CBE_SDK_HOME2/*
13
cp -r ${CBE_SDK_HOME_TMP}/* /cygdrive/d/CBE_SDK_HOME2
14
export CBE_SDK_HOME="D:\CBE_SDK_HOME2"
15
export XERCESCROOT="C:\Util\xerces-c_2_6_0"
16
export XERCESC_HOME="$XERCESCROOT"
17
18
#
7
#Compiler
19
#Compiler
8
#
20
#
9
#export INCLUDE=$INCLUDE:C:\Util\ibm.java.sdk.142\include
21
export PATH="C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Bin:$PATH"
10
22
23
#
24
#GNU make
25
#
11
umask 002
26
umask 002
12
13
export TEMP_LICENSE_HOME="D:\cygwin\home\build\TEMP_LICENSE_HOME"
14
export RAC_SDK_HOME="D:\RAC_SDK_HOME"
15
export CBE_SDK_HOME="D:\CBE_SDK_HOME"
16
export XERCESCROOT="C:\Util\xerces-c_2_6_0"
17
export XERCESC_HOME="$XERCESCROOT"
18
export NATIVE_MAKE='nmake -f makefile.win_ia32'
27
export NATIVE_MAKE='nmake -f makefile.win_ia32'
(-)master/templateFiles/drop.html.template (-2 / +2 lines)
Lines 170-176 Link Here
170
        <td>
170
        <td>
171
        <select name="runtime">
171
        <select name="runtime">
172
                <option value="" selected>-- Select a platform --</option>
172
                <option value="" selected>-- Select a platform --</option>
173
                <option value="http://www.eclipse.org/downloads/download.php?file=/tptp/@releaseVersion@/dev/@buildID@/tptpdc.all_platforms-@buildID@.zip">ALL</option>
173
                <option value="http://www.eclipse.org/downloads/download.php?file=/tptp/@releaseVersion@/dev/@buildID@/agntctrl.all_platforms-@buildID@.zip">ALL</option>
174
                <option value="http://www.eclipse.org/downloads/download.php?file=/tptp/@releaseVersion@/dev/@buildID@/agntctrl.linux_ia32-@buildID@.zip">LINUX-IA32</option>
174
                <option value="http://www.eclipse.org/downloads/download.php?file=/tptp/@releaseVersion@/dev/@buildID@/agntctrl.linux_ia32-@buildID@.zip">LINUX-IA32</option>
175
                <option value="http://www.eclipse.org/downloads/download.php?file=/tptp/@releaseVersion@/dev/@buildID@/agntctrl.linux_em64t-@buildID@.zip">LINUX-EM64T</opption>
175
                <option value="http://www.eclipse.org/downloads/download.php?file=/tptp/@releaseVersion@/dev/@buildID@/agntctrl.linux_em64t-@buildID@.zip">LINUX-EM64T</opption>
176
                <option value="http://www.eclipse.org/downloads/download.php?file=/tptp/@releaseVersion@/dev/@buildID@/agntctrl.linux_ipf-@buildID@.zip">LINUX-IPF</option>
176
                <option value="http://www.eclipse.org/downloads/download.php?file=/tptp/@releaseVersion@/dev/@buildID@/agntctrl.linux_ipf-@buildID@.zip">LINUX-IPF</option>
Lines 190-196 Link Here
190
        <td>
190
        <td>
191
        <select name="sdk">
191
        <select name="sdk">
192
                <option value="" selected>-- Select a platform --</option>
192
                <option value="" selected>-- Select a platform --</option>
193
                <option value="http://www.eclipse.org/downloads/download.php?file=/tptp/@releaseVersion@/dev/@buildID@/tptpdc.all_platforms.sdk-@buildID@.zip">ALL</option>
193
                <option value="http://www.eclipse.org/downloads/download.php?file=/tptp/@releaseVersion@/dev/@buildID@/agntctrl.all_platforms.sdk-@buildID@.zip">ALL</option>
194
                <option value="http://www.eclipse.org/downloads/download.php?file=/tptp/@releaseVersion@/dev/@buildID@/agntctrl.linux_ia32.sdk-@buildID@.zip">LINUX-IA32</option>
194
                <option value="http://www.eclipse.org/downloads/download.php?file=/tptp/@releaseVersion@/dev/@buildID@/agntctrl.linux_ia32.sdk-@buildID@.zip">LINUX-IA32</option>
195
                <option value="http://www.eclipse.org/downloads/download.php?file=/tptp/@releaseVersion@/dev/@buildID@/agntctrl.linux_em64t.sdk-@buildID@.zip">LINUX-EM64T</opption>
195
                <option value="http://www.eclipse.org/downloads/download.php?file=/tptp/@releaseVersion@/dev/@buildID@/agntctrl.linux_em64t.sdk-@buildID@.zip">LINUX-EM64T</opption>
196
                <option value="http://www.eclipse.org/downloads/download.php?file=/tptp/@releaseVersion@/dev/@buildID@/agntctrl.linux_ipf.sdk-@buildID@.zip">LINUX-IPF</option>
196
                <option value="http://www.eclipse.org/downloads/download.php?file=/tptp/@releaseVersion@/dev/@buildID@/agntctrl.linux_ipf.sdk-@buildID@.zip">LINUX-IPF</option>
(-)master/bash/make-iac.sh (+72 lines)
Added Link Here
1
#!/bin/bash -x
2
############################################################################### 
3
# Copyright (c) 2009 IBM Corporation and others.
4
# All rights reserved.   This program and the accompanying materials
5
# are made available under the terms of the Eclipse Public License v1.0
6
# which accompanies this distribution, and is available at
7
# http://www.eclipse.org/legal/epl-v10.html
8
# $Id: $
9
#
10
# Contributors: 
11
# IBM - Initial API and implementation
12
############################################################################### 
13
14
buildDirectory=$1
15
platform=$2
16
publishDirectory=$3
17
buildId=$4
18
19
pushd ${buildDirectory}/post-build/eclipse/plugins
20
acplugin=$(eval echo org.eclipse.tptp.platform.agentcontroller_*)
21
acNative=$(eval echo org.eclipse.tptp.platform.ac.${platform}_*)
22
popd
23
24
iac_packages="tptp.runtime-${buildId} \
25
	tptp.sdk-${buildId} \
26
	tptp.platform.runtime-${buildId} \
27
	tptp.platform.sdk-${buildId}"
28
29
for package in $iac_packages; do
30
	unzip -q ${publishDirectory}/${package}.zip -d ${buildDirectory}/iac-repack
31
	
32
	# exclude content not necessary for IAC
33
	rm -rf ${buildDirectory}/iac-repack/eclipse/plugins/${acNative}/agent_controller/getting_started.html ${buildDirectory}/iac-repack/eclipse/plugins/${acNative}/agent_controller/plugins ${buildDirectory}/iac-repack/eclipse/plugins/${acNative}/agent_controller/bin/tptpcore.jar
34
	case ${platform} in
35
	    win*) rm -rf ${buildDirectory}/iac-repack/eclipse/plugins/${acNative}/agent_controller/lib ;;
36
	    linux*) rm -f ${buildDirectory}/iac-repack/eclipse/plugins/${acNative}/agent_controller/lib/config.jar ;;
37
	esac
38
	
39
	# update SetConfig script for IAC
40
	# to look for config.jar in org.eclipse.tptp.platform.agentcontroller plugin
41
	# (bug #215023)
42
	case ${platform} in
43
		win*) sed -i "s%..\\\\lib\\\\%..\\\\..\\\\..\\\\$acplugin\\\\%g" ${buildDirectory}/iac-repack/eclipse/plugins/${acNative}/agent_controller/bin/SetConfig.bat ;;
44
		linux*) sed -i "s%../lib/%../../../$acplugin/%g" ${buildDirectory}/iac-repack/eclipse/plugins/${acNative}/agent_controller/bin/SetConfig.sh ;;
45
	esac
46
	# Notes:
47
	#  we quote sed commands into " (not in ') because of we need shell to expand $rmt_acplugin variable 
48
	#  we use \\\\ for \ because of shell converts \\ to \ and then sed converts \\ to \
49
	#  we use % as separator for sed s command because the usual / conflicts with / in path
50
	
51
	# update META-INF/p2.inf for Linux platforms (bug #230922)
52
	if [ `echo ${platform} | grep linux` ]
53
	then
54
	    # update version part of swt libraries file names
55
		if [ -f ${buildDirectory}/iac-repack/eclipse/plugins/${acNative}/agent_controller/META-INF/p2.inf -a -d ${buildDirectory}/iac-repack/eclipse/plugins/${acNative}/lib ]
56
		then
57
	    	pushd ${buildDirectory}/iac-repack/eclipse/plugins/${acNative}/lib
58
	        libswt_ver=$(echo libswt-gtk-*.so | sed "s/libswt-gtk-//" | sed "s/.so//")
59
	        popd
60
	        if [ "$libswt_ver" ]; then
61
	        	sed -i "s/#SWTLIBVER#/$libswt_ver/" ${buildDirectory}/iac-repack/eclipse/plugins/${acNative}/META-INF/p2.inf
62
	        fi
63
	    fi
64
	fi
65
	
66
	pushd ${buildDirectory}/iac-repack
67
	rm -f ${publishDirectory}/${package}.zip
68
	zip -rqy9 ${publishDirectory}/${package}.zip *
69
	popd
70
	
71
	rm -rf ${buildDirectory}/iac-repack
72
done
(-)slave/linux-em64t/configure-environment.agntctrl.sf (+28 lines)
Added Link Here
1
if [ $# -ne 2 ]; then
2
    echo "usage: . configure-environment.agntctrl.sf <project> <release>"
3
    exit 2
4
fi
5
6
#
7
#Dependencies
8
#
9
export JAVA_HOME=$HOME/$1/$2/depends/java
10
export XERCESCROOT=$HOME/$1/$2/depends/xercesc
11
export XERCESC_HOME=$XERCESCROOT
12
CBE_SDK_HOME=`pwd`
13
export CBE_SDK_HOME=`echo $CBE_SDK_HOME/../cbe/sdk`
14
15
#
16
#Compiler
17
#
18
PATH=/usr/bin:$PATH
19
export LD_LIBRARY_PATH=/lib64:$LD_LIBRARY_PATH:$XERCESCROOT/lib
20
export INCLUDE=$INCLUDE:/usr/include/uuid
21
export KERNEL_SRC=/usr
22
23
#
24
#GNU make
25
#
26
umask 022
27
NATIVE_MAKE=make
28
export NATIVE_MAKE
(-)master/bash/add-dependencies.agntctrl.sh (+82 lines)
Added Link Here
1
#!/bin/bash -x
2
############################################################################### 
3
# Copyright (c) 2009 IBM Corporation and others.
4
# All rights reserved.   This program and the accompanying materials
5
# are made available under the terms of the Eclipse Public License v1.0
6
# which accompanies this distribution, and is available at
7
# http://www.eclipse.org/legal/epl-v10.html
8
# $Id: $
9
#
10
# Contributors: 
11
# IBM - Initial API and implementation
12
############################################################################### 
13
14
# Perform Sanity checking and set up environment.
15
source convert-parameters-into-variables.sf
16
source verify-environment-variables.sf \
17
    '--depdir=Directory where all dependencies to the build are stored' \
18
    '--srcdir=Directory where the source code is stored and to which dependencies will be added' \
19
    '--rmtosarc=Operating system and architecture of the remote host'
20
21
# Set up the internal directory structure.
22
pkgdir="$srcdir/packaging"
23
24
# Create hyades data collection engine dependency zip file
25
depplg="$pkgdir/plugins"
26
mkdir -p "$depplg"
27
ln -s `ls -1d $depdir/org.apache.commons.logging_*|head -1` \
28
	  "$depdir"/org.eclipse.emf.common_* \
29
      "$depdir"/org.eclipse.emf.ecore_* \
30
      "$depdir"/org.eclipse.equinox.common_* \
31
      "$depdir"/org.eclipse.emf.ecore.xmi_* \
32
      "$depdir"/org.junit_* \
33
      "$depdir"/org.eclipse.tptp.platform.models_* \
34
      "$depdir"/org.eclipse.hyades.execution_* \
35
      "$depdir"/org.eclipse.tptp.platform.logging.events_* \
36
      "$depdir"/org.eclipse.hyades.logging.core_* \
37
      "$depdir"/org.eclipse.tptp.platform.collection.framework_* \
38
      "$depdir"/org.eclipse.jface_* \
39
      "$depdir"/org.eclipse.osgi_* \
40
      "$depdir"/com.ibm.icu_* \
41
      "$depdir"/org.eclipse.core.runtime_* \
42
      "$depdir"/org.eclipse.core.commands_* \
43
      "$depdir"/org.eclipse.tptp.platform.models.hierarchy_* \
44
      "$depdir"/org.eclipse.tptp.monitoring.instrumentation_* \
45
      "$depdir"/org.eclipse.tptp.test.tools.junit.plugin_* \
46
      "$depdir"/org.eclipse.tptp.trace.arm_* \
47
      "$depdir"/org.mx4j.jmx_* \
48
      "$depdir"/org.opengroup.arm_* \
49
      "$depplg"
50
51
cp -r "$depdir"/org.eclipse.hyades.test.core_* \
52
      "$depdir"/org.eclipse.hyades.test.tools.core_* \
53
      "$depplg"
54
55
rm -f $depplg/org.eclipse.hyades.test.core_*/hexrecr.jar \
56
	  $depplg/org.eclipse.hyades.test.tools.core_*/http.hexrecr.jar
57
58
mkdir -p "$pkgdir/lib"
59
mkdir -p "$pkgdir/bin"
60
61
if [ $swtzippth ]; then
62
        mkdir -p "$pkgdir"/swt_licenses "$pkgdir"/temporarydir
63
        unzip $swtzippth -d "$pkgdir"/temporarydir
64
        unzip "$pkgdir"/temporarydir/swt.jar *.dll -d "$pkgdir"/bin
65
        unzip "$pkgdir"/temporarydir/swt.jar lib* -d "$pkgdir"/lib
66
        
67
        mv $pkgdir/temporarydir/swt.jar "$depplg"
68
        mv $pkgdir/temporarydir/about.html $pkgdir/temporarydir/about_files $pkgdir/swt_licenses
69
        rm -r "$pkgdir/temporarydir"
70
fi
71
72
ln -s "$depdir"/org.eclipse.tptp.platform.agentcontroller_*/config.jar "$pkgdir"/lib
73
74
cp -r "$depdir"/org.eclipse.tptp.platform.execution/tptpcore.jar \
75
      "$pkgdir/bin"
76
      
77
mkdir -p "$depplg"/org.eclipse.tptp.jsse
78
mkdir -p "$depplg"/org.eclipse.tptp.jsse/config
79
cp -r "$depdir"/org.eclipse.tptp.platform.agentcontroller/jsse.jar \
80
      "$depdir"/org.eclipse.tptp.platform.agentcontroller/about.html \
81
      "$depplg"/org.eclipse.tptp.jsse
82
cp -r "$depdir"/org.eclipse.tptp.platform.agentcontroller/jsse-config/pluginconfig.xml "$depplg"/org.eclipse.tptp.jsse/config

Return to bug 182085