Bug 387463 - Improve instructions to set up SWT from Git
Summary: Improve instructions to set up SWT from Git
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.2   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-17 05:53 EDT by Markus Keller CLA
Modified: 2012-08-29 10:30 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 Markus Keller CLA 2012-08-17 05:53:05 EDT
The instructions in "Setting Up SWT" in http://www.eclipse.org/swt/git.php could be improved: Copying a .classpath file and hoping that it won't change in the future is a bit brittle. A better solution is to create a linked resource:

- right-click the org.eclipse.swt project and choose "New > File"
- click "Advanced", "Link to file in the file system", and "Variables..."
- select PROJECT_LOC and click "Extend..."
- select the .classpath_xxx for your platform and click "OK"
- change the file name to ".classpath" and click "Finish"
Comment 1 Markus Keller CLA 2012-08-29 10:30:28 EDT
Forgot the last step to avoid an outgoing change in .project (for the linked resource):
- with EGit installed, right-click org.eclipse.swt/.project and choose Team > Advanced > Assume Unchanged