Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 08:44 Go to next message
Jesus de la Vega is currently offline Jesus de la VegaFriend
Messages: 1
Registered: November 2012
Junior Member
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 263 times)
  • Attachment: Buildpath.JPG
    (Size: 48.83KB, Downloaded 263 times)
Re: Classpath generation on manifest file for runnable jar [message #990264 is a reply to message #988491] Tue, 11 December 2012 16:16 Go to previous message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
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: Thu Apr 25 10:33:51 GMT 2024

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

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

Back to the top