roippi
Developer
Since there's a few threads around with people sharing login/logout scripts, sharing aliases, etc. I thought I'd share all the stuff in my development environment. In case any budding devs out there want to poke at the source code. 
Environment: win 7. I'd prefer linux, honestly, but I've got too many other things on my dev laptop that require windows.
SVN: tortoise SVN. Mandatory.
random text editor: gVIM. Optional, but it's very nice to have a proper text editor for one-off tasks. I recommend taking an afternoon and teaching yourself the basics of either gVIM or emacs if you don't know either.
IDE: eclipse. I do like netbeans but I've moved away from it for a few reasons I won't mention here. There are a few modifications to eclipse that will make your life SO MUCH easier:
modify your .project file to use a JDT builder. This is an "incremental" type builder, and builds on the fly as you code. The result is that you can make a change, hit the little "play" button to run the project, and it runs instantly! Waaay better than fully compiling in ant every time. You could spend an hour trying to figure out how to configure this in the GUI, google around for another hour, and finally figure out that you need to hand-edit your .project file. Or you could just use mine: View attachment .project.txt (remove the .txt extension, forums won't accept it otherwise). NOTE: a JDT builder is now included in the default .project file. Not necessary!
Set up your mafia-specific formatter standards. Instead of teling you all the settings, I'll just link you to a file that imports all of my settings. View attachment mafia_coding_conventions.xml.txt Again, remove the .txt extension. You can apply this file by going to window>preferences>Java>Code Style>Formatter and selecting import. Why is this nice? After you code something, select what you've done and hit ctrl-shift-F. VOILA, everything is magically perfectly compliant with mafia coding standards. Note: mafia includes a format.xml in /util/ that does mostly the same thing. You can use that instead, mine is just tweaked a bit.
Change compiler compliance to 1.4. window>preferences>Java>Compiler. This will remove all of the warnings you'd get about generics and type safety since (currently) Java is 1.4 compliant. When we move to 1.5 compliance, obviously change that setting.
Tweak warnings and errors. window>preferences>Java>Compiler>errors/warnings. I'll leave this up to you. If you don't know what most of this stuff means, leave it alone until you do.
That's mostly it! I also have subclipse installed. This is mostly unnecessary since you should be using tortoisesvn, but it does provide some fancy SVN integration with Eclipse. Most importantly, it will provide a quick colored diff in the sidebar of what you've changed/added/deleted from BASE- I like that a lot. If someone needs help getting that up and running I'd provide help in a separate post. It's clunky to get set up but really pretty cool once you do.

Environment: win 7. I'd prefer linux, honestly, but I've got too many other things on my dev laptop that require windows.
SVN: tortoise SVN. Mandatory.
random text editor: gVIM. Optional, but it's very nice to have a proper text editor for one-off tasks. I recommend taking an afternoon and teaching yourself the basics of either gVIM or emacs if you don't know either.
IDE: eclipse. I do like netbeans but I've moved away from it for a few reasons I won't mention here. There are a few modifications to eclipse that will make your life SO MUCH easier:
modify your .project file to use a JDT builder. This is an "incremental" type builder, and builds on the fly as you code. The result is that you can make a change, hit the little "play" button to run the project, and it runs instantly! Waaay better than fully compiling in ant every time. You could spend an hour trying to figure out how to configure this in the GUI, google around for another hour, and finally figure out that you need to hand-edit your .project file. Or you could just use mine: View attachment .project.txt (remove the .txt extension, forums won't accept it otherwise). NOTE: a JDT builder is now included in the default .project file. Not necessary!
Set up your mafia-specific formatter standards. Instead of teling you all the settings, I'll just link you to a file that imports all of my settings. View attachment mafia_coding_conventions.xml.txt Again, remove the .txt extension. You can apply this file by going to window>preferences>Java>Code Style>Formatter and selecting import. Why is this nice? After you code something, select what you've done and hit ctrl-shift-F. VOILA, everything is magically perfectly compliant with mafia coding standards. Note: mafia includes a format.xml in /util/ that does mostly the same thing. You can use that instead, mine is just tweaked a bit.
Change compiler compliance to 1.4. window>preferences>Java>Compiler. This will remove all of the warnings you'd get about generics and type safety since (currently) Java is 1.4 compliant. When we move to 1.5 compliance, obviously change that setting.
Tweak warnings and errors. window>preferences>Java>Compiler>errors/warnings. I'll leave this up to you. If you don't know what most of this stuff means, leave it alone until you do.
That's mostly it! I also have subclipse installed. This is mostly unnecessary since you should be using tortoisesvn, but it does provide some fancy SVN integration with Eclipse. Most importantly, it will provide a quick colored diff in the sidebar of what you've changed/added/deleted from BASE- I like that a lot. If someone needs help getting that up and running I'd provide help in a separate post. It's clunky to get set up but really pretty cool once you do.
Last edited: