I have an application that should have this line of text in the manifest file: Main-Class: com.project.images.admin.StartupMyProject
When I build a jar file, how would I ensure that the above line of text is automating added to the manifest file? I don't want to keep adding a line of text to the manifest file everything I build the jar file.
posted 2 years ago
Sounds like a job for ant or maven.
How are you building your jar file and Manifest right now?