Monthly Archives: December 2011

maven create eclipse

Just enter following command:

mvn archetype:create -DgroupId=com.test -DartifactId=mytest

The project will be created… to add it to eclipse it is important to run this command:

mvn eclipse:eclipse

now it can be imported to eclipse

m2e

m2e is a really cool plugin for eclipse to run maven commands… i think it is mandatory for developing maven project with eclipse… and normally the installation is easy… but due to missing requirements i got really pissed and have still didnt figured it out…

but today is a good day… http://dev.eclipse.org/mhonarc/lists/m2e-users/msg01880.html

ubuntu on win7

so finally i started to develop at home again… my main focus is to create small simple projects to improve my daily, private work and learn some new things… primarily i need to learn linux things…

at work i am developing on WinXP for unix systems… so without unix knowledge, its kinda stupid… so i decided to learn these things at home…

so i have setup an Ubuntu on a VMPlayer on my Windows7 PC… and it works πŸ™‚

dont try VirtualPC… with the correct manual its kinda easy to install it, but all the manuals contains sort of hacks… and ubuntu doesnt run really useful… in my opinion… with VMPlayer it was much better and simpler to install and mainly the only problem was the Gnome Shell, which didnt work… πŸ™ but this is a project for the future πŸ˜›

cygwin with scp

WeΒ work on a windows pc on a java application. Windows because our company just provied us with these computers and installing a linux system is highly forbidden… but still our java applications will be deployed on linux machines… a few of us developer have 2nd pc for development, but i m not one of these lucky guys… ok vm ware is a solution, but i m kinda lazy… and currently see no downside on developing on windows… ok there is one… deployment…

we have a deploy script πŸ™‚ .sh πŸ™ and cygwin out of the box has no scp intalled… following manual explains, how this can be fixed πŸ™‚Β  http://www.question-defense.com/2010/01/07/how-to-install-scp-and-ssh-on-windows-7-using-cygwin