Hi Egon,

Egon Willighagen wrote:
> On Wed, Sep 2, 2009 at 11:52 AM, Tobias
> Girschick<[email protected]> wrote:
>   
>> On Wed, 2009-09-02 at 12:26 +0300, Nina Jeliazkova wrote:
>> Descriptor engine relies on introspection to find classes implementing
>> certain (descriptor) interfaces.  Since  Java  Web Start mechanism for
>> loading classes is a bit different , this behaviour is not quite unexpected.
>>     
>
> Ah, my mistake... I though the iteration was failing...
>
>   
>> Although I am not an author of it, I've struggled before with trying to make
>> Descriptor engine load classess from jars other than CDK / on the default
>> class path.  A (rough) workaround is to explicitly define the descriptor
>> class names in a list, but that's far from elegant.
>>     
>
> I have on my TODO list an API extension that allow you to pass the
> engine a list of classes, which are expected to be on the classpath...
> I'll put some priority to this, so please let me know further
> requirements...
>
> For example, it would likely help if I add a version that takes a
> ClassLoader too, not? So that loading descriptors from jars outside
> the classpath is possible too...
>   
The JWS issue is trickier since JWS downloads classes in a temporary
location (different for different OSes) , verifies jar versions, etc.

I don't have an easy answer right now (need to refresh JWS spec in my
head) , but an access to the class loader should help.
> Nina, my sincere apologies that I had not followed up on that... I
> remember we spoke about it on the CDK workshop... :(
>
>   
No worries. Tobias and me as well are busy with preparing REST service
demos for OpenTox workshop next week http://opentox.org/ and a quick
workaround should do for now I guess :)

Regards,
Nina
> Egon
>
>   

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Cdk-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cdk-user

Reply via email to