Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DSDP - Target Management » Questions about remote execution
Questions about remote execution [message #20572] Fri, 04 April 2008 19:00 Go to next message
Denise Schmidt is currently offline Denise Schmidt
Messages: 66
Registered: July 2009
Member
I'd like to find out more information about what is coming in the next
release wrt executing commands and scripts on a remote system. I'm a
little confused about what is available and what will be available in the
next release. The TM Future Planning page mentions "Launch Actions",
"User Actions" and "Command framework". I'm not sure what all these terms
mean. The Launching Group link has a short presentation that helps some
but I have more questions. What we would like to do using RSE is to start
remote builds, run remote tools (scripts) providing input parameters from
within Eclipse, monitor the execution of remote scripts and things like
that. I'm having a tough time figuring out a good way to do this sort of
thing in the current release although I have gone through the tutorials
and examples (like the pop up menu example that shows contents of a .jar
file or runs nm on a file). Will the next release be making some of this
easier? If so, how? Thanks much in advance for any info.
Re: Questions about remote execution [message #20592 is a reply to message #20572] Tue, 08 April 2008 17:39 Go to previous messageGo to next message
Denise Schmidt is currently offline Denise Schmidt
Messages: 66
Registered: July 2009
Member
Follow up and more questions ...

Since I was able to get at an integration build for the next release, I
started to play around a bit with the User Actions. I think this addition
to RSE is really great! I do have a few questions though.

When performing a user action on my AIX system, the /etc/profile and my
$HOME/.profile are not invoked before the commands of the user action so
my PATH and other such things are not set up correctly. Is this
intentional such that we should invoke these as part of the User Action?
/etc/profile and $HOME/.profile are also not invoked when you launch a
remote shell separately though I thought they were in 2.0.3.

Also, will there be a way to create a set of "standard user actions" such
that we can deploy this set to a group of developers along with RSE
itself? We would love to create some basic Compile Commands and User
Actions that our developers do day to day using this framework.

Thanks!
Re: Questions about remote execution [message #20600 is a reply to message #20592] Fri, 11 April 2008 19:12 Go to previous messageGo to next message
David McKnight is currently offline David McKnight
Messages: 244
Registered: July 2009
Senior Member
Hi Denise,

The User Actions feature is still under development and may take a little
while before it's where it should be. Xuan should be able to answer more
about that.

As for the question about the profile, this might not be a user-actions
specific thing but rather to do with how you're connecting to the server on
AIX. If you use REXEC, the shell envrionment may be setup so that the
..profile might not be getting picked up. By comparision, if you connect to
a runner server, I think the profile would be run. Are you using ksh? I'm
not sure how to force the .profile to be picked up on AIX via a command.

Dave

"Denise Schmidt" <denise.schmidt@lmco.com> wrote in message
news:c697a9c2147da679e5f5d903ebf945ff$1@www.eclipse.org...
> Follow up and more questions ...
>
> Since I was able to get at an integration build for the next release, I
> started to play around a bit with the User Actions. I think this addition
> to RSE is really great! I do have a few questions though.
> When performing a user action on my AIX system, the /etc/profile and my
> $HOME/.profile are not invoked before the commands of the user action so
> my PATH and other such things are not set up correctly. Is this
> intentional such that we should invoke these as part of the User Action?
> /etc/profile and $HOME/.profile are also not invoked when you launch a
> remote shell separately though I thought they were in 2.0.3.
>
> Also, will there be a way to create a set of "standard user actions" such
> that we can deploy this set to a group of developers along with RSE
> itself? We would love to create some basic Compile Commands and User
> Actions that our developers do day to day using this framework.
>
> Thanks!
>
Re: Questions about remote execution [message #20608 is a reply to message #20600] Mon, 14 April 2008 17:33 Go to previous messageGo to next message
Denise Schmidt is currently offline Denise Schmidt
Messages: 66
Registered: July 2009
Member
I was using REXEC to start the server in this case. I would have to try
again connecting to a running server and see if the .profile files are
invoked.

I look forward to hearing more about the vision for user actions and
responses to my questions from Xuan. I like what I've seen so far.
Re: Questions about remote execution [message #20615 is a reply to message #20608] Tue, 15 April 2008 19:48 Go to previous messageGo to next message
Xuan is currently offline Xuan
Messages: 4
Registered: July 2009
Junior Member
Hi Denise,

User Action support is quite primitive right now, and we do plan to make
it better.

Right now, when you right click on a file or folder and choose any of a
submenu under Compile or User Action, a set of default compile commands
and user actions will be created for you. You could actually see those in
the Team View, by expanding your_profile_name -> Property sets.

As you probably know, you could define new Compile Command or User Action
by "Work With Compile Command" or "Work with User Actions" actions.

Right now, you could export those user actions as part of your profile,
but you could not export them separately yet. I checked with Dave
Dykstal, and he mentioned the API for exporting PropertySet is available
(User action and Compile command are implemented using PropertySet). So
what we could do is to add a an action on the your_profile_name ->
Property sets in Team view to call the proper API to export them. And add
import support to import them to RSE.

You could fire a bug to request for this feature, but it will probably be
in next our release.
Re: Questions about remote execution [message #20621 is a reply to message #20615] Thu, 17 April 2008 15:41 Go to previous message
Denise Schmidt is currently offline Denise Schmidt
Messages: 66
Registered: July 2009
Member
Thanks for the info Xuan. I will open a bug report for the features I'm
looking for.

David, I retried connecting to a running server instead of using REXEC and
the .profile was invoked. Thanks for that suggestion.
Re: Questions about remote execution [message #573595 is a reply to message #20572] Tue, 08 April 2008 17:39 Go to previous message
Denise Schmidt is currently offline Denise Schmidt
Messages: 66
Registered: July 2009
Member
Follow up and more questions ...

Since I was able to get at an integration build for the next release, I
started to play around a bit with the User Actions. I think this addition
to RSE is really great! I do have a few questions though.

When performing a user action on my AIX system, the /etc/profile and my
$HOME/.profile are not invoked before the commands of the user action so
my PATH and other such things are not set up correctly. Is this
intentional such that we should invoke these as part of the User Action?
/etc/profile and $HOME/.profile are also not invoked when you launch a
remote shell separately though I thought they were in 2.0.3.

Also, will there be a way to create a set of "standard user actions" such
that we can deploy this set to a group of developers along with RSE
itself? We would love to create some basic Compile Commands and User
Actions that our developers do day to day using this framework.

Thanks!
Re: Questions about remote execution [message #573616 is a reply to message #20592] Fri, 11 April 2008 19:12 Go to previous message
David McKnight is currently offline David McKnight
Messages: 244
Registered: July 2009
Senior Member
Hi Denise,

The User Actions feature is still under development and may take a little
while before it's where it should be. Xuan should be able to answer more
about that.

As for the question about the profile, this might not be a user-actions
specific thing but rather to do with how you're connecting to the server on
AIX. If you use REXEC, the shell envrionment may be setup so that the
..profile might not be getting picked up. By comparision, if you connect to
a runner server, I think the profile would be run. Are you using ksh? I'm
not sure how to force the .profile to be picked up on AIX via a command.

Dave

"Denise Schmidt" <denise.schmidt@lmco.com> wrote in message
news:c697a9c2147da679e5f5d903ebf945ff$1@www.eclipse.org...
> Follow up and more questions ...
>
> Since I was able to get at an integration build for the next release, I
> started to play around a bit with the User Actions. I think this addition
> to RSE is really great! I do have a few questions though.
> When performing a user action on my AIX system, the /etc/profile and my
> $HOME/.profile are not invoked before the commands of the user action so
> my PATH and other such things are not set up correctly. Is this
> intentional such that we should invoke these as part of the User Action?
> /etc/profile and $HOME/.profile are also not invoked when you launch a
> remote shell separately though I thought they were in 2.0.3.
>
> Also, will there be a way to create a set of "standard user actions" such
> that we can deploy this set to a group of developers along with RSE
> itself? We would love to create some basic Compile Commands and User
> Actions that our developers do day to day using this framework.
>
> Thanks!
>
Re: Questions about remote execution [message #573646 is a reply to message #20600] Mon, 14 April 2008 17:33 Go to previous message
Denise Schmidt is currently offline Denise Schmidt
Messages: 66
Registered: July 2009
Member
I was using REXEC to start the server in this case. I would have to try
again connecting to a running server and see if the .profile files are
invoked.

I look forward to hearing more about the vision for user actions and
responses to my questions from Xuan. I like what I've seen so far.
Re: Questions about remote execution [message #573670 is a reply to message #20608] Tue, 15 April 2008 19:48 Go to previous message
Xuan is currently offline Xuan
Messages: 4
Registered: July 2009
Junior Member
Hi Denise,

User Action support is quite primitive right now, and we do plan to make
it better.

Right now, when you right click on a file or folder and choose any of a
submenu under Compile or User Action, a set of default compile commands
and user actions will be created for you. You could actually see those in
the Team View, by expanding your_profile_name -> Property sets.

As you probably know, you could define new Compile Command or User Action
by "Work With Compile Command" or "Work with User Actions" actions.

Right now, you could export those user actions as part of your profile,
but you could not export them separately yet. I checked with Dave
Dykstal, and he mentioned the API for exporting PropertySet is available
(User action and Compile command are implemented using PropertySet). So
what we could do is to add a an action on the your_profile_name ->
Property sets in Team view to call the proper API to export them. And add
import support to import them to RSE.

You could fire a bug to request for this feature, but it will probably be
in next our release.
Re: Questions about remote execution [message #573694 is a reply to message #20615] Thu, 17 April 2008 15:41 Go to previous message
Denise Schmidt is currently offline Denise Schmidt
Messages: 66
Registered: July 2009
Member
Thanks for the info Xuan. I will open a bug report for the features I'm
looking for.

David, I retried connecting to a running server instead of using REXEC and
the .profile was invoked. Thanks for that suggestion.
Previous Topic:How to run single command and capture output using RSE
Next Topic:Set daemon port programmatically
Goto Forum:
  


Current Time: Wed Oct 22 12:17:26 GMT 2014

Powered by FUDForum. Page generated in 0.02697 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software