1
$\begingroup$

With Workbench 3 I created an Application Project which resulted in the following directory/files tree.

Geometry (dir)
    Geometry (dir)
        Kernel (dir)
            init.m
        Geometry.m
    Geometry.nb

Sofar no problems.

Now, I have a package called Datasets.m with constants, datasets and utility functions. I inserted this file in the tree next to Geometry.m.

Geometry (dir)
    Geometry (dir)
        Kernel (dir)
            init.m
        Datasets.m
        Geometry.m
    Geometry.nb

When I do

<<Geometry`

in Geometry.nb no problems occur.

When I try to execute a function in Geometry.nb which uses a function in Geometry.m which itself uses a function in Datasets.m then the function in Datasets.m is not evaluated.

I found the following Q/A "How to work with Application Project files in Wolfram Workbench?" but that did not solve my problem.

How can I fix this?

$\endgroup$
  • $\begingroup$ Setting the alignment between layout, contexts and public functions as set out here may help. $\endgroup$ – Ronald Monson Jul 6 '18 at 20:44
  • $\begingroup$ Thank you, will study this Q/A's carefully. $\endgroup$ – nilo de roock Jul 6 '18 at 21:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.