    @echo off
    echo This batch file will build the CustomProperty JAR
    echo You must have the JDK1.1x tools and the BDK tools
    echo installed properly for it to work.

    cd netscape
    cd samples
    cd simple

    echo Building Java Classes...
    echo --------------------------------------------------------
    echo NOTE: The compilation will produce a warning.
    echo       This is intentional -- the deprecated call is used
    echo       to provide backward compatibility.
    echo --------------------------------------------------------
    javac -classpath %classpath%;"../../..;../../../../utils/utils.zip"; *.java

    cd ..
    cd ..
    cd ..

    echo Creating JavaDocs
    javadoc -d netscape/samples/simple/ -notree -noindex -classpath %classpath%;".;../utils/utils.zip" netscape.samples.simple

    echo Creating JAR file with appropriate manifest...
    jar cfm CustomProperty.jar CustomProperty.mf netscape/samples/simple/*

    echo Done.