Posts tagged with "tips"

Apr 14th, 2016

Your first Application based on Eclipse – FAQ

Short Story We have just published a tutorial in which we try to answer the most frequently asked questions about starting to develop an application based on Eclipse. It is focused on using Eclipse as a platform, not only as an IDE: See here for the tutorial. Long Story Eclipse is not only an IDE, [...]

Leave a Comment
Sep 23rd, 2015

Write Tabris.js Apps in TypeScript

The dynamic typing in JavaScript allows for more flexibility, but it comes at the price of weaker tool support. Explicit type definitions in your code can support editors to provide more exact suggestions as you type … … and to discover problems earlier … TypeScript is a superset of JavaScript that adds type information to [...]

Leave a Comment
Apr 20th, 2015

How to finally delete documents in CouchDB

Documents in Apache CouchDB are usually not really deleted but rather marked as such. In use cases with many document insertions and deletions, this considerably affects disc space consumption and performance. This post shows a practical way how to get rid of deleted documents and make your data base fast and efficient again. Deletion is [...]

Jul 4th, 2014

Do you know the SWT templates in Eclipse?

Often when I use SWT templates in a presentation, some people look amazed, so I thought it’s worth sharing. If you write SWT code and don’t know these templates yet, you may be wasting time typing the same code over and over again. Whenever you write an SWT snippet, you start with a Display, a [...]

Leave a Comment
Jun 20th, 2014

Even fancier RAP Tables with Templates & native CSS

In RAP 2.2 we introduced the Row Templates feature, which allows you to layout the cells of table rows in different ways than just in columns. In RAP 2.3 we improve on this a bit by allowing not just absolute (pixel) but also percentage values for positioning. However, another cool feature that isn’t documented (because [...]

Leave a Comment
Jun 12th, 2014

Parsing JSON responses with JMeter

JSON is becoming more and more important as a data exchange format, especially in Ajax web frameworks and RESTful web services. Apache JMeter, which is a very popular tool to perform load tests for web applications, does not come with native support to handle HTTP responses with JSON bodies. This post shows different possibilities how [...]

Leave a Comment
Apr 29th, 2014

How to write UI tests for RAP with Selenium 2.0

We’re occasionally asked how RAP supports UI tests. And while we were aware that there are developers creating UI tests for RAP, we never gathered much experience ourselves. However, in recent months I had the opportunity to delve deeper into this topic myself, specifically researching if Selenium 2.0 works with RAP 2.x. Spoiler: It does. [...]

Mar 27th, 2014

How to write better Jasmine tests with mocks

Jasmine project logo

I recently started using Jasmine to write my JavaScript tests. I really like it – it made writing tests actually kind of fun. I especially love that you can write tests with mocks in a similar manner as you would using Mockito in the Java world. A mock is basically a lightweight object that imitates [...]

Leave a Comment
Mar 7th, 2014

How to get the “Push to Gerrit” Action back with EGit

This week I updated my IDE to Eclipse 4.3.2 which comes with Egit 3.2. After that my “Push to Gerrit” action was gone from the usual place. If the same thing happens to you, here is how to get it back: In the context menu, select Team > Remote > Configure Push to Upstream. In [...]

1 Comment