Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
58 lines (44 sloc) 2.09 KB
<project name="Idea Google Go language scripted build file" default="package" basedir=".">
<!-- set global properties for this build -->
<property name="src" location="src"/>
<property name="build" location="build"/>
<property name="dist" location="dist"/>
<property name="" value="" />
<property name="" location="${user.home}/Tools/idea-IU-107.322/" />
<taskdef name="javac2" classname="com.intellij.ant.Javac2">
<pathelement location="${}/redist/forms_rt.jar"/>
<pathelement location="${}/redist/javac2.jar"/>
<pathelement location="${}/redist/annotations.jar"/>
<fileset dir="${}" includes="**/*.jar" />
<target name="init">
<!-- Create the time stamp -->
<!-- Create the build directory structure used by compile -->
<mkdir dir="${build}"/>
<mkdir dir="${dist}"/>
<echo message="Using IDEA build from: ${}" />
<target name="compile" depends="clean,init" description="compile the source ">
<!-- Compile the java code from ${src} into ${build} -->
<javac2 srcdir="${src}" destdir="${build}" includeantruntime="false" >
<fileset dir="${}" includes="**/*.jar" />
<compilerarg value="-Xlint:deprecation" />
<target name="package" depends="compile" description="generate the distribution">
<!-- Create the distribution archive -->
<jar jarfile="${dist}/${}.jar" update="false">
<fileset dir="${build}" includes="**/*.*" />
<fileset dir="${src}" excludes="**/*.java" />
<target name="clean" description="clean up">
<delete dir="${build}" />
<delete file="${dist}/${}.jar" />
Something went wrong with that request. Please try again.