call code from an external jar


Is it possible to call code from an external jar in a Typesystem rule or in a concept method ?

I have added the jar to the "Design Time" Libraries and I'm using it's classes
in the generator.

Being able to call the code from the typesystem etc. would be handy so if there is a way to do it, please let me know.
Comment actions Permalink
I was able to:
  • add .jar to a design time libraries list in language properties
  • import corresponding model to a typesystem aspect by pressing Ctrl+M and typing FQ name of the java package
  • use classes from just imported package in an editor

Do you have some problems on running this code?
Comment actions Permalink
That works fine.
I was missing the Ctrl-M step.
Thanks a lot!

Please sign in to leave a comment.