Forum Discussion
SmartBear_Suppo
Alumni
15 years agoHi! Really sorry about this, but the @dependency header unfortunately does not work very well on Mac currently. We use the Grape API which is included in Groovy to automatically download dependencies from maven repositories, but this part for some reason doesn't work under Mac (and thus, the @m2repo header also does not work). What does work, however, is loading already downloaded libraries. We bundle all the dependencies we use for our own components with the loadUI installer, so those components work fine. You should be able to manually add your library to the grape cache, which should be located in:
There should already be some libraries in there, so you should be able to look at the existing directory structure for some hints. Good luck!
Regards,
Dain
eviware.com
~/.loadui/.groovy/grapes/I think you have to place your library in:
~/.loadui/.groovy/grapes/{groupID}/{artifactID}/jars/{artifactID}-{version}.jarThere should already be some libraries in there, so you should be able to look at the existing directory structure for some hints. Good luck!
Regards,
Dain
eviware.com