On 12/02/2011 12:19 AM, Nathan Kinder wrote:
On 12/01/2011 06:10 PM, Adam Young wrote:
On 12/01/2011 03:10 PM, Ade Lee wrote:
Code formatting rules to be used in Eclipse for formatting once current
patches are checked in.

Ade
 


_______________________________________________
Pki-devel mailing list
Pki-devel@redhat.com
https://www.redhat.com/mailman/listinfo/pki-devel
The rules look OK.  The name in my  project shows up as :
Unmanaged profile 'PKI Project Profile'

Which looks like something wrapped 'PKI Project Profile'  by accident

I did a dry run of formatting the project
[ayoung@ayoung pki]$ git diff | wc -l
387864
so it probably changes about 150K lines.
The patch doesn't apply correctly for me using 'git am', so I had to fall back to 'git apply'.  That said:
Ok,  this is a known problem:

Edit the patch by hand and remove the leading >.  It is the email client that adds that.  After that, the patch should apply.

To get around this problem,  appply this fix:

Thunderbird has a nasty habit of prepending a > character to the patch, messing up the format. While it is trivial to edit the patch by hand to remove it, the patch sender can help out by configuring Thunderbird this way:




[nkinder@localhost pki]$ git diff | wc -l
387843

Can someone else confirm that they can see the project specific settings and that the name is messed up?
I'm still new to Eclipse, so I'm not sure where to look for the name and settings you're referring to.

Windows->Preferences->Java ->Code Style Formatter->Configure Project Specific Settings (Link at the top right of the page)

If the patch has been applied, and you click the checkbox that says : Show on Projects with Project Specific Settings,  you should still see the pki project.  Click OK,  and you should see the porofile name in a drop down list.  You can edit that by clicking "edit"  to the right.







_______________________________________________
Pki-devel mailing list
Pki-devel@redhat.com
https://www.redhat.com/mailman/listinfo/pki-devel



_______________________________________________
Pki-devel mailing list
Pki-devel@redhat.com
https://www.redhat.com/mailman/listinfo/pki-devel