Java - edit manifest.mf to have .class and .java files in a JAR

Posted by msr on Stack Overflow See other posts from Stack Overflow or by msr
Published on 2010-05-27T23:46:05Z Indexed on 2010/05/27 23:51 UTC
Read the original article Hit count: 258

Filed under:
|

Hello,

I would like to have .class and .java files in a JAR. Thus, I have "bin" and "src" pastes in that JAR. How should I edit the MANIFEST.MF?

JAR
 |
  -- bin -- .class files
 |
  -- src -- .java files
 |
  -- META-INF -- MANIFEST.FM

Im doing this:

Manifest-Version: 1.0 
Class-Path: ./bin/ 
Main-Class: simul.Simulador

But with no success.

© Stack Overflow or respective owner

Related posts about java

Related posts about manifest.mf