Problems compiling demo/grid

"Bodine-Baron, Elizabeth A (332E)" <[email protected]>
Newsgroups gmane.comp.corba.jacorb.devel
Message-ID <[email protected]>
Hi,

I am fairly new to JacORB, and I am trying to compile the grid demo from JacORB 2.3.1 using ant (Mac running Snow Leopard), and I am getting the following compilation error:

Buildfile: build.xml

base-init:

set-architecture:

init:

gridinit:

load-taskdef:

idl:
   [jacidl] scan file: /Users/ebodine/Documents/2010/jacorb-2_3_1/demo/grid/server.idl
   [jacidl] processing idl file: /Users/ebodine/Documents/2010/jacorb-2_3_1/demo/grid/server.idl

all:
    [javac] Compiling 3 source files to /Users/ebodine/Documents/2010/jacorb-2_3_1/classes
    [javac] /Users/ebodine/Documents/2010/jacorb-2_3_1/demo/grid/generated/demo/grid/MyServerPackage/fixedTHelper.java:41: read_fixed() in org.omg.CORBA.portable.InputStream cannot be applied to (short,short)
    [javac] 				_result=_in.read_fixed((short)5, (short)2);
    [javac] 				           ^
    [javac] /Users/ebodine/Documents/2010/jacorb-2_3_1/demo/grid/generated/demo/grid/MyServerPackage/fixedTHelper.java:54: write_fixed(java.math.BigDecimal) in org.omg.CORBA.portable.OutputStream cannot be applied to (java.math.BigDecimal,short,short)
    [javac] 		_out.write_fixed(_s, (short)5, (short)2);
    [javac] 		    ^
    [javac] 2 errors

BUILD FAILED
/Users/ebodine/Documents/2010/jacorb-2_3_1/demo/grid/build.xml:27: Compile failed; see the compiler error output for details.


Any help would be appreciated - I get the same error for a number of the examples in the demo folder, though the ones that do no use BigDecimal compile and run correctly.

Thanks,
Elizabeth


_______________________________________________
jacorb-developer maillist  -  [email protected]
https://lists.spline.inf.fu-berlin.de/mailman/listinfo/jacorb-developer
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.