cyclope wrote:Hi , i'm trying to use Eclipse to test the cards i've tried to code but i don't know how to generate a long serialversionUID with Eclipse :
in eclipse , i've got two choices:
- add default UID
- add generated UID
Which one to choose ?
With the first , it insert 1L as serielversion UID
and with the second it says me that he can't do ....
Help me please...
`
I will try to help and I also have a Mac.
You want to use the second choice, add generated UID. I have received an error message at times. Something about a class could not be found?
You may want to make sure that there are no red colored errors or yellow colored warnings before you try to generate a UID. A yellow warning for the missing UID is OK.
I keep trying to generate the UID until I finally get one. Even then, Eclipse fails to see the UID and I will have to generate the UID a second time before the yellow warning will go away. As the yellow warning disappears, a red warning will appear because there is now two UID's.
The second UID will have the same string as the first. I delete one of the long serialversionUID's and the errors/warnings related to UID's will disappear. At this point I will zip the project into an archive in case other problems develop.
