Commit 47522591 authored by UllrichSchwanke's avatar UllrichSchwanke
Browse files

guess

parent 2e6dc3e4
# acsjavaexamples
Ulli Schwanke
1) build
cd src/
make all install
2) run
i) point ACS_CDB to acsjavaexamples/test
ii) acsStop/acsStart (to make sure ACS knows the new CDB)
ii) cd acsjavaexamples/test
source ./runMe #start container
python test.py
Things to note about this example:
1) The ACS component has the flag
KeepAliveTime="-1"
set in $ACS_CDB/CDB/MACI/Components/Components.xml
This means that the component is 'immortal' i.e. it
will remain active without clients. Observe how the counter
'private Integer m_state;' is counting up whenever one runs test.py
Without the KeepAliveTime="-1" the component would be reloaded
each time test.py is run. This would set the counter to 0.
2) There is a line
COMPONENT_HELPERS=on
in src/Makefile. As a consequence, a file
src/cta/dcmsttel/TestClassImpl/TestClassComponentHelper.java.tpl
is created every time one runs the IDL compiler (i.e. on 'make all')
One just needs to rename
src/cta/dcmsttel/TestClassImpl/TestClassComponentHelper.java.tpl
in
src/cta/dcmsttel/TestClassImpl/TestClassComponentHelper.java.tpl
but in fact this file is already part of the repository.
\ No newline at end of file
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