Jan 13, 2011
I have just finished implementing a custom JQL query for the jira database values plugin. It allows to search on anything you want related to the value you have in your custom field.
Take the example of a "Customer" custom field that links to a customer table in a database. Previously it was not possible to search for all issues linked to the customers from a certain country for example.
Read More...
Dec 10, 2010
The new IntelliJ IDEA, called X, is out and there are lots of new goodies in there. For my day-to-day job, the most important is the improved Flex support.
I work on Ubuntu 10.10 and by default IntelliJ does not look that great. This is a screenshot of the file menu:
Go to File > Settings and select Appearance in the list. Check the Override default fonts by checkbox and select 'DejaVu Sans' from the list of fonts:
Read More...
Nov 29, 2010
As a long time Java programmer switching to Flex, I have had some real gotcha moments. I want to share a few so you don’t fall into the same pitfalls as I have done.
Casting
Equals (or the lack of it)
Setter optimization
Casting
In Java, you cast an object to a class or interface as follows:
Object obj = ... String str = (String)obj; In Flex, you have 2 ways to do it:
Read More...
Oct 18, 2010
If you use Maven, you most probably use the excellent flex-mojos plugin to build your flex code. This post will show you how to expose the test code (that does not get included in your normal swc or swf) to other maven modules or projects. This is most useful on bigger projects where you might have some abstract test classes you want to share or builder classes for complex domain objects that you need to create over and over again in unit tests.
Read More...
Oct 13, 2010
Quick update: there is a new release of the JIRA Database Values Plugin 1.1.1 because there was an issue with 1.1 if you had issues without a value assigned for your custom field. Download the new version here: https://plugins.atlassian.com/plugin/details/4969
Read More...
Oct 9, 2010
I am proud to announce a new 1.1 version of the JIRA Database Values Plugin. It has the following improvements:
Support AJAX lookup in searching: If you use the simple mode for searching in JIRA, you can now select a value from your custom field via AJAX lookup. This makes it a lot easier then that long list of items you might have in the default search mode. The only drawback is that you can only select 1 item.
Read More...
Oct 5, 2010
This blog post will show you how to use Aspectj and Annotations in Java to avoid that certain framework artifacts 'pollute' your code and people start calling methods that you really don’t want when you thought out your design.
A concrete example for this if you want to create immutable objects. Value Objects in Domain Driven Design should be like this. You create a constructor for all your object needs, mark all fields final and add some public getters.
Read More...