That reminds me... Jason, you should either specify the "overwrite" parameter for tc:bootjar configuration or run clean after changing dependencies for tc-maven-plugin. The default is not overwrite bootjar, so it would be wrong after version of tc is runtime changed.
regards, Eugene Tim Eck wrote: > I don't know anything about the world of maven-ness you are in, but that > exception is usually the result of creating a dso-boot with terracotta > code that is different from the terracotta code being used in the VM now > using that dso-boot jar. > > In your case it the different versions in play were revs 6083 and 6108 of > trunk nightly. I might have this backwards, but the tc code used to build > the boot jar was rev6083, but the program you are running is now using > 6108 (but with a 6083 boot jar) -- or the other way around :-) > > >> -----Original Message----- >> From: [EMAIL PROTECTED] [mailto:tc-dev- >> [EMAIL PROTECTED] On Behalf Of Jason Voegele >> Sent: Tuesday, October 30, 2007 1:09 PM >> To: [email protected] >> Subject: Re: [tc-dev] InvalidBootJarMetaDataException >> >> On Monday 29 October 2007 3:58:18 pm Eugene Kuleshov wrote: >> >>> Currently plugin is using 2.5-SNAPHOT of terracotta.jar (and others) >>> for tc:bootjar and other goals. >>> >>> I've updated wiki page about that. >>> >>> > http://www.terracotta.org/confluence/display/wiki/Terracotta+Maven+Plugin# > >> T >> >>> erracottaMavenPlugin-ChoosingTerracottaruntimeversion >>> >> Hi Eugene, >> >> Thanks for the info. In my POM, I am explicitly declaring the >> dependencies on >> terracotta.jar, etc. This error happens when I declare the dependencies >> against either 2.6.0-SNAPSHOT, or 2.5.0-SNAPSHOT, but does *not* happen >> when >> I use 2.5-SNAPSHOT. Something has apparently changed since we stopped >> using >> 2.5-SNAPSHOT and started using 2.5.0-SNAPSHOT, and it appears whatever >> changed was both in trunk and the 2.5 branch. >> >> I could simply use the 2.5-SNAPSHOT versions, but that is simply >> > delaying > >> the >> problem. Any ideas on what is causing this version mismatch to suddenly >> start throwing InvalidBootJarMetaDataException? >> >> -- >> Jason Voegele >> Truly great madness can not be achieved without significant >> > intelligence. > >> -- Henrik Tikkanen >> _______________________________________________ >> tc-dev mailing list >> [email protected] >> http://lists.terracotta.org/mailman/listinfo/tc-dev >> > > _______________________________________________ > tc-dev mailing list > [email protected] > http://lists.terracotta.org/mailman/listinfo/tc-dev > _______________________________________________ tc-dev mailing list [email protected] http://lists.terracotta.org/mailman/listinfo/tc-dev
