Commit 97762fe9 authored by Hugo Roenick's avatar Hugo Roenick
Browse files

[OPENBUS-1653] Corrigir a configuração dos demos do SDK-Lua

git-svn-id: https://subversion.tecgraf.puc-rio.br/engdist/openbus/sdk/lua/branches/OB_SDK_LUA_v1_05_03_2011_07_28@124685 ae0415b3-e90b-0410-900d-d0be9363c56b
parent fbcd06ce
...@@ -41,7 +41,7 @@ end ...@@ -41,7 +41,7 @@ end
-- Execuo -- Execuo
function main () function main ()
-- Carga da IDL Hello -- Carga da IDL Hello
orb:loadidlfile("../idl/delegate.idl") orb:loadidlfile("idl/delegate.idl")
-- Conexo com o barramento (tem de ser por certificado para o delegate) e obteno do componente HelloComponent -- Conexo com o barramento (tem de ser por certificado para o delegate) e obteno do componente HelloComponent
local entityName = props["entity.name"].value local entityName = props["entity.name"].value
......
...@@ -30,7 +30,7 @@ end ...@@ -30,7 +30,7 @@ end
-- Execuo -- Execuo
function main () function main ()
-- Carga da IDL Hello -- Carga da IDL Hello
orb:loadidlfile("../idl/delegate.idl") orb:loadidlfile("idl/delegate.idl")
-- Permite que o ORB comece a aguardar requisies -- Permite que o ORB comece a aguardar requisies
openbus:run() openbus:run()
......
#!/bin/sh #!/bin/ksh
${OPENBUS_HOME}/bin/lua5.1 client.lua $1 ${OPENBUS_HOME}/bin/lua5.1 client.lua $1
#!/bin/sh #!/bin/ksh
${OPENBUS_HOME}/bin/lua5.1 server.lua ${OPENBUS_HOME}/bin/lua5.1 server.lua
...@@ -27,7 +27,7 @@ local orb = openbus:getORB() ...@@ -27,7 +27,7 @@ local orb = openbus:getORB()
-- Execuo -- Execuo
function main () function main ()
-- Carga da IDL Hello -- Carga da IDL Hello
orb:loadidlfile("../idl/hello.idl") orb:loadidlfile("idl/hello.idl")
-- Conexo com o barramento e obteno do componente HelloComponent -- Conexo com o barramento e obteno do componente HelloComponent
local login = props.login.value local login = props.login.value
......
...@@ -34,7 +34,7 @@ end ...@@ -34,7 +34,7 @@ end
-- Execuo -- Execuo
function main () function main ()
-- Carga da IDL Hello -- Carga da IDL Hello
orb:loadidlfile("../idl/hello.idl") orb:loadidlfile("idl/hello.idl")
-- Permite que o ORB comece a aguardar requisies -- Permite que o ORB comece a aguardar requisies
openbus:run() openbus:run()
......
Supports Markdown
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