Hi
We currently deploy our app through GDC and are using version 3.20.
We are trying to understand what changes will be required if we move to version 4.0 and universal rendering. To that end, I am trying to get Studio set up with a customised GBC, however, whenever I try to run an app from Studio I get the error message "resource not found" and in the log the entry:
09:40:50.685000 "Incoming request" /ua/r/teqstart_gary.collis_studio
09:
40:
50.701000 "GBC" Bootstrap file
not found.
Yet there is a bootstrap file in the project's customisation folder:
C:\teq\gbc\gbc-4.00.04\dist\customization\cordoba-4
The output panel in Studio shows the following:
*** Running 'teqstart' ***
:
:info:(GS-19705) GAS is not started. Starting it.Application Server startup ............................................ [done]
Application configuration file generated (C:\ProgramData\FourJs\gas\4.00.03-202109160958\app\teqstart_gary.collis_studio.xcf)
Application configuration file generated (C:\ProgramData\FourJs\gas\4.00.03-202109160958\app\teqstart_gary.collis.xcf)
Launching application at http://localhost:6394/ua/r/teqstart_gary.collis_studio
I have my customised GBC built:
C:\teq\gbc\gbc-4.00.04\customization\cordoba-4>gbc build -c cordoba-4
00:00:03:417 - Retrieve build info
Build GBC with customization cordoba-4
00:00:03:506 - Start building. Compile mode: cdev
00:00:03:507 - Pack third-party libraries files.
00:00:03:592 - Pack templates files.
00:00:03:738 - Generate locales files.
00:00:03:749 - Pack js files.
00:00:04:248 - Pack resources files.
00:00:04:537 - Generate themes.
00:00:04:547 - Building theme default
00:00:05:237 - Package main html files.
00:00:05:263 - Inject build information.
00:00:05:324 - Update license files.
00:00:05:360 - End building.
00:
00:
05:
360 - Built
in directory: "C:\teq\gbc\gbc
-4.00.04\dist\customization\cordoba
-4"
00:00:05:360 - ####################################
00:00:05:360 -
My GBC_USER_DIR etc variable is set via the GST environment:
<ENVIRONMENT_VARIABLE Id="GBC_USER_DIR">C:\teq\gbc\gbc-4.00.04\dist\customization</ENVIRONMENT_VARIABLE>
<ENVIRONMENT_VARIABLE Id="GBC_USER">corboda-4</ENVIRONMENT_VARIABLE>
<ENVIRONMENT_VARIABLE Id="FGLGBCDIR">C:\teq\gbc\gbc-4.00.04\dist\customization\corboda-4</ENVIRONMENT_VARIABLE>
I am making sure that no other instance of GAS is running prior to launching my app.
If I manually start the standalone GAS with:
httpdispatch -E res.path.gbc.user=C:\teq\gbc\gbc-4.00.04\dist\customization
I can run the demo apps by entering:
http://localhost:6394/ua/r/gwc-demo?gbc=cordoba-4
Can anyone advise what I may be doing wrong? Will this approach work and allow me to quickly rebuild the customisation and relaunch the app the see the impact?
Thanks
Gary