Editing Petals ESB source code

Eclipse configuration for Petals source code

Use the good source code formatter for Java files

You can define it by following these steps :

  • go to Window -> Preferences, then select Java -> Code Style -> Formatter:

Use the good source code formatter for XML files

Configure your XML formatter as following:

  • go to Window -> Preferences, then select XML -> XML Files -> Editor,
  • copy the following configuration:
  • click on "Apply" to save.

Set the right save actions

Configure your Save actions as following:

  • go to Window -> Preferences, then select Java -> Editor -> Save Actions,
  • copy the following configuration:
  • click on "Apply" to save.

Integrating the Petals SonarQube Server

Configure the Petals SonarQube Server as following:

  • go to Window -> Preferences, then select SonarQube -> Servers,
  • copy the following configuration:

To see Sonar violations into your Java editor, you must re-import your projects.

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.