You could create a new project using one of AppFuse's archetypes,
modify the pom.xml to add retroweaver, and run "mvn integration-test
-Dh2" to test it on JDK 4.  Don't know if that's possible, but I
imagine there's quite a bit you could do with existing archetypes out
there.

Matt

On 3/12/07, Jason Dillon <[EMAIL PROTECTED]> wrote:
I've been trying to think of ways to make integration tests for the
retrotranslator-maven-plugin which actually test something useful and
validate the plugin works.  But so far I'm not sure how to do it.

I think I need to compile some stuff with Java 5, then try to run it
with Java 1.4 and see if it works or not.  But to do that I think I
need to have the tests know about 2 different JVM's which is a PITA.

Or I could compile with Java 5, translate and then inspect the byte-
code of the translated bits to see if its major/minor versions are
correct.  Though that doesn't really test it fully.

Anyways... anyone have any ideas on how to make useful integration
tests for this plugin?

--jason

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email




--
http://raibledesigns.com

---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email

Reply via email to