You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2019/05/09 07:09:08 UTC
[GitHub] [incubator-openwhisk] Bobyuan1015 opened a new issue #4474: How can
I pass resource files to my action, like res folder in a java project ?
Bobyuan1015 opened a new issue #4474: How can I pass resource files to my action, like res folder in a java project ?
URL: https://github.com/apache/incubator-openwhisk/issues/4474
How can I pass resource files to my action, like res folder in a java project ?
ets-java$ jar cvf ist.jar *
ets-java$ ls
math ist ist.jar netwo netwcient res utils
ets-java$ wsk action create istJava ist.jar --main ist.main
ets-java$ wsk action invoke --result istJava
Activation: 'istJava' (2ecc699951aa458b8c699951aaf58bc8)
[
"2019-05-09T06:49:54.240044213Z stdout: Loading images",
"2019-05-09T06:49:54.241007057Z stderr: java.io.FileNotFoundException: ./res/.jpg (No such file or directory)",
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services