Added check to make sure that vfs.zip exists, before building second pass version of IKVM.Runtime.dll, because it appears that mcs doesn't complain about missing resources.

This commit is contained in:
jfrijters 2010-09-09 06:37:23 +00:00
Родитель 51997be230
Коммит a514d1e0ab
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -71,6 +71,10 @@
<property name="defs" value="${defs};FIRST_PASS" />
</if>
<if test="${not first-pass}">
<!-- on Mono the C# compiler doesn't give an error if the vfs.zip resource is missing, so we have to check it here -->
<if test="${not file::exists('../openjdk/vfs.zip')}">
<fail message="../openjdk/vfs.zip is missing. Make sure to build ikvm/openjdk first." />
</if>
<call target="IKVM.Runtime.JNI" />
</if>
<csc noconfig="true" target="library" output="IKVM.Runtime.dll" define="${defs}" optimize="true" unsafe="false" rebuild="true">