Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Executing External tool (.exe,.bat etc) from the plugin
Executing External tool (.exe,.bat etc) from the plugin [message #56581] Fri, 17 April 2009 09:57 Go to next message
Shrijeet is currently offline ShrijeetFriend
Messages: 14
Registered: July 2009
Junior Member
Hi ,

I am new to plugin development. I was able to successfully write some view
and few other plugins. However my requirement is that I should be able to
execute the external tools through my plugin script.

I was able to execute my executable by makind a new external tool
configuration however I dont know how I can do it from inside my plugin
and not the extenal tool configuration wizard?

Thanks in advance.

~Shri
Re: Executing External tool (.exe,.bat etc) from the plugin [message #56692 is a reply to message #56581] Fri, 17 April 2009 14:13 Go to previous messageGo to next message
Ankur Sharma is currently offline Ankur SharmaFriend
Messages: 84
Registered: July 2009
Member
Shrijeet wrote:
> Hi ,
>
> I am new to plugin development. I was able to successfully write some
> view and few other plugins. However my requirement is that I should be
> able to execute the external tools through my plugin script.
> I was able to execute my executable by makind a new external tool
> configuration however I dont know how I can do it from inside my plugin
> and not the extenal tool configuration wizard?
>
> Thanks in advance.
>
> ~Shri
>

You do it in plugin the same way u wud do it in java. Use Runtime.exec()

--
hth,
Ankur..
Re: Executing External tool (.exe,.bat etc) from the plugin [message #57039 is a reply to message #56692] Mon, 20 April 2009 06:09 Go to previous message
Shrijeet is currently offline ShrijeetFriend
Messages: 14
Registered: July 2009
Junior Member
Thanks... Worked for me!!
Re: Executing External tool (.exe,.bat etc) from the plugin [message #595729 is a reply to message #56581] Fri, 17 April 2009 14:13 Go to previous message
Ankur Sharma is currently offline Ankur SharmaFriend
Messages: 84
Registered: July 2009
Member
Shrijeet wrote:
> Hi ,
>
> I am new to plugin development. I was able to successfully write some
> view and few other plugins. However my requirement is that I should be
> able to execute the external tools through my plugin script.
> I was able to execute my executable by makind a new external tool
> configuration however I dont know how I can do it from inside my plugin
> and not the extenal tool configuration wizard?
>
> Thanks in advance.
>
> ~Shri
>

You do it in plugin the same way u wud do it in java. Use Runtime.exec()

--
hth,
Ankur..
Re: Executing External tool (.exe,.bat etc) from the plugin [message #595876 is a reply to message #56692] Mon, 20 April 2009 06:09 Go to previous message
Shrijeet is currently offline ShrijeetFriend
Messages: 14
Registered: July 2009
Junior Member
Thanks... Worked for me!!
Previous Topic:Problem with headless build on Eclipse 3.4.2
Next Topic:Enabling update sites when doing a headless build
Goto Forum:
  


Current Time: Tue Aug 03 21:55:47 GMT 2021

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

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

Back to the top