1

I want to develop a dsl for excel operations with Jetbrains MPS. I want to import Apache POI in the generator module.

I downloaded jar file of POI and tried to import it by Adding Model Root in generator like below, but it doesn't help. import jar in generator

Then I tried to import POI in main@generator like below, but I found only part of Apache libraries are offered, not including POI. import library in main@generator

Is it possible to import POI in MPS? If yes, how to properly import POI in MPS to accomplish some excel operations?

沈益菌
  • 169
  • 1
  • 3
  • 10

1 Answers1

1

I guess this should covers your scenario - https://confluence.jetbrains.com/display/MPSD20171/Getting+the+dependencies+right#Gettingthedependenciesright-AddingexternalJavaclassesandjarstoaproject-runtimesolutions

Vaclav Pech
  • 1,431
  • 8
  • 6
  • Yes. Actually, the key to solve my problem is to add jars one by one. At first I tried to import all the jars by adding a directory and it didn't work properly. – 沈益菌 Jul 10 '17 at 12:36