|Defining an external tool for my plug-in [message #1060929]
||Wed, 29 May 2013 08:16
| Marco Naddeo
Registered: November 2012
Hi all. |
I tried to create, as user from my plug-in, a new external tool configuration to simply execute a .bat wich launches an external compiler of the language for which I implemented an IDE using Xtext. I did so by selecting External Tools -> External Tools Configurations... -> New Program, and then by filling the information about location of the .bat, working directory and arguments.
Now, I'm trying to define this external tool which execute my .bat directly in my plug-in, by using the Eclipse launching API, but I have some problems...
I've declared a launch configuration type in my non-UI (domain) project, and I've imported org.eclipse.debug.core and org.eclipse.debug.ui, and created a delegate class which extends org.eclipse.debug.core.ILaunchConfigurationDelegate. But when I launch my plug-in, I don't see my external tool under External Tools.
Where I'm wrong? Is there some simple example about implementing an external tool that simply launches a .bat, using Eclipse launching API?
Thanks in advance,
Powered by FUDForum
. Page generated in 0.01822 seconds