Permalink
Fetching contributors…
Cannot retrieve contributors at this time
304 lines (255 sloc) 10 KB
<?xml version="1.0" encoding="UTF-8"?>
<project name="intellij-elixir" default="all">
<property file="intellij-elixir.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="700m"/>
<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="*.war"/>
<include name="*.ear"/>
<include name="*.apk"/>
<include name="*.zip"/>
<include name="*.swc"/>
<include name="*.ane"/>
<include name="*.egg"/>
<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>
<import file="${basedir}/idea.xml"/>
<import file="${basedir}/intellij-erlang.xml"/>
<!-- JDK definitions -->
<property environment="env"/>
<property name="jdk.home" value="${env.JAVA_HOME}"/>
<property name="jdk.bin" value="${jdk.home}/bin"/>
<property name="project.jdk.bin" value="${jdk.bin}"/>
<property name="project.jdk.classpath" value="jdk.classpath"/>
<property name="project.jdk.home" value="${jdk.home}"/>
<path id="jdk.classpath">
<fileset dir="${idea.cache}">
<include name="lib/annotations.jar"/>
<include name="lib/asm-all.jar"/>
<include name="lib/asm-commons.jar"/>
<include name="lib/asm.jar"/>
<include name="lib/asm4-all.jar"/>
<include name="lib/automaton.jar"/>
<include name="lib/boot.jar"/>
<include name="lib/bootstrap.jar"/>
<include name="lib/cglib-2.2.2.jar"/>
<include name="lib/cli-parser-1.1.jar"/>
<!-- 14.X -->
<include name="lib/commons-codec-1.8.jar"/>
<!-- 2016.1 -->
<include name="lib/commons-codec-1.9.jar"/>
<include name="lib/commons-httpclient-3.1-patched.jar"/>
<!-- 14.X -->
<include name="lib/commons-logging-1.1.3.jar"/>
<!-- 2016.1 -->
<include name="lib/commons-logging-1.2.jar"/>
<include name="lib/commons-net-3.1.jar"/>
<!-- 14.X -->
<include name="lib/ecj-4.4.jar"/>
<!-- 2016.1 -->
<include name="lib/ecj-4.4.2.jar"/>
<include name="lib/extensions.jar"/>
<!-- 14.X -->
<include name="lib/fluent-hc-4.3.2.jar"/>
<!-- 2016.1 -->
<include name="lib/fluent-hc-4.4.1.jar"/>
<include name="lib/forms_rt.jar"/>
<include name="lib/freemarker.jar"/>
<!-- 14.X -->
<include name="lib/groovy-all-2.2.1.jar"/>
<!-- 2016.1 -->
<include name="lib/groovy-all-2.4.6.jar"/>
<!-- 14.X -->
<include name="lib/gson-2.2.4.jar"/>
<!-- 2016.1 -->
<include name="lib/gson-2.5.jar"/>
<include name="lib/guava-17.0.jar"/>
<include name="lib/hamcrest-core-1.3.jar"/>
<include name="lib/hamcrest-library-1.3.jar"/>
<!-- 14.X -->
<include name="lib/httpclient-4.3.6.jar"/>
<!-- 2016.1 -->
<include name="lib/httpclient-4.4.1.jar"/>
<!-- 14.X -->
<include name="lib/httpcore-4.3.1.jar"/>
<!-- 2016.1 -->
<include name="lib/httpcore-4.4.1.jar"/>
<!-- 14.X -->
<include name="lib/httpmime-4.3.2.jar"/>
<!-- 2016.1 -->
<include name="lib/httpmime-4.4.1.jar"/>
<include name="lib/icons.jar"/>
<include name="lib/idea.jar"/>
<include name="lib/idea_rt.jar"/>
<include name="lib/isorelax.jar"/>
<include name="lib/javac2.jar"/>
<include name="lib/jaxen-1.1.3.jar"/>
<include name="lib/jayatana-1.2.4.jar"/>
<include name="lib/jcip-annotations.jar"/>
<include name="lib/jdkAnnotations.jar"/>
<include name="lib/jdom.jar"/>
<include name="lib/jgoodies-common-1.2.1.jar"/>
<include name="lib/jgoodies-forms.jar"/>
<include name="lib/jgoodies-looks-2.4.2.jar"/>
<include name="lib/jh.jar"/>
<include name="lib/jing.jar"/>
<include name="lib/jna-utils.jar"/>
<include name="lib/jna.jar"/>
<include name="lib/jps-builders.jar"/>
<include name="lib/jps-launcher.jar"/>
<include name="lib/jps-model.jar"/>
<include name="lib/jps-server.jar"/>
<!-- 14.X -->
<include name="lib/jsch-0.1.51.jar"/>
<!-- 2016.1 -->
<include name="lib/jsch-0.1.52.jar"/>
<include name="lib/jsch.agentproxy.connector-factory.jar"/>
<include name="lib/jsch.agentproxy.core.jar"/>
<include name="lib/jsch.agentproxy.pageant.jar"/>
<include name="lib/jsch.agentproxy.sshagent.jar"/>
<include name="lib/jsch.agentproxy.usocket-jna.jar"/>
<include name="lib/jsch.agentproxy.usocket-nc.jar"/>
<include name="lib/jsr166e.jar"/>
<include name="lib/jsr173_1.0_api.jar"/>
<!-- 14.X -->
<include name="lib/junit-4.11.jar"/>
<!-- 2016.1 -->
<include name="lib/junit-4.12.jar"/>
<include name="lib/jzlib-1.1.1.jar"/>
<include name="lib/log4j.jar"/>
<!-- 2016.1 -->
<include name="lib/kotlin-runtime.jar"/>
<include name="lib/markdownj-core-0.4.2-SNAPSHOT.jar"/>
<include name="lib/microba.jar"/>
<include name="lib/miglayout-swing.jar"/>
<include name="lib/nanoxml-2.2.3.jar"/>
<include name="lib/nekohtml-1.9.14.jar"/>
<!-- 14.X -->
<include name="lib/netty-all-4.1.0.Beta3.jar"/>
<include name="lib/netty-all-4.1.0.Beta4.jar"/>
<!-- 2016.1 -->
<include name="lib/netty-all-4.1.0.Beta8.jar"/>
<!-- 2016.2 -->
<include name="lib/netty-all-4.1.1.Final.jar"/>
<include name="lib/openapi.jar"/>
<include name="lib/optimizedFileManager.jar"/>
<include name="lib/oromatcher.jar"/>
<include name="lib/picocontainer.jar"/>
<include name="lib/protobuf-2.5.0.jar"/>
<!-- 14.X -->
<include name="lib/proxy-vole_20120920.jar"/>
<!-- 2016.1 -->
<include name="lib/proxy-vole_20131209.jar"/>
<!-- 14.X -->
<include name="lib/pty4j-0.3.jar"/>
<!-- 2016.1 -->
<include name="lib/pty4j-0.6.jar"/>
<include name="lib/purejavacomm.jar"/>
<include name="lib/resolver.jar"/>
<include name="lib/resources.jar"/>
<include name="lib/resources_en.jar"/>
<include name="lib/rhino-js-1_7R4.jar"/>
<include name="lib/rngom-20051226-patched.jar"/>
<include name="lib/rt/jps-plugin-system.jar"/>
<include name="lib/sanselan-0.98-snapshot.jar"/>
<include name="lib/serviceMessages.jar"/>
<!-- 14.X -->
<include name="lib/snappy-in-java-0.3.jar"/>
<!-- 2016.1 -->
<include name="lib/snappy-in-java-0.3.1.jar"/>
<include name="lib/swingx-core-1.6.2.jar"/>
<include name="lib/trang-core.jar"/>
<include name="lib/trove4j.jar"/>
<include name="lib/trove4j_src.jar"/>
<include name="lib/util.jar"/>
<include name="lib/velocity.jar"/>
<!-- 14.X -->
<include name="lib/winp-1.21-patched.jar"/>
<!-- 2016.1 -->
<include name="lib/winp-1.23-patched.jar"/>
<include name="lib/xbean.jar"/>
<include name="lib/xerces.jar"/>
<include name="lib/xmlrpc-2.0.jar"/>
<include name="lib/xpp3-1.1.4-min.jar"/>
<!-- 14.X -->
<include name="lib/xstream-1.4.3.jar"/>
<!-- 2016.1 -->
<include name="lib/xstream-1.4.8.jar"/>
</fileset>
<fileset dir="${intellij-erlang.cache}">
<include name="lib/erlang.jar"/>
</fileset>
<fileset dir="${basedir}/tests">
<include name="mockito-core-2.0.7-beta.jar"/>
<include name="objenesis.jar"/>
</fileset>
<fileset dir="${jdk.home}">
<include name="lib/tools.jar"/>
</fileset>
</path>
<!-- Project Libraries -->
<path id="library.junit.classpath">
<pathelement location="${idea.cache}/lib/junit.jar"/>
</path>
<!-- Global Libraries -->
<!-- Register Custom Compiler Taskdefs -->
<target name="register.custom.compilers" depends="get.idea">
<property name="javac2.home" value="${idea.cache}/lib"/>
<path id="javac2.classpath">
<pathelement location="${javac2.home}/javac2.jar"/>
<pathelement location="${javac2.home}/jdom.jar"/>
<pathelement location="${javac2.home}/asm-all.jar"/>
<pathelement location="${javac2.home}/jgoodies-forms.jar"/>
</path>
<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}/intellij_elixir.xml"/>
<import file="${basedir}/module_intellij-elixir.xml"/>
<target name="init" description="Build initialization">
<!-- Perform any build initialization in this target -->
</target>
<target name="clean" depends="clean.module.intellij-elixir" description="cleanup all"/>
<target name="build.modules" depends="init, clean, plugin.build.jar.intellij-elixir" description="build all modules"/>
<target name="test.modules" depends="test.module.intellij-elixir" description="test all modules"/>
<target name="all" depends="build.modules" description="build all"/>
</project>