Access files inside the current module

Poster Content
nk4um User
Posts: 155
June 21, 2013 15:52

Hi Radu,

I think I had the same question a few months ago and Tony Butterfield gave me a Groovy function that returns the absolute path of the module (it is in the first message).

Grégoire

Like · Post Reply
nk4um User
Posts: 92
June 20, 2013 20:21
Like · Post Reply
nk4um User
Posts: 92
June 20, 2013 20:20

Posted by Radu Mirescu (View)
Hi!

I saw that the file: protocol could be used to work with files, but it requires an absolute path.

There is another protocol that accepts relative paths to the current module ?!

Or there is a way to retrieve in an endpoint the absolute path to the module on which belongs?!

Thanks in advance,

Radu

Like · Post Reply
nk4um User
Posts: 27
June 20, 2013 17:11Access files inside the current module

Hi!

I saw that the file: protocol could be used to work with files, but it requires an absolute path.

There is another protocol that accepts relative paths to the current module ?!

Or there is a way to retrieve in an endpoint the absolute path to the module on which belongs?!

Thanks in advance,

Radu

Like · Post Reply