Skip to main content



      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] Tue, 28 February 2023 19:26 Go to next message
Eclipse UserFriend
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 06:47 Go to previous messageGo to next message
Eclipse UserFriend
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 07:58 Go to previous message
Eclipse UserFriend
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 07:59] by Moderator

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


Current Time: Tue Jul 01 14:26:48 EDT 2025

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

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

Back to the top