I have a folder structure as follows:
<code>lib
|
|
|-MainScriptsDir
| |
| |-subDir
| |
| |- Mod_1
| |- Mod_2
| |- Mod_3 -> Importing Mod_1,Mod_2
|
|-TestsDir
| |
| |
| |-Mod_a
| |-Mod_b --> Importing Mod_3 and able to access functions in Mod_1 but not able to access Mod_2
|
|
</code>
<code>lib
|
|
|-MainScriptsDir
| |
| |-subDir
| |
| |- Mod_1
| |- Mod_2
| |- Mod_3 -> Importing Mod_1,Mod_2
|
|-TestsDir
| |
| |
| |-Mod_a
| |-Mod_b --> Importing Mod_3 and able to access functions in Mod_1 but not able to access Mod_2
|
|
</code>
lib
|
|
|-MainScriptsDir
| |
| |-subDir
| |
| |- Mod_1
| |- Mod_2
| |- Mod_3 -> Importing Mod_1,Mod_2
|
|-TestsDir
| |
| |
| |-Mod_a
| |-Mod_b --> Importing Mod_3 and able to access functions in Mod_1 but not able to access Mod_2
|
|
The problem is pretty much explained in the tree structure itself.
If Mod_1 namespace is available to Mod_b, why isn’t Mod_2?
Please let me know if I have to do any read-up or if I misunderstood anything.