Creating a manifest.mf when generating a jar file.

First post ever using java and its probable really simple. I've basically been chucked in at the deep end of a java app. I've had to reverse engineer it and I'm at the following stage:-

I'm rebuilding the project to create my jar file and I'd like to

1)get a list of all the files of the project within my manifest.mf

2)Digitally sign the files as well, which from what I've read create a *.DSA and *.SF file. The manifest would then have to contain the checksums (SHA1-Digest)

Now I've been playing for a few hours trying to get the manifest to produce the list of files, but with no success all I get is teh default.

Manifest-Version: 1.0

Ant-Version: Apache Ant 1.6.5

Created-By: 1.5.0_12-b04 (Sun Microsystems Inc.)

Any ideas on what I'm missing.

Thanks for any help it will be greatly appricated by a newb with 0% java experience

(taking me a few days to sort out a Ubuntu server to serve the Java apps, but thats working sweet as :D)

[1015 byte] By [Stusya] at [2007-11-27 11:04:02]
# 1

got it all working in the end.

Used the following within the jdk/bin folder

keytool - to create a cert

jar - to create the jar file

jarsigner - to create the manifest and sign the files.

I created a load of bat files to do the job.

Now onto the next problem of compiling the java files into class's

Stusya at 2007-7-29 12:55:19 > top of Java-index,Desktop,Deploying...