Kontakt

Archive for Februar, 2011

Improved Component Report

Donnerstag, Februar 24th, 2011

Yesterday I made some changes to the Tapestry’s component report which will make the report even more useful. As of version 5.3 the report will:

  1. Accept several root packages for a single library
  2. Mark deprecated components and/or parameters as we are used to from our IDE

If you used the component report plugin for your own components, you already know that before Tapestry 5.3 you needed to add the following to the reporting/plugins section of your POM:

<plugin>
    <groupId>org.apache.tapestry</groupId>
    <artifactId>tapestry-component-report</artifactId>
    <version>5.2.4</version>
    <configuration>
       <rootPackage>org.example.lib</rootPackage>
    </configuration>
</plugin>

As of Tapestry 5.3 the plugin is able to generate a component reference for a library with several root packages. So, the report configuration requires a new rootPackages element which may contain several rootPackage elements.

  <plugin>
    <groupId>org.apache.tapestry</groupId>
    <artifactId>tapestry-component-report</artifactId>
    <version>5.3.0-SNAPSHOT</version>
    <configuration>
       <rootPackages>
          <rootPackage>org.example.lib</rootPackage>
          <rootPackage>com.acme.library</rootPackage>
       </rootPackages>
   </configuration>
</plugin>

Now let’s see an example how the component report for a library with multiple root package will look like.

The screenshot above demonstrates that for each provided root package the component report generates an individual component reference. Furthermore you can see that deprecated components are canceled so that you immediately know which components will be removed in the upcoming releases.

The detail page for a deprecated component is shown below.

Also deprecated component parameters are now highlighted, as shown in the following screenshot.

As you know the component report is a Maven plugin and so can’t be used by non-Maven users. We are planing to untie the report from Maven, so that you can generate the component reference with any build tool you like.

Tapestry Night at Brussels JUG

Mittwoch, Februar 9th, 2011

Brussels JUGMy first Tapestry talk in 2011 will take place in Brussels. On February 17th I’ll be speaking on Tapestry at Brussels JUG. This talk is special as it will take 3 hours, from 7 pm to 10 pm. I would say it is more a workshop than a talk. So, if you are located in central Europe and want to learn Tapestry, don’t miss this event.

However, what I’m going to cover in this talk? We will start with an introduction into Tapestry. Having so much time for a talk gives me the possibility for live coding, so you can expect a lot of demos. I will show a lot of source code and will demonstrate the new demo application that I’m currently writing for my Tapestry 5 in Action book.

After the introduction we’ll move forward with a JSF 2.0 vs. Tapestry comparison. This is basically the same talk I was giving at Jazoon 2010.

More details on the Tapestry night are available here. Don’t forget to reserve you seat here. The entry is free.

See you there.

Tapestry 5 Blog - Copyright © 2009 - Eclectic Theme by Your Inspiration Web - Powered by WordPress