Including a jar runtime

Hello again,

I thought I saw this in the documentation somewhere, but I'm unable to locate it now. How do I include an external jar so that my generator can reference the classes/methods/etc from there? I've tried right-clicking on the generator/runtime "folder", but no context menu appears.



1 comment
Comment actions Permalink

Hello, Kevin,

You can specify runtime code in language's properties. You can read about runtime here:

Since usually we generate language in some code and this code requires some support classes, languages can have runtime classpath and runtime solutions. Runtime classpath just makes available classes from it as java_stub to language's generators. Runtime solutions' models are visible to models inside the generator. Using runtime classpath is recommended when your runtime is written in java and is quite simple. In more complex situations, it is recommended to create a runtime solution.




Please sign in to leave a comment.