Reading time: 1 – 2 minutes

Creating new Java projects is a pain!

I could end this post here, and people would have been satisfied to read it. However, I thought I’d add some more context, and maybe throw a little something.

We’ve all been there, create a new project, then create the source folders, packages, import necessary libraries, write unit tests and implement your functionality.

Happens every so often, and  I always felt I was wasting time I’d never get back. I then have been using a skeleton Java application from my dropbox, which I’d just simply copy and rename to my needs.

The good news is I decided some people might take advantage of that too, so added it to my Github account to share the love. It takes care of everything for you, so all you need to do is clone it, and run the unit tests.

It even comes with a simple ANT script that will build, run your unit tests, and then clean after itself by removing the .class files.

Not for everyone, I know. But hopefully some people will be able to take advantage of it, and maybe even send me pull requests with modifications.

https://github.com/mplacona/java-junit-template-project