Skip to main content

Posts

Showing posts with the label Eclipse

could not calculate build plan plugin maven-compiler-plugin

could not calculate build plan plugin maven-compiler-plugin Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of its dependencies could not be resolved: Solution: remove the following folder and then try to re-run the mvn command and it will work. rm -rf ~/.m2/repository/org/apache/maven/plugins/maven-*

Use these Eclipse RCP Testing tools before your code goes to LIVE

Use these Eclipse RCP Testing tools before your code goes to LIVE Testing is most important part of any software development lifecycle. There are different type of testing required before Eclipse RCP tool is released to productions. Eclipse RCP is very easy to test with the these testing tools: UI Testing: RCP Testing Tool RCP Testing Tool is a project for GUI testing automation of Eclipse-based applications. RCPTT is fully aware about Eclipse Platform's internals, hiding this complexity from end users and allowing QA engineers to create highly reliable UI tests at great pace. SWT Bot SWTBot is an open-source Java based UI/functional testing tool for testing SWT, Eclipse and GEF based applications.  SWTBot provides APIs that are simple to read and write. The APIs also hide the complexities involved with SWT and Eclipse. This makes it suitable for UI/functional testing by everyone, not just developers. SWTBot also provides its own set of ass...

Preferences in Eclipse RCP

Preferences Preference pages will be appear Window>Preferences dialog. It can be used to configure different features from once place. Eclipse Preferences is kind of registry of configurations. e.g.: As you see here are the various configuration ( preferences ) for Java, Ant, etc. Sample Preference in Eclipse org.eclipse.ui.preferencePages extension has to be added to in the plug-in manifest editor for Preference Pages. Extension point for PreferencePages Once you add the extension, the following will be the structure: Extensions post adding PreferencePages Following is the implementation of SamplePreferencePage.java SamplePreferencePage.java package trial . preferences ; ​ import org . eclipse . jface . preference . BooleanFieldEditor ; import org . eclipse . jface . preference . DirectoryFieldEditor ; import org . eclipse . jface . preference . FieldEditorPreferencePage ; import org . eclip...