Bug 387463

Summary: Improve instructions to set up SWT from Git
Product: [Eclipse Project] Platform Reporter: Markus Keller <markus.kell.r>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3 CC: arunkumar.thondapu, Silenio_Quarti
Version: 4.2   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

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