Archive for January, 2010

Quick Freemarker tip

Wednesday, January 13th, 2010

We’ve started using Freemarker for our web and email templates, but one problem we had is with syntax highlighting in Eclipse, it just showed them as one black and white mass of code.

One quick solution was to open *.ftl with the WTP HTML editor, to do that right click on an ftl file and select ‘open with…’ and follow the prompts. The only problem is that Eclipse then started showing errors on a lot of the templates so we had to disable validation . To do the same, open Eclipse preferences and find the Web/Html file/validation page screen and set all of the values set to  ’Error’ to ‘Warning’ or ‘Ignore’.

A quick refresh and rebuild removes all of those pesky build error markers :)

Shiny new build system

Wednesday, January 13th, 2010

Up until now we’ve been happy enough to manage the build process manually from Github, but after a large rewrite of some sections (more to follow on that in another post) we’ve reached a point where we needed to put something more maintainable in place. Seeing as I’ve been through this a few times before at companies like Channel4, Disney and most recently at the BBC, I decided to stick to a set up that I know works well really for Java development. (more…)