Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move gulp build script to a ui5 CLI module #20

Open
fuchsvomwalde opened this issue Mar 4, 2018 · 9 comments
Open

Move gulp build script to a ui5 CLI module #20

fuchsvomwalde opened this issue Mar 4, 2018 · 9 comments
Assignees

Comments

@fuchsvomwalde
Copy link
Member

fuchsvomwalde commented Mar 4, 2018

All settings used in package.json should be usable as CLI params, too.

Furthermore, the user should be able to decide, wether or not to use CLI params, package.json or a .ui5rc file.

@vvthinh
Copy link

vvthinh commented Mar 26, 2018

I have viewed your project. OpenUser5 library you https://openui5.hana.ondemand.com/downloads/openui5-sdk-1.50.8.zip. This project has disadvantages if offline, do not use the library You can add the bundl library feature to openui5 for faster web applications. thank you!. If you do not bundle the openui5 library, the number of requests will greatly slow down the web app.thank you!

@vvthinh
Copy link

vvthinh commented Mar 26, 2018

You can add the bundle library openui5.I hope to get help from your team..thank you!

@fuchsvomwalde
Copy link
Member Author

fuchsvomwalde commented Apr 3, 2018 via email

@jean-vox
Copy link

Hi.
I implemented your project successfully using the CDN = https://openui5.hana.ondemand.com/1.54.5/resources/sap-ui-core.js

When I copy the same version to a local directory (projectRoot->ui5->1.54.5->resources) and changing the package.json to use "local" with:
"local": {
"url": "ui5/{{version}}/resources/sap-ui-core.js",
"version": "1.54.5",
"isPrebuild": true,
"isArchive": false
}
It all fails to start the application:

Uncaught Error: ui5loader-autoconfig.js: could not determine base URL. No known script tag and no configuration found!
at ui5loader-autoconfig-dbg.js:83
at ui5loader-autoconfig-dbg.js:395
index.html:61 Uncaught TypeError: sap.ui.getCore is not a function
at index.html:61

@fuchsvomwalde
Copy link
Member Author

fuchsvomwalde commented May 30, 2018 via email

@jean-vox
Copy link

Hi Jascha.
Finally got to the source of the issue: Windows.
Running the build on windows replaces the / slash with \ slash causing relative paths to fail.

@fuchsvomwalde
Copy link
Member Author

fuchsvomwalde commented Jun 12, 2018 via email

@verfehlix
Copy link
Contributor

Just ran into the same issue :-)

@fuchsvomwalde
Copy link
Member Author

fuchsvomwalde commented Jul 25, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants