Skip to main content
1 of 5
Athanassios
  • 1.3k
  • 10
  • 26

I assume the question is more specific about how to load a package from the development environment of Wolfram Workbench. If you installed Wolfram Workbench in Windows you should not have a problem.

But if you managed to install Workbench 2.0.138 on Linux, you may find out that after importing your application projects or even starting a new application project in the usual way with

<<YourApp` 

it fails to load your package.

The reason has been fully explained by @Leonid Shifrin above but solution has not been exemplified. It is a problem of appending the application project, i.e. package path, to your existing $Path variable. Somehow Eclipse-Wolfram Workbench does not add that automatically. You may try to right click with the mouse on the project and check the properties. I have tried to configure e.g. Mathematica/Project Paths without any luck.

Therefore I added the project application path programmatically using the following command on a testing notebook file:

AppendTo[$Path, FileNameJoin[{$HomeDirectory, "WolframWorkspaces//Base//YourApp"}]] 

This way it worked.....

Athanassios
  • 1.3k
  • 10
  • 26