Skip to content
Snippets Groups Projects
Commit c4cfa1ad authored by Herwin van Welbergen's avatar Herwin van Welbergen
Browse files

Merge branch 'master' of /vol/www/techfak/ags/soa/git/ipaaca

parents a64bd712 80fb150d
No related branches found
No related tags found
No related merge requests found
REQUIRED="rsb"
OPTIONAL=""
...@@ -8,6 +8,8 @@ using namespace rsb::filter; ...@@ -8,6 +8,8 @@ using namespace rsb::filter;
using namespace rsb::converter; using namespace rsb::converter;
using namespace rsb::patterns; using namespace rsb::patterns;
#define VERBOSE_HANDLERS 0
// util and init//{{{ // util and init//{{{
bool Initializer::_initialized = false; bool Initializer::_initialized = false;
...@@ -238,7 +240,13 @@ void IUEventHandler::call(Buffer* buffer, boost::shared_ptr<IUInterface> iu, boo ...@@ -238,7 +240,13 @@ void IUEventHandler::call(Buffer* buffer, boost::shared_ptr<IUInterface> iu, boo
if (_condition_met(event_type, category)) { if (_condition_met(event_type, category)) {
//IUInterface::ptr iu = buffer->get(uid); //IUInterface::ptr iu = buffer->get(uid);
//if (iu) { //if (iu) {
#if VERBOSE_HANDLERS == 1
std::cout << "[" << pthread_self() << " handler ENTER]" << std::endl;
#endif
_function(iu, event_type, local); _function(iu, event_type, local);
#if VERBOSE_HANDLERS == 1
std::cout << "[" << pthread_self() << " handler EXIT]" << std::endl;
#endif
//} //}
} }
} }
......
#!/bin/bash #!/bin/bash
PACKAGES="rsb" # This file is deprecated.
# Resolution is performed automatically in the soa script.
eval "`grep '^REQUIRED=\|^OPTIONAL=' DEPS.txt`"
REQ="$REQUIRED"
OPT="$OPTIONAL"
shopt -q nullglob || resetnullglob=1 shopt -q nullglob || resetnullglob=1
shopt -s nullglob shopt -s nullglob
...@@ -12,7 +17,8 @@ mkdir -p deps/lib ...@@ -12,7 +17,8 @@ mkdir -p deps/lib
mkdir -p deps/include mkdir -p deps/include
mkdir -p deps/scripts mkdir -p deps/scripts
mkdir -p deps/python mkdir -p deps/python
for P in $PACKAGES; do for P in $REQ $OPT; do
echo "Importing from $P ..."
files=(../$P/dist/bin/*); files=(../$P/dist/bin/*);
[ "$files" ] && cp -a ../$P/dist/bin/* deps/bin/ [ "$files" ] && cp -a ../$P/dist/bin/* deps/bin/
files=(../$P/dist/lib/*); files=(../$P/dist/lib/*);
...@@ -25,7 +31,12 @@ for P in $PACKAGES; do ...@@ -25,7 +31,12 @@ for P in $PACKAGES; do
[ "$files" ] && for zipfile in ../$P/dist/python/*.zip; do [ "$files" ] && for zipfile in ../$P/dist/python/*.zip; do
unzip -oqq $zipfile -d deps/python unzip -oqq $zipfile -d deps/python
done done
files=(../$P/dist/*.py.zip);
[ "$files" ] && for zipfile in ../$P/dist/*.py.zip; do
unzip -oqq $zipfile -d deps/python
done
done done
echo "Done."
[ "$resetdotglob" ] && shopt -u dotglob [ "$resetdotglob" ] && shopt -u dotglob
[ "$resetnullglob" ] && shopt -u nullglob [ "$resetnullglob" ] && shopt -u nullglob
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment