Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Classpath generation on manifest file for runnable jar(The jar order in classpath key of manifest file generated for runnable jar is wrong)
Classpath generation on manifest file for runnable jar [message #988491] Fri, 30 November 2012 03:44 Go to next message
Eclipse UserFriend
I'm trying to generate a runnable jar using Eclipse (Export->Java->Runnable JAR file). The JAR is generated correctly but the classpath key generated in the manifest file of this jar don't respect the libraries order fixed on my Build Path configuration. I have to change manually the manifest file because I need respect this order.

The Java BuildPath order in my Eclipse configuration is:

DynastyDM.jar dtgjxfsdevices.jar dsijxfs.jar jxfsclient2.1.3b.jar

The classpath key in the manifest file has the following value:

dtgjxfsdevices.jar jxfsclient2.1.3b.jar dsijxfs.jar DynastyDM.jar

¿What can I do for generating automatically the manifest file with the correct order?

Thanks
  • Attachment: Manifest.JPG
    (Size: 28.55KB, Downloaded 284 times)
  • Attachment: Buildpath.JPG
    (Size: 48.83KB, Downloaded 284 times)
Re: Classpath generation on manifest file for runnable jar [message #990264 is a reply to message #988491] Tue, 11 December 2012 11:16 Go to previous message
Eclipse UserFriend
On 30.11.2012 14:35, Jesus de la Vega wrote:
> I'm trying to generate a runnable jar using Eclipse (Export->Java->Runnable JAR file). The JAR is generated correctly but the classpath key generated in the manifest file of this jar don't respect the libraries order fixed on my Build Path configuration. I have to change manually the manifest file because I need respect this order.
>
> The Java BuildPath order in my Eclipse configuration is:
>
> DynastyDM.jar dtgjxfsdevices.jar dsijxfs.jar jxfsclient2.1.3b.jar
>
> The classpath key in the manifest file has the following value:
>
> dtgjxfsdevices.jar jxfsclient2.1.3b.jar dsijxfs.jar DynastyDM.jar
>
> ¿What can I do for generating automatically the manifest file with the correct order?
This looks like a bug, so there's not much you can do. Please file a bug
against JDT UI.

Dani
>
> Thanks
>
Previous Topic:Problems conecting a custom document provider to CompilationUnitEditor.
Next Topic:Running JDT Plug-In Tests On the Command Line
Goto Forum:
  


Current Time: Tue May 13 07:03:08 EDT 2025

Powered by FUDForum. Page generated in 0.03608 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top