1 <project name="IntelliLang" default="zips">
3 <property file="IntelliLang.properties"/>
5 <fail unless="jdk.home.idea_8.0">
6 Please set the property 'jdk.home.idea_8.0' to point to your IntelliJ IDEA 8.0 installation directory.
9 <import file="IntelliLang.xml" />
11 <target name="jars" depends="all, jar.IntelliLang" />
13 <target name="jar.IntelliLang" depends="compile.module.intellilang">
15 <jar file="build/IntelliLang.jar" compress="false">
16 <fileset dir="${intellilang.output.dir}">
17 <include name="**/*.*" />
20 <include name="META-INF/plugin.xml" />
25 <target name="src.zip">
26 <zip file="build/src_IntelliLang.zip">
27 <zipfileset dir="src" prefix="IntelliLang/src">
28 <include name="org/**/*.java" />
29 <include name="org/**/*.png" />
30 <include name="**/*.html" />
31 <include name="**/*.xml" />
33 <zipfileset dir="annotations" prefix="IntelliLang/annotations">
34 <include name="src/org/**/*.java" />
36 <zipfileset dir="." prefix="IntelliLang">
37 <include name="build.xml" />
38 <include name="IntelliLang.xml" />
39 <include name="IntelliLang-standalone.ipr" />
40 <include name="IntelliLang.iml" />
41 <include name="annotations.iml" />
42 <include name="META-INF/plugin.xml" />
43 <include name="LICENSE" />
46 <!-- help jar already contains plain HTML sources - no need to supply them in another form -->
47 <zipfileset dir="help" prefix="IntelliLang/help">
48 <include name="*.jar" />
53 <target name="jar.regexp-support">
54 <ant dir="../RegExpSupport" target="jar">
55 <property name="regexp-lang.embedded" value="true" />
59 <target name="bin.zip" depends="jars, jar.regexp-support">
60 <zip file="build/IntelliLang.zip">
61 <zipfileset dir="build" prefix="IntelliLang/lib">
62 <include name="*.jar" />
64 <zipfileset dir="help" prefix="IntelliLang/help">
65 <include name="*.jar" />
67 <zipfileset dir="../RegExpSupport/build" prefix="IntelliLang/lib">
68 <include name="*.jar" />
70 <zipfileset dir="." prefix="IntelliLang">
71 <include name="LICENSE" />
76 <target name="zips" depends="bin.zip, src.zip">
77 <ant dir="../RegExpSupport" target="src.zip">
78 <property name="src.zip" value="${basedir}/build/src_IntelliLang.zip" />
79 <property name="src.zip.update" value="true" />
83 <target name="test.regexp-support">
84 <ant dir="../RegExpSupport" target="test" />