Hi,

Do you use eclipse to edit your camel code?
I just did some improvement on the eclipse checkstyle setting up. Please
feel free to give it a try :)

1. Install the checkstyle pulgin for eclipse
http://eclipse-cs.sourceforge.net/update

2. Setup the workspace for the checkstyle
  * Build the kit first
     mvn clean install -Dtest=false
  * Set up the workspace with checkstyle setting
     mvn eclipse:eclipse -Psetup.eclipse
  * You will find the mvn create a wrokspace directory in the parent
directory of the camel trunk directory.
    Open the eclipse and use the wrokspace, then import the projects
from the camel trunk.

In this way you could see if the code is ok for checkstyle in eclipse.

Willem

alloyer wrote:
> Hi, can anyone tell me how to add option -Psourcecheck when creating a patch?
> My previous patch have some style problem and jonstey tell me to do source
> check to ensure proper formatting  when building the patch, but I can not
> find how to do it. I am using TortoiseSVN  on windows XP.


Reply via email to