Bug 87781 - Export overwrite then delete a plugin with same version number
Summary: Export overwrite then delete a plugin with same version number
Status: ASSIGNED
Alias: None
Product: PDE
Classification: Eclipse Project
Component: Build (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: pde-build-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-11 10:48 EST by Pascal Rapicault CLA
Modified: 2018-12-03 09:12 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pascal Rapicault CLA 2005-03-11 10:48:37 EST
Follow up of 87742.

SCENARIO 1
1. Create a Hello world plugin 'com.example.xyz'
2. Export the plugin into a directory (D:/Temp).  Leave the 'Package each plug-
in in a JAR archive' option unchecked.

Everything will export fine.

Now for the problem. 

SCENARIO 2
1. Export the same plugin into the SAME directory (D:/Temp), but this time do 
check the 'Package each plug-in in a JAR archive' option.
2. You will see that the JAR is correctly created into D:/Temp/plugins, BUT...
the directory created from scenario 1 has been deleted.
Comment 1 Pascal Rapicault CLA 2005-03-11 10:53:04 EST
Even if the plug-in was not deleted, its content would still be changed 
(overwritten) since the assemble script first gather the files into a flat form.

What happens then is due to the behavior of the jar'up target which jar'up the 
plugin from the folder, and eventually delete the folder.

For now I don't see any easy way to fix this kind of problem.
An approach would be to export into a tmp folder, then copy it over the folder 
specified by the user.
Comment 2 Lars Vogel CLA 2018-12-03 09:11:32 EST
Currently we are not actively enhancing PDE build anymore. Therefore, I close this bug as WONTFIX. 

Please reopen, if you plan to provide a fix.
Comment 3 Lars Vogel CLA 2018-12-03 09:12:21 EST
Currently we are not actively enhancing PDE build anymore. Therefore, I close this bug as WONTFIX. 

Please reopen, if you plan to provide a fix.