Help with creating a .jar file [message #289109] |
Fri, 29 July 2005 09:12  |
Eclipse User |
|
|
|
Hello,
I'm using the Export Wizard to create a .jar file, but I have encountered
two problems.
My class files are located in "c:\eclipse
projects\omniview_blackhawk\java-bin".
(1) When I select JAR File in the wizard, the java-bin directory isn't
listed, so I can't select my class files. However, if I create a zip file,
then java-bin does appear in the list. How do I get my class files to be
put into a jar file.
(2) When I select the destination for the jar or zip file, I can't create it
in "c:\eclipse projects" because I get a message saying that the destination
path conflicts with the workspace root. Why can't the jar file be stored
within my project?
I've been trying to figure this out for a few hours now, so I thought it was
time to ask for some help.
Thank you,
Don
|
|
|
Re: Help with creating a .jar file [message #289112 is a reply to message #289109] |
Fri, 29 July 2005 10:28   |
Eclipse User |
|
|
|
Originally posted by: richkulp.us.NO_SPAM.ibm.com
You select the project, and from there you select you expand the project
and select the packages that you want in the jar. That will
automatically pick up the .class files.
You can't create the jar file within the workspace, it needs to be
created outside the workspace.
Don Leckie wrote:
> Hello,
>
> I'm using the Export Wizard to create a .jar file, but I have encountered
> two problems.
>
> My class files are located in "c:\eclipse
> projects\omniview_blackhawk\java-bin".
>
> (1) When I select JAR File in the wizard, the java-bin directory isn't
> listed, so I can't select my class files. However, if I create a zip file,
> then java-bin does appear in the list. How do I get my class files to be
> put into a jar file.
>
> (2) When I select the destination for the jar or zip file, I can't create it
> in "c:\eclipse projects" because I get a message saying that the destination
> path conflicts with the workspace root. Why can't the jar file be stored
> within my project?
>
> I've been trying to figure this out for a few hours now, so I thought it was
> time to ask for some help.
>
> Thank you,
> Don
>
>
--
Thanks,
Rich Kulp
|
|
|
Re: Help with creating a .jar file [message #289118 is a reply to message #289112] |
Fri, 29 July 2005 11:59  |
Eclipse User |
|
|
|
Hi Rich,
Thanks!
Don
"Rich Kulp" <richkulp@us.NO_SPAM.ibm.com> wrote in message
news:dcdedk$pe$2@news.eclipse.org...
> You select the project, and from there you select you expand the project
> and select the packages that you want in the jar. That will automatically
> pick up the .class files.
>
> You can't create the jar file within the workspace, it needs to be created
> outside the workspace.
>
> Don Leckie wrote:
>> Hello,
>>
>> I'm using the Export Wizard to create a .jar file, but I have encountered
>> two problems.
>>
>> My class files are located in "c:\eclipse
>> projects\omniview_blackhawk\java-bin".
>>
>> (1) When I select JAR File in the wizard, the java-bin directory isn't
>> listed, so I can't select my class files. However, if I create a zip
>> file,
>> then java-bin does appear in the list. How do I get my class files to be
>> put into a jar file.
>>
>> (2) When I select the destination for the jar or zip file, I can't create
>> it
>> in "c:\eclipse projects" because I get a message saying that the
>> destination
>> path conflicts with the workspace root. Why can't the jar file be stored
>> within my project?
>>
>> I've been trying to figure this out for a few hours now, so I thought it
>> was
>> time to ask for some help.
>>
>> Thank you,
>> Don
>>
>>
>
> --
> Thanks,
> Rich Kulp
|
|
|
Powered by
FUDForum. Page generated in 0.03149 seconds