Why File#getCanonicalPath()
Hi,
why does Idea use the canonical path when I define libs?
It is very, very annoying that I always have to redefine my libs
whenever I update my symlinks (e.g. when updating to the newest EAP).
Johannes Schneider
Please sign in to leave a comment.
Johannes Schneider wrote:
Hear, hear.
CU,
Edwin
On Mon, 01 Aug 2005 12:13:00 +0200, Johannes Schneider wrote:
It happens elsewhere too :
<http://www.intellij.net/tracker/idea/viewSCR?publicId=51375>
--
Mark Scott
mark@codebrewer.com
You can define path variable containing the path to your libraries. Thus all library urls, when saved, will be relative to this
variable.
--
Best regards,
Eugene Zhuravlev
Software Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop with pleasure!"
Eugene,
Can you explain how this works? I've seen the variables, but I have no idea how to reference them!
Hello Pat,
You don't have to reference them. When project is saved, all actual paths
are converted into appropriate variables according to configured mappings
in Settings | Path Variables, when project is loaded variables are converted
back to actual locations.
--
Serge Baranov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
Ah ha! I see -- not exactly the most intuitive thing, but very helpful. I wish it could also work for things like VM params and working paths when running a program in the project.