|
|
|
|||||
|
Hi,
It was great news when ICE 2.1 is born, thanks for the Java SSL support! Alas, our first steps when into an unexpected wall as none of our build procedures are working due to some change in the slice2java compiler! We have tracked down the problem to the following assessment: Our project directory structure uses a 'ice' directory for slice definitions and a 'freeze' directory for objects that need to use the BerkeleyDB persistency. We generate the Java classes in a directory 'icesrc'. With 2.0, commands like: Code:
slice2java --output-dir icesrc -Iice ice/*.ice -Ifreeze freeze/*.ice With 2.1, the same command issue an error: Code:
slice2java: input files must end with `.ice' Trying a supposedly better command like: Code:
slice2java --output-dir icesrc -Iice -Ifreeze ice/*.ice freeze/*.ice Code:
freeze/xxx.ice:9: yyy.ice: No such file or directory freeze/xxx.ice:29: `zzz' is not defined Code:
slice2java --output-dir icesrc -Iice -Ifreeze ice/*.ice freeze/*.ice (OK ) slice2java --output-dir icesrc -Iice -Ifreeze freeze/*.ice (KO!) Does it be possible that multiple -I are no longer supported? |
|
|||||
|
More (strange) info.
We have a basic ant test file that DO work:
Code:
<?xml version="1.0" encoding="UTF-8"?> <project name="SLICE2JAVA" default="generate.proxies" basedir="."> <target name="generate.proxies"> <delete dir="icesrc"/> <mkdir dir="icesrc"/> <exec executable="slice2java"> <arg line="--output-dir icesrc -Iice -Ifreeze ice/*.ice freeze/*.ice"/> </exec> </target> </project> slice2java --output-dir icesrc -Iice -Ifreeze ice/*.ice freeze/*.ice still issue errors when launch from a windows console. Hope that helps |
|
||||||
|
I have just posted a patch for this at Patch #1 for Ice 2.1.0, all languages. My apologies for this -- I recently refactored all our code that parses command-line options and got a bit carried away on the error checking. The new parser is less fascist than the old one
![]() This version continues to parse for options that follow arguments. For example, Code:
slice2cpp -I. x.ice -I.. y.ice Cheers, Michi. Cheers, Michi. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Intel(R) C++ Compiler 9.0 | level | Help Center | 1 | 06-15-2005 05:02 AM |
| CS: compiler warning | DeepDiver | Bug Reports | 2 | 01-10-2005 08:31 PM |
| IceJ regression test failed! | rc_hz | Help Center | 2 | 12-23-2004 03:10 AM |
| compiler error | code | Help Center | 1 | 11-27-2004 04:36 PM |
| using Borland C++ Compiler | Adanz | Help Center | 1 | 09-20-2004 10:20 PM |