summaryrefslogtreecommitdiff
path: root/application.rb
diff options
context:
space:
mode:
authorAndreas Maunz <andreas@maunz.de>2012-10-01 13:47:36 +0200
committerAndreas Maunz <andreas@maunz.de>2012-10-01 13:47:36 +0200
commit42921e0c4e12836deb217680ce26603db15628d2 (patch)
treeb84fe6fbbd9a596b6efb59b64c9ef23d089548b5 /application.rb
parent3d8b4542e051d8ea3535bd0d917019e41f97e653 (diff)
PC calculation
Diffstat (limited to 'application.rb')
-rw-r--r--application.rb14
1 files changed, 14 insertions, 0 deletions
diff --git a/application.rb b/application.rb
index d45d579..92f5c30 100644
--- a/application.rb
+++ b/application.rb
@@ -1,6 +1,20 @@
+# dataset.rb
+# Loads libraries and webapps
+# Author: Christoph Helma, Andreas Maunz
+
require 'roo'
+
+# Library code
+$logger.debug "Dataset booting: #{$compound.collect{|k,v| "#{k}: '#{v}'"} }"
+Dir['./lib/utils/shims/*.rb'].each { |f| require f } # Shims for legacy code
+Dir['./lib/utils/*.rb'].each { |f| require f } # Utils for Libs
+Dir['./lib/compound/*.rb'].each { |f| require f } # Libs
+Dir['./lib/*.rb'].each { |f| require f } # Libs
+Dir['./webapp/*.rb'].each { |f| require f } # Webapps
+
#require 'profiler'
+# Entry point
module OpenTox
class Application < Service