Class AbstractLinker

java.lang.Object
org.apache.maven.plugin.AbstractMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
LightMojo, LitMojo

public abstract class AbstractLinker extends AbstractPackageable
  • Field Details

    • wxlInputDirectory

      @Parameter(property="wix.wxlInputDirectory", defaultValue="${project.basedir}/src/main/wix-locale", required=true) protected File wxlInputDirectory
      The directory to scan for localisation (.wxl) files. For Light the sub culture is added as a -b path For Light and Lit added as a -b source path
    • resourceDirectory

      @Parameter(property="wix.resourceDirectory", defaultValue="${project.basedir}/src/main/wix-resource", required=true) protected File resourceDirectory
      The directory to scan for wix files. For each build type there is at least one wxs file required
    • fileSourceRoots

      @Parameter protected Set<String> fileSourceRoots
      Specify a base paths to locate all files. (-b option) By default each of the following folders will be added if it exists
      • wxsInputDirectory
      • narUnpackDirectory
      • resourceDirectory
  • Constructor Details

    • AbstractLinker

      public AbstractLinker()
  • Method Details

    • asSortedList

      public static <T extends Comparable<? super T>> List<T> asSortedList(Collection<T> c)
    • getIncludes

      public final Set<String> getIncludes()
      Return include filters for intermediate object inputs.
      Returns:
      include patterns for intermediate files.
    • getExcludes

      public final Set<String> getExcludes()
    • getLocaleIncludes

      public final Set<String> getLocaleIncludes()
    • getLocaleExcludes

      public final Set<String> getLocaleExcludes()
    • addOptions

      protected void addOptions(org.codehaus.plexus.util.cli.Commandline cl, Set<String> allFileSourceRoots) throws org.apache.maven.plugin.MojoExecutionException
      Throws:
      org.apache.maven.plugin.MojoExecutionException
    • addOtherOptions

      protected void addOtherOptions(org.codehaus.plexus.util.cli.Commandline cl)
    • link

      protected void link(org.codehaus.plexus.util.cli.Commandline cl) throws org.apache.maven.plugin.MojoExecutionException
      Throws:
      org.apache.maven.plugin.MojoExecutionException
    • execute

      public void execute() throws org.apache.maven.plugin.MojoExecutionException
      Throws:
      org.apache.maven.plugin.MojoExecutionException
    • multilink

      protected abstract void multilink(File toolDirectory) throws org.apache.maven.plugin.MojoExecutionException
      Throws:
      org.apache.maven.plugin.MojoExecutionException