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
|
Method Summary |
protected 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,
File resourceLoaderPath,
String defaultTemplateResourceName,
File outputFile,
String templateFile,
Collection jarResources,
String mainClass,
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 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 Codehaus. All Rights Reserved.