Archives for Tech

Project Darkstar and Unit Tests

In my previous Project Snowman post, I mentioned that when developing games using Project Darkstar, there is a strong tendency to make gratuitous use of the AppContext class throughout all corners of your game server. Why is this a problem? Let me give you an example. Consider the following code: public class Monster implements ManagedObject, [...]

Simultaneous Development with Maven

Migrating Project Darkstar from Ant to Maven for our builds has been a mostly positive experience. Now that the migration is complete, though, and the team is beginning to use it more extensively, we’re still working out a few problematic use cases. One such scenario just came up today. Here’s the problem: Let’s suppose you [...]

Maven is Awesome

One of the things that always irked me about Ant (the longtime de-facto standard tool used for building Java software) is that in order to accomplish anything, I need to code long sequences of mundane, tedious tasks. Not only that, but I need to do this in XML. XML? XML is specifically designed for the [...]