determine plugin dir for eclipse builds
diff --git a/bundles/org.eclipse.swt.gtk.hpux.ia64/build.xml b/bundles/org.eclipse.swt.gtk.hpux.ia64/build.xml
index ae42478..469bb4f 100644
--- a/bundles/org.eclipse.swt.gtk.hpux.ia64/build.xml
+++ b/bundles/org.eclipse.swt.gtk.hpux.ia64/build.xml
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<project name="org.eclipse.swt.gtk.hpux.ia64" default="build.jars" basedir="../../..">
+<project name="org.eclipse.swt.gtk.hpux.ia64" default="build.jars" basedir=".">
 
 	<property name="swt.ws" value="gtk" />
 	<property name="swt.os" value="hpux" />
@@ -8,6 +8,9 @@
 	<!-- These properties are used by eclipse when exporting as Deployable plugin and fragments -->
 	<property name="version.suffix" value="3.7.0" />
 
-	<import file="../../../eclipse.platform.swt/bundles/org.eclipse.swt/buildFragment.xml"/>
-	<import file="../../../eclipse.platform.swt/bundles/org.eclipse.swt/buildSWT.xml"/>
+	<condition property="pluginroot" value="../../../eclipse.platform.swt/bundles" else="${buildDirectory}/plugins">
+		<available file="../../../eclipse.platform.swt/bundles" type="dir"/>
+	</condition>
+	<import file="${pluginroot}/org.eclipse.swt/buildFragment.xml"/>
+	<import file="${pluginroot}/org.eclipse.swt/buildSWT.xml"/>
 </project>