Monday, May 25th, 2009

Accessing the java:comp/env JNDI lookup context outside of a J2EE container

I was recently modifying some custom JDBC code that is meant to work inside of Tomcat where a JNDI naming context has been setup with a reference for a javax.sql.DataSource. Read more... )
(6 comments | Leave a comment)

Monday, December 17th, 2007

Eclipse .launcher python launcher (use an Eclipse launcher outside of Eclipse)

I’ve needed something like this for a while now, but haven’t ever gotten around to implementing it. It’s just a simple little python script that takes, as a command line input, an Eclipse launcher, parses the classpath and argument info from the .classpath file and the launcher, and execs java to run the the class.

It’s certainly not complete (right now, it only picks up output folders and libs , the argument list splitting may be different than what Eclipse’s splitter, and it assumes it lives in a direct subdirectory of the project), but it’s a start.

The script (run-launcher.py) )
(Leave a comment)

Monday, July 9th, 2007

Eclipse 3.3 first thoughts

The new Eclipse release is out. I had missed it, but maybe that says more about what I've been doing lately than anything else (I haven't touched any Java or C code in a few months).

 

Read more... )

 Edit: Comments disabled due to repeated comment spam