How to create IVMConnector implementation? [message #1798162] |
Tue, 13 November 2018 09:15  |
Eclipse User |
|
|
|
Hi, I would like to create an IVMConnector implementation and add it as one of the org.eclipse.jdt.launching.vmConnectors extension points. I initially tried to do this as an experiment by downloading the whole of Eclipse (git clone -b R4_6_maintenance --recursive git://git.eclipse.org/gitroot/platform/eclipse.platform.releng.aggregator.git), building it, then adding my new class to eclipse.jdt.debug/org.eclipse.jdt.launching and also plugin.xml and rebuilding the org.eclipse.jdt.launching jar. I ran into a couple of issues:
- the maven build kept reverting to the baseline classes in the jar until I modified jgit.dirtyWorkingTree-platformDefault
- the resulting jar is still not recognized by my existing Eclipse and I think this may be a jar signing issue. Can't seem to find a quick answer to this.
So I'm guessing that I should be creating a plugin for this from scratch. Is this likely to work, are all the things I need going to be available as bundle exports? Any recommended guides or examples on writing such a plugin? I'm hoping to include both the IVMConnector and the VirtualMachine implementations in the jar.
Thanks,
David
|
|
|
|
Re: How to create IVMConnector implementation? [message #1798170 is a reply to message #1798165] |
Tue, 13 November 2018 10:05  |
Eclipse User |
|
|
|
Hi, thanks. Reason for downloading the whole thing was that I mistakenly thought it would be quicker to do a POC by modifying an existing plugin rather than starting from scratch.
Also at some point I want to try adding new buttons to the tool bar that contains the "Resume", "Suspend", "Terminate" etc buttons. I'd assumed that kind of thing wouldn't be possible via an extension but if it is, great.
Cheers,
David
|
|
|
Powered by
FUDForum. Page generated in 0.27629 seconds