Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Specifying a classpath in a jardesc file
Specifying a classpath in a jardesc file [message #268639] Wed, 25 August 2004 08:03 Go to next message
Eclipse UserFriend
Originally posted by: Curt_King.ccl.hctx.net

I'm using WSSD 5.1 (Eclipse 2.1-based).

I need to add a "Class-Path:" header to my jar file. I can't see anywhere
to do this in the JAR Packager.

Do I need to modify the jardesc file manually? If so, how do I add this
"Class-Path:" header?

Thanks,
Curt
Re: Specifying a classpath in a jardesc file [message #268646 is a reply to message #268639] Wed, 25 August 2004 08:43 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: daniel.megert.gmx.net

Curt King wrote:

>I'm using WSSD 5.1 (Eclipse 2.1-based).
>
>I need to add a "Class-Path:" header to my jar file. I can't see anywhere
>to do this in the JAR Packager.
>
>
Simply provide your own manifest file on the JAR Manifest Specification
(third) page of the wizard.

Dani

>Do I need to modify the jardesc file manually? If so, how do I add this
>"Class-Path:" header?
>
>Thanks,
>Curt
>
>
>
>
>
Re: Specifying a classpath in a jardesc file [message #268648 is a reply to message #268646] Wed, 25 August 2004 08:49 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Curt_King.ccl.hctx.net

Thanks for responding so quickly, Daniel!

> Simply provide your own manifest file on the JAR Manifest Specification
> (third) page of the wizard.

But then I wouldn't be able to use the "Create JAR" context option, right?
I was hoping to find an XML tag that I could insert into the jardesc file
that would add this "Class-Path:" header for me.

Curt
Re: Specifying a classpath in a jardesc file [message #268660 is a reply to message #268648] Wed, 25 August 2004 09:44 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: daniel.megert.gmx.net

Curt King wrote:

>Thanks for responding so quickly, Daniel!
>
>
>
>>Simply provide your own manifest file on the JAR Manifest Specification
>>(third) page of the wizard.
>>
>>
>
>But then I wouldn't be able to use the "Create JAR" context option, right?
>
>
Why not? Choose to create a .jardesc file. Next time you create it it
will use the same manifest from workspace again.

Dani

>I was hoping to find an XML tag that I could insert into the jardesc file
>that would add this "Class-Path:" header for me.
>
>
>Curt
>
>
>
>
Re: Specifying a classpath in a jardesc file [message #268677 is a reply to message #268660] Wed, 25 August 2004 10:16 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Curt_King.ccl.hctx.net

> Why not? Choose to create a .jardesc file. Next time you create it it
> will use the same manifest from workspace again.

Ah, I understand. Am I correct in saying that I will have to maintain the
manifest manually after it's modified?

Curt
Re: Specifying a classpath in a jardesc file [message #268704 is a reply to message #268677] Wed, 25 August 2004 12:19 Go to previous message
Eclipse UserFriend
Originally posted by: daniel.megert.gmx.net

Curt King wrote:

>>Why not? Choose to create a .jardesc file. Next time you create it it
>>will use the same manifest from workspace again.
>>
>>
>
>Ah, I understand. Am I correct in saying that I will have to maintain the
>manifest manually after it's modified?
>
>
Depends on what's in there. If it's just the Class-Path and the header
then you're fine but if you have sealing and other info which depends on
the code then you have to modify it.

Dani

>Curt
>
>
>
>
Previous Topic:No syntax highlight in Ant Editor for filenames other than build.xml
Next Topic:React on Commands bound to normal Characters
Goto Forum:
  


Current Time: Wed Nov 05 17:00:24 EST 2025

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

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

Back to the top