I've just tried to rerun test-coverage using SBT+Scala 2.8.1, this time it has been successfully generated! Mikko was right (I hasn't been able to build it before on my home computer).
Report has structure similar to scaladoc/javadoc - multiple *.html and some js and image files in coverage-report folder. Do you want mine to place all of them into archive? 2011/1/24 Richard Hirsch <[email protected]> > On Mon, Jan 24, 2011 at 4:56 PM, Richard Hirsch <[email protected]> > wrote: > > On Mon, Jan 24, 2011 at 3:47 PM, Vladimir Ivanov <[email protected]> > wrote: > >> Hi to all, > >> > >> An according to Mikko: > >> https://github.com/mtkopone/scct/issues/closed#issue/5 > >> > >> <https://github.com/mtkopone/scct/issues/closed#issue/5>test-coverage > works > >> for SBT built with Scala 2.7.7 (it's necessary to comment > "def.scala.version" > >> in build.properties file then SBT will use Scala 2.7.7 for starting by > >> default). I checked this locally - report was successfully generated. > >> > >> He also noted that he had been able to generate report using SBT built > with > >> Scala 2.8.1 on last revision of ESME trunk, but index.html still hasn't > been > >> produced for me after full clean and update. > > > > Mikko is already working on 2.8 branch: > > https://github.com/mtkopone/scct/tree/scala-2.8 > > > > > >> > >> Should I attach modified build.properties to this issue? > > > > Have you tried his suggestion?: > > > > Before I can fix it, you can test scct by removing the > > "def.scala.version"-property from project/build.properties. After > > that, the build will use scala 2.7.7 for starting sbt, but 2.8.1 for > > compilation and testing, and coverage reports should work. > > > > Oops - just read your comment on the issue. > > Could you add in the 2.7.7 report to the issue.? > > Thanks. > > >> > >> Could someone else also check test-coverage task with last ESME version? > >> > >> 2011/1/17 Vladimir Ivanov <[email protected]> > >> > >>> Yes, of course. I've seen this list, but haven't found something > similar to > >>> our case in descriptions. > >>> > >>> I sent message to Mikko via GitHub, if he won't answer today, I'll > create > >>> new issue there. > >>> > >>> 2011/1/17 Richard Hirsch <[email protected]> > >>> > >>> Have you guys seen this issues page for SCCT [1]. I'd mention that an > >>>> Apache project is trying to use it - maybe that will give him some > >>>> incentive to fix the bug ;->. > >>>> > >>>> [1] https://github.com/mtkopone/scct/issues/#list > >>>> > >>>> On Sun, Jan 16, 2011 at 4:24 PM, Vladimir Ivanov < > [email protected]> > >>>> wrote: > >>>> > Hi Ethan, > >>>> > > >>>> > Next couple of runs SCCT finished it's work but didn't produce > >>>> index.html in > >>>> > /target/scala_2.8.1/coverage-report directory. > >>>> > > >>>> > Do you want mine to create issue for this project on GitHub? In this > >>>> case > >>>> > he'll probabaly need some example, you are right. I'll try to send > >>>> message > >>>> > to Mikko with description of our problem, let's see what he thinks > about > >>>> it. > >>>> > > >>>> > 2011/1/16 Ethan Jewett <[email protected]> > >>>> > > >>>> >> Hi Vladimir, > >>>> >> > >>>> >> It looks to me like I'm running into exactly the same problem. I > get > >>>> >> the "Wait for report completion." message and then it just sits > there. > >>>> >> It's been about 15 minutes so far and the index.html file isn't yet > >>>> >> created. > >>>> >> > >>>> >> How do you want to handle this? If you need something to show to > Mikko > >>>> >> Koponen, I can commit this setup to trunk and then you can point > >>>> >> towards that as an example of this not working. > >>>> >> > >>>> >> Ethan > >>>> >> > >>>> >> On Sun, Jan 16, 2011 at 1:11 PM, Vladimir Ivanov < > >>>> [email protected]> > >>>> >> wrote: > >>>> >> > I tried to run coverage tests with SCCT tool several times, but > was > >>>> >> unable > >>>> >> > to get generated report - it froze with "Wait for report > completion" > >>>> >> > message and some artifacts generated (I waited several hours). > Don't > >>>> know > >>>> >> > whether it's my local problem or problem with SCCT tool. I've > >>>> attached my > >>>> >> > modified ESMEProject.scala and Plugins.scala with SCCT support > (and > >>>> >> > screenshot with message pointed above) to ESME-320. Could someone > >>>> else > >>>> >> > download them and run coverage tests (an according with > >>>> >> > http://mtkopone.github.com/scct/): > >>>> >> > > >>>> >> > sbt>clean > >>>> >> > sbt>test-coverage > >>>> >> > > >>>> >> > It's possible that result would be different from mine. > >>>> >> > > >>>> >> > 2011/1/14 Vladimir Ivanov <[email protected]> > >>>> >> > > >>>> >> >> Richard, > >>>> >> >> > >>>> >> >> Yes, I would. I'll try to add this plugin on a weekend. > >>>> >> >> > >>>> >> >> Thanks for the info. > >>>> >> >> > >>>> >> >> 2011/1/14 Richard Hirsch <[email protected]> > >>>> >> >> > >>>> >> >> @Vladimir would you be interested in taking a look at SCCT > (Scala > >>>> Code > >>>> >> >>> Coverage Tool) [1] via sbt - it is still beta but I would be > very > >>>> >> >>> interested to get an idea of what sort of code coverage our > tests > >>>> are > >>>> >> >>> producing. > >>>> >> >>> > >>>> >> >>> D. > >>>> >> >>> > >>>> >> >>> [1] http://mtkopone.github.com/scct/ > >>>> >> >>> > >>>> >> >>> On Wed, Jan 12, 2011 at 12:11 PM, Vladimir Ivanov < > >>>> >> [email protected]> > >>>> >> >>> wrote: > >>>> >> >>> > Anne, Richard > >>>> >> >>> > > >>>> >> >>> > Thank you! > >>>> >> >>> > > >>>> >> >>> > 2011/1/12 Richard Hirsch <[email protected]> > >>>> >> >>> > > >>>> >> >>> >> On Wed, Jan 12, 2011 at 10:39 AM, Anne Kathrine Petterøe > >>>> >> >>> >> <[email protected]> wrote: > >>>> >> >>> >> > w00t our first blog post is up :-) > >>>> >> >>> >> > > https://blogs.apache.org/esme/entry/using_sbt_in_apache_esme > >>>> >> >>> >> > > >>>> >> >>> >> > Thanks a million Vladmir!! > >>>> >> >>> >> > >>>> >> >>> >> +1 > >>>> >> >>> >> > >>>> >> >>> >> > > >>>> >> >>> >> > /Anne > >>>> >> >>> >> > > >>>> >> >>> >> > On 11 January 2011 20:21, Anne Kathrine Petterøe < > >>>> >> [email protected]> > >>>> >> >>> >> wrote: > >>>> >> >>> >> >> Looks like I won't be able to post the SBT blog until > >>>> tomorrow. > >>>> >> >>> >> >> Having some issues with my computer tonight, it keeps > dying > >>>> on > >>>> >> me. > >>>> >> >>> >> >> Sorry! > >>>> >> >>> >> >> > >>>> >> >>> >> >> /Anne > >>>> >> >>> >> >> > >>>> >> >>> >> >> > >>>> >> >>> >> >> On 11 January 2011 18:07, Ethan Jewett < > [email protected]> > >>>> >> wrote: > >>>> >> >>> >> >>> Thank you! > >>>> >> >>> >> >>> > >>>> >> >>> >> >>> On Tue, Jan 11, 2011 at 6:00 PM, Richard Hirsch < > >>>> >> >>> [email protected]> > >>>> >> >>> >> wrote: > >>>> >> >>> >> >>>> Jira Item created: > >>>> >> >>> https://issues.apache.org/jira/browse/INFRA-3351 > >>>> >> >>> >> >>>> > >>>> >> >>> >> >>>> I asked for an account for the following PMC members: > >>>> >> >>> >> >>>> > >>>> >> >>> >> >>>> Ethan Jewett <[email protected]> > >>>> >> >>> >> >>>> Richard Hirsch (chair) <[email protected]> > >>>> >> >>> >> >>>> Vassil Dichev <[email protected]> > >>>> >> >>> >> >>>> Imtiaz Ahmed H E <[email protected]> > >>>> >> >>> >> >>>> > >>>> >> >>> >> >>>> If any other ESME PMC members would like blog access, > just > >>>> ping > >>>> >> >>> me. > >>>> >> >>> >> >>>> > >>>> >> >>> >> >>>> D. > >>>> >> >>> >> >>>> > >>>> >> >>> >> >>>> On Tue, Jan 11, 2011 at 5:55 PM, Richard Hirsch < > >>>> >> >>> >> [email protected]> wrote: > >>>> >> >>> >> >>>>> Creating the JIRA right now. > >>>> >> >>> >> >>>>> > >>>> >> >>> >> >>>>> D. > >>>> >> >>> >> >>>>> > >>>> >> >>> >> >>>>> On Tue, Jan 11, 2011 at 5:51 PM, Anne Kathrine > Petterøe > >>>> >> >>> >> >>>>> <[email protected]> wrote: > >>>> >> >>> >> >>>>>> Will do! :-) > >>>> >> >>> >> >>>>>> > >>>> >> >>> >> >>>>>> @Ethan and Dick: > >>>> >> >>> >> >>>>>> I think it is easier/faster if you create the INFRA > Jira > >>>> task > >>>> >> >>> >> >>>>>> yourselves asking for an account to our blog. > >>>> >> >>> >> >>>>>> I was just trying to save infra from having 7 > committers > >>>> from > >>>> >> >>> the > >>>> >> >>> >> same > >>>> >> >>> >> >>>>>> team creating each their separate task asking for an > >>>> >> account... > >>>> >> >>> >> >>>>>> > >>>> >> >>> >> >>>>>> /Anne > >>>> >> >>> >> >>>>>> > >>>> >> >>> >> >>>>>> On 11 January 2011 17:15, Richard Hirsch < > >>>> >> [email protected] > >>>> >> >>> > > >>>> >> >>> >> wrote: > >>>> >> >>> >> >>>>>>> Already saw it - already converted it - looks good. > >>>> >> >>> >> >>>>>>> > >>>> >> >>> >> >>>>>>> Good choice for our first Apache blog. > >>>> >> >>> >> >>>>>>> > >>>> >> >>> >> >>>>>>> I still don't have access to our Apache blog. > >>>> >> >>> >> >>>>>>> > >>>> >> >>> >> >>>>>>> @Anne - since you are the only one who appears to > have > >>>> aces > >>>> >> at > >>>> >> >>> the > >>>> >> >>> >> >>>>>>> current time, could you add the blog from Vladimir? > >>>> >> >>> >> >>>>>>> > >>>> >> >>> >> >>>>>>> D. > >>>> >> >>> >> >>>>>>> > >>>> >> >>> >> >>>>>>> On Tue, Jan 11, 2011 at 5:05 PM, Vladimir Ivanov < > >>>> >> >>> >> [email protected]> wrote: > >>>> >> >>> >> >>>>>>>> I've just attached small article about using SBT > with > >>>> ESME > >>>> >> to > >>>> >> >>> >> ESME-320. It > >>>> >> >>> >> >>>>>>>> is in ODF format, so Open Office or similar office > >>>> package > >>>> >> is > >>>> >> >>> >> needed. Could > >>>> >> >>> >> >>>>>>>> you please check it - may be you'll have some > >>>> >> recommendations > >>>> >> >>> or > >>>> >> >>> >> refine it > >>>> >> >>> >> >>>>>>>> somehow. > >>>> >> >>> >> >>>>>>>> > >>>> >> >>> >> >>>>>>>> Thank you. > >>>> >> >>> >> >>>>>>>> > >>>> >> >>> >> >>>>>>>> 2011/1/6 Richard Hirsch <[email protected]> > >>>> >> >>> >> >>>>>>>> > >>>> >> >>> >> >>>>>>>>> @Vladimir do you want to write a short blog about > >>>> using > >>>> >> sbt? > >>>> >> >>> You > >>>> >> >>> >> can > >>>> >> >>> >> >>>>>>>>> either use your own blog or we can give you acess > to > >>>> the > >>>> >> >>> official > >>>> >> >>> >> ESME > >>>> >> >>> >> >>>>>>>>> blog? > >>>> >> >>> >> >>>>>>>>> > >>>> >> >>> >> >>>>>>>>> D. > >>>> >> >>> >> >>>>>>>>> > >>>> >> >>> >> >>>>>>>>> > >>>> >> >>> >> >>>>>>>>> On Wed, Jan 5, 2011 at 9:03 AM, Ethan Jewett > (JIRA) < > >>>> >> >>> >> [email protected]> > >>>> >> >>> >> >>>>>>>>> wrote: > >>>> >> >>> >> >>>>>>>>> > > >>>> >> >>> >> >>>>>>>>> > [ > >>>> >> >>> >> >>>>>>>>> > >>>> >> >>> >> > >>>> >> >>> > >>>> >> > >>>> > https://issues.apache.org/jira/browse/ESME-320?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12977670#action_12977670 > >>>> >> >>> >> ] > >>>> >> >>> >> >>>>>>>>> > > >>>> >> >>> >> >>>>>>>>> > Ethan Jewett commented on ESME-320: > >>>> >> >>> >> >>>>>>>>> > ----------------------------------- > >>>> >> >>> >> >>>>>>>>> > > >>>> >> >>> >> >>>>>>>>> > Agreed then, let's leave it open until we have > time > >>>> to > >>>> >> >>> address > >>>> >> >>> >> this > >>>> >> >>> >> >>>>>>>>> flakiness. > >>>> >> >>> >> >>>>>>>>> > > >>>> >> >>> >> >>>>>>>>> >> Add SBT integration for building project > >>>> >> >>> >> >>>>>>>>> >> ---------------------------------------- > >>>> >> >>> >> >>>>>>>>> >> > >>>> >> >>> >> >>>>>>>>> >> Key: ESME-320 > >>>> >> >>> >> >>>>>>>>> >> URL: > >>>> >> >>> >> https://issues.apache.org/jira/browse/ESME-320 > >>>> >> >>> >> >>>>>>>>> >> Project: ESME > >>>> >> >>> >> >>>>>>>>> >> Issue Type: Task > >>>> >> >>> >> >>>>>>>>> >> Components: Other > >>>> >> >>> >> >>>>>>>>> >> Affects Versions: 1.2 > >>>> >> >>> >> >>>>>>>>> >> Reporter: Vladimir Ivanov > >>>> >> >>> >> >>>>>>>>> >> Priority: Minor > >>>> >> >>> >> >>>>>>>>> >> Fix For: 1.2 > >>>> >> >>> >> >>>>>>>>> >> > >>>> >> >>> >> >>>>>>>>> >> Attachments: build.properties, > >>>> >> EsmeProject.scala, > >>>> >> >>> >> Plugins.scala > >>>> >> >>> >> >>>>>>>>> >> > >>>> >> >>> >> >>>>>>>>> >> Original Estimate: 1h > >>>> >> >>> >> >>>>>>>>> >> Remaining Estimate: 1h > >>>> >> >>> >> >>>>>>>>> >> > >>>> >> >>> >> >>>>>>>>> >> Simple Build Tool ( > >>>> >> >>> >> http://code.google.com/p/simple-build-tool ) > >>>> >> >>> >> >>>>>>>>> provides several features for project build > process > >>>> >> >>> (especially > >>>> >> >>> >> local): > >>>> >> >>> >> >>>>>>>>> >> - Accurate recompilation > >>>> >> >>> >> >>>>>>>>> >> - Continuous compilation and testing > >>>> >> >>> >> >>>>>>>>> >> - Buildfile is written in Scala instead of > verbose > >>>> XML > >>>> >> >>> >> >>>>>>>>> >> - Support for Custom Actions > >>>> >> >>> >> >>>>>>>>> >> and other goodies. > >>>> >> >>> >> >>>>>>>>> >> To build project with SBT > >>>> >> >>> >> >>>>>>>>> >> 1) SBT jar should be download installed as > >>>> described by > >>>> >> >>> >> following link: > >>>> >> >>> >> >>>>>>>>> > http://code.google.com/p/simple-build-tool/wiki/Setup > >>>> >> >>> >> >>>>>>>>> >> * > >>>> http://www.assembla.com/wiki/show/liftweb/Using_SBT: > >>>> >> >>> To > >>>> >> >>> >> avoid > >>>> >> >>> >> >>>>>>>>> frequent OutOfMemory errors, try modifying your > sbt > >>>> shell > >>>> >> >>> script > >>>> >> >>> >> to the > >>>> >> >>> >> >>>>>>>>> following: > >>>> >> >>> >> >>>>>>>>> >> java -XX:+CMSClassUnloadingEnabled > >>>> -XX:MaxPermSize=256m > >>>> >> >>> >> -Xmx512M -Xss2M > >>>> >> >>> >> >>>>>>>>> -jar `dirname $0`/sbt-launch.jar "$@" > >>>> >> >>> >> >>>>>>>>> >> 2) Project folder should be added to module > root > >>>> with > >>>> >> >>> >> following > >>>> >> >>> >> >>>>>>>>> structure: > >>>> >> >>> >> >>>>>>>>> >> --->ESME root > >>>> >> >>> >> >>>>>>>>> >> | > >>>> >> >>> >> >>>>>>>>> >> --->server > >>>> >> >>> >> >>>>>>>>> >> | > >>>> >> >>> >> >>>>>>>>> >> --->project > >>>> >> >>> >> >>>>>>>>> >> | > >>>> >> >>> >> >>>>>>>>> >> ---->build > >>>> >> >>> >> >>>>>>>>> >> | | > >>>> >> >>> >> >>>>>>>>> >> | -----EsmeProject.scala > >>>> >> >>> >> >>>>>>>>> >> | > >>>> >> >>> >> >>>>>>>>> >> ---->plugins > >>>> >> >>> >> >>>>>>>>> >> | | > >>>> >> >>> >> >>>>>>>>> >> | -----Plugins.scala > >>>> >> >>> >> >>>>>>>>> >> | > >>>> >> >>> >> >>>>>>>>> >> ----- build.properties > >>>> >> >>> >> >>>>>>>>> >> Files EsmeProject.scala, Plugins.scala, > >>>> >> build.properties > >>>> >> >>> are > >>>> >> >>> >> attached > >>>> >> >>> >> >>>>>>>>> to this issue. > >>>> >> >>> >> >>>>>>>>> >> * For those who use IntelliJ IDEA, it's > possible > >>>> to > >>>> >> add > >>>> >> >>> >> sbt-idea plugin > >>>> >> >>> >> >>>>>>>>> to generate IDEA project artifacts, as described > here: > >>>> >> >>> >> >>>>>>>>> https://github.com/mpeltonen/sbt-idea > >>>> >> >>> >> >>>>>>>>> >> 3) Available build actions are listed here: > >>>> >> >>> >> >>>>>>>>> > >>>> >> http://code.google.com/p/simple-build-tool/wiki/RunningSbt > >>>> >> >>> >> >>>>>>>>> > > >>>> >> >>> >> >>>>>>>>> > -- > >>>> >> >>> >> >>>>>>>>> > This message is automatically generated by JIRA. > >>>> >> >>> >> >>>>>>>>> > - > >>>> >> >>> >> >>>>>>>>> > You can reply to this email to add a comment to > the > >>>> >> issue > >>>> >> >>> >> online. > >>>> >> >>> >> >>>>>>>>> > > >>>> >> >>> >> >>>>>>>>> > > >>>> >> >>> >> >>>>>>>>> > >>>> >> >>> >> >>>>>>>> > >>>> >> >>> >> >>>>>>>> > >>>> >> >>> >> >>>>>>>> > >>>> >> >>> >> >>>>>>>> -- > >>>> >> >>> >> >>>>>>>> Best Regards, > >>>> >> >>> >> >>>>>>>> Vladimir Ivanov > >>>> >> >>> >> >>>>>>>> > >>>> >> >>> >> >>>>>>> > >>>> >> >>> >> >>>>>> > >>>> >> >>> >> >>>>> > >>>> >> >>> >> >>>> > >>>> >> >>> >> >>> > >>>> >> >>> >> >> > >>>> >> >>> >> > > >>>> >> >>> >> > >>>> >> >>> > > >>>> >> >>> > > >>>> >> >>> > > >>>> >> >>> > -- > >>>> >> >>> > Best Regards, > >>>> >> >>> > Vladimir Ivanov > >>>> >> >>> > > >>>> >> >>> > >>>> >> >> > >>>> >> >> > >>>> >> >> > >>>> >> >> -- > >>>> >> >> Best Regards, > >>>> >> >> Vladimir Ivanov > >>>> >> >> > >>>> >> > > >>>> >> > > >>>> >> > > >>>> >> > -- > >>>> >> > Best Regards, > >>>> >> > Vladimir Ivanov > >>>> >> > > >>>> >> > >>>> > > >>>> > > >>>> > > >>>> > -- > >>>> > Best Regards, > >>>> > Vladimir Ivanov > >>>> > > >>>> > >>> > >>> > >>> > >>> -- > >>> Best Regards, > >>> Vladimir Ivanov > >>> > >> > >> > >> > >> -- > >> Best Regards, > >> Vladimir Ivanov > >> > > > -- Best Regards, Vladimir Ivanov
