build-impl.xml 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. *** GENERATED FROM project.xml - DO NOT EDIT ***
  4. *** EDIT ../build.xml INSTEAD ***
  5. -->
  6. <project name="jme-gde-impl" basedir=".." xmlns:sproject="http://www.netbeans.org/ns/nb-module-suite-project/1">
  7. <fail message="Please build using Ant 1.7.1 or higher.">
  8. <condition>
  9. <not>
  10. <antversion atleast="1.7.1"/>
  11. </not>
  12. </condition>
  13. </fail>
  14. <property file="nbproject/private/platform-private.properties"/>
  15. <property file="nbproject/platform.properties"/>
  16. <macrodef name="property" uri="http://www.netbeans.org/ns/nb-module-suite-project/1">
  17. <attribute name="name"/>
  18. <attribute name="value"/>
  19. <sequential>
  20. <property name="@{name}" value="${@{value}}"/>
  21. </sequential>
  22. </macrodef>
  23. <macrodef name="evalprops" uri="http://www.netbeans.org/ns/nb-module-suite-project/1">
  24. <attribute name="property"/>
  25. <attribute name="value"/>
  26. <sequential>
  27. <property name="@{property}" value="@{value}"/>
  28. </sequential>
  29. </macrodef>
  30. <property file="${user.properties.file}"/>
  31. <sproject:property name="harness.dir" value="nbplatform.${nbplatform.active}.harness.dir"/>
  32. <sproject:property name="nbplatform.active.dir" value="nbplatform.${nbplatform.active}.netbeans.dest.dir"/>
  33. <sproject:evalprops property="cluster.path.evaluated" value="${cluster.path}"/>
  34. <fail message="Path to 'platform' cluster missing in $${cluster.path} property or using corrupt Netbeans Platform (missing harness).">
  35. <condition>
  36. <not>
  37. <contains string="${cluster.path.evaluated}" substring="platform"/>
  38. </not>
  39. </condition>
  40. </fail>
  41. <fail message="Cannot find NetBeans build harness. ${line.separator}Check that nbplatform.${nbplatform.active}.netbeans.dest.dir and nbplatform.${nbplatform.active}.harness.dir are defined. ${line.separator}On a developer machine these are normally defined in ${user.properties.file}=${netbeans.user}/build.properties ${line.separator}but for automated builds you should pass these properties to Ant explicitly.">
  42. <condition>
  43. <not>
  44. <available type="dir" file="${harness.dir}"/>
  45. </not>
  46. </condition>
  47. </fail>
  48. <import file="${harness.dir}/suite.xml"/>
  49. </project>