Friday, October 22, 2010

Xml commenting Eclipse Shortcut

This shortcut is so important in my life that I decided to put out a blog just for sharing one line.

I always wished for a eclipse shortcut which would work for commenting out (for doing ) a line or a block in eclipse for .xml files.

One fine day while working, I can't remember whether it was a result of my derivative thought process or the big G, I got the way to comment out xml line/blocks with this short cut and that precious shortcut is:

CTRL+SHIFT+C

And it toggles.

Thanks for stopping by and thanks for reading...

~Nirmal

One of the cardinal rules of software development is: "Do not trust your own input"...

~anonymous

Tuesday, October 19, 2010

Maven commands for java developers

Yes if you know Maven you definitely are more advanced java developer. Using maven for day to day development has many benefits. I have been using for over three years now and recently encountered the fact that a lot of newbies are scared to use maven.

I decided to post this blog just to let know, all of the developer who are scared to use Maven, that it is really nothing. I mean all of us can usually download the stack and add it to the environment variable/path etc. But even after that I see newbies keep away from using it...well really the only thing most of the time we use Maven as a project management tool and as a build tool is as follows:

Clean, install and compile

prompt: mvn clean

prompt: mvn clean install

prompt: mvn clean install -Dmaven.test.skip=true

Happy Coding...

Thanks for reading...

~Nirmal