summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/buildSWT.xml
diff options
context:
space:
mode:
authorSilenio Quarti <silenio_quarti@ca.ibm.com>2013-05-13 16:56:13 -0400
committerSilenio Quarti <silenio_quarti@ca.ibm.com>2013-05-13 16:56:13 -0400
commitb86f92405b5901308150c536b4f7c4c7e90634bf (patch)
tree4c9545a42a2013fc674e832dcecf3c9f6be02b88 /bundles/org.eclipse.swt/buildSWT.xml
parenta1ee6177d65326c66d403c43ed8e9d4a4c001d59 (diff)
downloadeclipse.platform.swt-b86f92405b5901308150c536b4f7c4c7e90634bf.tar.gz
eclipse.platform.swt-b86f92405b5901308150c536b4f7c4c7e90634bf.tar.xz
eclipse.platform.swt-b86f92405b5901308150c536b4f7c4c7e90634bf.zip
fix keyfile for *nix
Diffstat (limited to 'bundles/org.eclipse.swt/buildSWT.xml')
-rw-r--r--bundles/org.eclipse.swt/buildSWT.xml13
1 files changed, 9 insertions, 4 deletions
diff --git a/bundles/org.eclipse.swt/buildSWT.xml b/bundles/org.eclipse.swt/buildSWT.xml
index 12ed499c66..6e2c7d716c 100644
--- a/bundles/org.eclipse.swt/buildSWT.xml
+++ b/bundles/org.eclipse.swt/buildSWT.xml
@@ -28,7 +28,6 @@
<project name="swtbuild" basedir=".">
<property name="gitroot" value="silenio@dev.eclipse.org:/gitroot/platform/"/>
- <property name="keyfile" value="C:\BUILD\ssh\swtbuild_dsa_private" />
<property name="TAG" value="master"/>
<property name="tmphome" value="../../../tmp"/>
@@ -52,6 +51,12 @@
<property name="file_build_notes" value="bundles/org.eclipse.swt/buildnotes_swt.html"/>
<property name="file_swt_map" value="org.eclipse.releng/maps/swt.map"/>
+ <target name="init_keyfile">
+ <condition property="keyfile" value="C:\BUILD\ssh\swtbuild_dsa_private" else="/var/lib/hudson/swt/swtbuild_dsa_private">
+ <os family="windows"/>
+ </condition>
+ </target>
+
<target name="check_libraries" depends="get_version">
<!-- Carbon is not being built
<antcall target="check_fragment_libraries">
@@ -211,7 +216,7 @@
<echo>Success</echo>
</target>
- <target name="check_machines">
+ <target name="check_machines" depends="init_keyfile">
<parallel>
<sshexec host="${m_linux_x86}"
username="swtbuild"
@@ -353,7 +358,7 @@
<fail if="m_fail" message="Failed"/>
</target>
- <target name="check_s390_machines">
+ <target name="check_s390_machines" depends="init_keyfile">
<parallel>
<sshexec host="${m_linux_s390}"
username="swtbuild"
@@ -989,7 +994,7 @@
</antcall>
</target>
- <target name="build_remote">
+ <target name="build_remote" depends="init_keyfile">
<property name="libs" value="*"/>
<property name="exports" value=""/>