Hmmm -you could create a flow service (I’ll call it autoCompiler) that calls ps.util.system:executeOSCommand (from the PSUtilities2 pkg).
Set the command input variable to something like “c:\webm7\integrationserver\bin\jcode.bat makeall MyPackage”.
You could then set the autoCompiler flow service to be a Startup Service for the package.
And now for the qualifier: automatically compiling services does not seem like a good idea. Most things are possible, not all things are wise.
Before doing this, I’d think hard on why you need to do this and consider whether there is another way.
#webMethods#Integration-Server-and-ESB#Flow-and-Java-services