/** * Create a {@link SimpleApplicationSchema} to execute the Vagrant * command line. * * @return a {@link SimpleApplicationSchema} to execute the Vagrant * command line */ protected SimpleApplicationSchema instantiateSchema() { return new SimpleApplicationSchema(vagrantCommand).setWorkingDirectory(vagrantFile); }
new SimpleApplicationSchema(wgetCommand).addArgument("-O").addArgument(targetFileName) .addArgument(sourceURL.toExternalForm());
new SimpleApplicationSchema(curlCommand).addArgument(sourceURL.toExternalForm()) .addArgument("--create-dirs").addArgument("-o") .addArgument(StringHelper.doubleQuoteIfNecessary(targetFileName));