net.jangaroo.jooc.mvnplugin.test
Class JooGenerateTestResourcesMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
net.jangaroo.jooc.mvnplugin.PackageApplicationMojo
net.jangaroo.jooc.mvnplugin.test.JooGenerateTestResourcesMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class JooGenerateTestResourcesMojo
- extends PackageApplicationMojo
Prepares the Javascript Testenvironment including generation of the HTML page and decompression of jangaroo
dependencies. This plugin is executed in the generate-test-resources phase of the jangaroo lifecycle.
| Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
| Methods inherited from class org.apache.maven.plugin.AbstractMojo |
getLog, getPluginContext, setLog, setPluginContext |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JooGenerateTestResourcesMojo
public JooGenerateTestResourcesMojo()
getPackageSourceDirectory
public File getPackageSourceDirectory()
- Specified by:
getPackageSourceDirectory in class PackageApplicationMojo
isTestAvailable
protected boolean isTestAvailable()
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
writeThisJangarooModuleScript
protected void writeThisJangarooModuleScript(File scriptDirectory,
Writer jangarooApplicationWriter,
Writer jangarooApplicationAllWriter)
throws IOException
- Overrides:
writeThisJangarooModuleScript in class PackageApplicationMojo
- Throws:
IOException
Copyright © 2002–2013 CoreMedia AG. All rights reserved.