예제 #1
0
 private void deployService(JavaService eachService) throws MojoExecutionException {
   try {
     JSW.generateWrapperConfiguration(outputDirectory, configDirname, eachService);
     JSW.generateWrapperUnixScript(outputDirectory, configDirname, eachService);
   } catch (IOException ex) {
     throw new MojoExecutionException(
         "Unable to deploy service: " + eachService.getDaemonName(), ex);
   }
 }
예제 #2
0
 private void deployJSWTree() throws MojoExecutionException {
   try {
     JSW.extractInto(outputDirectory);
   } catch (IOException ex) {
     throw new MojoExecutionException("Unable to deploy JSW tree", ex);
   }
 }