Print message to spring shell while the shell is starting up

I'm using spring shell and I want to add some "loading.." message so when the user open the shell the message will shown immediately (on the shell).

My idea is to add "ECHO loading" command to the batch file but I can't figure out how can I add some print command to the batch file that is created using appassembler-maven-plugin. There is a way to add this ECHO to the batch file from the pom?

This is the plugin I use to create the batch file in pom.xml:


Is there a way to add the ECHO command to the batch file permanently? Or, if that does not work, is there a way to print message to the shell that will appear between the time the shell is opening to the time the shell actually ready for use?


I don't think that batch file is the way to go. I would try doing it be creating a method that calls Bootstrap:

public static void main(String[] args) throws IOException {
        System.out.println("Your message");"Or mybe this way if you set the logger to print to console");

Need Your Help

what technology to use for a database service?

java database rest soap rpc

I am going to make a small trade management system. I want to make a independent database service to which all the other client connect. The database will be MYSQL and I will be using Java for maki...

Could not find provider class SMACK 4.1.1 Android

android android-studio build.gradle smack

I'm new to android development and Smack and using a sample code from link. But when I tried to use smack 4.1.1 api I am getting class not found errors when running the app on API Level below 22.