Re: Pb building 4.3.1 on windows

David Weir <[email protected]> Wed, 14 Jun 2006 12:36:10 -0230
Newsgroups gmane.comp.corba.orbacus
Organization Object Oriented Concepts, Inc. - An IONA Company
Message-ID <[email protected]>
Hello Mickael,

On Wed, Jun 14, 2006 at 04:57:20PM +0200, Mickael Signoret wrote:
> Hi, 
> 
> I just bought the last dev kit of orbacus but I can't build it !  I'm
> getting :
> 
> C:\orbacus\JOB-4[1].3.1-win32\JOB-4.3.1>ant -Dinstall.dir=C:\JOB-4.3.1
> Buildfile: build.xml

This looks like an environment issue. Are you sure that you are using
the Orbacus 4.3.1 version of the "jidl" translator? It looks like you
may still have a pre-4.3.1 version in your path.

The other thing to remember about JOB-4.3.1 is that it relies on version
1.6 or higher of "ant".

> all:
> subdirs:
> min:
> init:
> gen_OMG_CORBA:
> gen_OMG_PortableServer:
> gen_OMG_Dynamic:
> gen_OMG_DynamicAny:
> gen_OMG_Messaging:
>      [jidl] ../idl/OB/Messaging.idl(182): error: `UserExceptionBase' is
> not an exception type
>      [jidl] ../idl/OB/Messaging.idl(188): error: `UserExceptionBase' is
> not an exception type
>      [jidl] Result: 2
> gen_OMG_MessageRouting:
>      [jidl] ../idl/OB/Messaging.idl(182): error: `UserExceptionBase' is
> not an exception type
>      [jidl] ../idl/OB/Messaging.idl(188): error: `UserExceptionBase' is
> not an exception type
>      [jidl] Result: 2
> gen_OMG_GIOP:
> gen_OMG_PortableInterceptor:
>      [jidl] ../idl/OB/Messaging.idl(182): error: `UserExceptionBase' is
> not an exception type
>      [jidl] ../idl/OB/Messaging.idl(188): error: `UserExceptionBase' is
> not an exception type
>      [jidl] Result: 2
> gen_OB_OCI:
> gen_OB_Core:
> gen_OB_PortableServer:

<... snip ...>

> build_OB_PortableServer:
>  [ob.javac] Compiling 55 source files to
> C:\orbacus\JOB-4[1].3.1-win32\JOB-4.3.1\ob\lib
>  [ob.javac]
> C:\orbacus\JOB-4[1].3.1-win32\JOB-4.3.1\ob\src\generated\com\ooc\OBPorta
> bleServer\POAOperations.java:63: cannot resolve symbol
>  [ob.javac] symbol  : class ObjectReferenceTemplate
>  [ob.javac] location: package PortableInterceptor
>  [ob.javac]     org.omg.PortableInterceptor.ObjectReferenceTemplate
>  [ob.javac]                                ^
>  [ob.javac]
> C:\orbacus\JOB-4[1].3.1-win32\JOB-4.3.1\ob\src\generated\com\ooc\OBPorta
> bleServer\POAOperations.java:75: cannot resolve symbol
>  [ob.javac] symbol  : class ObjectReferenceFactory
>  [ob.javac] location: package PortableInterceptor
>  [ob.javac]     org.omg.PortableInterceptor.ObjectReferenceFactory
>  [ob.javac]                                ^
>  [ob.javac] 2 errors
> 
> BUILD FAILED
> C:\orbacus\JOB-4[1].3.1-win32\JOB-4.3.1\build.xml:40: The following
> error occurred while executing this line:
> C:\orbacus\JOB-4[1].3.1-win32\JOB-4.3.1\build.xml:10: The following
> error occurred while executing this line:
> C:\orbacus\JOB-4[1].3.1-win32\JOB-4.3.1\ob\build.xml:13: The following
> error occurred while executing this line:
> C:\orbacus\JOB-4[1].3.1-win32\JOB-4.3.1\ob\src\build.xml:377: The
> following error occurred while executing this line:
> C:\orbacus\JOB-4[1].3.1-win32\JOB-4.3.1\ob\src\build.xml:322: Compile
> failed; see the compiler error output for details.
> 
> Total time: 29 seconds
> C:\orbacus\JOB-4[1].3.1-win32\JOB-4.3.1>

Cheers,
Dave

-- 
David Weir                          
Team Orbacus - Your CORBA Source
E-Mail: [email protected]
WWW: http://www.orbacus.com
_______________________________________________
OB-Users Mailing List - [email protected]
http://mail.ooc.nf.ca/mailman/listinfo/ob-users
Visit our support FAQ before you send a message.
http://www.orbacus.com/faq/support.html