Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » Best practive for prototyping tools in Eclipse(Installation of tool in stand-alone mode: Possible practice? How?)
Best practive for prototyping tools in Eclipse [message #1857841] Wed, 01 March 2023 00:26 Go to next message
Jörn Guy Süß is currently offline Jörn Guy SüßFriend
Messages: 320
Registered: July 2009
Location: Anstead, Brisbane, Queens...
Senior Member

I have had a significant number of use cases developing in Epsilon where I want to prototype a tool while developing a workflow. Such tools usually only have Java library dependencies. It is quite tedious and a bit brittle to perform a deployment of the plugin into the platform to merely make a project-scoped and prototypical tool available.

I have seen the advice on installing the tool into the context in stand-alone mode. I wonder if such a call would also be possible from Eclipse mode somehow?


context.getNativeTypeDelegates().add(new ExtensionPointToolNativeTypeDelegate());


It seems that from EOLmodule the context is available. I assume what would be missing is a means to specify the additional classpath. If EOLModule had a

addNativeTypes(String classpath);


method, this would allow a much smoother development experience.

Any views on this?
Re: Best practive for prototyping tools in Eclipse [message #1857846 is a reply to message #1857841] Wed, 01 March 2023 11:47 Go to previous messageGo to next message
Dimitris Kolovos is currently offline Dimitris KolovosFriend
Messages: 2163
Registered: July 2009
Location: York, UK
Senior Member

To avoid having to install the tool from an update site for every change you make to it, my suggestion would be to use an Eclipse instance to develop your tool, and a second (nested) Eclipse instance (ran in Debug mode) to edit/execute your Epsilon programs. Modifying the classpath at runtime can be tricky to get right across different operating systems and versions of Java so I'd avoid doing that.

Thanks,
Dimitris
Re: Best practive for prototyping tools in Eclipse [message #1857847 is a reply to message #1857846] Wed, 01 March 2023 12:58 Go to previous message
Antonio Garcia-Dominguez is currently offline Antonio Garcia-DominguezFriend
Messages: 594
Registered: January 2010
Location: Birmingham, UK
Senior Member

Additing to what Dimitris said, the debug mode would allow you to take advantage of hot code replace as well.

[Updated on: Wed, 01 March 2023 12:59]

Report message to a moderator

Previous Topic:Delegating to EOL from EMF
Next Topic:Importing dynamic content from a resource
Goto Forum:
  


Current Time: Thu Apr 25 03:39:14 GMT 2024

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

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

Back to the top