net.jangaroo.jooc.mvnplugin.test
Class JooGenerateTestResourcesMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by net.jangaroo.jooc.mvnplugin.test.AbstractJooTestMojo
          extended by 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.


Field Summary
 
Fields inherited from class net.jangaroo.jooc.mvnplugin.test.AbstractJooTestMojo
skip, skipTests, testOutputDirectory, testResources, testsHtml, testSourceDirectory
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
JooGenerateTestResourcesMojo()
           
 
Method Summary
 void execute()
           
 void unpack()
          Unpacks all jangaroo dependencies (transitively) to testOutputDirectory.
 
Methods inherited from class net.jangaroo.jooc.mvnplugin.test.AbstractJooTestMojo
isTestAvailable
 
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
 

Constructor Detail

JooGenerateTestResourcesMojo

public JooGenerateTestResourcesMojo()
Method Detail

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.