-
Recent Posts
Recent Comments
Archives
- April 2010 (1)
- December 2009 (1)
- November 2009 (1)
- March 2009 (2)
- July 2008 (2)
- June 2008 (2)
- May 2008 (2)
- April 2008 (2)
- November 2007 (2)
- October 2007 (1)
- September 2007 (4)
- August 2007 (5)
- July 2007 (4)
- June 2007 (10)
- May 2007 (12)
Categories
- AJAX (5)
- Blog Tips (2)
- Bug Fix (4)
- C++ (3)
- Challenge (1)
- Comet (2)
- Debug (2)
- Eclipse (8)
- Google Talk (4)
- httpd (3)
- Jambi (1)
- Java (10)
- Java2Script (6)
- JavaScript (3)
- MySQL (1)
- Project Management (4)
- QT (1)
- Server (1)
- Snippet (2)
- Software Requirement (2)
- Subversive (1)
- Tomcat (4)
- Tricks (11)
- Uncategorized (8)
- Vim (1)
- Vista Hacks (1)
- Wordpress (1)
Blogroll
Meta
Category Archives: Eclipse
Export Eclipse Plugin, Assert Errors
Here is my scenario: I import Eclipse RSE( Remote System Explorer) plug-ins into my workspace and I want to build and test it myself. There are no errors in the workspace and running and debugging is all OK. And I … Continue reading
Eclipse Freezing on Start
After an incorrect shutdown, Eclipse can not start, freezing on splash window. I opened file workspace\.metadata\.log there was a line saying: The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes After taking many tries, … Continue reading
Posted in Bug Fix, Eclipse
9 Comments
Subversive Sucks
There are many bugs in Subversive besides the known bug “Can not compare with old deleted repository resources“. And yesterday, one of my colleague used Subversive’s “Check out as” to a different location resulted in deleting all her one-week modifications. … Continue reading
Posted in Bug Fix, Eclipse, Subversive
1 Comment
Get Projects List in Eclipse Workbench
http://dev.eclipse.org/newslists/news.eclipse.newcomer/msg13300.html Add org.eclipse.core.resources in the Require-Bundle section in your plugin MANIFEST.MF file and invoke code: ResourcesPlugin.getWorkspace().getRoot().getProjects()
Posted in Eclipse, Java, Tricks
Leave a comment
Clean Eclipse Plugins’ Build Path Errors
Sometimes, Eclipse may have errors in calculating build paths, which may result in that some projects are marked as red cross error icons and further building is interrupted. The common error message for this would be “Project … is missing … Continue reading
Posted in Eclipse, Tricks
Leave a comment
Enablement Expression and Property Tester
Source: http://www.eclipse.org/webtools/wst/components/server/runOnServer.html Enablement Expression Performance Enablement expressions allow you to create arbitrarily complex expressions using ands, ors, nots, and Java code. For performance reasons, it’s always better to use the expression support instead of using Java code, which is slower … Continue reading
Posted in Eclipse, Tricks
Leave a comment
RSE Sucks
I do think that Remote System Explorer (RSE)? sucks for its plugin management. Too many small size (about 10k – 20k) plugins, about 42 plugins (about 30 core plugins), while all Eclipse SDK plugins number is 141.
Posted in Eclipse, Project Management
Leave a comment
Snippet: Open Editor a Local File in Eclipse
Here is codes to open editor a local file in Eclipse: IFileStore fileStore = EFS.getLocalFileSystem() .getStore(new Path(file.getParent())); fileStore= fileStore.getChild(file.getName()); if (!fileStore.fetchInfo().isDirectory() && fileStore.fetchInfo().exists()) { IWorkbenchWindow fWindow = Java2ScriptUIPlugin.getDefault() .getWorkbench().getActiveWorkbenchWindow(); IWorkbenchPage page = fWindow.getActivePage(); try { IDE.openEditorOnFileStore(page, fileStore); } catch (PartInitException … Continue reading
Posted in Eclipse, Snippet
Leave a comment