Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

build-properties.xml 1.6KB

1234567891011121314151617181920212223242526272829303132
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project name="DMDirc-properties" default="default" basedir=".">
  3. <description>Automatically initialises build properties</description>
  4. <condition property="private.property.exists">
  5. <available file="nbproject/private/private.properties"/>
  6. </condition>
  7. <target name="-create-private-properties" unless="private.properties.exists">
  8. <mkdir dir="nbproject/private"/>
  9. <echo file="nbproject/private/private.properties"/>
  10. </target>
  11. <target name="-check-private-classpath">
  12. <loadfile property="private.properties.old" srcFile="nbproject/private/private.properties"/>
  13. <condition property="private.properties.needsinsert">
  14. <not>
  15. <matches string="${private.properties.old}" pattern="^private.classpath=(.*)$" multiline="true" casesensitive="true"/>
  16. </not>
  17. </condition>
  18. </target>
  19. <target name="-create-private-classpath" if="private.properties.needsinsert">
  20. <echo append="true" file="nbproject/private/private.properties">${line.separator}private.classpath=${line.separator}</echo>
  21. </target>
  22. <target name="-init-private-properties" depends="-create-private-properties,-check-private-classpath,-create-private-classpath">
  23. <propertyregex property="private.classpath.value" input="${toString:all.libs}" regexp="\\" replace="/" global="true" defaultValue="${toString:all.libs}"/>
  24. <replaceregexp file="nbproject/private/private.properties" match="^private.classpath=(.*)$" flags="im" replace="private.classpath=${private.classpath.value}"/>
  25. </target>
  26. </project>