I'm stuck, on my very first try.
I tried getting jdo.Test to work. I'm using the latest CVS tarball, and I
extracted the JDO example.
No matter how hard I try, I can't get the code to work. I think this is
tied up with something in Mapping.java, which expects a ClassLoader to have
a URL -- I tried it using Ant (AntClassLoader) and JBuilder, and neither one
had a URL.
Usually I get an NPE around url.toString() here. I haven't figured out a
way around it.
Test.java uses new Mapping( getClass().getClassLoader() ); is this
incorrect?
Will.
public void loadMapping( URL url )
throws IOException, MappingException
{
if (url == null)
throw new IllegalStateException("url is null");
InputSource source;
try {
if ( _resolver.getBaseURL() == null )
_resolver.setBaseURL( url );
source = _resolver.resolveEntity( null, url.toString() );
if ( source == null ) {
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev