summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/hosting/server/apps.py
diff options
context:
space:
mode:
authorjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2012-01-30 15:56:11 +0000
committerjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2012-01-30 15:56:11 +0000
commitf4c4803ce0c14585e3c2af3641d94b651877e04c (patch)
tree9f10df32f2d34a3c697aaee897bad0b180922095 /sca-cpp/trunk/hosting/server/apps.py
parent1b10f18fce6baeb721a725661ded630614831304 (diff)
Refactor server hosting module, rename it and move it under a hosting dir, and refactor its datastore components into a single component.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1237740 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--sca-cpp/trunk/hosting/server/apps.py (renamed from sca-cpp/trunk/modules/edit/apps.py)8
1 files changed, 4 insertions, 4 deletions
diff --git a/sca-cpp/trunk/modules/edit/apps.py b/sca-cpp/trunk/hosting/server/apps.py
index 35a4c79e33..cc84544dd5 100644
--- a/sca-cpp/trunk/modules/edit/apps.py
+++ b/sca-cpp/trunk/hosting/server/apps.py
@@ -21,14 +21,14 @@ from util import *
# Convert an id to an app id
def appid(id):
- return ("'" + car(id), "'app.stats")
+ return ("'apps", "'" + car(id), "'app.stats")
# Link implementation resources into an app
def mkapplink(id):
try:
- os.symlink('../../../../../nuvem/nuvem-parallel/nuvem', 'apps/' + car(id) + '/nuvem')
- os.symlink('../../../../components', 'apps/' + car(id) + '/lib')
- os.mkdir('apps/' + car(id) + '/htdocs')
+ os.symlink('../../../../../../nuvem/nuvem-parallel/nuvem', 'data/apps/' + car(id) + '/nuvem')
+ os.symlink('../../../../../components', 'data/apps/' + car(id) + '/lib')
+ os.mkdir('data/apps/' + car(id) + '/htdocs')
except:
pass
return True