Eclipse + JBossAS + EJB 3.0 setup instructions

Coding, Linux — October 17, 2006 at 8:30 pm

Today I was tasked with getting my software engineering group’s development environment set up. The requirement for our project is to build a three-tier application using a major component model framework. We chose to use:

  • Java/EJB because it is well documented and in a language we all know (and since we don’t want to use COM+ or .Net as we don’t have Windows boxes, the only language we could use)
  • Eclipse because it is the best Java IDE and is cross platform
  • JBoss AS because it is a well supported J2EE application server and seemed to have good Eclipse support. Additionally, it is one of the few ASes to have J2EE 3.0 support (sort of, see below).

The combination of these tools is supposed to be easy, but I found it fairly tricky because of lack of documentation. I’m sure it could be worse had the guys over at JBoss not worked as hard as they have to bring a J2EE platform to the open-source world. The rest of this post include the steps that we took to install these tools and get them running. Hopefully they’ll be of help for those of you who got here through Google.

(more…)

Subversion: Add all, with spaces in filenames

Coding — October 15, 2006 at 9:52 pm

I found a one-liner few days ago that exactly accomplished what I needed to do: add a lot of files with spaces in each filename that exist in various parts of a source tree to the subversion respository. I reproduce the line here, to ensure use for posterity:

svn status | grep "^?" | sed -e 's/? *//' | sed -e 's/ /\ /g' | xargs svn add

This one-liner is shamelessly ripped from Britt Selvitelle’s blog.

« Newer Posts
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 2.5 License. | Eric Garrido