The following IDL generates the error:
[idl2java] IDL to Java Compiler, Copyright (c) 2002-2004
The Community OpenORB
[idl2java] compile : ActiveRepository.idl
[idl2java]
file:/D:/Uni/Diplomarbeit/Tests/Example/Client/idl/Active
Repository.idl:54: 'in' expected
[idl2java]
file:/D:/Uni/Diplomarbeit/Tests/Example/Client/idl/Active
Repository.idl:55: ')' expected
[idl2java]
file:/D:/Uni/Diplomarbeit/Tests/Example/Client/idl/Active
Repository.idl:56: ';' expected
[idl2java] there are errors...
[idl2java] compilation process stopped !
The IDL file has been attached. The part of the IDL
causing the problem is:
valuetype MofState {
public Object origin;
public string id;
factory create ();
factory create_with_id ( in string id );
factory create_with_origin ( in string id, in Object
origin );
};
When I insert an in Parameter in the the create()
method, everything works. But that's not what it should
be.
I'm using JDK 1.4.2_07 on Windows XP (SP2).
The IDL file that generated the error