Archived

This forum has been archived. Please start a new discussion on GitHub.

illegal identifier 'IcePatch2'

Someone knows why when I try to run:

slice2java -I. FileInfo.ice

i have this error:

illegal identifier 'IcePatch2': 'Ice' prefix is reserved

I have Ice.jar in the classpath


Thanks

Comments

  • marc
    marc Florida
    If you want to compile any of the Ice slice files, you have to use "--ice". From slice2java --help:
    --ice                   Permit `Ice' prefix (for building Ice source code only)