Skip to content

Latest commit

 

History

History
 
 

eclipse

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Using Eclipse

Note: Due to a bug in annotation processing that interacts badly with Dagger 2, using Eclipse is not recommended. Consider using IDEA CE instead.

You must use at least Eclipse 4.5.0, this is due to issues with annotation processing in earlier versions.

The following plugins are required:

  • lombok (https://projectlombok.org/download.html)
  • m2e-apt (install through Marketplace)
    • Enable automatic configuration of JDT APT in Preferences → Maven → Annotation Processing.
  • m2e checkstyle connector (will be required on initial import)
    • Configure it to use the provided checkstyle.xml file in Preferences → Checkstyle. You must set the ${basedir} property to the path of the checked out heroic project.

The project contains a repackaged version of bigtable-client-core which you should install locally to make it easier for Eclipse to discover:

$ cd repackaged/bigtable && mvn clean install

Import the directory as a Maven project in File → Import → Maven → Existing Maven Projects, select all discovered modules.

There is a formatter available. It is recommended that you import this into your IDE in Preferences → Java → Code Style → Formatter. You should also set a save action to format all lines and organize imports when you save in Preferences → Java → Editor → Save Actions.