Creating a jar - beginner, please help

Hello,
first I must say I’m really beginner in programming with jogl (and Java too … this is my second program in Java). After two months of hard work I have finished my project … it was like a walk through the Hell, but finally everything works fine. Now I have to do the last thing … create a .jar, or even better a .jnlp file. And this seems to be an invincible problem for me ??? I have no idea how to do this.

Below is my project structure and the build.xml file I’m using. Please, could anyone complete the build file for me? And if there are any other necessary steps to do. I’m almost running out of time. I was trying to google some tutorials, but I’m really lost.

Is it possible to write the build file so all I have to do to create a .jnlp file is to write for example “ant jnlp”?

I have following structure of my project

c:\OGLDemo\src\OGLDemo\OGLDemo.java (this is the class with main method)
c:\OGLDemo\src\OGLDemo\ (there are some other directories with .java files)
c:\OGLDemo\lib\jogl\jogl.jar
c:\OGLDemo\lib\jogl\native\ (here are the native files … I’m working on Win 2000)
c:\OGLDemo\build\ (place where to put the .class files)
c:\OGLDemo\build.xml (the build file for ant)

The build.xml file looks like this

<?xml version="1.0"?> Deleting the build directory Compiling project
<mkdir dir="${build}"/>
<javac srcdir="${src}" classpath="${lib}/jogl/jogl.jar" destdir="${build}"/>
Creating .jar file

The “ant compile” works fine.
If I want to run the application, I type (I’m in the c:\OGLDemo\build directory)
java -Djava.library.path=c:\OGLDemo\lib\jogl\native -classpath c:\OGLDemo\lib\jogl\jogl.jar;. OGLDemo/OGLDemo