Thanks for the reply Ludo. It was indeed a bug in the classpath entry. The build didn't include the one of the required jars. This made me think that it was because of the wrapping of classpath entries.
Tx
Suneel
[Message sent by forum member 'suneelgv' (suneelgv)]
http://forums.java.net/jive/thread.jspa?messageID=300763