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:
[email protected]


With regards,
Apache Git Services

Reply via email to