Closed nimble-123 closed 7 years ago
Can you share your gulp file? That makes it easier to help you :)
for sure :)
var gulp = require('gulp');
var ui5uploader = require('gulp-nwabap-ui5uploader');
gulp.task('deploy', function() {
return gulp.src('src/openui5-todo-app')
.pipe(ui5uploader({
root: 'src/openui5-todo-app',
conn: {
server: 'http://frontend.server',
useStrictSSL: false
},
auth: {
user: 'user',
pwd: 'password'
},
ui5: {
package: '$TMP',
bspcontainer: 'ZZ_UI5_LOCAL',
bspcontainer_text: 'UI5 upload local objects'
},
}));
});
and this is the console output
[12:33:42] Requiring external module babel-register
[12:33:43] Using gulpfile ~/workspace/private/openui5-gulp-starter-kit/gulpfile.babel.js
[12:33:43] Starting 'deploy'...
[12:33:44] [OK] BSP-Container ZZ_UI5_LOCAL created.
[12:33:44] Finished 'deploy' after 1.31 s
am i missing some configurations?
Mine looks like:
gulp.task('deploy', [ 'build', 'ui5preload'], function () {
return gulp.src('build/webapp/**')
.pipe(ui5uploader({
root: 'build/webapp',
conn: {
server: 'myserver',
useStrictSSL: false
},
auth: {
user: 'myuser',
pwd: 'mypassword'
},
ui5: {
package: 'ZFIORI',
bspcontainer: 'ZSC_FORMS',
bspcontainer_text: 'Shopping cart forms',
transportno: 'TRANSPNO123',
calc_appindex: true
}
}));
});
Maybe you forgot the gulp.src('src/openui5-todo-app/**')
i was missing the **
at the end of gulp.src('.../')
. now all files are uploaded as expected to the backend abap system.
issue could be closed. thanks for your help!
hi, i tried this gulp plugin, but unfortunately only a bsp container is created but no files were uploaded to this bsp container.
no error message nor console output. maybe you could help?