Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: beefed up Eclipse Plugin section per Julien

...

Working on Eclipse Plugins in Eclipse

  1. clone https://github.com/SonarSource/sonar-eclipse
  2. run an initial Maven build from the command line: mvn clean install
  3. import everything into Eclipse as a Maven project (the Tycho connector should be installed automatically)
  4. in Eclipse preferences, configure a new variable in Run/Debug -> String substitution: M2_REPO = /path/to/your/local/m2/repo
  5. open and activate one of the following target platforms:
    1. If you want to work with Kepler: target-platform-e43/target-platform-e43-dev.target

    • If you want to work with Juno: target-platform-e42/target-platform-e42-dev.target
At this point everything should be green in Eclipse, and you should be able to run/debug Sonar Eclipse plugin. 

If you're working in Linux, consider using Kepler. We find it to be more stable than Juno on Linux.

...