Ah okay.  Try setting the context class loader before you call:
MDRManager.getDefault().getDefaultRepository()  

Check out how we do that in the AndroMDAAntTask:

        Thread.currentThread().setContextClassLoader(
            AndroMDAGenTask.class.getClassLoader());

-----Original Message-----
From: Olaf Muliawan [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 10, 2005 9:50 AM
To: Chad Brandon
Subject: Re: [Andromda-user] Problem with MDR

Hello,

Chad Brandon wrote:

>Just curious....but why are you trying to use MDR outside of the AndroMDA
>framework (if you want to write a cartridge)?
>  
>

I'm sorry, a bit of a misstatement from my part. The cartridge actually 
generates a Java source file and the compiled source file then uses the 
MDR. In that sense it's already outside the AndroMDA framework.

Olaf Muliawan




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Andromda-user mailing list
Andromda-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to