Relative paths possible in Paths tab of Module Settings

We use Module compile paths and want the Output Path to be relative to the Module file directory, is this possible?
There's nothing in the help and I've searched on this forum, and can't find anything.
If I try to put in relative paths it resolves them relative to the IDEA bin directory, if I start with / it resolves relative to disk root.
Is there a token or something I can put in the path that expands to Module Root?

Cheers,
N.

2 comments

Hello Nathan,

Any paths in IDEA configuration are saved relative to the project root by
default. You don't need to enter them in any special way for this.

We use Module compile paths and want the Output Path to be relative to
the Module file directory, is this possible?

There's nothing in the help and I've searched on this forum, and can't
find anything.

If I try to put in relative paths it resolves them relative to the
IDEA bin directory, if I start with / it resolves relative to disk
root.

Is there a token or something I can put in the path that expands to
Module Root?


--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


1

Thanks for the info Dmitry, seems that IDEA was doing what I wanted by stealth then!
Perhaps the help documentation should indicate that this is the case, to prevent others having the same confusion.
Cheers,
N.

0

Please sign in to leave a comment.