</target>
<target name="package-jar" depends="clean-all, init, libs" description="Create itmill-toolkit-x.y.z.jar file.">
- </target>
-
+ </target>\r
+
<target name="package-war" depends="clean-all, init, build, docs, internal-package-mac, internal-package-war">
</target>
<mkdir dir="${result-path}" />
<!-- Find out which platform we are in -->
<if>
- <contains arg1="${os.name}" arg2="Windows" />
+ <os family="windows" />
<then>
<property name="platform" value="windows" />
</then>
</if>
<if>
- <equals arg1="${os.name}" arg2="Linux" />
+ <os family="unix" />
<then>
<property name="platform" value="linux" />
</then>
</if>
<if>
- <equals arg1="${os.name}" arg2="Mac OS X" />
+ <os family="mac" />
<then>
<property name="platform" value="mac" />
</then>
</target>
<target name="libs" depends="compile-java, compile-client-side">
- <echo>Creating libs (server-side)</echo>
+ <echo>Creating libs (server-side) ${lib-jar-name}</echo>
<!-- Create Toolkit JAR -->
<jar jarfile="${output-dir}/WebContent/WEB-INF/lib/${lib-jar-name}" compress="true">
<fileset dir="${result-path}/classes">