Hello, checksum plugin recognize if you changed "once only" generated files. If not checksum plugin remove it. Problem is when you change model. For example you introduce new service method. Generated test interface contains all service methods. Your code not. Checksum plugin care about it, and when "once only" file is removed before generation, new is generated with new service test method.
About testing. I'm also running it from Eclipse directly. Just right click test class and "Run As" -> "JUnit test". You can change your tests, debug and restart without needing to regenerate anything. Once your test class is changed is excluded by checksum plugin and not deleted anymore. Pavel On Mon, Feb 1, 2010 at 3:50 PM, alevine <adam.l.lev...@gmail.com> wrote: > > Now that I'm more awake, I realize this was very much an operator error. > > mvn test WILL run fine, and doesn't insist on deleting files and thusly > causing my error. > > I saw : > [INFO] ChecksumValidator: BEFORE GENERATION > [INFO] Removing untouched file > src/test/resources/dbunit/MessagesServiceTest.xml > [INFO] Removing untouched file > src/test/java/com/foo/mail/serviceapi/MessagesServiceTest.java > [INFO] Removing untouched file src/test/resources/more-test.xml > [INFO] Removing untouched file src/test/resources/ehcache.xml > > and completely ignored it was surefire that was choking while running "mvn > test". Once I commented that from the build, "test" runs smoothly everytime > when all I do is change a unit test. > > > As you suggested, I commented out the checksum plugin, and no more removal > of files, test files I don't touch still stick around, and things seem to be > regenerated as needed. > > So, my new question is.... > > Am I at risk of losing or breaking any functionality by removing the > checksum plugin? > > Thanks! > > > > Andreas Källberg-2 wrote: >> >> Hi, >> Hmm, I'm not 100% sure I get you... >> Is that after a complete mvn install, you change a junit test and then >> before you can do mvn test you have to do a mvn generate-sources? >> There is a custom checksum plugin that we use: >> http://fornax.itemis.de/confluence/display/fornax/7.+Developer's+Guide+(CSC)#7.Developer%27sGuide%28CSC%29-Checksumplugin >> <http://fornax.itemis.de/confluence/display/fornax/7.+Developer's+Guide+(CSC)#7.Developer%27sGuide%28CSC%29-Checksumplugin>If >> it is that one that causes your problem, you can always disable it in the >> pom (just remove it from the build-section). >> >> When I'm doing regular development I usually just launch single test cases >> from inside eclipse, i.e. not involving the build process at all. >> >> .../Andreas >> >> >> > > -- > View this message in context: > http://old.nabble.com/Controlling-test-phase-w-o-deleting-source-tp27403922s17564p27405406.html > Sent from the Fornax-Platform mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > The Planet: dedicated and managed hosting, cloud storage, colocation > Stay online with enterprise data centers and the best network in the business > Choose flexible plans and management services without long-term contracts > Personal 24x7 support from experience hosting pros just a phone call away. > http://p.sf.net/sfu/theplanet-com > _______________________________________________ > Fornax-developer mailing list > Fornax-developer@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/fornax-developer > ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ Fornax-developer mailing list Fornax-developer@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fornax-developer