I am developing a package and would like to be able to test it without having to copy the package file to my $UserBaseDirectory/Applications
folder for each change, so it would be convenient for me to just create a Finder link or symlink pointing back to my working file. So far I have not been able to convince Mathematica to treat the link as a package file. Am I missing a subtle technique that may make this possible?
|
||||
I had the same problem with the addition, that I have several machines (home, work, laptop) where I develop. What I wanted to have was a Therefore, I'm using the following function
Here you can define dev-folders for each machine you have. Then
Some important details: I'm using the usual Wolfram Workbench application structure. So if I develop a package
If you are using only one development machine, then you can define the dev-folder to be fixed. Btw, this is only a hacked version. If I would have to write it again, I would add some details like removing the added path, when the package could not be loaded. |
||||
|
$Path
viaAppendTo[$Path, directory-with-your-file]
- I think that's simpler. – Leonid Shifrin Apr 18 at 14:26