<?xml version="1.0" encoding="UTF-8"?> <project name="launcher" default="all">         <property file="launcher.properties"/>   <!-- Uncomment the following property if no tests compilation is needed -->   <!--    <property name="skip.tests" value="true"/>    -->      <!-- Compiler options -->      <property name="compiler.debug" value="on"/>   <property name="compiler.generate.no.warnings" value="off"/>   <property name="compiler.args" value=""/>   <property name="compiler.max.memory" value="128m"/>   <patternset id="ignored.files">     <exclude name="**/CVS/**"/>     <exclude name="**/SCCS/**"/>     <exclude name="**/RCS/**"/>     <exclude name="**/rcs/**"/>     <exclude name="**/.DS_Store/**"/>     <exclude name="**/.svn/**"/>     <exclude name="**/.pyc/**"/>     <exclude name="**/.pyo/**"/>     <exclude name="**/*.pyc/**"/>     <exclude name="**/*.pyo/**"/>     <exclude name="**/.git/**"/>     <exclude name="**/*.hprof/**"/>     <exclude name="**/_svn/**"/>     <exclude name="**/.hg/**"/>     <exclude name="**/*.lib/**"/>     <exclude name="**/*~/**"/>     <exclude name="**/__pycache__/**"/>     <exclude name="**/.bundle/**"/>     <exclude name="**/*.rbc/**"/>   </patternset>   <patternset id="library.patterns">     <include name="*.zip"/>     <include name="*.apk"/>     <include name="*.war"/>     <include name="*.egg"/>     <include name="*.ear"/>     <include name="*.ane"/>     <include name="*.swc"/>     <include name="*.jar"/>   </patternset>   <patternset id="compiler.resources">     <exclude name="**/?*.java"/>     <exclude name="**/?*.form"/>     <exclude name="**/?*.class"/>     <exclude name="**/?*.groovy"/>     <exclude name="**/?*.scala"/>     <exclude name="**/?*.flex"/>     <exclude name="**/?*.kt"/>     <exclude name="**/?*.clj"/>   </patternset>      <!-- JDK definitions -->      <property name="jdk.bin.1.7" value="${jdk.home.1.7}/bin"/>   <path id="jdk.classpath.1.7">     <fileset dir="${jdk.home.1.7}">       <include name="jre/lib/charsets.jar"/>       <include name="jre/lib/deploy.jar"/>       <include name="jre/lib/javaws.jar"/>       <include name="jre/lib/jce.jar"/>       <include name="jre/lib/jfr.jar"/>       <include name="jre/lib/jsse.jar"/>       <include name="jre/lib/management-agent.jar"/>       <include name="jre/lib/plugin.jar"/>       <include name="jre/lib/resources.jar"/>       <include name="jre/lib/rt.jar"/>       <include name="jre/lib/ext/dnsns.jar"/>       <include name="jre/lib/ext/localedata.jar"/>       <include name="jre/lib/ext/sunec.jar"/>       <include name="jre/lib/ext/sunjce_provider.jar"/>       <include name="jre/lib/ext/sunmscapi.jar"/>       <include name="jre/lib/ext/zipfs.jar"/>     </fileset>   </path>      <property name="project.jdk.home" value="${jdk.home.1.7}"/>   <property name="project.jdk.bin" value="${jdk.bin.1.7}"/>   <property name="project.jdk.classpath" value="jdk.classpath.1.7"/>   <!-- Register Custom Compiler Taskdefs -->   <property name="javac2.home" value="${idea.home}/lib"/>   <path id="javac2.classpath">     <pathelement location="${javac2.home}/javac2.jar"/>     <pathelement location="${javac2.home}/jdom.jar"/>     <pathelement location="${javac2.home}/asm4-all.jar"/>     <pathelement location="${javac2.home}/jgoodies-forms.jar"/>   </path>   <target name="register.custom.compilers">     <taskdef name="javac2" classname="com.intellij.ant.Javac2" classpathref="javac2.classpath"/>     <taskdef name="instrumentIdeaExtensions" classname="com.intellij.ant.InstrumentIdeaExtensions" classpathref="javac2.classpath"/>   </target>      <!-- Modules -->      <import file="${basedir}/module_minecraft_launcher.xml"/>      <target name="init" description="Build initialization">     <!-- Perform any build initialization in this target -->   </target>      <target name="clean" depends="clean.module.minecraft_launcher" description="cleanup all"/>      <target name="build.modules" depends="init, clean, compile.module.minecraft_launcher" description="build all modules"/>      <target name="build-jar" depends="build.modules" description="build jar file">     <jar destfile="${basedir}/launcher.jar"          basedir="out/production/MINECRAFT_LAUNCHER">          <manifest>           <attribute name="Main-Class" value="net.minecraft.LauncherFrame"/>          </manifest>     </jar> </target>   <target name="all" depends="build-jar" description="build all"/>    </project>