Unit Tests in GWT (using Maven and eclipse PDE/OSGi)

One of the strengths of GWT, from my point of view, is that large portions of the code (eg business logic) can be tested with plain old JUnit tests, without the slightest interference from servers, web browsers and other constraints. However, certain parts of the code must be tested in a richer context including the … Continue reading Unit Tests in GWT (using Maven and eclipse PDE/OSGi)

“build.properties does not exist” and Maven Eclipse Plugin

The Problem After generating an eclipse project using both the Maven Eclipse Plugin and the Maven Bundle Plugin (BND), eclipse warns that "build.properies does not exist". The Solution Maybe more a workaround than a solution but it is relatively simple to create the build.properties file manually in the eclipse project. Below an example for a … Continue reading “build.properties does not exist” and Maven Eclipse Plugin

“No required execution environment has been set” from Maven Bundle Plugin

The Problem After generating the MANIFEST.MF with the Apache Felix Maven Bundle Plugin (BND) for an eclipse project, eclipse warns that "No required execution environment has been set". The Solution The solution is to add an instruction to the configuration of the maven bundle plugin and explicity specify the execution environment as shown below. <plugin> … Continue reading “No required execution environment has been set” from Maven Bundle Plugin