Open csantanapr opened 6 years ago
Hasn't there been a proposal by somebody to have "compiling-actions" where we an action is called on action creation and creates the binary outputs that we today "manually" create in the swift runtime for example.
Would be nice to have a principled approach here.
Hasn't there been a proposal by somebody to have "compiling-actions" where we an action is called on action creation and creates the binary outputs that we today "manually" create in the swift runtime for example.
Yes @markusthoemmes me and others have proposed this I think we keep referring them as "init-actions", "compiled-actions"
Yes it would be nice to have this approach here I agree 💯
@csantanapr @markusthoemmes The current solution compiles a .java into .class in memory and loads it to VM. No real .class files are generated. The approach is suitable for single file and no dependecy actions but nothing else, unless we want to add some known Java libraries to the runtime by default.
I think "init-actions" can be suitable for an actualy maven/gradle build.
by @gorkem from https://github.com/apache/incubator-openwhisk-runtime-java/issues/12#issuecomment-368357302
by @csantanapr https://github.com/apache/incubator-openwhisk-runtime-java/issues/12#issuecomment-368473079
by @csantanapr https://github.com/apache/incubator-openwhisk-runtime-java/issues/12#issuecomment-368484016
by @rabbah https://github.com/apache/incubator-openwhisk-runtime-java/issues/12#issuecomment-368486065
by @kameshsampath https://github.com/apache/incubator-openwhisk-runtime-java/issues/12#issuecomment-368492849