openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dick <>
Subject Re: Running new test case after fixing src.
Date Fri, 10 Apr 2009 15:25:43 GMT
Hi Ravi,

Short answer : no. You do not need to do mvn -o clean package every time.

It sounds like the second time you ran mvn test -Dtest=<<newTest>> maven
used the jars from your local repository instead of using your working copy.
Did you run everything from the "root directory" of openjpa?


On Fri, Apr 10, 2009 at 10:19 AM, rpalache <>wrote:

> Hi All,
> I am working on a fix for openJPA issue.
> I developed a test case to demonstrate the issue and I can break it with
> downloaded trunk openJPA code.
> ran mvn test –Dtest=<<myNewTest>>
> I can see assertion failure, as expected.
> I modified the openjpa source code to fix the issue, added some debug
> statements into it to see if my changed code is picked next time I run the
> test case.
> I ran mvn –o clean compile
> Ran mvn test –Dtest=<<myNewTest>>
> I did not see the debug statement that I added in my class and also the
> test case failed again with same assertion failures.
> Now I ran  mvn -o clean package (which takes almost 60mins+ ) and then ran
> my test again , which ran successfully.
> Do I have to run the complete "mvn –o clean package" everytime I modified
> source code ?
> Please help.
> Regards,
> Ravi.
> --
> View this message in context:
> Sent from the OpenJPA Developers mailing list archive at

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message