 |
|
 |
 |
|
 |
 |
| Author |
Message |
|
|
Post subject: How do I create a manifest file for the Maven build?
Posted: Sep 05, 2008 - 09:35 PM
|
|
Joined: Jan 14, 2008
Posts: 5
|
|
Having got past on hurdle I'm on to the next one.
How do I get Maven to create a manifest file for the JAR?
From the Maven site it looks like there are lots of parameters within maven but I can't find a way to set them in MyEclipse.
The Java Jar Export is failing and I don't want to solve that problem in order to get this one fixed.
TIA,
Maurice |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: How do I create a manifest file for the Maven build?
Posted: Sep 08, 2008 - 12:39 PM
|
|
Moderator


Joined: May 12, 2005
Posts: 270
|
|
|
|
|
 |
|
|
Post subject: RE: How do I create a manifest file for the Maven build?
Posted: Sep 09, 2008 - 02:48 AM
|
|
Joined: Jan 14, 2008
Posts: 5
|
|
Actually there are no errors per se in the Maven build. I simply cannot find out how to tell Maven to create a manifest with a main class nor include a manually prepared manifest. The entries in the POM described by your documentation don't seem to be allowed in MyEclipse 6.5. At least the POM is flagged as invalid it I add them manually and they can't be added by the editor. (I found the same entries in a different place but you source is much more direct. Thanks.)
I seem to be having other problems as well with manifests, main class, and jar's. I can get a manifest with a main class but the manifest in the jar has a notation saying 'No Entry' and sure enough the jre can't find the main class. In that case I have copied the name of the class from the Eclipse Run diaglog but it still does not find it. Export says there are compile warnings but I can't find out where the actual warning are capture by the Export build.
Maurice
Maurice |
|
|
| |
|
|
|
 |
|
|
Post subject: Re: RE: How do I create a manifest file for the Maven build?
Posted: Sep 09, 2008 - 07:42 AM
|
|
Moderator


Joined: May 12, 2005
Posts: 270
|
|
| mdarr wrote: | | The entries in the POM described by your documentation don't seem to be allowed in MyEclipse 6.5. At least the POM is flagged as invalid it I add them manually and they can't be added by the editor. |
What do you see? Do you see some error markers? |
_________________ Eugene
MyEclipse Support
|
| |
|
|
|
 |
|
|
| |
|
|
 |
|
 |
|
|
|
 |