Bug 7121 - Not possible to export files directly in source folder
Summary: Not possible to export files directly in source folder
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 1.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Dani Megert CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-12-19 20:56 EST by Stef van Dijk CLA
Modified: 2002-02-13 05:46 EST (History)
1 user (show)

See Also:


Attachments
zip file to import (764 bytes, application/octet-stream)
2001-12-19 20:59 EST, Stef van Dijk CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stef van Dijk CLA 2001-12-19 20:56:49 EST
It seems it's not possible to export files contained directly in a source 
folder (ie, not in a package or subfolder).

I'm attaching a Zip Export of a test project (Export Test). 
Once imported, try to export the project to a jar. In the wizard, select 
the "src" source folder and observe that the copyright.txt file never appears 
in the list on the right. Hence, it doesn't get written to the jar. I also 
noticed that despite having the .classpath and readme.txt files selected, they 
are also omitted from the resulting jar.

Someone else checked into this for me and indicated that it was not 
reproducible in the Eclipse 2.0 stream. However our product is based on WSWB 
1.0, and I wanted to log this problem officially for tracking purposes.
Comment 1 Stef van Dijk CLA 2001-12-19 20:59:33 EST
Created attachment 201 [details]
zip file to import
Comment 2 Erich Gamma CLA 2001-12-20 04:41:17 EST
This problem was fixed on 2.0 and it didn't make it into the 1.0 roll-up. Is it 
a stop-shop for you?
Comment 3 Tim Koss CLA 2002-01-10 12:03:15 EST
Yes, this is a stop ship for us. Since this fails silently, it is a serious 
situation for the user. We would like to get this included in the next fix pack 
for Eclipse 1.0. We need this before we ship WSDD 4.0. 
Comment 4 Tim Koss CLA 2002-01-31 15:47:55 EST
Erich, I understand that this is going to be in Eclipse 1 rollup 2, but we need 
to get a fix to test with before the rollup ships. Could you please provide us 
with the fix to test
Comment 5 Erich Gamma CLA 2002-01-31 16:04:34 EST
Dani pls stop by and I can provide you with more background.
Comment 6 Dani Megert CLA 2002-02-05 10:45:57 EST
The PR which was fixed in 2.0 is 1GHSDS1:
There were several related things one of which is a bug in Java Core that we
worked around in JDT UI (this bug is now fixed in J Core and the corresponding
code in JDT UI is gone).

To make a usable fix I also need to port 1GFM3J3: Duplicates in default package
because the "Duplicate Entry" warning also appeared with resources in a package
fragment root. Therefore fixing only 1GHSDS1 would result in "Duplicate Entry"
warnings which is bad for the user.

Have a fix which I now need to test against 1.0_Rollup 1 and which needs review
by two people.
Comment 7 Dani Megert CLA 2002-02-07 12:46:44 EST
Tested against R1.0 rollup1 and reviewed by Kai and Dirk
Comment 8 Tim Koss CLA 2002-02-07 12:55:14 EST
Could we please get a copy of the jar to test the fix in WSDD?
Comment 9 Stef van Dijk CLA 2002-02-11 13:11:33 EST
This is a second request for a copy of the jar to test the fix in WSDD.
Comment 10 Andre Weinand CLA 2002-02-13 05:46:30 EST
Verified that 'copyright.txt' appears on the Jar exporter's right hand side 
list.