Databinder: automatic for the people
I’m slightly embarrassed that Wicket started hosting a Maven repository before Databinder. This project is built around Maven 2, specifically to make things automatic—what was I thinking?
My excuses:
- “Hosting a repository” sounds hard
- Bandwidth doesn’t grow on trees
- It’s a special feature, scantily documented
Ok, those are weak. In the time I spent linking to the latest snapshots and explaining how to install them, I could have just set it up. It’s not like I don’t have the databinder.net Web server running three feet away from me right now.
Databinder has officially caught up with the Joneses: we’ve got our own repository! To take advantage, copy the following scrap…
<repositories> <repository> <id>databinder</id> <name>Databinder repository</name> <url>http://databinder.net/maven</url> </repository> </repositories>
… and paste it into your pom.xml. (The Wicket repo will be inherited from Databinder.) Set your project to depend on Databinder “0.5-SNAPSHOT” if you haven’t already, then mvn compile
and the latest snapshot will download and install itself. There’s nothing new in it since my last post, so don’t get too excited.
Maven should check for new snapshots daily, or so I’m told, but you can force a global update with mvn compile -U
. That command is also handy for updating your jetty6 plugin to the lastest version. (No, it still doesn’t validate Wicket forms correctly!).
(That’s me on the right.)
In other news, I’m off to Berlin on Friday. Considering the disproportionately high number of German programmers using Databinder, I thought about hosting DatabinderCon 2006 from the apartment I’m borrowing in Kreuzberg. We could engage in a little IOC and DRY, maybe apply the decorator pattern to some enterprise objects and just see what happens.
Then I decided it would be more fun to walk around and take pictures like a normal tourist. So the green folder stays here. Maybe next summer, little guy.
This weblog may become a spam-ridden ghetto until my return on the 21st. I turned off trackbacks but left on comments since they haven’t been hit lately. If you’re looking for v1agra or cial1s (whatever the hell that is), watch this space.
But if you’re looking for Databinder 0.5 final, sit tight until the 22nd. I expect Wicket 1.2 to be released while I’m chowing down on currywurst and taking artful pictures to substitute for deep thoughts on these pages. The new Wicket should work fine with the latest Databinder snapshot. I plan to release it as 0.5 when I get back.
Auf Wiedersehen!
Codercomments
Is there a snapshot of the different examples for 0.5 available?
5 is offcially out now, along with “updated examples”:http://databinder.net/examples.html.
6-SNAPSHOT releases are coming soon…
Add a comment