csantanapr commented on issue #80: Test environment for local Openwhisk Java functions URL: https://github.com/apache/incubator-openwhisk-devtools/pull/80#issuecomment-358155445 @gorkem I'm having trouble running this I created the jar with `./gradlew jar` Then running ``` java -jar ./build/libs/java-local.jar myproject/java-1.0.jar --main=Hello ``` It hangs it never returns. The `java-1.0.jar` is simple one ```java import com.google.gson.JsonObject; public class Hello { public static JsonObject main(JsonObject args) { String name = "stranger"; if (args.has("name")) name = args.getAsJsonPrimitive("name").getAsString(); JsonObject response = new JsonObject(); response.addProperty("greeting", "Hello " + name + "!"); return response; } } ``` ping me on Slack
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on 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
