Intellij Idea regular expression search and replace
Recently I wanted to turn some URL parameters into a table for a document. Here’s how you can do this very quickly with Idea.
First turn the & symbols into CR’s.
Next convert name-value pairs into tr and td declarations.
Easy!
GPL Java – What will it mean?
Well Sun has made lots of noise about open sourcing Java for some time so I guess it’s not a huge surprise that they finally made good on their promise. I think a lot of people were surprised that they released Java under the GPL but in many that license choice makes a lot [...]
Ant Import
Usually the projects I do are fairly large lasting over a several months. When I write a build file for a project my usual practice is to take a build file I’ve done in the past as start and bend it fit the new project. The downside is that I get a lot [...]
We’ve been conned
Back in the early days of JSP’s we just had these scriptlets things. Custom tag libraries were not yet invented. The trouble with scriptlets of course is that undiciplined developers might potentially choose to abuse them and put too much code into the JSP.
To protect us from ourselves Sun invented custom [...]
Structural search inspections
Dmitry Jemerov just posted on a feature called structural search inspections. This builds on the existing structural search and replace and inpection system to provide would should be a really cool feature. Looks really nice I must say. The only downer is that structural search can be somewhat tricky to use well [...]
One of those days
Today was a bad day.
We’re nearing the end of what has been a very tight deadline and today everything that could go wrong did go wrong.
My machine started by refusing to build me a war file. Invalid function it said. Huh? I said back.
So I get someone to build a new distribution [...]