Import content from import folder

Enonic version: 6.6.1
OS: Ubuntu

I am trying to import contents from the import folder upon installing a new jar in the server. I managed to do it in the pass but forgot what I did to get this to work. These contents are not imported when I install the jar in server.

What am I missing here ? Should I include a Java library for this ?

thx in advance.

Jup, you actually need code to get stuff imported on start, there is no semantic meaning to /resources/import :thinking:

Hi tsi.

I found my mistake. We have to include this Java class in order to be able to import contents from the import folder.

then you just give the right path name for your contents.