Skip to Content
1
Feb 19, 2019 at 07:50 PM

"neo-app.json" file when creating a new SAPUI5 project in Web IDE

2902 Views

After I Created a new SAPUI5 project in Web IDE, I created the file "neo-app.json" and copy the code from UI5 Demo Kit.

{
  "welcomeFile": "index.html",
  "routes": [
    {
      "path": "/resources",
      "target": {
        "type": "service",
        "name": "sapui5",
        "version": "snapshot",
        "entryPath": "/resources"
      },
      "description": "SAPUI5 Resources"
    },
    {
      "path": "/test-resources",
      "target": {
        "type": "service",
        "name": "sapui5",
        "entryPath": "/test-resources"
      },
      "description": "SAPUI5 Test Resources"
    }
  ]
}

They mentioned that "The path and the entryPath values will point to the location on the server where the SAPUI5 resources will be stored."

How can I decide the path that I need in my own projects? How can I see the folds in the SAPUI5 server to decide which resource I need? What is the meaning of "path" and "target"