getting shared apps working
Robert Olson
olson at mcs.anl.gov
Tue Apr 29 10:55:06 CDT 2003
Check out the AG stuff from CVS. Pick a directory in which to put hte AG
config stuff; let's call it c:\agconfig for now.
cd to the top level of the checked out directory.
Run
python bin\CvsSetup.py -a . -d c:\agconfig
This creates a file env-init.bat; run this at the shell to set up the
proper environment variables.
You'll need to create a file
C:\Documents and Settings\USERNAME\Application Data\AccessGrid\mailcap
that contains this mailcap:
application/x-ag-shared-browser; python AGDIR\sharedapps\SharedBrowser.py
%s; description=This is the shared browser application;
nametemplate=%s.sharedbrowser
application/x-ag-shared-presentation;
AGDIR\sharedapps\SharedPresentation.bat %s; description=This is the shared
presentation viewer; nametemplate=%s.sharedpresentation
application/x-ag-shared-betty; AGDIR\serviceclients\serviceclient.py %s;
description=This is the shared betty xmlrpc client; nametemplate=%s.sharedbetty
where AGDIR is the location of the toplevel of your checked-out AccessGrid
tree.
You'll also have to copy the *.app files from AccessGrid/sharedapps to your
AG configuration dir. Create a direcotry c:\agconfig\applications, then
directories SharedBrowser and SharedPresentation underneath it. Copy
sharedapps\SharedBrowser.app to the just-created SharedBrowser dir;
similarly with SharedPresentation.
In order to use the shared presentation tool, you'll have to edit
AccessGrid/sharedapps/SharedPResentation.bat to point to the directory it
lives in (so it can find SharedPResentation.py).
(This is all the stuff as well that the installers for the apps will have
to do automatically, btw).
--bob
More information about the ag-dev
mailing list