org.codehaus.plexus.builder.runtime
Class DefaultPlexusRuntimeBuilder

java.lang.Object
  extended by org.codehaus.plexus.logging.AbstractLogEnabled
      extended by org.codehaus.plexus.builder.AbstractBuilder
          extended by org.codehaus.plexus.builder.runtime.DefaultPlexusRuntimeBuilder
All Implemented Interfaces:
PlexusRuntimeBuilder, org.codehaus.plexus.logging.LogEnabled

public class DefaultPlexusRuntimeBuilder
extends AbstractBuilder
implements PlexusRuntimeBuilder

Author:
Jason van Zyl, Trygve Laugstøl

Nested Class Summary
 
Nested classes/interfaces inherited from class org.codehaus.plexus.builder.AbstractBuilder
AbstractBuilder.AndArtifactFilter, AbstractBuilder.GroupArtifactTypeArtifactFilter, AbstractBuilder.ScopeExcludeArtifactFilter
 
Field Summary
protected  org.codehaus.plexus.velocity.VelocityComponent velocity
           
 
Fields inherited from interface org.codehaus.plexus.builder.runtime.PlexusRuntimeBuilder
ROLE
 
Constructor Summary
DefaultPlexusRuntimeBuilder()
           
 
Method Summary
 void addPlexusApplication(java.io.File plexusApplication, java.io.File runtimeDirectory)
           
 void addPlexusService(java.io.File plexusService, java.io.File runtimeDirectory)
           
 void build(java.io.File workingDirectory, java.util.List remoteRepositories, org.apache.maven.artifact.repository.ArtifactRepository localRepository, java.util.Set projectArtifacts, java.io.File containerConfiguration, java.io.File configurationPropertiesFile)
           
 void bundle(java.io.File outputFile, java.io.File workingDirectory)
           
protected  void copyResource(java.lang.String filename, java.lang.String resource, boolean makeExecutable, java.io.File basedir)
           
protected  void mergeTemplate(java.lang.String templateName, java.io.File outputFileName, boolean dos)
           
 
Methods inherited from class org.codehaus.plexus.builder.AbstractBuilder
copyArtifact, copyArtifacts, executable, filterCopy, filterCopy, filterCopy, findArtifacts, getBootArtifacts, getCoreArtifacts, getExcludedArtifacts, getResourceAsStream, mkdirs, resolveVersion
 
Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

velocity

protected org.codehaus.plexus.velocity.VelocityComponent velocity
Constructor Detail

DefaultPlexusRuntimeBuilder

public DefaultPlexusRuntimeBuilder()
Method Detail

build

public void build(java.io.File workingDirectory,
                  java.util.List remoteRepositories,
                  org.apache.maven.artifact.repository.ArtifactRepository localRepository,
                  java.util.Set projectArtifacts,
                  java.io.File containerConfiguration,
                  java.io.File configurationPropertiesFile)
           throws PlexusRuntimeBuilderException
Specified by:
build in interface PlexusRuntimeBuilder
Throws:
PlexusRuntimeBuilderException

bundle

public void bundle(java.io.File outputFile,
                   java.io.File workingDirectory)
            throws PlexusRuntimeBuilderException
Specified by:
bundle in interface PlexusRuntimeBuilder
Throws:
PlexusRuntimeBuilderException

addPlexusApplication

public void addPlexusApplication(java.io.File plexusApplication,
                                 java.io.File runtimeDirectory)
                          throws PlexusRuntimeBuilderException
Specified by:
addPlexusApplication in interface PlexusRuntimeBuilder
Throws:
PlexusRuntimeBuilderException

addPlexusService

public void addPlexusService(java.io.File plexusService,
                             java.io.File runtimeDirectory)
                      throws PlexusRuntimeBuilderException
Specified by:
addPlexusService in interface PlexusRuntimeBuilder
Throws:
PlexusRuntimeBuilderException

copyResource

protected void copyResource(java.lang.String filename,
                            java.lang.String resource,
                            boolean makeExecutable,
                            java.io.File basedir)
                     throws org.codehaus.plexus.util.cli.CommandLineException,
                            java.io.IOException
Throws:
org.codehaus.plexus.util.cli.CommandLineException
java.io.IOException

mergeTemplate

protected void mergeTemplate(java.lang.String templateName,
                             java.io.File outputFileName,
                             boolean dos)
                      throws java.io.IOException,
                             PlexusRuntimeBuilderException
Throws:
java.io.IOException
PlexusRuntimeBuilderException


Copyright © 2001-2011 Codehaus. All Rights Reserved.