My collegue and I had a long-running disagreement over whether or not intellij
supported
relative paths in the project file (so we could just copy the project file from one
snapshot
view to another and have it work).
I thought it didn't, and he thought it did.
It turns out we are both correct.
If the Project file is set up above all referenced directories, then the Project file
contains
relative paths, and may be safely moved to other snapshot views. If the project file
references files that are above and in a "sibling" branch, then it stores it as
absolute.
For example.
Proj
- Tools
- Program1
- Program1.ipr
And then Program1.ipr contains references to "../Tools/SomeTool.jar", you are out of
luck. It
gets stored as an absolute path.
If, however, your project is stored:
Proj
- Tools
- Program1
- Program1.ipr
and it references ".Tools/SomeTool.jar", there isn't a problem.
I think that IDEA should be able to reference "upwards" relative paths. That is
"../../somdir/something.jar".
Mike
---
[EMAIL PROTECTED]
To obtain my PGP public key, mail "SEND PUB KEY" in the
subject to "[EMAIL PROTECTED]"
_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list