• Views
  • Iteration Report
  • My Iteration Report
  •  
OMERO.server
  • Login
  • Help/Guide
  • About Trac
  • Preferences
  • Wiki
  • Timeline
  • Roadmap
  • Browse Source
  • View Tickets
  • Search

Context Navigation

  • ← Previous Changeset
  • Next Changeset →

Changeset 1923

Show
Ignore:
Timestamp:
11/08/07 09:06:43 (13 months ago)
Author:
jmoore
Message:

Initial Checkstyle support for build

The docs/styles/checkstyle.xml file is copied directly
from the checkstyle configuration and will most likely
produce a huge number of warnings. It will need to be
configured via committee.

Location:
trunk
Files:
3 added
4 modified

  • build.xml (modified) (1 diff)
  • components/antlib/resources/lifecycle.xml (modified) (1 diff)
  • components/dsl/ivy.xml (modified) (2 diffs)
  • docs/styles/checkstyle.xml (added)
  • etc/omero.properties (modified) (1 diff)
  • format.sh (added)
  • lib/repository/checkstyle-4.3.jar (added)

Legend:

Unmodified
Added
Removed
  • trunk/build.xml

    r1910 r1923  
    174174        </target> 
    175175 
    176          <target name="findbugs" depends="multiproject" description="Generates findbugs.xml for all components"> 
     176         <target name="findbugs" depends="multiproject" description="Generates findbugs.xml and checkstyle.xml for all components"> 
    177177                <iterate target="findbugs"/> 
    178178                <iterate buildpathref="tools.buildpath" target="findbugs"/> 
  • trunk/components/antlib/resources/lifecycle.xml

    r1910 r1923  
    296296                <macrodef name="do-find-bugs"> 
    297297                        <sequential> 
    298                         <find-bugs home="${findbugs.home}" output="xml" outputFile="${target.dir}/findbugs.xml"> 
     298                        <find-bugs home="${findbugs.home}" output="xml:withMessages" outputFile="${target.dir}/findbugs.xml"> 
    299299                                <class location="${findbugs.target}" /> 
    300300                                <auxClasspath> 
  • trunk/components/dsl/ivy.xml

    r1909 r1923  
    1414  <dependencies> 
    1515    <dependency org="ant" name="ant" rev="1.6.5" conf="build->default"/> 
    16     <dependency org="commons-collections" name="commons-collections" rev="3.1" conf="build->default"/> 
     16    <dependency org="commons-collections" name="commons-collections" rev="${versions.commons-collections}" conf="build->default"/> 
    1717    <dependency org="commons-logging" name="commons-logging" rev="${versions.commons-logging}" conf="build->default"/> 
    1818    <dependency org="groovy" name="groovy" rev="${versions.groovy}" conf="build->default"/> 
    … …  
    3131    <dependency org="emma" name="emma" rev="${versions.emma}" conf="test->default"/> 
    3232    <dependency org="emma" name="emma_ant" rev="${versions.emma}" conf="test->default"/> 
     33    <dependency org="checkstyle" name="checkstyle" rev="${versions.checkstyle}" conf="test->default"/> 
     34    <dependency org="commons-beanutils" name="commons-beanutils" rev="${versions.commons-beanutils}" conf="test->default"/> 
     35    <dependency org="antlr" name="antlr" rev="2.7.6" conf="test->default"/> 
    3336  </dependencies> 
    3437</ivy-module> 
  • trunk/etc/omero.properties

    r1909 r1923  
    7777versions.postgresql=8.1-405.jdbc3 
    7878versions.testng=5.2-jdk15 
     79versions.checkstyle=4.3 
    7980versions.findbugs=1.2.1 
    8081versions.emma=2.0.5312 

Download in other formats:

  • Unified Diff
  • Zip Archive

Trac Powered

Powered by Trac 0.11
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/