Application -- Venue interaction
Terry Disz
disz at mcs.anl.gov
Tue Sep 23 12:39:09 CDT 2003
Eric,
How do I use this when I have some module dependencies in my python
programs? I can't tell how to tell it to include other modules.
Also, how do I un-register an app when I have decided I no longer want
it available?
Thanks,
Terry
-----Original Message-----
From: owner-ag-dev at mcs.anl.gov [mailto:owner-ag-dev at mcs.anl.gov] On
Behalf Of Eric Olson
Sent: Friday, September 12, 2003 4:57 PM
To: ag-dev at mcs.anl.gov
Subject: RE: Application -- Venue interaction
Here is a quick sample on how to use the venueUrl option that Ivan
recently added. All this example does is register the app and then let
your app be launched from the venueclient with the venueUrl provided as
an
argument. The SampleApp just prints the url and exits. I sent this to
Terry, but others may want to comment on it or try it -- if so, just
follow the instructions below.
Eric
---------- Forwarded message ----------
Date: Fri, 12 Sep 2003 14:42:45 -0500 (CDT)
From: Eric Olson <eolson at mcs.anl.gov>
To: Terrence Disz <disz at mcs.anl.gov>
Subject: sample app
Hi Terry,
This only works in cvs right now and of course the methods for doing
these
things may change with future releases. The two files attached should
be
in the same directory.
1) Run RegisterSampleApp.py to register SampleApp.py.
In windows (in linux use python2):
python RegisterSampleApp.py
2) Restart the venueclient (in debug mode --debug so you can see the
print
statement later) and join a venue. You should see "Start Sample App" in
venue applications. It will put a "Sample App" entry under Applications
in the current venue, and will also run it.
3) Open or double-click the new "Sample App". The SampleApp.py will run
and print out the current venue url (in windows, you will probably only
see it if you run the venueclient in debug mode).
You no longer need the two files because SampleApp.py has been copied to
your .AccessGrid/SharedApplications directory and it runs from there.
Let me know if you have any problems.
Eric
More information about the ag-dev
mailing list