Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-dev] programatically creating RM Config

In terms of doing this programmatically, you can indeed feed an RM a configuration programmatically.  

If you look at the code for the ResourceManager Wizard, you will see how it is done.  Let me dig that up for you and point you to it.  Back in a second...

----- Albert L. Rossi <arossi@xxxxxxxxxxxxx> wrote:
> Hari,
> 
> Are you saying that you want a list of available remote machines, choose from the list, and have it automatically choose the appropriate XML that you have already written? If so, does the XML reside locally or remotely? 
> 
> Or, are you asking for some way to "fill in" a partially written XML file with machine-dependent information (other than just the connection URL)?  If this is what you mean, that is a very hard problem to solve.
> 
> In any case, these would be features that we would have to add in the future.  Tomorrow is the last build before the release.
> 
> Cheers, Al 
> 
> 
> ----- Hari Krishnan <hkrish4@xxxxxxxxxxxxxx> wrote:
> > Hi,
> > 
> > I have a xml file that describes RM. I can see them on add resource manager
> > dialog. But What I want is just a program that directly automates the
> > configuration parts with remote machine. I want a method in ptp that
> > actually creates a RM by the xml file and remote machine name as input.. I
> > just need to call that method in my plug-in to create a resource manager
> > with that xml file and remote machine name.
> > 
> > Cheers
> > Hari
> > 
> > On Mon, Jun 6, 2011 at 11:17 AM, Albert L. Rossi <arossi@xxxxxxxxxxxxx>wrote:
> > 
> > > Hari,
> > >
> > > I'm not sure what you mean here.  The new RM is "defined" by an XML file.
> > >  That is, its properties, commands, and UI parts are all configured there.
> > >  When you selected one of those definition files, the RM is generated.
> > >
> > > But I have a feeling that's not what you're asking.  Are you looking to be
> > > able to generate the XML programmatically (instead of writing it by hand)?
> > >  There is currently no provision for this, but we certainly could consider
> > > it in the future.  I would need to get some user requirements as to how one
> > > would expect this to work.
> > >
> > > Thanks,
> > > Al
> > > ----- Hari Krishnan <hkrish4@xxxxxxxxxxx> wrote:
> > > > Hi,
> > > >
> > > > We just need a method in ptp 5.0 to programatically create a service
> > > > configuration with a xml file for the resource manager. Is there any
> > > > facility like this available already or still in development?
> > > >
> > > > Cheers,
> > > > Hari
> > > > _______________________________________________
> > > > ptp-dev mailing list
> > > > ptp-dev@xxxxxxxxxxx
> > > > https://dev.eclipse.org/mailman/listinfo/ptp-dev
> > > >
> > >
> > > _______________________________________________
> > > ptp-dev mailing list
> > > ptp-dev@xxxxxxxxxxx
> > > https://dev.eclipse.org/mailman/listinfo/ptp-dev
> > >
> > 
> > 
> > 
> > -- 
> > *Regards
> > Hari Krishnan*.
> > Department of Computer Science.
> > Louisiana State University.
> 
> _______________________________________________
> ptp-dev mailing list
> ptp-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/ptp-dev
> 



Back to the top