Building Jython with Netbeans

This is a step-by-step guide to show how you may set up a Jython build using Netbeans. I used NetBeans 5.5 (beta) for this tutorial.

Since this is a guide which is specific to NetBeans, I will only briefly touch upon the procedures for obtaining the code and all of the required JAR files.

        REM File: JythonBuild.bat
        REM ** Executable for desktop **
        java -jar "<<path to codebase>>\Jython\dist\Jython.jar"

init:
deps-clean:
Deleting directory C:\j2ee_dev\Jython\build
Deleting directory C:\j2ee_dev\Jython\dist
clean:
init:
deps-jar:
Created dir: C:\j2ee_dev\Jython\build\classes
Compiling 357 source files to C:\j2ee_dev\Jython\build\classes
Note: * uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Copying 11 files to C:\j2ee_dev\Jython\build\classes
compile:
Created dir: C:\j2ee_dev\Jython\dist
Building jar: C:\j2ee_dev\Jython\dist\Jython.jar
To run this application from the command line without Ant, try:
java -jar "C:\j2ee_dev\Jython\dist\Jython.jar"
jar:
BUILD SUCCESSFUL (total time: 2 minutes 23 seconds)