AddJavaAppWithJar
Method
func (DistributedApplicationBuilder) AddJavaAppWithJar( name string, appDirectory string, jarPath string, args []string,) JavaAppResourceSignature
method
AddJavaAppWithJar builderAdds a Java application that runs a prebuilt JAR with
java -jar .AddJavaAppWithJar( name string, appDirectory string, jarPath string, args []string,) JavaAppResourceParameters
namestringThe name of the resource.appDirectory stringThe application directory. Relative paths are resolved against the AppHost directory.jarPath stringThe path to the JAR file to execute. Relative paths are resolved against appDirectory .args[]string Arguments passed to the Java application after the JAR path.Returns
JavaAppResource A reference to the I.
Returns a handle; failures surface later via Err().
Applies to
This method applies to the following types:
type
DistributedApplicationBuilder