comparison build.xml @ 26:985d5b82a882

Make needed dirs.
author davidb
date Thu, 16 Apr 2020 19:50:00 -0700
parents 5a5a7de27eb4
children 3d86f0391168
comparison
equal deleted inserted replaced
25:5a5a7de27eb4 26:985d5b82a882
78 <path refid="std.classpath"/> 78 <path refid="std.classpath"/>
79 <pathelement location="${work.home}"/> 79 <pathelement location="${work.home}"/>
80 </path> 80 </path>
81 </target> 81 </target>
82 82
83 <!-- make needed directories -->
84 <target name="mkdirs">
85 <mkdir dir="${lib.home}"/>
86 </target>
87
83 <!-- do everything but install --> 88 <!-- do everything but install -->
84 <target name="all" depends="jar" 89 <target name="all" depends="jar"
85 description="Clean work dirs, compile, make JAR."/> 90 description="Clean work dirs, compile, make JAR."/>
86 91
87 <!-- compile *.kt to *.class --> 92 <!-- compile *.kt to *.class -->
88 <target name="compile" depends="classpath" 93 <target name="compile" depends="mkdirs,classpath"
89 description="Compile Java sources to ${work.home}"> 94 description="Compile Java sources to ${work.home}">
90 <kotlinc src="${src.home}" output="${work.jar}" 95 <kotlinc src="${src.home}" output="${work.jar}"
91 classpathref="compile.classpath"> 96 classpathref="compile.classpath">
92 <compilerarg line="-jvm-target 1.8"/> 97 <compilerarg line="-jvm-target 1.8"/>
93 </kotlinc> 98 </kotlinc>