Adding custom Jars into mendix development

0
Is there anyway we can add external dependencies into our mendix studio pro + eclipse develpment. I would like to add some custom Java API action which uses following the library. <dependency> <groupId>org.ocpsoft.prettytime</groupId> <artifactId>prettytime</artifactId> <version>4.0.5.Final</version> </dependency>
asked
2 answers
1
  1. Go to https://mvnrepository.com/artifact/org.ocpsoft.prettytime/prettytime/3.2.7.Final
  2. download the corresponding jar file
  3. copy the jar file to your Mendix project /userlib folder

Done!

-Andrej

answered
0

These jar files should be added to the userlib folder of your Mendix project. In that way you can access these Java classes/APIs in custom Java Actions by importing them with an import command on the top of the Java action.

answered