Archiv für die Kategorie »Eclipse«

Another Xtend and JavaFX Story

Jan Köhnlein

For my spare time JavaFX project, I was looking for a way to export a scene to SVG. Googling a bit I stumbled over a blog entry by Gerrit Grunwald who implemented an JavaFX shape to SVG path converter class for the JFXtras project. It looked good so I decided to give it a try.  Java to XtendThe class is of course written in Java. Even though there is no technical reason - Java and Xtend classes can coexist in the same project without any problems - I wanted to convert it to Xtend as well. I [...]

Remove “Build path specifies execution environment…” warnings from Problems View

kthoms

I have often workspaces with projects which specify Java 1.5 as minimal execution environment. On my machine there is no JDK 1.5 installed, and it turns out that getting one for Mac OSX Mountain Lion is not trivial. Actually I don’t need a JDK 1.5, since the standard 1.6 JDK is compatible. However, this raises […]

Prototype of an AUTOSAR Parameter Definition Editor based on Xtext

Andreas Graf

A large part of developing an AUTOSAR ECU is the configuration of the Basic Software (BSW, i.e. the AUTOSAR “operating system”). All the parameters that can be configured are defined in the so-called “AUTOSAR parameter definition”. This includes hundreds, if … Weiterlesen →

Assessing architecture quality: Metrics for AUTOSAR software architecture and EAST-ADL functional architectures

Andreas Graf

Both in AUTOSAR and EAST-ADL we are defining architectures – be it on the software level or on the function level. But when is an architecture a good architecture? How to find flaws? One approach to assess the quality are … Weiterlesen →

Eclipse Day Embedded Stuttgart as part of Open Forum

Andreas Graf

As a kind of a tradition, the “Stuttgart Region Economic Development Corporation” has been supporting the “Open Forum” conference in Stuttgart each year. It consists of two main tracks: The “Apps to Automotive” (A2A), which is mainly organized by Gigatronik, … Weiterlesen →

Multiple Validators in Xtext

Dietmar Stoll

Early validation of domain specific languages (DSLs) and suggestions on how to fix these errors ('quickfixes') are key for a good end user experience and for avoiding problems in the toolchain, for instance in generators that use DSL models: The more editor validations, the better. This description shows how to improve the maintainability and modularity of validation code for Xtext DSLs by simply splitting them. In the generated [MyDsl]JavaValidator, an annotation referring to other custom validators [...]

'X' Is For Abstraction

Jan Köhnlein

We at itemis have created a bunch of projects with an ‘X‘ during the last years: Xtext, Xtend and Xbase. In this blog post I am trying to elaborate the different use cases for each of them.  It all starts with Java......which is a nice language understood by many programmers worldwide. A giant ecosystem and a vivid community as well as great IDEs are keys to its success. But Java has a couple of crucial problems: Its syntax is inflexible and very verbose, making fluent APIs the closest you [...]

EclipseCon 2013 - Last Minute Preview

Sebastian Zarnekow

Now that I know how to find the way from the Logan Intl Airport to the EclipseCon venue at the Seaport WTC in Boston, it's time for some shameless advertising. Since the conference schedule is again packed with deep technical content and all of you have only limited time, I think it's only fair to tell you in advance what you should expect from the sessions that I am giving (of course all of them are highly recommended ;-).Mon 1:00PM - 4:00PM: Getting Started With Xtend Monday [...]

Pimp My Visitors

Sebastian Zarnekow

One of the most noteworthy features of Xtend 2.4 are the Active Annotations. They allow you to participate in the compile process of Xtend code to the Java source code. In fact, you implement some kind of a mini code generator and hook into the Xtend compiler - and all this via a lightweight library. And the IDE is fully aware of all the changes that you do to the generated Java artifacts. The astonishing about it, that this approach allows you to develop the annotation processor and the client code [...]

ReqIF/RMF and BIRT: Creating “physical” requirements specifications

Andreas Graf

Printed documents still play a major role in requirements specifications, since a printed and signed document could be required for legal reasons. A lot of companies have written their own document generators for existing requirement tools to fit their specific … Weiterlesen →