checkstyle integration with buildr

View: New views
2 Messages — Rating Filter:   Alert me  

checkstyle integration with buildr

by Haritha Reddy-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

I am trying to create an addon for generation of checkstyle reports into buildr. The attached checkstyle.rb  contains checkstyle:html ( xsl_file=? config_file=?) and checkstyle:xml (config_file=?)tasks to create checkstyle reports.

 

If the command line arguments are not provided for xsl_file and config_file , it expects that checkstyle_checks.xml and checkstyle.xsl files are present in the folder where buildfile is located.

 

Is there a better way to handle the default case?

 

Thanks

Haritha

 


Re: checkstyle integration with buildr

by Haritha Reddy :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Haritha Reddy-2 wrote:
I am trying to create an addon for generation of checkstyle reports into
buildr. The attached checkstyle.rb  contains checkstyle:html ( xsl_file=?
config_file=?) and checkstyle:xml (config_file=?)tasks to create checkstyle
reports.

 

If the command line arguments are not provided for xsl_file and config_file
, it expects that checkstyle_checks.xml and checkstyle.xsl files are present
in the folder where buildfile is located.

 

Is there a better way to handle the default case?

 

Thanks

Haritha

 
checkstyle.rb