Project

General

Profile

【tigase-server-7.0.1+tigase-http-api-1.1.0】RestModule can not load directory and groovy form inside tigase-http-api.jar

rongchun luo
Added over 3 years ago

when i debug,in the RestModule.java on the line 89,

"

File scriptsDirFile = new File(scriptsDir);

File[] scriptDirFiles = scriptsDirFile.listFiles();

"

the scriptDirFiles result is empty。

stackoverflow similar problems:http://stackoverflow.com/questions/11012819/how-can-i-get-a-resource-folder-from-inside-my-jar-file


Replies (1)

Added by Wojciech Kapcia TigaseTeam over 3 years ago

This was answered in http-api project forum, vide: https://projects.tigase.org/boards/17/topics/4910?r=4953

    (1-1/1)