Seam Maven Refimpl

Tags: , , , by Ken Gullaksen @ November 1, 2009 19:59

Know IT Objectnet developers have created a Mavenized Seam project template. Due to the lack of Maven support in the Seam project, we felt the need to get a project started for the topic. After some research and development, the base was ready to be put in use. We felt that it was only right to make the project available to the public, and put together a google code project. As of now the project is aimed at running on the JBoss-4.2.3 and JBoss-5.x application servers deployed as an EAR project.

You can check out the code from google code: http://code.google.com/p/seam-maven-refimpl/

Also check out the tutorial pages: http://www.glxn.net/seam-maven-refimpl/doc/tutorial/

Issues and feature requests can be posted here: http://code.google.com/p/seam-maven-refimpl/issues/list

My Bash PS1 with git branch info

by Ken Gullaksen @ January 4, 2012 21:08

I spent an hour playing around with my bash PS1 setting.
I wanted some useful information about which git branch I am on, and some colors.

After reading a couple of articles on it like this one and this one I tried it a bit myself and ended up with this:

Here is the PS1 code:

PS1_END_SIGN=

export PS1='\[\e[1;33m\] \w\[\e[1;36m\]$(git branch &>/dev/null; if [ $? -eq 0 ]; then echo " ($(git branch | grep '^*' |sed s/\*\ //))"; fi) \[\e[1;37m\]$PS1_END_SIGN\[\e[00m\] '

The PS1_END_SIGN can be set to anything you want. I chose lambda.
The PS1 setting includes some coloring and output of the current branch if you are in a git repository.

Older Posts »