Skip to main content



      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 05:57 Go to next message
Eclipse UserFriend
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 10:13 Go to previous messageGo to next message
Eclipse UserFriend
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 02:09 Go to previous message
Eclipse UserFriend
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 10:13 Go to previous message
Eclipse UserFriend
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 02:09 Go to previous message
Eclipse UserFriend
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: Wed Apr 16 04:08:39 EDT 2025

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

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

Back to the top