1.1 --- a/build.xml Fri Aug 12 20:43:07 2011 +0200
1.2 +++ b/build.xml Sat Aug 13 07:17:58 2011 +0200
1.3 @@ -6,6 +6,8 @@
1.4 <description>Builds the module suite plsql support.</description>
1.5
1.6 <property file="build.properties"/>
1.7 + <property file="nbproject/private/platform-private.properties"/>
1.8 + <property file="nbproject/platform.properties"/>
1.9
1.10 <property name="use.timestamp" value="true"/>
1.11
1.12 @@ -50,9 +52,19 @@
1.13
1.14 <target name="update-binaries" depends="download-binaries,check-binaries,unzip-binaries"/>
1.15
1.16 - <target name="build-suite">
1.17 + <target name="check-harness">
1.18 <echo>nbplatform.default.netbeans.dest.dir resolved to ${nbplatform.default.netbeans.dest.dir}</echo>
1.19 <echo>nbplatform.default.harness.dir resolved to ${nbplatform.default.harness.dir}</echo>
1.20 + <fail message="Harness is missing. Specify nbplatform.default.netbeans.dest.dir={your-sources-root}/ide/netbeans in nbproject/platform-private.propetries">
1.21 + <condition>
1.22 + <not>
1.23 + <available file="${nbplatform.default.harness.dir}" type="dir"/>
1.24 + </not>
1.25 + </condition>
1.26 + </fail>
1.27 + </target>
1.28 +
1.29 + <target name="build-suite" depends="check-harness">
1.30 <ant antfile="build-suite.xml" target="build" inheritAll="false"/>
1.31 </target>
1.32