Subscribe for automatic updates: RSS icon RSS

Login icon Sign in for full access | Help icon Help
Advanced search

Pages: [1]
  Reply  |  Print  
Author Topic: Universal Rendering  (Read 7607 times)
Gary C.
Posts: 109


« on: April 21, 2022, 11:05:10 am »

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:

Code
  1. 09:40:50.685000 "Incoming request" /ua/r/teqstart_gary.collis_studio
  2. 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:

Code
  1. *** Running 'teqstart' ***
  2. ::info:(GS-19705) GAS is not started. Starting it.
  3. Application Server startup ............................................ [done]
  4. Application configuration file generated (C:\ProgramData\FourJs\gas\4.00.03-202109160958\app\teqstart_gary.collis_studio.xcf)
  5. Application configuration file generated (C:\ProgramData\FourJs\gas\4.00.03-202109160958\app\teqstart_gary.collis.xcf)
  6. Launching application at http://localhost:6394/ua/r/teqstart_gary.collis_studio

I have my customised GBC built:

Code
  1. C:\teq\gbc\gbc-4.00.04\customization\cordoba-4>gbc build -c cordoba-4
  2. 00:00:03:417 - Retrieve build info
  3. Build GBC with customization cordoba-4
  4. 00:00:03:506 - Start building. Compile mode: cdev
  5. 00:00:03:507 - Pack third-party libraries files.
  6. 00:00:03:592 - Pack templates files.
  7. 00:00:03:738 - Generate locales files.
  8. 00:00:03:749 - Pack js files.
  9. 00:00:04:248 - Pack resources files.
  10. 00:00:04:537 - Generate themes.
  11. 00:00:04:547 - Building theme default
  12. 00:00:05:237 - Package main html files.
  13. 00:00:05:263 - Inject build information.
  14. 00:00:05:324 - Update license files.
  15. 00:00:05:360 - End building.
  16. 00:00:05:360 - Built in directory: "C:\teq\gbc\gbc-4.00.04\dist\customization\cordoba-4"
  17. 00:00:05:360 - ####################################
  18. 00:00:05:360 -

My GBC_USER_DIR etc variable is set via the GST environment:

Code
  1. <ENVIRONMENT_VARIABLE Id="GBC_USER_DIR">C:\teq\gbc\gbc-4.00.04\dist\customization</ENVIRONMENT_VARIABLE>
  2. <ENVIRONMENT_VARIABLE Id="GBC_USER">corboda-4</ENVIRONMENT_VARIABLE>
  3. <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:

Code
  1. httpdispatch -E res.path.gbc.user=C:\teq\gbc\gbc-4.00.04\dist\customization

I can run the demo apps by entering:

Code
  1. 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
Gary C.
Posts: 109


« Reply #1 on: April 21, 2022, 12:22:29 pm »

Hello
I knew as soon as I posted I would see the error of my ways!

A typo in the GST environment set: corboda-4 as opposed: cordoba-4

At least I understand the GBC environment much better now!
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines