Parameterized Builds in Jenkins – choosing subversion folders

For software projects with a large amount of code it is essential to emphasize maintainability. Continuous Integration Systems, such as Jenkins CI, are good instruments to simplify and monitor your builds in an automatic way. An advantage of Jenkins CI – the possibility to integrate some, possibly self-written plug-ins – is the topic of a small project that could be helpful for some Jenkins/Hudson-using developers.

SVNFolderParameterPlugin is a plug-in that provides forms for parameterized builds where you can browse in a Subversion repository for a subdirectory in a specified directory. Together with a custom check-out script, this allows building Jenkins jobs which run against arbitrary source code versions in your Subversion (e.g., in order to rebuild a tagged version). When starting the build, all subfolders will be shown in a dropdown list and the URL of the selected folder will be forwarded as a property to the build script.

Weiterlesen »

Schlagworte:

Capture-Replay Regression Testing in Eclipse RCP

When it comes to testing the GUI of Java applications, you’re typically faced with a tremendous amount of readily available testing tools for AWT and Swing, in all states of development, and all kinds of packages, be it standalone tools or some kind of plug-in to your favourite IDE. Now there’s more than just AWT/Swing. Once you start developing your first Eclipse plug-in, you’re bound to come across SWT, the GUI framework of Eclipse itself. Looking for tools capable of testing SWT-based applications is quite some task, the primary source for hints being some secluded mailing lists’ archives. The task gets even tougher when you’re setting more constraints: support for the Graphical Editing Framework (GEF) and robust Capture-Replay functionality, for example.

Weiterlesen »

Schlagworte:

Es grünt so grün: Eberhard Wolff über den Spring dm Server

Am 2. April hatten wir Eberhard Wolff, Regional Director der SpringSource GmbH und bekannt als die treibende Kraft hinter dem Spring Framework bei uns wie angekündigt in Dresden zu Besuch. Es war das 6. Treffen unserer Java User Group, welches fast genau ein Jahr nach dem ersten Treffen (3. April 2008) stattfand.

Weiterlesen »

Schlagworte:

Creating Flex UIs in Java – A Short Tutorial

You probably know two or three different ways to create Adobe Flash UIs. The most straightforward and expensive one is using Adobe’s Flex Builder. This IDE offers a quick, flexible and reliable way to program a UI in MXML – Adobe’s XML-based UI description language – and ActionScript – the corresponding scripting language to give life to the MXML UI components. For students, Lehman stock owners and other less pecunious people, there is the Flex 3 SDK and a bunch of tutorials on the web on how to teach Eclipse MXML and ActionScript. But did you ever think about using Java to write a Flash UI? You could integrate a fancy Flash UI with your Java application more smoothly, or you could write a Flex code generator in Java (maybe even provide other developers with a DSL that your Java-based generator can translate into Flex applications?). Using only free software, it doesn’t take more than a couple of minutes to create such a Java library for Flex Applications – this tutorial shows you how to do it.

Weiterlesen »

Schlagworte:

JAVA-Klassen ohne LANG zu überlegen INSTRUMENTieren

Analyse, Generierung oder auch Manipulation von Java-Programmen zur Laufzeit sind nützliche Technologien in der Java-Softwareentwicklung. Durch diese Funktionen können beispielsweise Programmier-Paradigmen wie die Aspekt-orientierte Programmierung (AOP) realisiert werden. Der Vorgang des Veränderns von Bytecode wird in der Softwaretechnologie auch als Bytecode-Engineering oder Instrumentierung bezeichnet. Eine sinnvolle Erweiterung in Java 5 stellt das Package java.lang.instrument dar, welches eine einfache Integration von Bytecode-Engineering-Mechanismen ermöglicht.

Weiterlesen »

Schlagworte:
 

google

google

asus