How does that test on JDK 1.4?

I think that the best thing to do... at least until I find a better way, is to run the build with 1.5 then do some quick checks of the translated bytecode.

Unless, there is someway to make a JDK 1.5 VM run in 1.4 mode or something...

--jason


On Mar 13, 2007, at 11:56 AM, Matt Raible wrote:

Sorry, typo on my part - should be "-Ph2" to run the tests against an
embedded h2 database.

Matt

On 3/13/07, Jason Dillon <[EMAIL PROTECTED]> wrote:
What does -Dh2 do?

--jason


On Mar 13, 2007, at 11:42 AM, Matt Raible wrote:

> 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
>


---------------------------------------------------------------------
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



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

   http://xircles.codehaus.org/manage_email

Reply via email to