mbeckerle commented on PR #2989:
URL: https://github.com/apache/drill/pull/2989#issuecomment-3831753177

   I would like this to be tested with the example schema mentioned above. 
   
   I'm unclear on a detail here as to whether this approach will work. 
   
   The directory containing the "create daffodil schema" jar files isn't what 
needs to be on the classpath. Rather, each daffodil plugin jar file 
individually needs to be on the classpath. Daffodil is using the java SPI which 
searches for META-INF files in each jar on the classpath to find daffodil's 
plugins. 
   
   For code security reasons (I suppose) the idea that software can modify its 
own classpath dynamically seems to require quite a lot of jumping through hoops 
in Java/JVMs e.g., separate class loaders which adds a fair bit of complexity 
(ex: https://chatgpt.com/share/697f9c04-3700-800f-941b-0ff7fc5d3a74). 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to