Adding external libraries

10.14K viewsScripting

Since Groovy easily allows external Java libraries to be accessed, I assume that can also be done from within Quantrix scripts – but what does one need to do about setting path variables and such like. I’m sure I could figure it out by a process of elimination, but it would be much easier if someone else has already done it :) And an example of using an Import statement within a Script would be just perfect…




Ah, a tight security policy would indeed prevent this. Actually, this is a very sensible default as otherwise it could end up like typical Microsoft products that have files that could contain malicious code.

Perhaps the solution is to add script/model signing, as with applets, and prompt for explicit user approval to access restricted features?

My jython plug-in I refer to does not have these constraints as plug-ins run directly in the JVM I believe.

You are viewing 1 out of 15 answers, click here to view all answers.