Welcome to mirror list, hosted at ThFree Co, Russian Federation.

japi-status.build « japi - github.com/mono/ikvm-fork.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5a38f7d3d21e7e58093317ec3316cb6fa1f78334 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<?xml version="1.0"?>
<project name="japi-status" default="default">

    <property name="REFERENCE_API_JARS" value="c:\jdk1.6-x86\jre\lib\rt.jar c:\jdk1.6-x86\jre\lib\jce.jar c:\jdk1.6-x86\jre\lib\jsse.jar" />
    <property name="REFERENCE_API_NAME" value="JDK-1.6" />
    <property name="JAPI_HOME" value="c:\japi\japitools" />
    <property name="IKVM_VERSION" value="0.39" />

    <target name="default">
	<call target="status" />
	<call target="clean" />
    </target>

    <target name="status" depends="japi.diff">
	<exec program="perl" commandline="${JAPI_HOME}/bin/japiohtml japi1.diff" output="IKVM-${IKVM_VERSION}-vs-${REFERENCE_API_NAME}.html" />
	<exec program="perl" commandline="${JAPI_HOME}/bin/japiohtml japi2.diff" output="${REFERENCE_API_NAME}-vs-IKVM-${IKVM_VERSION}.html" />
    </target>

    <target name="japi.diff" depends="jdk.japi,ikvm.japi">
        <exec program="perl" commandline="${JAPI_HOME}/bin/japicompat -v -j -o japi1.diff IKVM-${IKVM_VERSION}.japi ${REFERENCE_API_NAME}.japi" />
        <exec program="perl" commandline="${JAPI_HOME}/bin/japicompat -v -j -o japi2.diff ${REFERENCE_API_NAME}.japi IKVM-${IKVM_VERSION}.japi" />
    </target>

    <target name="jdk.japi" depends="japize">
	<exec program="../bin/japize.exe" useruntimeengine="true" commandline="unzip as ${REFERENCE_API_NAME} apis ${REFERENCE_API_JARS} +java +javax +org -java.awt.dnd.peer -java.awt.peer -org.apache -org.w3c.dom.css -org.w3c.dom.events -org.w3c.dom.html -org.w3c.dom.stylesheets -org.w3c.dom.traversal -org.w3c.dom.views -java.text.resources" />
    </target>

    <target name="ikvm.japi" depends="jar,japize">
	<exec program="../bin/japize.exe" useruntimeengine="true" commandline="unzip as IKVM-${IKVM_VERSION} apis IKVM.OpenJDK.ClassLibrary.jar +java +javax +org -java.awt.dnd.peer -java.awt.peer -org.apache -org.w3c.dom.css -org.w3c.dom.events -org.w3c.dom.html -org.w3c.dom.stylesheets -org.w3c.dom.traversal -org.w3c.dom.views -java.text.resources" />
    </target>

    <target name="jar">
	<exec program="../bin/ikvmstub.exe" useruntimeengine="true" commandline="-serialver IKVM.OpenJDK.ClassLibrary" />
    </target>

    <target name="japize">
	<exec program="../bin/ikvmc.exe" useruntimeengine="true" commandline="-main:net.wuffies.japi.Japize -out:..\bin\japize.exe ${JAPI_HOME}/share/java/japitools.jar" />
    </target>

    <target name="clean">
        <delete failonerror="false">
	    <fileset>
                <include name="IKVM.OpenJDK.ClassLibrary.jar" />
                <include name="japi1.diff" />
                <include name="japi2.diff" />
                <include name="${REFERENCE_API_NAME}.japi" />
                <include name="IKVM-${IKVM_VERSION}.japi" />
		<include name="../bin/japize.exe" />
            </fileset>
        </delete>
    </target>
</project>