How can I import external JARs into my generator project
I have tried it for almost two days now, but I am unable to add a reference to some Spring framework JAR to my generator, so that I could use the Spring classes in my Templates. I tried following the steps I found in several other threads (going to Language Module Properties, add a "java_classes" model root, then go to the "Java" tab, add the Jar there), but no stubs are being generated and I am unable to access the classes. I am using MPS 3.1. If someone could provide me with the steps (possibly with some screenshots) which would allow me to add Java libraries, I'd be very grateful.
Jan
Jan
Please sign in to leave a comment.
this is how it works for me with MPS 3.1.5 on Ubuntu 14.04LTS with OpenJDK:
I am sorry that I can not provide any screenshots right now.
thank you very much for your reply, it seems to work pretty well this way!
Jan