Jalopy 1.9.4 and Eclipse (Indigo)

932 views Asked by At

I have Jalopy 1.9.4 installed for eclipse (Indigo), jdk 1.5.

None of the options under jalopy's 'Java - Code generation' have been selected. This doesn't make any difference to jalopy. It inserts, for example, '@override' for methods and 'final' for variables wherever it sees necessary. I am not allowed to delete these inserted options. When I delete and save, they re-appear.

Any idea what's going wrong ?

thanks, Soumya

3

There are 3 answers

1
bastian On BEST ANSWER

Are you positive that it is indeed Jalopy that inserts the elements? Maybe check your Eclipse code cleanup settings. Or uninstall Jalopy to make sure.

Do you use a single Jalopy profile? Or are there several profiles available? Maybe Jalopy is switching profiles on-the-fly and in one profile the code cleanup settings are different from those you expect. And make sure that no project specific settings are enabled.

1
bastian On

Could it be that Jalopy is configured to synchronise with a shared code convention? Check the settings below Eclipse->Jalopy->Synchronize

1
bastian On

Why are you not allowed to remove the inserted elements? If your company wants them to be inserted and configured Jalopy accordingly, there is not much point to try and override company policies.