[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jacorb-bugs
Subject:    [jacorb-bugs] [Bug 887] New: grid and interceptors demos don't
From:       bugzilla-daemon () jacorb ! org
Date:       2010-08-06 0:30:03
Message-ID: E1OhAp1-0006mq-4t () littrow ! vm ! bytemark ! co ! uk
[Download RAW message or body]

http://www.jacorb.org/cgi-bin/bugzilla/show_bug.cgi?id=887

           Summary: grid and interceptors demos don't compile
           Product: JacORB
           Version: 2.3.1
          Platform: PC
        OS/Version: other
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Examples
        AssignedTo: jacorb-bugs@lists.spline.inf.fu-berlin.de
        ReportedBy: rchampag@gmail.com


I run Windows 7 (64 bits) with a 64 bits 1.6 Java SDK. I am able to compile
JacORB 2.3.1 from source, but the grid and interceptors demos don't compile.

There seems to be an issues with fixedT.

Here is the error I get when compiling the grid demo:


Buildfile: C:\jacorb-2.3.1\demo\grid\build.xml
Warning: 'file:../../etc/common.xml' in C:\jacorb-2.3.1\demo\grid\build.xml
should be expressed simply as '../../etc/common.xml' for compliance with other
XML tools

base-init:

set-architecture:

init:

gridinit:

load-taskdef:

idl:
   [jacidl] scan file: C:\jacorb-2.3.1\demo\grid\server.idl
   [jacidl] processing idl file: C:\jacorb-2.3.1\demo\grid\server.idl

all:
    [javac] C:\jacorb-2.3.1\demo\grid\build.xml:27: warning:
'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to
false for repeatable builds
    [javac] Compiling 3 source files to C:\jacorb-2.3.1\classes
    [javac]
C:\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]
C:\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

I also have a JacORB 2.3.0 installation on the same machine, and the grid demo
compiles fine in that distribution.

I use the grid demo as a class example, I have modified the IDL in 2.3.1 to use
doubles instead of fixedT, but thought I'd flag this anyway.


-- 
Configure bugmail: http://www.jacorb.org/cgi-bin/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

_______________________________________________
jacorb-bugs mailing list
jacorb-bugs@lists.spline.inf.fu-berlin.de
https://lists.spline.inf.fu-berlin.de/mailman/listinfo/jacorb-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic