Re: CC + Perforce + FindBugs
Sachin Prasad <[email protected]>
| Newsgroups | gmane.comp.java.cruise-control.user |
|---|---|
| Message-ID | <[email protected]> |
Thanks a ton Lee for the doc. I will work on the script over the weekend and let you know how it behaved with few changes to make it work on my linux env. Cheers S On Mon, Feb 9, 2009 at 11:37 PM, Lee Thornton <[email protected]>wrote: > That script, along with some additional explanation/documentation, has > been included as an attachment. > > > > *Lee Thornton* > > *Software Configuration Management / Release Engineering / Environments* > > *Amdocs Broadband, Cable, and Satellite Division - DirecTV Infrastructure* > > *+1 704.561.4352 (desk)* > > *+1 704.561.4149 (fax)* > > *AMDOCS > CUSTOMER EXPERIENCE SYSTEMS INNOVATION* > > *Did you know…?* > > *As the industry's first customer experience system, **Amdocs CES 7.5<http://amdocs.com/cesportfolio> > ** helps service providers differentiate brand, accelerate growth, > integrate effectively and assure success so they can transform with lower > risk.*** > ------------------------------ > > *From:* Sachin Prasad [mailto:[email protected]] > *Sent:* Monday, February 09, 2009 12:02 PM > > *To:* [email protected] > *Subject:* Re: [Cruisecontrol-user] CC + Perforce + FindBugs > > > > That would be awesome if you could send me the script. > > On Mon, Feb 9, 2009 at 6:48 PM, Lee Thornton <[email protected]> > wrote: > > Our process is running on Windows, and I wrote a DOS script which peruses > each of the change lists from the prior successful build through the change > list of the current build. It does examine each of the new change lists > down to the individual filenames. It could be modified for your needs. If > you think it would help you, I could post it here. > > > > *Lee Thornton* > > *Software Configuration Management / Release Engineering / Environments* > > *Amdocs Broadband, Cable, and Satellite Division - DirecTV Infrastructure* > > *+1 704.561.4352 (desk)* > > *+1 704.561.4149 (fax)* > > *AMDOCS > CUSTOMER EXPERIENCE SYSTEMS INNOVATION* > > *Did you know…?* > > *As the industry's first customer experience system, **Amdocs CES 7.5<http://amdocs.com/cesportfolio> > ** helps service providers differentiate brand, accelerate growth, > integrate effectively and assure success so they can transform with lower > risk.* > ------------------------------ > > *From:* Sachin Prasad [mailto:[email protected]] > *Sent:* Saturday, February 07, 2009 6:49 AM > *To:* [email protected] > *Subject:* Re: [Cruisecontrol-user] CC + Perforce + FindBugs > > > > Thanks Jeff, > > Let me try them, i will keep you posted. > > Thanks > Sachin > > On Sat, Feb 7, 2009 at 6:10 AM, Jeffrey Fredrick < > [email protected]> wrote: > > Hi Sachin, > > what I would do is write a custom plugin that would write the file > names that have been changed to a file and then pick up that file > later in your build. You could either write this plugin in a generic > way, one that could wrap any source control (see the > CompoundSourceControl as an example) or just extend the Perforce > control and overrwite the getModifications(...) method. Either way > should be pretty easy. > > That make sense? > > If you've any questions about implementation for the feel free to ask. > > Jtf > > -- > Free hour of CI consulting: http://the.ci-guys.com > > > > On Wed, Feb 4, 2009 at 1:04 PM, Sachin Prasad <[email protected]> > wrote: > > Hi All, > > > > I have taken up an initiative to integrate CC with FindBugs and our > source > > control is Perforce. We do not want to run Findbugs on whole of our java > > code base (more than 500000 files) which would take ages to respond back > to > > the developer who just checked in one file. Instead it would be better if > we > > could respond back with a feedbacl on just one file which he checked in. > > This way he would also exactly know which files has problems out of the > ones > > he checked in. > > > > FindBugs does have a facility to specify the exact classes on which the > > analysis has to be done. I could not find any type of integration of > > FindBugs with Perfoce and hence I am planning to extend the feature to > get > > the files changed from the last CC run and get them analyzed by find > bugs. > > > > The problem however is that I dont know how to extract the changes from > CC > > and pass it to my product build.xml where I would need the changelist > > numbers to extract the filenames. > > > > Any help/suggestions/comments would help me a lot in the right direction. > > > > -- > > Sachin > > > > > ------------------------------------------------------------------------------ > Create and Deploy Rich Internet Apps outside the browser with > Adobe(R)AIR(TM) > software. With Adobe AIR, Ajax developers can use existing skills and code > to > build responsive, highly engaging applications that combine the power of > local > resources and data with the reach of the web. Download the Adobe AIR SDK > and > Ajax docs to start building applications today- > http://p.sf.net/sfu/adobe-com > _______________________________________________ > Cruisecontrol-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user > > > > > -- > Sachin > > This message and the information contained herein is proprietary and > confidential and subject to the Amdocs policy statement, > you may review at http://www.amdocs.com/email_disclaimer.asp > > > > ------------------------------------------------------------------------------ > Create and Deploy Rich Internet Apps outside the browser with > Adobe(R)AIR(TM) > software. With Adobe AIR, Ajax developers can use existing skills and code > to > build responsive, highly engaging applications that combine the power of > local > resources and data with the reach of the web. Download the Adobe AIR SDK > and > Ajax docs to start building applications today- > http://p.sf.net/sfu/adobe-com > _______________________________________________ > Cruisecontrol-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user > > > > > -- > Sachin > > > ------------------------------------------------------------------------------ > Create and Deploy Rich Internet Apps outside the browser with > Adobe(R)AIR(TM) > software. With Adobe AIR, Ajax developers can use existing skills and code > to > build responsive, highly engaging applications that combine the power of > local > resources and data with the reach of the web. Download the Adobe AIR SDK > and > Ajax docs to start building applications today- > http://p.sf.net/sfu/adobe-com > _______________________________________________ > Cruisecontrol-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user > > -- Sachin ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Cruisecontrol-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user