<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>tools/start-memcached</filename>
    </added>
    <added>
      <filename>tools/test-memcached</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -25,6 +25,14 @@ Getting started with your Dolomite foundation
 - Activate your dolomite foundation environment with the command:
   
     source dolomite-env/bin/activate
+    
+- Start local memcached daemon:
+
+    start-memcached
+    
+- Test local memcached daemon:
+
+    test-memcached
 
 - When done, you can deactivate the dolomite foundation environment:
 </diff>
      <filename>README</filename>
    </modified>
    <modified>
      <diff>@@ -5,6 +5,8 @@ function die()
     exit 1
 }
 
+rm -rf tmp
+
 ./build.py memcached
 if [ ! $? -eq 0 ]; then
     die &quot;Encountered error building memcached.  Check messages and try again.&quot;
@@ -15,6 +17,8 @@ if [ ! $? -eq 0 ]; then
     die &quot;Encountered error building memcachedb.  Check messages and try again.&quot;
 fi
 
-cd tools
+cp -r tools/* tmp/tar/dolomite-env/bin
+
+cd tmp/tar
 
 tar cvvfz ../tools-ubuntu-8.10.tgz .</diff>
      <filename>build-all</filename>
    </modified>
    <modified>
      <diff>@@ -4,12 +4,14 @@ import subprocess as proc
 import warnings
 
 warnings.filterwarnings('ignore','.*apt API not stable yet.*')
-
 import apt
 
+TOOLS_BIN_FOLDER = 'tmp/tar/dolomite-env/bin'
+
 def create_dir(name):
     if not os.path.exists(name):
-        os.mkdir(name)
+        #os.mkdir(name)
+        os.makedirs(name)
         
 def dependenciesMet(packages):
     met = True
@@ -24,9 +26,9 @@ def dependenciesMet(packages):
 def copy_built_files(files, build_dir):
     if type(files) is list:
         for f in files:
-            shutil.copy('tmp/%s/%s' % (build_dir, f), 'tools/dolomite-env/bin')
+            shutil.copy('tmp/%s/%s' % (build_dir, f), TOOLS_BIN_FOLDER)
     else:
-        shutil.copy('tmp/%s/%s' % (build_dir, files), 'tools/dolomite-env/bin')
+        shutil.copy('tmp/%s/%s' % (build_dir, files), TOOLS_BIN_FOLDER)
         
 def usage():
     print(&quot;Usage: %s component_name&quot; % sys.argv[0])
@@ -52,10 +54,7 @@ def main():
 
     config = get_config(component)
     
-    create_dir('tmp')
-    create_dir('tools')
-    create_dir('tools/dolomite-env')
-    create_dir('tools/dolomite-env/bin')
+    create_dir(TOOLS_BIN_FOLDER)
 
     os.chdir('tmp')
 </diff>
      <filename>build.py</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>5d7626cc3e9e7607297250106f67b56be2a09e09</id>
    </parent>
  </parents>
  <author>
    <name>Christian Carey</name>
    <email>ccarey@apophxf130dh1.(none)</email>
  </author>
  <url>http://github.com/CarlosGabaldon/dolomite/commit/44bc6a3f8d25cd808889637641021b16e9cc1ec5</url>
  <id>44bc6a3f8d25cd808889637641021b16e9cc1ec5</id>
  <committed-date>2009-02-26T19:21:23-08:00</committed-date>
  <authored-date>2009-02-26T15:46:40-08:00</authored-date>
  <message>add script to start memcached and a test to make sure it's running

Signed-off-by: Carlos Gabaldon &lt;cgabaldon@cox.net&gt;</message>
  <tree>1292d7d1188e3e3ccfc7d29319237ddf394c4f44</tree>
  <committer>
    <name>Carlos Gabaldon</name>
    <email>cgabaldon@cox.net</email>
  </committer>
</commit>
