Bug 78514 - Jar Export won't allow me to specify the files I want
Summary: Jar Export won't allow me to specify the files I want
Status: RESOLVED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.0.1   Edit
Hardware: PC Windows 2000
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2004-11-12 10:34 EST by Tiffany Evers CLA
Modified: 2009-08-30 02:09 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tiffany Evers CLA 2004-11-12 10:34:58 EST
I have a project with two output folders, bin15, and bintest. The bin15 stores 
all of my class files for my source, and the bintest directory stores classes 
for my test files (which I don't want included in a jar).  I also want to 
include a resource.  When I select the option, Export generated class files and 
resources, the jar only grabs the resources, it doesn't get the class files in 
either of the output directories.  When I select the option, Export all output 
folders for checked projects, I get all the class files in both output folders, 
and none of the resources I selected.  In order to build the jar I wanted, I 
had to go to the command line and type it in.  Could this be fixed in a future 
release or a patch to this one?  Thank you for this wonderful application.  It 
is a really powerful tool and it's easy to use as well.
Comment 1 Dirk Baeumer CLA 2004-11-17 06:11:53 EST
Daniel, do you have a quick answer. Otherwise I will investigate. 
Comment 2 Dani Megert CLA 2004-11-17 13:11:26 EST
>When I select the option, Export all output 
>folders for checked projects, I get all the class files in both output folders, 
>and none of the resources I selected.
Sure. That's exactly what the option says it does.

>When I select the option, Export generated class files and resources
What did you select? Ensure that those source folders are selected which contain
the source. Anything in .log?

Please provide more info, see also:
http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-text-home/development/bug-incomplete.htm
Comment 3 Tiffany Evers CLA 2004-11-17 13:32:41 EST
Since the output folders do not appear in the left-hand column, I could not 
select the specific output folder I wanted in the jar.  I did select the 
resources I needed in the right-hand column.

I don't want the source.  What I want are the classes in one of my output 
folders and the resources that I selected.  There is currently no way to do 
this, that I can tell, within the program.  I can only build the jar I want 
going through the command prompt.

If it were possible to see the output folders in the left-hand column, I could 
select the column that I want class files from and the selected resources in 
the right-hand column by selecting the first option.

I didn't expect that the "export all output folders for checked projects" 
option would do what I wanted, but I was trying to describe all the steps I'd 
taken to try to get the JAR Export to work for me.
Comment 4 Dani Megert CLA 2004-11-19 05:12:42 EST
>Since the output folders do not appear in the left-hand column
Wrong approach. The export wizard only shows source.

>I don't want the source.  What I want are the classes in one of my output 
>folders and the resources that I selected.
You wont get this. The Package Explorer shows you the source (folders) and so
does the export wizard.

>There is currently no way to do this, that I can tell, within the program.
I would say that this is not true: you can simply select the source folders (or
files if your source is not groupped into "source" and "test source" source
folders).

>I can only build the jar I want going through the command prompt.
Again not true: you could use Ant.


Comment 5 Denis Roy CLA 2009-08-30 02:09:05 EDT
As of now 'LATER' and 'REMIND' resolutions are no longer supported.
Please reopen this bug if it is still valid for you.