Re: CC + Perforce + FindBugs

Sachin Prasad <[email protected]>
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <[email protected]>
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

------------------------------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.