You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

What's significance of config.js under .occ folder?

Accepted answer


The OSF workspace includes or generates packages\apps\<app-name>\.occ\app.json. What's this file for and how does the OSF script maintain it?

Content (required):

The OSF workspace includes or generates packages\apps\<app-name>\.occ\app.json containing component and resources details.

I have noticed that the file starts creating problem if we download-asset from the local work [Developing Open Storefront Framework Applications for Oracle Commerce]

The app.json file holds the application name in "name" attribute. Build and deployment works fine with the original workspace.

If we download assets from a "local" workspace, the "name" attribute is replaced with the name of "local" workspace. From this point onwards, the name is not corrected by build or deploy script, and the deployment does not work correctly.

Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!