Commit c85a9b54 authored by Jerome Locatelli's avatar Jerome Locatelli
Browse files

Migrate on ill forge

parent 71ef9b34
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="lib" path="lib/jacorb.jar"/>
<classpathentry kind="lib" path="lib/avalon-framework-4.1.5.jar"/>
<classpathentry kind="lib" path="lib/logkit-1.2.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>NomadCommandSystem</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>
<?xml version="1.0"?>
<project name="NomadCommandSystem">
<property name="src" value="src"/>
<property name="classes" value="bin"/>
<property environment="env"/>
<property name="idlCommonDir" value="${env.NOMAD_HOME}/src/common/corba/idl/common"/>
<property name="idlDataProviderDir" value="${env.NOMAD_HOME}/src/common/corba/idl/dataprovider"/>
<property name="idlCoreDir" value="${env.NOMAD_HOME}/src/common/corba/idl/core"/>
<property name="idlClientDir" value="${env.NOMAD_HOME}/src/common/corba/idl/client"/>
<property name="idlNomadClientLibDir" value="${env.NOMADCLIENT_HOME}/lib/common"/>
<property name="idlFlags" value="-d ${src} -sloppy_forward"/>
<target name="idl">
<delete dir="${src}/fr/ill/ics/nomadserver"/>
<!-- core -->
<echo message="Generating CORBA files"/>
<echo message=""/>
<echo message="Generating ConnectionToken.java"/>
<exec executable="idl">
<arg line="${idlFlags} ${idlClientDir}/ConnectionToken.idl"/>
</exec>
<echo message="Generating SessionManager.java"/>
<exec executable="idl">
<arg line="${idlFlags} ${idlCoreDir}/SessionManager.idl"/>
</exec>
<echo message="Generating SessionGateway.java"/>
<exec executable="idl">
<arg line="${idlFlags} ${idlCoreDir}/SessionGateway.idl"/>
</exec>
<echo message="Generating ServantManager.java"/>
<exec executable="idl">
<arg line="${idlFlags} ${idlCoreDir}/ServantManager.idl"/>
</exec>
<echo message="Generating Servant.java"/>
<exec executable="idl">
<arg line="${idlFlags} ${idlCoreDir}/Servant.idl"/>
</exec>
<echo message="Generating Controller.java"/>
<exec executable="idl">
<arg line="${idlFlags} ${idlCoreDir}/Controller.idl"/>
</exec>
<echo message="Generating Driver.java"/>
<exec executable="idl">
<arg line="${idlFlags} ${idlCoreDir}/Driver.idl"/>
</exec>
<echo message="Generating DatabaseAccessor.java"/>
<exec executable="idl">
<arg line="${idlFlags} ${idlCoreDir}/DatabaseAccessor.idl"/>
</exec>
<echo message="Generating CommandZoneAccessor.java"/>
<exec executable="idl">
<arg line="${idlFlags} ${idlCoreDir}/commandzone/CommandZoneAccessor.idl"/>
</exec>
<echo message="Generating CommandBoxAccessor.java"/>
<exec executable="idl">
<arg line="${idlFlags} ${idlCoreDir}/commandzone/CommandBoxAccessor.idl"/>
</exec>
<echo message="Generating AtomicCommandBoxAccessor.java"/>
<exec executable="idl">
<arg line="${idlFlags} ${idlCoreDir}/commandzone/AtomicCommandBoxAccessor.idl"/>
</exec>
<echo message="Generating ScanCommandBoxAccessor.java"/>
<exec executable="idl">
<arg line="${idlFlags} ${idlCoreDir}/commandzone/ScanCommandBoxAccessor.idl"/>
</exec>
<echo message="Generating ForLoopCommandBoxAccessor.java"/>
<exec executable="idl">
<arg line="${idlFlags} ${idlCoreDir}/commandzone/ForLoopCommandBoxAccessor.idl"/>
</exec>
<echo message="Generating GenericCommandBoxAccessor.java"/>
<exec executable="idl">
<arg line="${idlFlags} ${idlCoreDir}/commandzone/GenericCommandBoxAccessor.idl"/>
</exec>
<echo message="Generating CommandBoxDescriptor.java"/>
<exec executable="idl">
<arg line="${idlFlags} ${idlCoreDir}/commandzone/CommandBoxDescriptor.idl"/>
</exec>
<echo message="Generating CommandZoneEventPublisher.java"/>
<exec executable="idl">
<arg line="${idlFlags} ${idlCoreDir}/commandzone/CommandZoneEventPublisher.idl"/>
</exec>
<echo message="Generating CommandZoneEventSubscriber.java"/>
<exec executable="idl">
<arg line="${idlFlags} ${idlCoreDir}/commandzone/CommandZoneEventSubscriber.idl"/>
</exec>
<!-- common -->
<echo message="Generating ListIterator.java"/>
<exec executable="idl">
<arg line="${idlFlags} ${idlCommonDir}/ListIterator.idl"/>
</exec>
<echo message="Generating ListItem.java"/>
<exec executable="idl">
<arg line="${idlFlags} ${idlCommonDir}/ListItem.idl"/>
</exec>
<echo message="Generating BaseArrayTransferService.java"/>
<exec executable="idl">
<arg line="${idlFlags} ${idlCommonDir}/BaseArrayTransferService.idl"/>
</exec>
<echo message="Generating Int8ArrayTransferService.java"/>
<exec executable="idl">
<arg line="${idlFlags} ${idlCommonDir}/Int8ArrayTransferService.idl"/>
</exec>
<echo message="Generating Int16ArrayTransferService.java"/>
<exec executable="idl">
<arg line="${idlFlags} ${idlCommonDir}/Int16ArrayTransferService.idl"/>
</exec>
<echo message="Generating Int32ArrayTransferService.java"/>
<exec executable="idl">
<arg line="${idlFlags} ${idlCommonDir}/Int32ArrayTransferService.idl"/>
</exec>
<echo message="Generating Int64ArrayTransferService.java"/>
<exec executable="idl">
<arg line="${idlFlags} ${idlCommonDir}/Int64ArrayTransferService.idl"/>
</exec>
<echo message="Generating Float32ArrayTransferService.java"/>
<exec executable="idl">
<arg line="${idlFlags} ${idlCommonDir}/Float32ArrayTransferService.idl"/>
</exec>
<echo message="Generating Float64ArrayTransferService.java"/>
<exec executable="idl">
<arg line="${idlFlags} ${idlCommonDir}/Float64ArrayTransferService.idl"/>
</exec>
<echo message="Generating ArrayCopier.java"/>
<exec executable="idl">
<arg line="${idlFlags} ${idlCommonDir}/ArrayCopier.idl"/>
</exec>
<echo message="Generating Algebra.java"/>
<exec executable="idl">
<arg line="${idlFlags} ${idlCommonDir}/Algebra.idl"/>
</exec>
<echo message="Generating Sequences.java"/>
<exec executable="idl">
<arg line="${idlFlags} ${idlCommonDir}/Sequences.idl"/>
</exec>
<echo message="Generating ReadyIndicator.java"/>
<exec executable="idl">
<arg line="${idlFlags} ${idlCommonDir}/ReadyIndicator.idl"/>
</exec>
<echo message="Generating DataChangeSubscriber.java"/>
<exec executable="idl">
<arg line="${idlFlags} ${idlCommonDir}/DataChangeSubscriber.idl"/>
</exec>
<echo message="Generating RemoteConsoleProxy.java"/>
<exec executable="idl">
<arg line="${idlFlags} ${idlCommonDir}/RemoteConsoleProxy.idl"/>
</exec>
<echo message="Generating RemoteConsoleListener.java"/>
<exec executable="idl">
<arg line="${idlFlags} ${idlCommonDir}/RemoteConsoleListener.idl"/>
</exec>
<echo message="Generating LogSubscriber.java"/>
<exec executable="idl">
<arg line="${idlFlags} ${idlCommonDir}/LogSubscriber.idl"/>
</exec>
<!-- data provider -->
<echo message="Generating ServantDescriptor.java"/>
<exec executable="idl">
<arg line="${idlFlags} ${idlDataProviderDir}/ServantDescriptor.idl"/>
</exec>
<echo message="Generating ChildServantDescriptor.java"/>
<exec executable="idl">
<arg line="${idlFlags} ${idlDataProviderDir}/ChildServantDescriptor.idl"/>
</exec>
<echo message="Generating PropertyDescriptor.java"/>
<exec executable="idl">
<arg line="${idlFlags} ${idlDataProviderDir}/PropertyDescriptor.idl"/>
</exec>
<echo message="Generating CommandDescriptor.java"/>
<exec executable="idl">
<arg line="${idlFlags} ${idlDataProviderDir}/CommandDescriptor.idl"/>
</exec>
<echo message="Generating LogPublisher.java"/>
<exec executable="idl">
<arg line="${idlFlags} ${idlDataProviderDir}/LogPublisher.idl"/>
</exec>
<!-- command line -->
<echo message="Generating CommandLineProxy.java"/>
<exec executable="idl">
<arg line="${idlFlags} ${idlCoreDir}/commandline/CommandLineProxy.idl"/>
</exec>
</target>
<target name="jar">
<echo message="Creating nomadCommandSystem.jar"/>
<jar destfile="nomadCommandSystem.jar" basedir="${classes}">
</jar>
<copy todir="${idlNomadClientLibDir}">
<filelist dir="." files="nomadCommandSystem.jar"/>
</copy>
</target>
</project>
##
## JacORB configuration options
##
########################################
# #
# Initial references configuration #
# #
########################################
#
# URLs where IORs are stored (used in orb.resolve_initial_service())
# DO EDIT these! (Only those that you are planning to use,
# of course ;-).
#
# The ORBInitRef references are created on ORB startup time. In the
# cases of the services themselves, this may lead to exceptions being
# displayed (because the services aren't up yet). These exceptions
# are handled properly and cause no harm!
#ORBInitRef.NameService=corbaloc::160.45.110.41:38693/StandardNS/NameServer%2DPOA/_root
#ORBInitRef.NameService=file:/c:/NS_Ref
#ORBInitRef.NameService=http://www.x.y.z/~user/NS_Ref
#ORBInitRef.TradingService=http://www.x.y.z/~user/TraderRef
ORBInitRef.NameService=corbaloc::localhost:2809/NameService
#ORBInitRef.NameService=corbaloc::gamma3.ill.fr/NameService
#ORBInitRef.NameService=corbaloc::fin4:61000/NameService
#ORBInitRef.NameService=corbaloc::localhost/NameService
#ORBInitRef.NameService=corbaloc::gamma2/NameService
########################################
# #
# Export of corbaloc IORs #
# #
########################################
# allow for more readable corbaloc URLs by mapping the
# actual object key to an arbitrary string the mapping
# below would permit clients of a name service to
# access it using corbaloc::ipaddress:portnum/NameService
# Note: it is NOT necessary to define this property for
# the name service here because this is done already in the
# code of the ns implementation
# example:
#jacorb.orb.objectKeyMap.NameService=StandardNS/NameServer-POA/_root
##################################
# #
# Appligator support #
# #
##################################
# The appligator acts as a remote proxy for objects behind a firewall.
# The appligator is started on a fixed port corresponding
# to a hole in the firewall via which the proxy can be accessed.
#
# Remote clients can access one or more appligators depending on
# configuration. The 'jacorb.ProxyServer.URL' is the default
# appligator to use. Multiple additional appligators can be
# configured for remote subnets using the subnet form of URL
# configuration. The subnet for a scoped appligator is calculated
# by the logical anding of the network and netmask values.
#
# Clients are redirected to an appligator via the use of a client
# side portable interceptor. This can be installed by configuring
# a portable ORB initializer 'org.jacorb.proxy.ProxyClientInitializer'.
#
# The network and netmask configuration properties can optionally be
# used to configure the network for the local client. If this is done
# the calls to objects within the local subnet will not be redirected.
#
# The 'jacorb.ProxyServer.ID' property can be used to configure the
# object identity for the appligator IOR. If not set this defaults
# to 'Appligator'. For additionaly security it is recommended that
# this be set to some other value.
#
# The 'jacorb.ProxyServer.Name' property is the name by which the
# appligator adds itself to the name service (if available) on
# startup.
#jacorb.ProxyServer.Name=Appligator
#jacorb.ProxyServer.ID=Appligator
#jacorb.ProxyServer.Netmask=255.255.255.0
#jacorb.ProxyServer.Network=160.45.110.0
#jacorb.ProxyServer.URL=<url>
#jacorb.ProxyServer.URL-<network1>-<netmask1>=<url1>
#jacorb.ProxyServer.URL-<network2>-<netmask2>=<url2>
##################################
# #
# ORB version number output #
# #
##################################
# if on, the ORB's version number is printed
# any time the ORB is initialized
jacorb.orb.print_version=off
##################################
# #
# Debug output configuration #
# #
##################################
# use (java) jacorb.util.CAD to generate an apropriate
# verbosity level
# 0 = off
# 1 = important messages and exceptions
# 2 = informational messages and exceptions
# >= 3 = debug-level output (may confuse the unaware user :-)
jacorb.verbosity=0
# where does output go? Terminal is default
#jacorb.logfile=LOGFILEPATH
# hexdump outgoing messages
jacorb.debug.dump_outgoing_messages=off
# hexdump incoming messages
jacorb.debug.dump_incoming_messages=off
##################################################
# #
# WARNING: The following properties should #
# only be edited by the expert user. They #
# can be left untouched in most cases! #
# #
##################################################
################################
# #
# Basic ORB Configuration #
# #
################################
# the GIOP minor version number to use for newly created IORs
jacorb.giop_minor_version=2
# number of retries if connection cannot directly be established
jacorb.retries=5
# how many msecs. do we wait between retries
jacorb.retry_interval=10
# size of network buffers for outgoing messages
jacorb.outbuf_size=2048
# log2 of maximum buffer size managed by the internal
# buffer manager.
#
# This is NOT the maximum buffer size that
# can be used, but just the largest size of buffers that
# will be kept and managed. This value will be added to
# an internal constant of 5, so the real value in bytes
# is 2**(5+maxManagedBufSize-1). You only need to increase this
# value if you are dealing with LOTS of LARGE data structures.
# You may decrease it to make the buffer manager release large
# buffers immediately rather than keeping them for later
# reuse.
jacorb.maxManagedBufSize=18
# Wait the specified number of msecs for a reply to a request. If
# exceeded, a org.omg.CORBA.IMP_LIMIT exception will be thrown
#jacorb.client.pending_reply_timeout=0
# client-side connection idle timeout, set no non-zero to stop
# blocking after so many msecs.
#
# WARNING: This is independent of pending replies, i.e. the connection
# can also close, if the timeout is exceeded, but there are unanswered
# requests.
#jacorb.connection.client_idle_timeout=0
# max time a server keeps a connection open if nothing happens
#
# WARNING: This is independent of the requests currently being
# processed, i.e. the connection can also close, if the timeout is
# exceeded, but there are unanswered requests.
#
#jacorb.connection.server_timeout=10000
#jacorb.reference_caching=off
#
# The following property specifies the class which is used for
# reference caching. WeakHashtable uses WeakReferences, so entries
# get gc'ed if only the Hashtable has a reference to them. This
# is useful if you have many references to short-living non-persistent
# CORBA objects. It is only available for java 1.2 and above.
#
# On the other hand the standard Hashtable keeps the references until
# they are explicitely deleted by calling _release(). This is useful
# for persistent and long-living CORBA objects.
#
#jacorb.hashtable_class=org.jacorb.util.WeakHashtable
#
jacorb.hashtable_class=java.util.Hashtable
# use GIOP 1.2 byte order markers (since CORBA 2.4-5)
jacorb.use_bom=off
# add additional IIOP 1.0 profiles even if we are using IIOP 1.2
jacorb.giop.add_1_0_profiles=off
###########################################
# #
# Socket Factories #
# #
###########################################
# A factory design pattern is used for the creation of sockets and server
# sockets.
# The jacorb.net.socket_factory property can be used to configure
# a socket factory that must implement the operations defined in the
# interface org.jacorb.orb.factory.SocketFactory.
# The jacorb.net.server_socket_factory property can be used to configure a
# server socket factory that must implement the operations defined in the
# interface org.jacorb.orb.factory.ServerSocketFactory.
#
#jacorb.net.socket_factory=org.jacorb.orb.factory.DefaultSocketFactory
#jacorb.net.server_socket_factory=org.jacorb.orb.factory.DefaultServerSocketFactory
#
# An additional socket factory is supported that allows for the configuration
# of maximum and minimum port numbers that can be used. This can be used to
# enable firewall traversal via a fixed port range. To use this socket factory
# configure the following two properties.
#
#jacorb.net.socket_factory.port.min
#jacorb.net.socket_factory.port.max
###########################################
# #
# BiDirectional GIOP #
# #
###########################################
# uncomment this initializer if you want to use BiDirectional GIOP
#org.omg.PortableInterceptor.ORBInitializerClass.bidir_init=org.jacorb.orb.connection.BiDirConnectionInitializer
###########################################
# #
# Proxy address in IOR #
# #
###########################################
#
# with these two properties it is possible to
# tell the ORB what IP/port IORs should contain,
# if the ServerSockets IP/port can't be used
# (e.g. for traffic through a firewall).
#
# WARNING: this is just "dumb" replacing, so you
# have to take care of your configuration!
#
#jacorb.ior_proxy_host=1.2.3.4
#jacorb.ior_proxy_port=4711
###########################################
# #
# The Object Adapter Internet Address #
# #
###########################################
# IP address on multi-homed host (this gets encoded in
# object references). NOTE: Adresses like 127.0.0.X
# will only be accessible from the same machine!
#OAIAddr=1.2.3.4
#OAPort=4711
############################
# #
# Default Interceptors #
# Please leave them in! #
# #
############################
org.omg.PortableInterceptor.ORBInitializerClass.standard_init=org.jacorb.orb.standardInterceptors.IORInterceptorInitializer
###############################################
# #
# Implementation Repository Configuration #
# #
###############################################
# Switch off to avoid contacting the ImR on every server start-up
jacorb.use_imr=off
# Switch off if you don't want to write the ImR address into server IORs
# (ignored if jacorb.use_imr=off)
jacorb.use_imr_endpoint=on
# if set to "on", servers that don't already have an entry on their
# first call to the imr, will get automatically registered. Otherwise,
# an UnknownServer exception is thrown.
jacorb.imr.allow_auto_register=off
# if set to "on", the imr will try to "ping" every object reference,
# that it is going to return. If the reference is not alive, TRANSIENT
# is thrown.
jacorb.imr.check_object_liveness=off
ORBInitRef.ImplementationRepository=http://www.x.y.z/~user/ImR_Ref
jacorb.imr.table_file=Z:\table.dat
jacorb.imr.backup_file=z:\backup.dat
jacorb.imr.ior_file=/home/bwana/brose/public_html/ImR_Ref
jacorb.imr.timeout=
jacorb.imr.no_of_poas=
jacorb.imr.no_of_servers=
# Start IMR on a fixed port (equivilant to -p option)
jacorb.imr.port_number=
# how many millis should the imr wait, until a connection from an
# application client is terminated. Default is 2000.
jacorb.imr.connection_timeout=2000
# the implementation name, should be set to a different
# name in the code of persistent servers
jacorb.implname=StandardImplName
#
# This is supposed to be a generic startup string for everything
# that calls Runtime.exec(). Might be replaced by jaco[.bat].
#
jacorb.java_exec=java -Dorg.omg.CORBA.ORBClass=org.jacorb.orb.ORB -Dorg.omg.CORBA.ORBSingletonClass=org.jacorb.orb.ORBSingleton
#########################
# #
# SSL Configuration #
# #
#########################
#
# The port number used by SSL, will be dynmically assigned
# by default
#
#OASSLPort=4711
# This interceptor must be set if programs need access to
# certificates using the CORBA Security API, SSL works also
# without this interceptor
#org.omg.PortableInterceptor.ORBInitializerClass.ForwardInit=org.jacorb.security.ssl.SecurityServiceInitializer
# qualified classname of access decision object
jacorb.security.access_decision=org.jacorb.security.level2.AccessDecisionImpl
# list of qualified classnames of principal authenticator objects,
# separated by commas (no whitespaces!). The first entry (that can
# be successfully created) will be available through the
# principal_authenticator property.