On Tue, 30 Oct 2007 13:52:48 -0400 (EDT) gaurav khanna <[EMAIL PROTECTED]> wrote:
> Thanks for the reply. Well, I had thought about the script idea earlier > but then didnt go with it since I do not want to change the existing user > interface of globus-url-copy. I want to make all these changes transparent > to an end-client. Couldn't you keep the existing interface? mv globus-url-copy real-globus-url-copy touch globus-url-copy chmod +x globus-url-copy echo "#!/bin/sh" >> globus-url-copy echo "# do something" >> globus-url-copy echo "real-globus-url-copy $@" >> globus-url-copy Tim > > Regards > Gaurav > > > > Gaurav Khanna > Phd Student > CSE Department,OSU > > Phone (office):614-292-7036 > > On Tue, 30 Oct 2007, John Bresnahan wrote: > > > i still strongly suggest you script around globus-url-copy. i dont see > > what coding directly into it buys you other than pain and suffering. > > > > however, if you are into pain and suffering then you first must build the > > bindings package at: > > > > ws-mds/index/c/bindings > > > > This will generate the headers for which you are looking. > > > > gaurav khanna wrote: > > > Regarding the example mentioned in ws-mds/index/c/index_add, it seems to > > > be built using an Index Service. However, none of the files > > > IndexService_client.h, IndexEntryService_client.h, IndexService.h etc. > > > seem to be present in the distribution. I just want to build it and try it > > > to see what it is trying to accomplish. > > > > > > Regards > > > Gaurav > > > > > > Gaurav Khanna > > > Phd Student > > > CSE Department,OSU > > > > > > Phone (office):614-292-7036 > > > > > > On Mon, 29 Oct 2007, Neill Miller wrote: > > > > > >> Hello, > > >> > > >> On Mon, Oct 29, 2007 at 02:02:42PM -0400, gaurav khanna wrote: > > >>> To do this, I am trying to write a ExternalElementProducer > > >>> Information provider. This requires specifying the location of a script > > >>> in the file rp-provider-config.xml and to specify the periodicity with > > >>> which it will run and populate MDS. However, for my purpose, > > >>> a globus-url-copy call should send the data to MDS as and when it is > > >>> called. So, this is more like an on-demand push based data publishing > > >>> model instead of a pull based model which seems to be used when a script > > >>> runs periodically and MDS gets the > > >>> data from it. > > >>> > > >>> Essentially what I need is some C API which when used within > > >>> globus-url-copy, would transfer or push the above mentioned data to the > > >>> MDS. Is it possible to do that in Globus ? > > >> Ok, I've asked around a bit and there are some C bindings for what > > >> you're trying to do. I don't know of documentation of the API, but if > > >> you look in the ws-mds module, there is an example of something > > >> similar that should help you located at: > > >> > > >> ws-mds/index/c/index_add/* > > >> > > >> If you really just want to modify globus-url-copy, you can just use > > >> the C bindings and not bother with an information provider. > > >> > > >> -Neill. > > >> > > > > > > ----------------------------------------- Tim Freeman - [EMAIL PROTECTED] http://www-unix.mcs.anl.gov/~tfreeman/ Grid Search: http://www.gridindex.org
