Author Archive for p3t0r Archive Page 3
During my previous ramblings with Groovy I didn't touch anything fancy in the Date/Calendar API; no need for it. But after reading a lengthy blogpost on the topic I just needed to have a look at it.
Consider the following code:
PLAIN TEXT
GROOVY:
sdf = new java.text.SimpleDateFormat("dd-MM-yyyy")
bd_daan = sdf.parse("23-01-1980")
bd_peter = sdf.parse("18-01-1979")
t = Calendar.instance [...]
Detecting copy/pasted code is a useful technique to find potential buggy code. Duplicated code often results in bugs being fixed in only one version of the copied code. PMD is a great sourcecode analysis tool which integrates nicely with maven and has CPD (copy/paste detection) capabilities.
To configure with default settings and CPD support add [...]
multiproject maven2: getting the site to work
0 Comments Published by peter November 14th, 2007 in java, maven.When generating a project site for a multiproject setup as described in my previous post many people run into the same problem. The links to the different modules don't work when you use the 'site:site' target. A couple of solutions exist which 'solve' this 'problem' (technically it is a feature).
The actually links are configure [...]
Getting started with multiproject maven2
1 Comment Published by peter November 13th, 2007 in java, maven.I'm helping a group of students to split up their codebase into a couple of manageable project using maven2 as the build tool. Their existing project is a layered Spring MVC web application. The following layers are present:
data model
dao / integration
services
web application 1
Since dependencies where not managed yet the codebase managed to drift into containing [...]
Grails Video Plugin (flv transcoding & asset management)
15 Comments Published by peter November 13th, 2007 in flash, grails, groovy, video.During the years I've been involved in digital media related projects quite a bit. With the current dominance of flash video stuff has become a bit more straightforward; you don't have to support multiple proprietary formats in parallel anymore.
I met and read about quite a lot of people building their own mini-youtube on top of [...]
During the weekend I attended a super cool company event: we went flying in a hot air balloon. I really enjoyed the experience!
We went up in Utrecht (near Ikea) and landed about 35km (measured in a straight line) in south east direction. During the flight I took about 160 pictures, I selected a couple of [...]
No, don't worry... it's not me installing Leopard on my MacBook.
My wife managed to install Leopard without much help. Everything went smooth and Leopard runs really well. First impressions are (although it lacks Java 6) quite good; I really like spaces.
One of my colleagues was however less lucky. He ended up having to do the [...]
Due to the fact that I was "optically challenged" for the past week it might have been a bit silent on my weblog. Since I'm still recovering I'm trying to keep time behind my computer as short as possible.
Normally I would have used this time to read about Leopard, and the fact that it hasn't [...]
Book: JBoss Seam - Simplicity and Power beyond Java EE
0 Comments Published by peter October 19th, 2007 in book, jboss, seam. Yesterday the mailman brought the copy of "JBoss Seam - Simplicity and Power beyond Java EE" by Michael Juntao Yuan and Thoma Heute which I asked Finalist to order for me.
I managed to read the first two chapters. My first impression is that it's a bit 'jumpy'. Chapter two contains so many references [...]
Two days ago Grails reached the 1.0 milestone; the first release candidate is out. New Features inlude:
GORM features ORM DSL for advanced Mappings
Support for easy to use Filters
Tag Library Improvements - Namespaces, body variables, page scope, improved tag and more
Controllers Improvements - Multi-dimensional params object, data binding retains type conversion errors
URL Mapping Improvements - [...]



















