org.apache.maven.dotnet.artifact
Class ApplicationConfig.Factory

java.lang.Object
  extended by org.apache.maven.dotnet.artifact.ApplicationConfig.Factory
Enclosing interface:
ApplicationConfig

public static class ApplicationConfig.Factory
extends java.lang.Object

Factory class for generating default executable configs.


Constructor Summary
ApplicationConfig.Factory()
          Default constructor
 
Method Summary
static ApplicationConfig createDefaultApplicationConfig(org.apache.maven.artifact.Artifact artifact, java.io.File projectBaseDirectory, java.io.File projectBuildDirectory)
          Creates the the application config for the specified artifact.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplicationConfig.Factory

public ApplicationConfig.Factory()
Default constructor

Method Detail

createDefaultApplicationConfig

public static ApplicationConfig createDefaultApplicationConfig(org.apache.maven.artifact.Artifact artifact,
                                                               java.io.File projectBaseDirectory,
                                                               java.io.File projectBuildDirectory)
Creates the the application config for the specified artifact. By default, the config source path for the exe.config is located within the project's src/main/config directory. Neither parameter value may be null.

Parameters:
artifact - the executable artifact to which the exe.config file is associated
projectBaseDirectory - the base directory of the build (which contains the pom.xml file)
projectBuildDirectory - the target directory of the build
Returns:
the application config for the specified artifact


Copyright © 2007 NMaven. All Rights Reserved.