net.jangaroo.jooc.mvnplugin.test
Class JooGenerateTestResourcesMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
net.jangaroo.jooc.mvnplugin.test.AbstractJooTestMojo
net.jangaroo.jooc.mvnplugin.test.JooGenerateTestResourcesMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class JooGenerateTestResourcesMojo
- extends AbstractJooTestMojo
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 |
|
Method Summary |
void |
execute()
|
void |
unpack()
Unpacks all jangaroo dependencies (transitively) to testOutputDirectory. |
| 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()
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
unpack
public void unpack()
throws java.io.IOException,
org.codehaus.plexus.archiver.ArchiverException
- Unpacks all jangaroo dependencies (transitively) to
testOutputDirectory.
- Throws:
java.io.IOException - if file copy goes wrong
org.codehaus.plexus.archiver.ArchiverException - if an archive is corrupt
Copyright © 2002-2010 CoreMedia AG. All Rights Reserved.