Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 312060 - Changing project to JetProject via wizard causes damaged project when .project file is read only
Summary: Changing project to JetProject via wizard causes damaged project when .projec...
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Jet (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-07 09:35 EDT by Florian Quadt CLA
Modified: 2020-05-01 16:11 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Quadt CLA 2010-05-07 09:35:35 EDT
Build Identifier: 20100218-1602

If a java project has a read only project file and you try to add jet nature with a wizard, the wizard generates a templates directory and presumably mark the project as jet project but obviously cannot add jet project nature. 
Because the buildcommand and project nature missing in project file jet-development does not work.
If you try to add jet nature via wizard again, the project isn't listed in the wizard page where you select projects.
To fix the project you have to manually edit the project file and add nature and buildcommand.
To mark project file as read is unusual but revision control sometimes changes files behaviour.

fix proposal: promt user to change files access behaviour, like in many other cases in eclipse.

Reproducible: Always

Steps to Reproduce:
1. new Java Project
2. mark project file as read only (like some revision control does)
3. try to change project nature via wizard