Closed hellomrsun closed 5 years ago
Hi,
Ice 3.7.2 includes two different Java mapping java
and java-compat
see https://doc.zeroc.com/ice/3.7/language-mappings/java-mapping/selecting-the-java-mapping
We provide a version of the printer demo for both mappings:
There have been substantial changes since 3.4.2 so you better review the documentation and the demos, don't expect to have the same generated files with 3.7.2 and 3.4.2
Thanks pepone for the information
I've tried to use the --compat option, and it did generate a lot more files.
command:
slice2java.exe --compat "..\ice\Printer.ice"
But there are still some differences.
As I need to migration my application from Ice 3.4.2 to 3.7.2, I think I'll try the --compat version files first.
Thanks,
Hi,
I've tried to generate Java files of provided sample "Printer.ice" link using Slice2java.exe of Ice 3.7.2 And I try to generate them with Ice 3.4.2. But I've found that a lot of files are missing with Ice 3.7.2.
Could you explain why? Thanks
Ice 3.7.2: command: generated files:
Ice 3.4.2: command: generated files:
Edit: I've also tried to generate csharp files with slice2cs.exe in Ice 3.7.2, and it generates correctly the XXXPrxHelper etc.