Manik-Hot-Deploy is a plugin for the Eclipse IDE which brings auto-deploy and hot-deploy functionallity to the development of web applications. The plugin is Open Source and supports Glassfish, Payara, JBoss, Wildfly and other application servers.
With the latest Release 1.0.6 the plugin improves the Payara Autodeploy support. The new version provides a setting for the target folder with a default setting for maven projects.
To enable the autodeploy feature for Payara you also have to set ‘autodeploy-enabled=true in the ‘das-config’ section of the domain.xml file.
Eclipse IDE provides a cool feature which allows you to execute XSL templates within the IDE. You just need to select the XSL file together with the XML file and choose from the context menu
Run As -> XSL Transformation
But for some reasons Eclipse is not supporting XSL 2.0 – which is standard in these days. So for example if you try to use xsl functions like ‘format-date-time’ or ‘replace’ this will not work. This is also true for Wilfly application server. So here is how to add XSLT 2.0 support for both – Eclipse and Wilffly
You can install an XSLT 2.0 processor manually into your Eclipse IDE:
Unzip the package to get the saxon9he.jar file and place it into your workspace or some external folder
In eclipse choose “Window > Preferences” then “XML > XSL > Java Processors > Add”
Fill in a “Processor Name”, e.g. “Saxon XSLT 2.0”
In field “Processor type” choose “Saxon (XSLT 2.0)”
Choose “Add external jar” and choose your saxon jar, e.g. “saxon9he.jar”
Confirm by clicking “OK”
Now you can use saxon for XSLT 2.0 transformations in Eclipse. You need just configure your Run As Configurations and select the option ‘use specific process‘ to select the newly added Saxon processor.
Also wildfly server supports only XSL 1.0 per default. If you need XSL 2.0 in your application add the following maven dependency:
After downloading the new Eclipse IDE Mars I was disappointed of the corrupted design. Several dialog pages did not work as expected or were empty until the dialog window was resized.
As Eclipse release 4.5 (Mars) is based on GTK 3, the problem in my case was the missing library “gtk3-engines-oxygen”. This it the so called Oxygen widget theme for GTK3-based applications like the Eclipse Mars release.
After installing the missing library with apt:
apt-get install gtk3-engines-oxygen
the Eclipse Mars Release works perfect!
Customize Eclipse them Jeeeyul’s Eclipse Themes
A very nice plug-in for Eclipse is the ‘Jeeeyul’s Eclipse Themes‘. This plug-in provides a set of cool themes for eclipse and also a cool editor to customize the theme individually.
Adjusting the window margins
Another annoying thing in Eclipse GTK with Gnome is the small margin between to windows so you cant grasp the space with the mouse to resize the view.This problem can also be solved directly with the Jeeeyul’s plug-in:
In the ‘General’ section of the Jeeeyul’s Themes section you can change the “Winddow Pacing”. Disable the option ‘Cast Shadow’ and set ‘Part Stack Spacing’ to 5 and ‘Margins’ to 0. After that you need to restart Eclipse.
Alternative: Disable GTK3
An alternative is to simply deactivate GTK3 for Eclipse Mars. You need to set the environment variable ‘SWT_GTK3’ to ‘0’.
I am using the following bash start script to launch Eclipse Mars:
In this tutorial I explain some of my experiences in extending the Eclipse BPMN2 Modeler with custom elements and properties. I am extending the BPMN2 Modeler to provide a custom BPMN runtime extension for the Imixs-Workflow Project. You will find the results of this project here.