In most programming IDE I can run a process (a jar or exe) before compile or build. For example, I can run an exe file to generate a few classes. This is more enhanced with text templates in Visual Studio.
Is it possible to run a process before compile or build in Netbeans? Do we have a similar concept like text templates in NetBeans? I am using NetBeans version 8.0.2