org.codehaus.mojo.webstart.generator
Class JarResourcesGenerator
java.lang.Object
org.codehaus.mojo.webstart.generator.AbstractGenerator
org.codehaus.mojo.webstart.generator.JarResourcesGenerator
public class JarResourcesGenerator
- extends AbstractGenerator
Generates a JNLP deployment descriptor.
- Author:
- ngc, Jerome Lacoste, Kevin Stembridge
Constructor Summary |
JarResourcesGenerator(org.apache.maven.project.MavenProject mavenProject,
java.io.File resourceLoaderPath,
java.lang.String defaultTemplateResourceName,
java.io.File outputFile,
java.lang.String templateFile,
java.util.Collection jarResources,
java.lang.String mainClass,
java.lang.String webstartJarURL)
Creates a new JarResources . |
Method Summary |
protected java.lang.String |
getDependenciesText()
Subclasses must implement this method to return the text that should
replace the $dependencies placeholder in the JNLP template. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JarResourcesGenerator
public JarResourcesGenerator(org.apache.maven.project.MavenProject mavenProject,
java.io.File resourceLoaderPath,
java.lang.String defaultTemplateResourceName,
java.io.File outputFile,
java.lang.String templateFile,
java.util.Collection jarResources,
java.lang.String mainClass,
java.lang.String webstartJarURL)
- Creates a new
JarResources
.
- Parameters:
mavenProject
- The Maven project that this generator is being run within.resourceLoaderPath
- used to find the template in conjunction to inputFileTemplatePathoutputFile
- templateFile
- relative to resourceLoaderPathjarResources
- The collection of JarResources that will be output in the JNLP file.mainClass
- The fully qualified name of the application's main class.
getDependenciesText
protected java.lang.String getDependenciesText()
- Subclasses must implement this method to return the text that should
replace the $dependencies placeholder in the JNLP template.
- Specified by:
getDependenciesText
in class AbstractGenerator
- Returns:
- The dependencies text, never null.
Copyright © 2005-2010. All Rights Reserved.