Commit 3cbcc704 authored by Renato Figueiro Maia's avatar Renato Figueiro Maia

[OPENBUS-2681] Adicionar suporte a exportação de dados em versões legadas (OpenBus 2.0)

- Arquivos IDL deixam de ficar em pastas que imitam a hierarquia de pacotes da IDL, pois muitos compiladores de IDL não conseguem compilar arquivos assim. Para evitar colisão de nomes de arquivos IDL adotamos nomes de arquivo com o prefixo 'openbus_' e um sufixo que contéma versão do OpenBus tal como '-2.1'.



git-svn-id: https://subversion.tecgraf.puc-rio.br/engdist/openbus/sdk/lua/trunk@165309 ae0415b3-e90b-0410-900d-d0be9363c56b
parent 25d4d65c
......@@ -101,11 +101,11 @@ using idl2lua ;
make lua/openbus/idl/parsed.lua
: $(openbus-lib-idl-path)/src/openbus.idl
$(openbus-lib-idl-path)/src/corba.idl
$(openbus-idl-path)/src/tecgraf/openbus/core/v2_1/services/access_control.idl
$(openbus-idl-path)/src/tecgraf/openbus/core/v2_1/services/offer_registry.idl
$(openbus-idl-path)/src/tecgraf/openbus/core/v2_1/data_export.idl
$(openbus-idl-path)/src/tecgraf/openbus/core/v2_1/core.idl
$(openbus-idl-path)/src/tecgraf/openbus/core/v2_1/credential.idl
$(openbus-idl-path)/src/openbus_access-2.1.idl
$(openbus-idl-path)/src/openbus_offers-2.1.idl
$(openbus-idl-path)/src/openbus_export-2.1.idl
$(openbus-idl-path)/src/openbus_core-2.1.idl
$(openbus-idl-path)/src/openbus_creden-2.1.idl
$(scs-idl-path)/src/scs.idl
: idl2lua.compile
: <include>$(openbus-lib-idl-path)/src
......@@ -114,11 +114,11 @@ make lua/openbus/idl/parsed.lua
;
make lua/openbus/core/idl/parsed.lua
: $(openbus-idl-path)/src/tecgraf/openbus/core/v2_1/services/access_control.idl
$(openbus-idl-path)/src/tecgraf/openbus/core/v2_1/services/offer_registry.idl
$(openbus-idl-path)/src/tecgraf/openbus/core/v2_1/data_export.idl
$(openbus-idl-path)/src/tecgraf/openbus/core/v2_1/core.idl
$(openbus-idl-path)/src/tecgraf/openbus/core/v2_1/credential.idl
: $(openbus-idl-path)/src/openbus_access-2.1.idl
$(openbus-idl-path)/src/openbus_offers-2.1.idl
$(openbus-idl-path)/src/openbus_export-2.1.idl
$(openbus-idl-path)/src/openbus_core-2.1.idl
$(openbus-idl-path)/src/openbus_creden-2.1.idl
$(scs-idl-path)/src/scs.idl
: idl2lua.compile
: <include>$(openbus-idl-path)/src
......@@ -133,10 +133,10 @@ make lua/openbus/core/legacy/parsed.lua
$(openbus-legacy-idl-path)/src/core.idl
$(openbus-legacy-idl-path)/src/credential.idl
$(scs-idl-path)/src/scs.idl
$(openbus-idl-path)/src/tecgraf/openbus/core/v2_1/services/legacy_support.idl
$(openbus-idl-path)/src/tecgraf/openbus/core/v2_1/services/access_control.idl
$(openbus-idl-path)/src/tecgraf/openbus/core/v2_1/core.idl
$(openbus-idl-path)/src/tecgraf/openbus/core/v2_1/credential.idl
$(openbus-idl-path)/src/openbus_legacy-2.1.idl
$(openbus-idl-path)/src/openbus_access-2.1.idl
$(openbus-idl-path)/src/openbus_core-2.1.idl
$(openbus-idl-path)/src/openbus_creden-2.1.idl
: idl2lua.compile
: <include>$(openbus-legacy-idl-path)/src
<include>$(openbus-idl-path)/src
......@@ -175,4 +175,3 @@ install stage
: luaopenbus
: <location>install
;
\ No newline at end of file
......@@ -7,9 +7,9 @@ local luaidl = require "luaidl"
local parse = luaidl.parse
local idlspec = [[
#include "tecgraf/openbus/core/v2_1/services/access_control.idl"
#include "tecgraf/openbus/core/v2_1/services/offer_registry.idl"
#include "tecgraf/openbus/core/v2_1/data_export.idl"
#include "openbus_access-2.1.idl"
#include "openbus_offers-2.1.idl"
#include "openbus_export-2.1.idl"
]]
local idlpath = os.getenv("OPENBUS_IDLPATH")
......
......@@ -7,7 +7,7 @@ local luaidl = require "luaidl"
local parse = luaidl.parse
local idlspec = [[
#include "tecgraf/openbus/core/v2_1/services/legacy_support.idl"
#include "openbus_legacy-2.1.idl"
#include "access_control.idl"
#include "offer_registry.idl"
#include "data_export.idl"
......
......@@ -47,25 +47,25 @@ LIBIDL= $(OPENBUSLIBIDL)/openbus.idl
LIBDEPENDENTIDL= $(OPENBUSLIBIDL)/corba.idl
NEWIDL= \
$(OPENBUSNEWIDL)/tecgraf/openbus/core/v2_1/services/access_control.idl \
$(OPENBUSNEWIDL)/tecgraf/openbus/core/v2_1/services/offer_registry.idl \
$(OPENBUSNEWIDL)/tecgraf/openbus/core/v2_1/data_export.idl
$(OPENBUSNEWIDL)/openbus_access-2.1.idl \
$(OPENBUSNEWIDL)/openbus_offers-2.1.idl \
$(OPENBUSNEWIDL)/openbus_export-2.1.idl
NEWDEPENDENTIDL= \
$(OPENBUSNEWIDL)/tecgraf/openbus/core/v2_1/core.idl \
$(OPENBUSNEWIDL)/tecgraf/openbus/core/v2_1/credential.idl \
$(OPENBUSNEWIDL)/openbus_core-2.1.idl \
$(OPENBUSNEWIDL)/openbus_creden-2.1.idl \
$(OPENBUSSCSIDL)/scs.idl
OLDIDL= \
$(OPENBUSNEWIDL)/tecgraf/openbus/core/v2_1/services/legacy_support.idl \
$(OPENBUSNEWIDL)/openbus_legacy-2.1.idl \
$(OPENBUSOLDIDL)/access_control.idl \
$(OPENBUSOLDIDL)/offer_registry.idl \
$(OPENBUSOLDIDL)/data_export.idl
OLDDEPENDENTIDL= \
$(OPENBUSNEWIDL)/tecgraf/openbus/core/v2_1/services/access_control.idl \
$(OPENBUSNEWIDL)/tecgraf/openbus/core/v2_1/core.idl \
$(OPENBUSNEWIDL)/tecgraf/openbus/core/v2_1/credential.idl \
$(OPENBUSNEWIDL)/openbus_access-2.1.idl \
$(OPENBUSNEWIDL)/openbus_core-2.1.idl \
$(OPENBUSNEWIDL)/openbus_creden-2.1.idl \
$(OPENBUSOLDIDL)/core.idl \
$(OPENBUSOLDIDL)/credential.idl \
$(OPENBUSSCSIDL)/scs.idl
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment