I have a multi page application that I have migrated from EXT JS 6 (single page application) to a work space (ext JS 6).
I have split out some of the common parts, such as my applications header and a few custom input components. These I have put into a package (since they are being accessed by multiple 'applications' in my work space.
My problem is that I have one page (work space app) that is running fine, finding all the files that it needs and carrying on just fine.
The other page (same work space, separate app) is not working, it's getting 404's looking for files (404-ing because it's looking in the wrong directory)
APP.JSON I've been through the app.json file and told it exactly what packages to use. It's identical in both applications.
Class Path I have not touched the ClassPath for either application. So they are still identical to eachother.
App 1 (page1) Looks for a file in my package by going to:
http://localhost/packages/local/page/src/store/file.js
App 2 (page2) Looks for the same file by going to:
http://localhost/App2/store/file.js
I've run sencha cmd and have not had any errors
sencha app refresh
sencha app build
Everything that I can think of that should make a difference here has been checked and rechecked;
So question time: - Why/how does Sencha Cmd test that a file exists in a specific location? - Why would it be getting it wrong in this case? - What configuration options and gotcha's could I be missing?
EDIT :
I have just found and run the following:
C:\Development\workspaces\e\e\app1>sencha app explain "testapp.store.Locale"
Sencha Cmd v6.2.0.46
[INF] Loading app json manifest...
[INF] Loading classes...
[INF] Gathering dependencies...
"edited"\sencha-compiler\app\full-page-master-bundle.js
(@require file.js)
--> e\app1\app.js
e\app1\app.js:6 (Ext.require)
(config)
--> packages\local\page\src\store\Locale.js
C:\Development\workspaces\e\e\app2>sencha app explain "testapp.store.Locale"
Sencha Cmd v6.2.0.46
[INF] Loading app json manifest...
[INF] Loading classes...
[INF] Gathering dependencies...
"edited"\sencha-compiler\app\full-page-master-bundle.js
(@require file.js)
--> e\app2\app.js
e\app2\app.js:6 (Ext.require)
(config)
--> packages\local\page\src\store\Locale.js
which looks like it's telling me App2 has the correct path in configuration... (Feels like I've found a bug)