Editing Petals ESB source code

compared with
Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (5)

View Page History
h1. Use the good source code formatter
h1. Eclipse formatters for Petals source code

h2. 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*:
!formatter.png|border=1!\\

* click on "*Import*", and select the file "eclipse_formatter.xml" from the svn repository : [https://svn.petalslink.com/svnroot/trunk/product/dev/prod/petals/dev-tools/petals-checkstyle-rules/src/main/resources/eclipse/eclipse_formatter.xml|https://svn.petalslink.com/svnroot/trunk/product/dev/prod/petals/dev-tools/petals-checkstyle-rules/src/main/resources/eclipse/eclipse_formatter.xml]
* click on "*Apply*" to save.

h2. 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:
!formatter-xml.png|border=1!

* click on "*Apply*" to save.