Skip to main content


Showing posts from June, 2014

How to upgrade Eclipse Platform itself

For Eclipse 4.2 and above
you first need to add the new release's repository as follows:Window > Preferences > Install/Update > Available Software SitesClick 'Add'Enter the URL of the new repository (for example, for Luna and Eclipse 4.4)Click 'Ok'Help > Check for UpdatesIf updates are found, proceed through the install wizard and click Finish at the endIf upgrading the platform itself, when you are prompted to restart it is strongly recommended to do so. A restart may not be required when updating other features, but always select to restart if you are unsure.Check your Available Software Sites for release-specific update sites that may need updating as well, e.g. The Eclipse Project Updates URL changes with each release (typically release-specific sites hold the SDK/Source features and off-cycle hot fixes and are not required)

Xcode Delete and Duplicate Selected Lines

Xcode Delete and Duplicate Selected Lines
step 1:  sudo -i vi /Applications/

step 2: put below near the end of the file <key>Customized</key> <dict> <key>Delete Line</key> <string>selectLine:, deleteBackward:</string> <key>Duplicate Lines</key> <string>selectLine:, copy:, moveToEndOfLine:, insertNewline:, paste:, deleteBackward:</string> <key>Duplicate Current Line</key> <string>moveToBeginningOfLine:, deleteToEndOfLine:, yank:, insertNewline:, moveToBeginningOfLine:, yank:</string> </dict>
step3 : restart xCode
step4: config your  xCode keyboard shortcuts

error while opening eclipse

When i open it, it says: an error has occurred, see ...\workspace\.metadata\.log

I got message “Caused by: org.eclipse.core.internal.dtree.ObjectNotFoundException: Tree element 'xxxx.class' not found.”
Delete the file .metadata/.plugins/org.eclipse.core.resources/.snap