[jacorb-developer] Problems compiling demo/grid

Bodine-Baron, Elizabeth A (332E) Elizabeth.Bodine at jpl.nasa.gov
Fri Apr 2 22:02:23 CEST 2010


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



More information about the jacorb-developer mailing list